/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow:       #ffd700;
  --yellow-dim:   #e5c100;
  --yellow-glow:  rgba(255,215,0,.18);
  --yellow-faint: rgba(255,215,0,.06);
  --black:        #000000;
  --bg:           #080808;
  --bg-2:         #0f0f0f;
  --bg-3:         #141414;
  --surface:      #1a1a1a;
  --surface-2:    #222222;
  --border:       rgba(255,215,0,.08);
  --border-y:     rgba(255,215,0,.2);
  --text:         #f4f4f5;
  --text-2:       #a1a1aa;
  --text-3:       #71717a;
  --font:         'Plus Jakarta Sans', system-ui, sans-serif;
  --nav-h:        72px;
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════════ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px;
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: var(--transition); white-space: nowrap; border: none;
}
.btn-primary { background: var(--yellow); color: #000; }
.btn-primary:hover { background: #ffe84d; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,215,0,.35); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface); color: var(--text); border-color: var(--border-y); }
.btn-nav { background: var(--yellow); color: #000; padding: 9px 20px; font-size: .88rem; }
.btn-nav:hover { background: #ffe84d; transform: translateY(-1px); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; flex-shrink: 0; }
.logo-t { color: var(--yellow); }
.logo-axi { color: var(--text); }
.logo--sm { font-size: 1.25rem; }
.nav-links { display: flex; gap: 32px; flex: 1; }
.nav-links a { color: var(--text-2); font-size: .9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
@media (max-width: 768px) { .nav-links, .btn-nav { display: none; } .nav-toggle { display: flex; } }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); }
.hero-glow--1 { width: 600px; height: 600px; background: var(--yellow); opacity: .2; top: -150px; left: -150px; animation: glowPulse 6s ease-in-out infinite; }
.hero-glow--2 { width: 400px; height: 400px; background: #ff8800; opacity: .15; bottom: 0; right: 5%; animation: glowPulse 8s ease-in-out infinite reverse; }
@keyframes glowPulse { 0%,100% { opacity: .15; transform: scale(1); } 50% { opacity: .28; transform: scale(1.1); } }

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,215,0,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,215,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* Particles canvas */
.hero-particles { position: absolute; inset: 0; }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding-top: 60px; padding-bottom: 60px;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-faint); border: 1px solid var(--border-y);
  border-radius: 50px; padding: 6px 14px;
  font-size: .82rem; font-weight: 600; color: var(--yellow); margin-bottom: 24px;
}
.badge-dot { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--yellow) 0%, #ff9900 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-3); }

/* ─── Chat Mock ─── */
.hero-visual { position: relative; }

.chat-mock, .renata-chat {
  background: var(--bg-3);
  border: 1px solid var(--border-y);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
  animation: floatMock 6s ease-in-out infinite;
}
@keyframes floatMock { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.chat-topbar {
  background: var(--bg-2); padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.chat-avatar {
  width: 36px; height: 36px; background: var(--yellow);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.chat-avatar-initial { font-weight: 800; font-size: .9rem; color: #000; }
.chat-status-dot {
  position: absolute; bottom: 1px; right: 1px;
  width: 9px; height: 9px; background: #22c55e;
  border-radius: 50%; border: 2px solid var(--bg-2);
}
.chat-meta strong { display: block; font-size: .88rem; }
.chat-meta span { font-size: .75rem; color: var(--text-3); }

.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }

.chat-msg {
  max-width: 85%; padding: 10px 14px;
  border-radius: 14px; font-size: .83rem; line-height: 1.5;
  animation: msgPop .3s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes msgPop { from { opacity: 0; transform: scale(.9) translateY(6px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.chat-msg--bot { background: var(--surface); color: var(--text-2); border-radius: 4px 14px 14px 14px; align-self: flex-start; }
.chat-msg--bot strong { color: var(--yellow); }
.chat-msg--user { background: var(--yellow); color: #000; font-weight: 600; border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.chat-msg--action {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,215,0,.1); border: 1px solid var(--border-y);
  border-radius: 10px; align-self: flex-start; padding: 10px 14px;
}
.chat-msg--action .chat-link-icon { font-size: 1.1rem; color: var(--yellow); flex-shrink: 0; }
.chat-msg--action strong { display: block; font-size: .83rem; color: var(--text); }
.chat-msg--action span { font-size: .75rem; color: var(--text-3); }

.chat-typing { display: flex; gap: 5px; padding: 8px 14px; align-self: flex-start; }
.chat-typing span {
  width: 7px; height: 7px; background: var(--text-3); border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-input-bar {
  border-top: 1px solid var(--border); padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; background: var(--bg-2);
}
.chat-input-fake { flex: 1; font-size: .82rem; color: var(--text-3); }
.chat-send {
  width: 32px; height: 32px; background: var(--yellow); color: #000;
  border: none; border-radius: 50%; cursor: pointer; font-size: .9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.chat-send:hover { transform: scale(1.1); }

/* Floating cards */
.float-card {
  position: absolute; background: var(--bg-3); border: 1px solid var(--border-y);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5); min-width: 210px;
}
.float-card .fc-icon {
  width: 32px; height: 32px; background: var(--yellow-glow);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--yellow); flex-shrink: 0;
}
.float-card .fc-text strong { display: block; font-size: .8rem; font-weight: 700; color: var(--text); }
.float-card .fc-text span { font-size: .72rem; color: var(--text-3); }
.float-card--1 { bottom: -20px; left: -30px; animation: floatCard1 7s ease-in-out infinite; }
.float-card--2 { top: 20px; right: -20px; animation: floatCard2 8s ease-in-out infinite; }
@keyframes floatCard1 { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes floatCard2 { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .75rem; color: var(--text-3);
  animation: fadeInUp 1s .8s both;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.scroll-arrow {
  width: 18px; height: 18px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg); animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(4px); } }

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* ═══════════════════════════════════════════════
   INTEGRATIONS BAR
═══════════════════════════════════════════════ */
.integrations-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.integrations-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center;
}
.int-label { font-size: .78rem; color: var(--text-3); white-space: nowrap; }
.int-logos { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.int-logo { display: flex; align-items: center; gap: 8px; padding: 0 20px; font-size: .83rem; color: var(--text-2); }
.int-logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0; position: relative;
}
.int-divider { width: 1px; height: 24px; background: var(--border); }

/* ═══════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
}
.section-sub { font-size: 1.05rem; color: var(--text-2); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how { padding: 120px 0; background: var(--bg); }
.how-steps { display: flex; flex-direction: column; }
.how-step {
  display: grid; grid-template-columns: 80px 1fr 1fr;
  gap: 40px; align-items: center; padding: 48px 0;
}
.how-step--reverse .step-visual { grid-column: 2; grid-row: 1; }
.how-step--reverse .step-content { grid-column: 3; grid-row: 1; }
.how-connector { display: flex; justify-content: center; padding-left: 40px; }
.connector-line { width: 2px; height: 48px; background: linear-gradient(to bottom, var(--border-y), transparent); }
.step-number { font-size: 3rem; font-weight: 800; color: var(--yellow); opacity: .35; letter-spacing: -2px; line-height: 1; }
.step-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.step-content p { font-size: .93rem; color: var(--text-2); line-height: 1.7; }

/* Step mocks */
.step-mock { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }

/* Connect mock */
.sm-connect-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sm-connect-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 12px;
  font-size: .8rem; color: var(--text-2);
}
.sm-connect-item--active { border-color: var(--border-y); color: var(--text); }
.sm-connect-badge {
  margin-left: auto; background: rgba(34,197,94,.15); color: #4ade80;
  border-radius: 50px; padding: 2px 8px; font-size: .68rem; font-weight: 600;
}
.sm-connect-badge--pending { background: var(--yellow-faint); color: var(--yellow); }
.sm-stats-mini {
  display: flex; gap: 16px; padding-top: 10px; border-top: 1px solid var(--border);
}
.sm-stats-mini > div { display: flex; flex-direction: column; gap: 2px; font-size: .75rem; }
.sm-stats-mini span { color: var(--text-3); }
.sm-stats-mini strong { color: var(--yellow); }

/* Calc mock */
.sm-calc-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.sm-calc-item { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sm-calc-item--result { flex: 1.2; }
.sm-calc-label { font-size: .68rem; color: var(--text-3); }
.sm-calc-value { font-size: .85rem; font-weight: 700; color: var(--text); }
.sm-calc-value--yellow { color: var(--yellow); font-size: .95rem; }
.sm-calc-op { font-size: 1.1rem; color: var(--text-3); flex-shrink: 0; }

/* Report mock */
.sm-report-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.sm-report-row:last-of-type { border-bottom: none; margin-bottom: 10px; }
.sm-report-label { font-size: .8rem; color: var(--text-2); }
.sm-report-badge {
  background: rgba(34,197,94,.15); color: #4ade80;
  border-radius: 50px; padding: 3px 10px; font-size: .7rem; font-weight: 600;
}
.sm-report-badge--yellow { background: var(--yellow-faint); color: var(--yellow); }

.sm-ai-row {
  background: var(--yellow-faint); border: 1px solid var(--border-y);
  border-radius: 6px; padding: 7px 10px;
  font-size: .75rem; color: var(--yellow);
  display: flex; align-items: center; gap: 6px;
}
.sm-btn {
  background: var(--yellow); color: #000; border-radius: 50px;
  padding: 9px 18px; font-size: .8rem; font-weight: 700;
  display: inline-block; cursor: pointer; margin-top: 4px;
}

@media (max-width: 800px) {
  .how-step { grid-template-columns: 60px 1fr; }
  .how-step--reverse .step-visual { display: none; }
  .step-visual { display: none; }
}

/* ═══════════════════════════════════════════════
   RENATA SECTION
═══════════════════════════════════════════════ */
.renata-section { padding: 120px 0; background: var(--bg-2); }
.renata-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.renata-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  letter-spacing: -1px; line-height: 1.2; margin: 12px 0 16px;
}
.renata-text p { font-size: .97rem; color: var(--text-2); line-height: 1.75; margin-bottom: 28px; }
.renata-text .btn { margin-top: 8px; }

.renata-capabilities { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.renata-cap {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  transition: border-color var(--transition), transform var(--transition);
}
.renata-cap:hover { border-color: var(--border-y); transform: translateX(4px); }
.renata-cap-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.renata-cap strong { display: block; font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.renata-cap span { font-size: .78rem; color: var(--text-3); }

.renata-visual { position: relative; }
.renata-chat { animation: floatMock 7s ease-in-out infinite; }
.renata-chat-body { min-height: 220px; }

.renata-metric {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--bg-3); border: 1px solid var(--border-y);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  animation: floatCard1 7s ease-in-out infinite;
}
.rm-icon { font-size: 1.2rem; }
.rm-text strong { display: block; font-size: .8rem; color: var(--text); }
.rm-text span { font-size: .72rem; color: var(--text-3); }

@media (max-width: 900px) { .renata-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ═══════════════════════════════════════════════
   FEATURES — IMPUESTOS CON IA
═══════════════════════════════════════════════ */
.features { padding: 120px 0; background: var(--bg); }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto; gap: 16px;
}
.feature-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--border-y); transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px var(--border-y);
}
.feature-card--wide { grid-column: span 2; }
.fc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fc-icon-box {
  width: 44px; height: 44px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fc-icon-box--yellow { background: var(--yellow-faint); border-color: var(--border-y); }
.fc-tag {
  background: var(--yellow-faint); border: 1px solid var(--border-y);
  border-radius: 50px; padding: 3px 10px;
  font-size: .72rem; font-weight: 600; color: var(--yellow);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: .9rem; color: var(--text-2); line-height: 1.7; }
.fc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fc-pills span {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding: 4px 12px; font-size: .75rem; color: var(--text-3);
}
@media (max-width: 800px) { .features-grid { grid-template-columns: 1fr; } .feature-card--wide { grid-column: span 1; } }

/* ═══════════════════════════════════════════════
   FLOWCHART SECTION
═══════════════════════════════════════════════ */
@keyframes orbFloat1 {
  0%,100% { transform: translate(0, 0); }
  33%     { transform: translate(60px, 40px); }
  66%     { transform: translate(-30px, 60px); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0, 0); }
  50%     { transform: translate(-50px, -40px); }
}
.flow-section {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.flow-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.flow-orb {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .08;
}
.flow-orb--1 {
  width: 700px; height: 700px; background: var(--yellow);
  top: -200px; right: -100px;
  animation: orbFloat2 14s ease-in-out infinite;
}
.flow-orb--2 {
  width: 500px; height: 500px; background: #7744ff;
  bottom: -150px; left: -100px;
  animation: orbFloat1 16s ease-in-out infinite;
}
.flow-section .container { position: relative; z-index: 1; }

.fc-diagram {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 80px;
  background: rgba(255,255,255,.018);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 64px;
  margin-top: 56px;
  overflow: visible;
}
.fc-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible; pointer-events: none; z-index: 0;
}

/* ── Source column ── */
.fc-col { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; position: relative; z-index: 2; align-items: center; }

/* Icon-only source buttons */
.fc-src-icon {
  width: 68px; height: 68px; border-radius: 18px;
  background: var(--bg-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; flex-shrink: 0; position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.fc-src-icon { pointer-events: none; }
.fc-logo-img {
  width: 44px; height: 44px; object-fit: contain; border-radius: 6px; display: block;
}
.fc-logo-txt {
  width: 44px; height: 44px; border-radius: 10px;
  display: none; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 900; color: #fff; letter-spacing: -.3px;
}


/* ── Taxi box ── */
.fc-taxi-box {
  width: 340px; flex-shrink: 0;
  background: var(--bg-3); border: 1.5px solid var(--border-y);
  border-radius: 20px; padding: 26px 22px;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 1px rgba(255,215,0,.04), inset 0 1px 0 rgba(255,255,255,.04);
}
.fc-taxi-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.4rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 22px;
}
.fc-taxi-tag {
  margin-left: auto;
  background: var(--yellow-faint); border: 1px solid var(--border-y);
  border-radius: 50px; padding: 4px 12px;
  font-size: .7rem; font-weight: 700; color: var(--yellow); letter-spacing: .04em;
}
.fc-modules-wrap {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.fc-mod {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 10px;
  font-family: var(--font); font-size: .82rem; font-weight: 600; color: var(--text-2);
  text-align: center; line-height: 1.4; pointer-events: none;
}

/* ── Brain pulse ── */
@keyframes brainPulse {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(255,215,0,.35)); }
  50%       { filter: drop-shadow(0 0 16px rgba(255,215,0,.75)); }
}
.fc-brain-svg { animation: brainPulse 2.6s ease-in-out infinite; }

/* ── Renata badges ── */
.fc-renata-badges {
  display: flex; gap: 4px; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}
.fc-renata-badges span {
  background: rgba(255,215,0,.1); border: 1px solid rgba(255,215,0,.32);
  border-radius: 50px; padding: 2px 8px;
  font-size: .6rem; font-weight: 700; color: var(--yellow); white-space: nowrap;
}

/* ── Renata node ── */
.fc-renata-node {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: none; cursor: default; pointer-events: none;
  padding: 28px 14px 8px; flex-shrink: 0; overflow: visible;
}
.fc-renata-ring {
  position: absolute;
  border-radius: 50%; pointer-events: none;
  top: 28px; left: 50%;
  transform: translateX(-50%);
}
.fc-renata-ring--1 {
  width: 100px; height: 100px; margin-top: -14px;
  border: 1.5px solid rgba(255,215,0,.38);
  animation: renataPulse1 2.4s ease-in-out infinite;
}
.fc-renata-ring--2 {
  width: 136px; height: 136px; margin-top: -32px;
  border: 1px solid rgba(255,215,0,.16);
  animation: renataPulse2 2.4s ease-in-out infinite .9s;
}
@keyframes renataPulse1 {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: .65; }
  50%       { transform: translateX(-50%) scale(1.09); opacity: 1;   }
}
@keyframes renataPulse2 {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: .28; }
  50%       { transform: translateX(-50%) scale(1.12); opacity: .6;  }
}
.fc-renata-core {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,.18), rgba(255,215,0,.04) 60%, transparent);
  border: 1.5px solid rgba(255,215,0,.55);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  animation: renataCoreGlow 2.4s ease-in-out infinite;
}
@keyframes renataCoreGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(255,215,0,.22), 0 0 40px rgba(255,215,0,.06); }
  50%       { box-shadow: 0 0 28px rgba(255,215,0,.45), 0 0 70px rgba(255,215,0,.14); }
}
.fc-renata-label {
  font-size: .82rem; font-weight: 700; color: var(--yellow);
  white-space: nowrap; position: relative; z-index: 1; letter-spacing: .02em;
}

