/* ==========================================================================
   Sysnova — Landing Page
   Estilos principales
   ========================================================================== */

/* Variables ----------------------------------------------------------- */
:root {
  /* Colors */
  --bg: #0A1628;
  --bg-alt: #0F172A;
  --bg-card: #131E36;
  --bg-card-hover: #1A2744;
  --border: #1E293B;
  --border-light: #334155;

  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --cyan: #22D3EE;
  --cyan-dark: #0E7490;
  --blue: #3B82F6;
  --violet: #8B5CF6;

  --success: #10B981;
  --error: #EF4444;

  --gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --gradient-text: linear-gradient(135deg, #22D3EE 0%, #8B5CF6 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 600ms;
}

/* Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--cyan); color: var(--bg); }

/* Container ----------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.btn-primary {
  background: var(--cyan);
  color: var(--bg);
}
.btn-primary:hover {
  background: #67E8F9;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-ghost {
  color: var(--text-muted);
  font-weight: 500;
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--text); }
.btn-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Sections ------------------------------------------------------------ */
section { padding: var(--section-padding) 0; position: relative; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 760px;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 64px;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Navigation ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo { height: 40px; }
.nav-logo img { height: 100%; width: auto; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* Acceso discreto al sistema interno (panel Cloud Run) */
.nav-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  background: transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-app-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
}
/* En mobile lo escondemos del navbar — vive dentro del drawer */
.nav-link-internal-wrap { display: none; }

.menu-toggle { display: none; }

/* Hero ---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1200px; height: 800px;
  transform: translateX(-50%);
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-tag-pulse {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.hero-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title-mono {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 700;
}
.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Hero Code Window ---------------------------------------------------- */
.code-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 211, 238, 0.1);
  position: relative;
}
.code-window::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.4), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border);
}
.code-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.code-dot-red { background: #FF5F57; }
.code-dot-yellow { background: #FEBC2E; }
.code-dot-green { background: #28C840; }
.code-title {
  margin-left: auto;
  margin-right: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.code-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  min-height: 320px;
}
.code-line { display: block; }
.code-prompt { color: var(--cyan); user-select: none; }
.code-comment { color: var(--text-dim); }
.code-keyword { color: #C792EA; }
.code-string { color: #C3E88D; }
.code-fn { color: #82AAFF; }
.code-success { color: #16A34A; }
.code-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--cyan);
  vertical-align: middle;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Trust Bar ----------------------------------------------------------- */
.trust {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 64px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.trust-item-icon { color: var(--cyan); width: 20px; height: 20px; }

/* Services ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 18px;
  font-weight: 700;
}
.service-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* Process ------------------------------------------------------------- */
.process { background: var(--bg-alt); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s var(--ease);
}
.process-step:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}
.process-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.process-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.process-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tech Stack ---------------------------------------------------------- */
.tech-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tech-group {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.tech-group-name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-item {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.tech-item:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.05);
}

/* Why Us -------------------------------------------------------------- */
.why { background: var(--bg-alt); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-weight: 700;
}
.why-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.why-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact section ----------------------------------------------------- */
.contact {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 1000px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact-header {
  position: relative;
  z-index: 1;
}
.contact-header .section-title { max-width: 760px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}
.form-label .required { color: var(--cyan); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: var(--border-light); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(239, 68, 68, 0.4);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-submit {
  margin-top: 8px;
  justify-content: center;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
}
.btn-spinner {
  display: none;
  animation: spin 0.8s linear infinite;
  margin-left: 4px;
}
.form-submit.loading .btn-text,
.form-submit.loading .btn-arrow { display: none; }
.form-submit.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 4px;
}
.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
}
.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
}

/* Contact aside ------------------------------------------------------- */
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.contact-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}
.contact-method:last-child { margin-bottom: 0; }
.contact-method:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.04);
  transform: translateX(2px);
}
.contact-method-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.contact-method-info { display: flex; flex-direction: column; gap: 2px; }
.contact-method-info strong { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-method-info span { font-size: 13px; color: var(--text-muted); }

.contact-info-box {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.contact-info-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.contact-info-title { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

/* Footer -------------------------------------------------------------- */
footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-mono {
  font-family: var(--font-mono);
  color: var(--cyan);
}

/* Equipo / Founder section -------------------------------------------- */
.equipo {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.equipo::before {
  content: '';
  position: absolute;
  top: 20%; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* --- Sidebar card --- */
.founder-sidebar { position: sticky; top: 100px; }
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}
.founder-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.founder-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.founder-avatar {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}
.founder-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  line-height: 1.2;
}
.founder-role {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.founder-socials {
  display: flex;
  gap: 8px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.founder-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.founder-social:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.05);
}
.founder-block { margin-bottom: 24px; }
.founder-block:last-child { margin-bottom: 0; }
.founder-block-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.founder-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.founder-list li {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.founder-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}
.founder-list li strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Main content --- */
.founder-content { padding-top: 8px; }
.founder-content-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.founder-content-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.founder-content-text strong {
  color: var(--text);
  font-weight: 600;
}

.founder-experience {
  margin: 36px 0;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.founder-experience-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.founder-experience-companies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.founder-company {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.founder-company-sep {
  color: var(--cyan);
  font-weight: 700;
  font-size: 17px;
}
.founder-experience-industries {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.founder-experience-industries strong {
  color: var(--text);
  font-weight: 600;
}

.founder-solves {
  margin-top: 36px;
}
.founder-solves-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.founder-solves-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.founder-solves-list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}
.founder-solves-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}
.founder-solves-list li strong {
  color: var(--text);
  font-weight: 600;
}

.founder-promise {
  margin-top: 36px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  position: relative;
}
.founder-promise-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.founder-promise p {
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 14px;
}
.founder-promise strong {
  color: var(--cyan);
  font-weight: 700;
  font-style: normal;
}
.founder-promise cite {
  font-size: 13px;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

/* FAQ section --------------------------------------------------------- */
.faq {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.faq::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.25s var(--ease);
  overflow: hidden;
}
.faq-item:hover {
  border-color: var(--border-light);
}
.faq-item[open] {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 16px 40px rgba(34, 211, 238, 0.08);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
}
.faq-question {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.2s var(--ease), transform 0.08s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:active { transform: scale(0.995); }
.faq-q-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1px;
  width: 28px;
}
.faq-q-text {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.4;
}
.faq-q-icon {
  flex-shrink: 0;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  transition: all 0.3s var(--ease);
}
.faq-q-icon::before,
.faq-q-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--cyan);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-q-icon::before {
  width: 14px;
  height: 2px;
}
.faq-q-icon::after {
  width: 2px;
  height: 14px;
}
.faq-item[open] .faq-q-icon {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.4);
  transform: rotate(180deg);
}
.faq-item[open] .faq-q-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 26px 26px;
  animation: faqFadeIn 0.35s var(--ease);
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong {
  color: var(--text);
  font-weight: 600;
}
.faq-answer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.2);
  border-left: 2px solid var(--cyan);
  border-radius: 8px;
}
.faq-answer ul li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.faq-answer ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* ============================================================
   MOBILE APP-LIKE EXPERIENCE
   ============================================================ */

/* Body lock when drawer open ----------------------------------------- */
body.drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Tap highlight + smooth UI on touch --------------------------------- */
a, button, [role="button"], .btn, .service-card, .process-step, .why-item, .nav-link {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn, .nav-link, .menu-toggle, .mobile-bar-icon, .mobile-bar-cta, .founder-social {
  user-select: none;
  -webkit-user-select: none;
}

/* Press animations — feel "native app" ------------------------------- */
.btn { transition: all 0.18s var(--ease), transform 0.08s ease; }
.btn:active { transform: scale(0.96); }
.service-card, .process-step, .founder-card {
  transition: transform 0.08s ease, border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-card:active, .process-step:active { transform: scale(0.99); }
.founder-social:active, .contact-method:active { transform: scale(0.97); }

/* Hamburger → X animation -------------------------------------------- */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Backdrop for drawer ------------------------------------------------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 90;
}
.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile bottom action bar (app-style) ------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.4);
  z-index: 80;
  align-items: center;
  gap: 10px;
  transform: translateY(0);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.mobile-bar.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.mobile-bar-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--text);
  transition: all 0.2s var(--ease), transform 0.08s ease;
}
.mobile-bar-icon:active {
  transform: scale(0.92);
  background: rgba(34, 211, 238, 0.18);
  color: var(--cyan);
}
.mobile-bar-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  background: var(--cyan);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  letter-spacing: -0.2px;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
  transition: all 0.2s var(--ease), transform 0.08s ease;
}
.mobile-bar-cta:active {
  transform: scale(0.96);
  background: #67E8F9;
}