/* ── User node ── */
.fc-user-node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex-shrink: 0; position: relative; z-index: 2;
}
.fc-user-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(255,215,0,.3);
  box-shadow: 0 0 20px rgba(120,80,255,.25);
}
.fc-user-avatar svg { display: block; width: 80px; height: 80px; }
.fc-user-node span { font-size: .88rem; font-weight: 600; color: var(--text-2); }

/* ── Flow arrow labels ── */
.fc-arrow-label {
  font-size: .65rem; font-weight: 600; color: var(--text-3); letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap; pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 1020px) {
  .fc-diagram { flex-wrap: wrap; gap: 24px; align-items: flex-start; }
  .fc-col--sources { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
  .fc-connector { display: none; }
  .fc-taxi-box { flex: auto; width: 100%; order: 2; }
  .fc-renata-node { order: 3; margin: 0 auto; }
  .fc-user-node   { order: 4; margin: 0 auto; }
}
@media (max-width: 600px) {
  .fc-diagram { padding: 28px 16px; }
  .fc-modal { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════ */
.cta-section { padding: 120px 0; text-align: center; position: relative; overflow: hidden; background: var(--bg); }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-glow {
  position: absolute; width: 700px; height: 500px;
  background: var(--yellow); opacity: .07; filter: blur(130px);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.cta-badge {
  display: inline-block; background: var(--yellow-faint); border: 1px solid var(--border-y);
  border-radius: 50px; padding: 6px 16px;
  font-size: .78rem; font-weight: 700; color: var(--yellow); margin-bottom: 24px;
}
.cta-h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px; }
.cta-sub { font-size: 1.05rem; color: var(--text-2); max-width: 460px; margin: 0 auto 40px; line-height: 1.7; }
.cta-fine { font-size: .78rem; color: var(--text-3); margin-top: 20px; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-bottom: 48px; }
.footer-brand p { font-size: .88rem; color: var(--text-3); margin-top: 12px; line-height: 1.7; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.footer-col a { font-size: .88rem; color: var(--text-3); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--text-3); }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } .footer-links { gap: 32px; } }