/* ============================================================
   END MOBILE APP-LIKE EXPERIENCE
   ============================================================ */

/* Animations ---------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 968px) {
  :root { --section-padding: 80px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { gap: 24px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }

  /* App-style drawer (slide-in from right) ---------------------------- */
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86%, 360px);
    padding: calc(80px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #0F172A 0%, #0A1628 100%);
    border-left: 1px solid var(--border);
    box-shadow: -32px 0 64px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 95;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { list-style: none; }
  .nav-links .nav-link {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    border-radius: 12px;
    transition: background 0.2s var(--ease), transform 0.08s ease;
  }
  .nav-links .nav-link::after {
    content: '→';
    margin-left: auto;
    color: var(--text-dim);
    font-family: var(--font-mono);
    transition: transform 0.2s var(--ease), color 0.2s var(--ease);
  }
  .nav-links .nav-link:active {
    background: rgba(34, 211, 238, 0.08);
    transform: scale(0.98);
  }
  .nav-links .nav-link:active::after {
    color: var(--cyan);
    transform: translateX(3px);
  }
  .nav-cta .btn-secondary { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-cta .nav-app-link { display: none; }

  /* Acceso a sistema interno dentro del drawer mobile */
  .nav-link-internal-wrap {
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .nav-links .nav-link-internal {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
  }
  .nav-links .nav-link-internal:active { color: var(--cyan); }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    z-index: 100;
    position: relative;
    border-radius: 10px;
    transition: background 0.2s var(--ease);
  }
  .menu-toggle:active { background: rgba(255, 255, 255, 0.05); }
  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
  }

  /* Mobile bottom bar activado --------------------------------------- */
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

  /* Safe-area nav top --------------------------------------------------*/
  .nav { padding-top: env(safe-area-inset-top); }

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form-wrapper { padding: 28px; }

  .trust-items { gap: 32px; }

  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-sidebar { position: static; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  :root { --section-padding: 64px; }

  /* Hero — app-like full impact ------------------------------------- */
  .hero { padding: calc(96px + env(safe-area-inset-top)) 0 56px; }
  .hero-title { font-size: clamp(40px, 12vw, 56px) !important; line-height: 1.05; }
  .hero-subtitle { font-size: 16px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 16px; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex-direction: row;
  }
  .hero-stat {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
  }
  .hero-stat-num { font-size: 24px; }
  .hero-stat-label { font-size: 11px; }

  /* Code window — más compacto en mobile */
  .code-window { font-size: 12px; }

  /* Sections más airosas en mobile */
  .section-title { font-size: clamp(28px, 7vw, 36px) !important; }
  .section-subtitle { font-size: 16px; margin-bottom: 40px; }

  /* Cards con feel app */
  .service-card, .process-step, .founder-card {
    border-radius: 18px;
  }
  .service-card { padding: 28px 22px; }
  .process-step { padding: 24px 20px; }

  /* Botones más grandes y "tappable" */
  .btn { padding: 14px 22px; font-size: 15px; min-height: 48px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .founder-card { padding: 24px; }
  .founder-avatar { width: 56px; height: 56px; font-size: 20px; }
  .founder-name { font-size: 19px; }
  .founder-promise { padding: 24px; }
  .founder-promise p { font-size: 16px; }
  .founder-experience { padding: 20px; }
  .founder-company { font-size: 15px; }

  /* FAQ — más compacto en mobile */
  .faq-question { padding: 18px 18px; gap: 12px; }
  .faq-q-num { width: 24px; font-size: 12px; }
  .faq-q-text { font-size: 15px; }
  .faq-q-icon { width: 32px; height: 32px; }
  .faq-answer { padding: 0 18px 22px; }
  .faq-answer p { font-size: 14px; }
  .faq-answer ul { padding: 14px 14px; }
}
