/* ============================================
   MINTTA — Redesign v3
   Editorial luxury meets modern SaaS
   Typography: Spectral + Bricolage Grotesque
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700&display=swap');

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

:root {
    --navy: #0B0B2E;
    --navy-deep: #06061A;
    --mint: #00D4AA;
    --mint-glow: rgba(0,212,170,0.15);
    --mint-hover: #00EDBE;
    --cream: #FAF9F7;
    --white: #FFFFFF;
    --gray-50: #F8F8F6;
    --gray-100: #EDEDEB;
    --gray-300: #B8B8B4;
    --gray-500: #7A7A76;
    --gray-700: #3D3D3A;
    --serif: 'Spectral', Georgia, serif;
    --sans: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
    --mono: 'Bricolage Grotesque', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--navy); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-optical-sizing: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input,select,button,textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- LAYOUT ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.medium { max-width: 960px; }

/* ---------- CURSOR GLOW ---------- */
.cursor-glow { position: fixed; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--mint-glow) 0%, transparent 70%); pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); opacity: 0; transition: opacity 0.4s; }
body:hover .cursor-glow { opacity: 1; }
@media (max-width: 768px) { .cursor-glow { display: none; } }

/* ---------- TYPOGRAPHY ---------- */
/* Eyebrows: Bricolage Grotesque en mayúsculas — más geométrico, menos "developer" */
.eyebrow { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--mint); margin-bottom: 20px; }
.eyebrow--light { color: var(--mint); }

/* Spectral tiene x-height alto — reducir tamaño en 1 step y ajustar leading */
.section-title { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 20px; font-weight: 700; text-wrap: balance; font-kerning: normal; }
.section-title em { font-style: italic; color: var(--gray-500); }
.section-title--light { color: var(--white); }
.section-title--light em { color: rgba(255,255,255,0.45); }

.section-sub { font-size: 18px; color: var(--gray-500); max-width: 520px; margin: 0 auto 48px; line-height: 1.65; text-wrap: pretty; }

.split-title { font-family: var(--serif); font-size: clamp(26px, 3.8vw, 42px); line-height: 1.18; letter-spacing: -0.01em; font-weight: 600; text-wrap: balance; font-kerning: normal; }
.split-title em { font-style: italic; color: var(--gray-500); }

/* ---------- BUTTONS ---------- */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--mint); color: var(--navy); font-weight: 600; font-size: 14px; padding: 12px 24px; border-radius: 100px; transition: all 0.3s var(--ease); position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%); opacity: 0; transition: opacity 0.3s; }
.btn-primary:hover { background: var(--mint-hover); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(0,212,170,0.35); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; font-size: 14px; padding: 12px 24px; border-radius: 100px; border: 1.5px solid var(--gray-100); transition: all 0.3s var(--ease); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- PILL ---------- */
.pill { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; padding: 8px 18px; border-radius: 100px; background: rgba(0,212,170,0.08); color: var(--mint); border: 1px solid rgba(0,212,170,0.15); backdrop-filter: blur(8px); }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 72px; transition: all 0.4s var(--ease); }
.nav.scrolled { background: rgba(250,249,247,0.85); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.logo--white span { color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--gray-700); cursor: pointer; display: flex; align-items: center; gap: 5px; transition: color 0.2s; }
.nav-link:hover { color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--gray-500); transition: color 0.2s; }
.nav-login:hover { color: var(--navy); }

.burger { display: none; width: 24px; height: 16px; position: relative; }
.burger span { display: block; position: absolute; height: 1.5px; width: 100%; background: var(--navy); left: 0; transition: all 0.3s var(--ease); border-radius: 2px; }
.burger span:first-child { top: 0; }
.burger span:last-child { bottom: 0; }
.burger.active span:first-child { top: 7px; transform: rotate(45deg); }
.burger.active span:last-child { bottom: 7px; transform: rotate(-45deg); }

/* ---------- MEGA MENU ---------- */
.mega { position: absolute; top: 72px; left: 50%; transform: translateX(-50%); width: 640px; background: var(--white); border-radius: 16px; box-shadow: 0 24px 80px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04); opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.25s var(--ease); padding: 28px; }
.mega.open { opacity: 1; visibility: visible; pointer-events: all; }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mega-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gray-300); margin-bottom: 12px; }
.mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; transition: background 0.2s; }
.mega-item:hover { background: var(--gray-50); }
.mega-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--gray-50); border-radius: 8px; color: var(--mint); flex-shrink: 0; }
.mega-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); }
.mega-item span { font-size: 12px; color: var(--gray-500); }
.mega-cta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.mega-cta a { font-size: 13px; font-weight: 600; color: var(--mint); }

/* ---------- MOBILE NAV ---------- */
.mobile-nav { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--cream); z-index: 99; transform: translateX(100%); transition: transform 0.4s var(--ease); padding: 32px 24px; display: flex; flex-direction: column; gap: 0; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 16px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--gray-100); }
.mobile-nav-cta { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 140px 24px 80px; position: relative; overflow: hidden; text-align: center; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cream) 0%, #F0F5F3 40%, var(--cream) 100%); }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-orb--1 { top: 5%; right: 15%; width: 500px; height: 500px; background: rgba(0,212,170,0.1); animation: orbFloat 18s var(--ease) infinite; }
.hero-orb--2 { bottom: 10%; left: 10%; width: 400px; height: 400px; background: rgba(11,11,46,0.04); animation: orbFloat 22s var(--ease) infinite reverse; }
.hero-orb--3 { top: 30%; left: 40%; width: 300px; height: 300px; background: rgba(0,212,170,0.06); animation: orbFloat 15s var(--ease) infinite 2s; }
.hero-noise { position: absolute; inset: 0; opacity: 0.4; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E"); background-size: 180px; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(25px,-30px) scale(1.04); } 66% { transform: translate(-15px,20px) scale(0.97); } }

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-eyebrow { margin-bottom: 24px; }
.hero-title { font-family: var(--serif); font-size: clamp(38px, 6.5vw, 76px); line-height: 1.05; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 24px; font-weight: 700; text-wrap: balance; font-kerning: normal; }
.hero-title em { font-style: italic; display: inline-block; color: var(--mint); }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--gray-500); max-width: 560px; margin: 0 auto 36px; font-weight: 300; line-height: 1.7; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust { font-size: 13px; color: var(--gray-300); margin-top: 20px; font-weight: 400; }

/* ---------- HERO MOCKUP ---------- */
.hero-mockup { position: relative; z-index: 1; width: 100%; max-width: 1060px; margin: 64px auto 0; }
.mockup-browser { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); border: 1px solid var(--gray-100); border-bottom: none; border-radius: 12px 12px 0 0; }
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-100); }
.mockup-url { font-family: var(--mono); font-size: 11px; color: var(--gray-300); background: var(--gray-50); padding: 4px 12px; border-radius: 6px; }
.mockup-screen { background: var(--gray-50); border: 1px solid var(--gray-100); border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.04); }
.mockup-screen img { width: 100%; display: block; }
.mockup-frame { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid var(--gray-100); transition: all 0.4s var(--ease); }
.mockup-frame:hover { box-shadow: 0 32px 80px rgba(0,0,0,0.12); transform: translateY(-4px); }
.mockup-frame img { width: 100%; display: block; }

/* ---------- LOGOS ---------- */
.logos { width: 100%; padding: 80px 0 120px; position: relative; z-index: 1; }
.logos-label { font-size: 12px; color: var(--gray-300); text-align: center; margin-bottom: 32px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; font-family: var(--mono); }
.logos-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.logos-slide { display: flex; align-items: center; gap: 120px; animation: scroll 40s linear infinite; width: max-content; padding: 0 60px; }
.logos-slide:hover { animation-play-state: paused; }
.logos-img { height: 36px; width: auto; max-width: 160px; object-fit: contain; filter: saturate(0) opacity(0.25); transition: filter 0.4s var(--ease); flex-shrink: 0; }
.logos-img:hover { filter: saturate(0) opacity(0.5); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
section { padding: 120px 0; text-align: center; position: relative; }

/* PROBLEM — editorial list, no card boxes */
.s-problem { background: var(--white); text-align: left; padding: 96px 0 80px; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 56px auto 0; text-align: left; max-width: 640px; border-top: 1px solid var(--gray-100); }
.pain-card { padding: 36px 0 32px; border-radius: 0; background: transparent; border: none; border-bottom: 1px solid var(--gray-100); transition: none; }
.pain-card:nth-child(odd) { padding-right: 36px; border-right: 1px solid var(--gray-100); }
.pain-card:nth-child(even) { padding-left: 36px; }
.pain-card:hover { border-color: var(--gray-100); background: transparent; transform: none; }
.pain-num { font-family: var(--serif); font-size: 52px; color: var(--mint); opacity: 0.18; margin-bottom: 16px; font-weight: 400; line-height: 1; display: block; font-style: italic; }
.pain-card p { font-size: 16px; color: var(--gray-700); line-height: 1.6; font-weight: 400; }
.problem-close { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); color: var(--navy); margin-top: 0; padding: 44px 0 0; border-top: 0; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.4; text-align: left; font-weight: 400; text-wrap: pretty; font-kerning: normal; }
.problem-close em { font-style: italic; color: var(--gray-500); }

/* PRODUCT */
.s-product { background: var(--gray-50); padding-bottom: 140px; }
.tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 48px; position: relative; background: var(--white); border-radius: 100px; padding: 4px; width: fit-content; margin-left: auto; margin-right: auto; border: 1px solid var(--gray-100); }
.tab { font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 100px; color: var(--gray-500); transition: all 0.3s var(--ease); position: relative; z-index: 1; }
.tab.active { color: var(--white); }
.tab-indicator { position: absolute; height: calc(100% - 8px); background: var(--navy); border-radius: 100px; transition: all 0.35s var(--ease); top: 4px; z-index: 0; }

.tab-panels { position: relative; min-height: 420px; }
.tab-panel { display: none; align-items: center; gap: 48px; animation: panelIn 0.4s var(--ease); text-align: left; }
.tab-panel.active { display: flex; }
.tab-panel[data-tab="more"].active { flex-direction: column; text-align: center; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.panel-text { flex: 1; }
.panel-text h3 { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.18; margin-bottom: 16px; font-weight: 600; }
.panel-text h3 em { font-style: italic; color: var(--gray-500); }
.panel-text p { font-size: 16px; color: var(--gray-500); line-height: 1.7; margin-bottom: 24px; }
.panel-text--centered { max-width: 520px; text-align: center; }
.panel-visual { flex: 1; }

.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li { font-size: 14px; font-weight: 500; color: var(--gray-700); padding-left: 24px; position: relative; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); opacity: 0.3; }
.feature-list li::after { content: ''; position: absolute; left: 3px; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }

.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.more-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 16px; padding: 28px; text-align: left; transition: all 0.3s var(--ease); }
.more-card:hover { border-color: var(--mint); transform: translateY(-2px); }
.more-tag { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--mint); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.more-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* DIFFERENTIATORS — tabla editorial con líneas, sin card boxes */
.s-diff { background: var(--navy); padding: 140px 0; }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 72px; text-align: left; border-top: 1px solid rgba(255,255,255,0.08); border-left: 1px solid rgba(255,255,255,0.08); }
.diff-card { padding: 48px 40px; border-radius: 0; background: transparent; border: none; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); transition: background 0.35s var(--ease); position: relative; overflow: hidden; }
.diff-card::before { display: none; }
.diff-card:hover { background: rgba(255,255,255,0.04); transform: none; }
.diff-number { font-family: var(--serif); font-size: 52px; color: rgba(255,255,255,0.07); display: block; margin-bottom: 20px; font-style: italic; line-height: 1; }
.diff-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 10px; line-height: 1.2; }
.diff-card p { font-size: 14px; color: rgba(255,255,255,0.50); line-height: 1.7; }

/* COMPARISON */
.s-compare { background: var(--white); }
.compare-table { margin-top: 48px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--gray-100); }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.compare-table thead th { padding: 16px 20px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; background: var(--gray-50); color: var(--gray-500); border-bottom: 1px solid var(--gray-100); }
.compare-table thead th.col-highlight { background: var(--navy); color: var(--white); }
.compare-table tbody td { padding: 14px 20px; border-bottom: 1px solid var(--gray-100); color: var(--gray-500); }
.compare-table tbody td:first-child { font-weight: 500; color: var(--navy); }
.compare-table tbody td.col-highlight { background: rgba(0,212,170,0.04); color: var(--navy); font-weight: 500; }
.check { color: var(--mint); font-weight: 700; font-size: 16px; }
.x { color: #E5534B; font-weight: 400; font-size: 14px; }

/* AUDIENCE */
.s-audience { background: var(--gray-50); }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; text-align: left; }
.audience-card { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--gray-100); transition: all 0.4s var(--ease); }
.audience-card:hover { transform: translateY(-4px); box-shadow: 0 24px 64px rgba(0,0,0,0.06); }
.audience-card-img { height: 200px; overflow: hidden; }
.audience-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.audience-card:hover .audience-card-img img { transform: scale(1.05); }
.audience-card-body { padding: 32px; }
.audience-card-body h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; }
.audience-card-body p { font-size: 16px; color: var(--gray-500); line-height: 1.65; margin-bottom: 20px; text-wrap: pretty; }
.audience-card-body ul { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.audience-card-body li { font-size: 14px; font-weight: 500; padding-left: 16px; position: relative; }
.audience-card-body li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

/* TESTIMONIALS */
.s-testimonials { background: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.testimonial { padding: 32px; border-radius: 20px; background: var(--gray-50); border: 1px solid var(--gray-100); transition: all 0.3s var(--ease); display: flex; flex-direction: column; }
.testimonial:hover { border-color: rgba(0,212,170,0.3); }
.testimonial blockquote { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--navy); margin-bottom: 24px; flex-grow: 1; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), #00B090); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 12px; color: var(--gray-500); }
.testimonial-stat { font-family: var(--mono); font-size: 12px; color: var(--gray-500); padding: 10px 14px; background: var(--white); border-radius: 8px; }
.testimonial-stat .counter { color: var(--mint); font-weight: 700; font-size: 16px; }

/* TECH */
.s-tech { background: var(--navy-deep); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.tech-item { padding: 28px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s var(--ease); }
.tech-item:hover { background: rgba(255,255,255,0.06); }
.tech-icon { font-size: 24px; margin-bottom: 12px; }
.tech-item h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.tech-item p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* CTA FINAL */
.s-cta { background: linear-gradient(160deg, var(--navy) 0%, #0D0D38 50%, var(--navy-deep) 100%); position: relative; overflow: hidden; }
.s-cta::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 60%); animation: orbFloat 20s var(--ease) infinite; }
.cta-title { font-family: var(--serif); font-size: clamp(30px, 4.8vw, 54px); color: var(--white); line-height: 1.1; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; font-kerning: normal; }
.cta-title em { font-style: italic; color: var(--mint); }
.cta-sub { font-size: 18px; color: rgba(255,255,255,0.5); margin-bottom: 40px; text-wrap: pretty; }

.cta-form { background: var(--white); border-radius: 20px; padding: 32px; box-shadow: 0 40px 120px rgba(0,0,0,0.3); text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cta-form input, .cta-form select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--gray-100); border-radius: 10px; font-size: 14px; color: var(--navy); background: var(--white); transition: all 0.2s; outline: none; }
.cta-form input:focus, .cta-form select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-glow); }
.cta-form input::placeholder { color: var(--gray-300); }
.cta-form select { color: var(--gray-300); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B8B8B4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.cta-trust { font-size: 13px; color: rgba(255,255,255,0.3); margin-top: 20px; }

/* FOOTER */
.footer { background: var(--navy-deep); padding: 64px 0 32px; color: rgba(255,255,255,0.35); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 12px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-social a:hover { color: var(--mint); }
.footer-col h4 { font-family: var(--mono); font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; }

/* ---------- ANIMATIONS ---------- */
.anim-up { opacity: 0; transform: translateY(40px); animation: animUp 0.8s var(--ease) forwards; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.35s; }
.d4 { animation-delay: 0.45s; }
.d5 { animation-delay: 0.55s; }
.d6 { animation-delay: 0.7s; }
@keyframes animUp { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .tab-panel { flex-direction: column; }
    .panel-visual { width: 100%; }
    .diff-grid { grid-template-columns: 1fr 1fr; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    section { padding: 72px 0; }
    .s-diff { padding: 96px 0; }
    .s-problem { padding: 72px 0 56px; }
    .nav-links, .nav-actions { display: none; }
    .burger { display: block; }
    .hero { padding-top: 120px; min-height: auto; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }
    /* Pain grid — columna única, sin separador vertical */
    .pain-grid { grid-template-columns: 1fr; }
    .pain-card:nth-child(odd) { padding-right: 0; border-right: none; }
    .pain-card:nth-child(even) { padding-left: 0; }
    /* Diff grid — columna única, sin borde izquierdo del grid */
    .diff-grid { grid-template-columns: 1fr; border-left: none; }
    .diff-card { padding: 36px 0; border-left: none; }
    .diff-number { font-size: 40px; }
    .tabs { overflow-x: auto; width: auto; justify-content: flex-start; }
    .tab { white-space: nowrap; font-size: 12px; padding: 8px 16px; }
    .more-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .compare-table { font-size: 12px; margin-left: -24px; margin-right: -24px; border-radius: 0; border-left: none; border-right: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .mega { display: none; }
}

/* ---------- MICRO-ANIMATIONS ---------- */

/* Nav link underline on hover */
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--mint); transition: width 0.3s var(--ease); }
.nav-link:hover::after { width: 100%; }

/* Button arrow slide */
.btn-primary svg, .btn-ghost svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg, .btn-ghost:hover svg { transform: translateX(3px); }

/* Logo hover pulse */
.logo-img { transition: opacity 0.2s; }
.logo:hover .logo-img { opacity: 0.7; }

/* Pill shimmer */
.pill { position: relative; overflow: hidden; }
.pill::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); animation: pillShimmer 3s ease-in-out infinite; }
@keyframes pillShimmer { 0%,100% { left: -100%; } 50% { left: 150%; } }

/* Mockup tilt on hover */
.mockup-frame { transition: all 0.5s var(--ease); }
.mockup-frame:hover { box-shadow: 0 32px 80px rgba(0,0,0,0.12); transform: translateY(-6px) perspective(1000px) rotateX(1deg); }

/* Hero mockup float */
.hero-mockup { animation: mockupEntrance 0.8s var(--ease) 0.55s forwards, mockupFloat 6s ease-in-out 1.4s infinite; }
@keyframes mockupEntrance { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mockupFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Pain cards stagger */
.pain-card { transition-delay: calc(var(--i, 0) * 80ms); }
.pain-card:nth-child(1) { --i: 0; }
.pain-card:nth-child(2) { --i: 1; }
.pain-card:nth-child(3) { --i: 2; }
.pain-card:nth-child(4) { --i: 3; }

/* Diff card ::after — desactivado (ahora usa tabla con líneas) */
.diff-card::after { display: none; }

/* Tech icon bounce */
.tech-icon { transition: transform 0.3s var(--ease); display: inline-block; }
.tech-item:hover .tech-icon { transform: translateY(-2px); }

/* Testimonial card lift */
.testimonial { transition: all 0.4s var(--ease); }
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.06); }

/* Avatar pulse on card hover */
.testimonial:hover .avatar { animation: avatarPulse 0.6s var(--ease); }
@keyframes avatarPulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* Counter glow */
.testimonial-stat .counter { transition: color 0.3s; }
.testimonial:hover .testimonial-stat .counter { text-shadow: 0 0 12px var(--mint-glow); }

/* Comparison table row highlight */
.compare-table tbody tr { transition: background 0.2s; }
.compare-table tbody tr:hover { background: rgba(0,212,170,0.03); }

/* Audience card image zoom */
.audience-card-img img { transition: transform 0.7s var(--ease); }
.audience-card:hover .audience-card-img img { transform: scale(1.06); }

/* Feature list checkmark pop */
.feature-list li::before { transition: transform 0.3s var(--ease), opacity 0.3s; }
.feature-list li:hover::before { transform: scale(1.5); opacity: 0.5; }
.feature-list li::after { transition: transform 0.3s var(--ease); }
.feature-list li:hover::after { transform: scale(1.3); }

/* Form focus glow */
.cta-form input:focus, .cta-form select:focus { transform: translateY(-1px); }

/* CTA form card entrance */
.cta-form { animation: formEntrance 0.8s var(--ease); }
@keyframes formEntrance { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Scroll progress indicator */
.nav::after { content: ''; position: absolute; bottom: 0; left: 0; height: 2px; background: var(--mint); width: var(--scroll-progress, 0%); transition: width 0.1s linear; }

/* More cards hover border */
.more-card { position: relative; }
.more-card::before { content: ''; position: absolute; inset: -1px; border-radius: 17px; background: linear-gradient(135deg, var(--mint), transparent, transparent); opacity: 0; transition: opacity 0.4s; z-index: -1; }
.more-card:hover::before { opacity: 1; }

/* Smooth logo bar fade edges */
.logos-slide span { transition: opacity 0.4s, transform 0.4s var(--ease); }
.logos-slide span:hover { transform: scale(1.05); }

/* Tab switch micro-bounce */
.tab { transition: all 0.2s var(--ease); }
.tab:hover:not(.active) { color: var(--navy); transform: translateY(-1px); }
.tab:active { transform: scale(0.97); }

/* Eyebrow letter spacing on scroll */
.eyebrow { transition: letter-spacing 0.5s var(--ease), opacity 0.7s, transform 0.7s; }

/* Footer link arrows */
.footer-col a { transition: color 0.2s, padding-left 0.3s var(--ease); }
.footer-col a:hover { padding-left: 6px; }

/* ================================================================
   LAYOUT — Rhythmic spacing & editorial alignment
   ================================================================ */

/* Secciones con padding propio para romper el 120px uniforme */
.s-compare { padding: 80px 0; }
.s-tech    { padding: 96px 0; }
/* .s-problem y .s-diff ya tienen padding en sus propias reglas */

/* Problem section: alineación izquierda para los textos del header */
.s-problem .eyebrow { margin-bottom: 16px; }
.s-problem .split-title { text-align: left; }

/* ================================================================
   OVERDRIVE — Directions A + B + C
   ================================================================ */

/* B: Cross-document View Transitions (Chrome 126+, zero JS needed) */
@view-transition { navigation: auto; }

/* Transition: old page fades + lifts, new page fades + descends */
::view-transition-old(root) {
    animation: vt-out 0.28s cubic-bezier(0.4, 0, 1, 1) both;
}
::view-transition-new(root) {
    animation: vt-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes vt-out {
    to { opacity: 0; transform: translateY(-5px) scale(0.995); }
}
@keyframes vt-in {
    from { opacity: 0; transform: translateY(10px) scale(0.995); }
}

/* C: JS-controlled overdrive mode — override CSS animations so Web Animations API takes full control */
html.overdrive .anim-up {
    animation: none;
    opacity: 0;
}
html.overdrive .reveal {
    transition: none;
    opacity: 0;
    transform: none;
}
/* Keep .visible class as fallback for any element JS might miss */
html.overdrive .reveal.visible {
    opacity: 1;
}
/* Hero mockup: kill CSS entrance so JS sequence takes over */
html.overdrive .hero-mockup {
    animation: none;
    opacity: 0;
}

/* FAQ: arrow rotation on open (Direction C — micro-interaction) */
.s-faq details summary svg {
    flex-shrink: 0;
    transition: rotate 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-faq details[open] summary svg {
    rotate: 180deg;
}

/* FAQ: smooth height animation using interpolate-size (Chrome 129+, gracefully ignored elsewhere) */
:root { interpolate-size: allow-keywords; }

.s-faq details > p {
    overflow: hidden;
    height: 0;
    opacity: 0;
    margin-top: 0;
    transition:
        height 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.30s cubic-bezier(0.16, 1, 0.3, 1),
        margin-top 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-faq details[open] > p {
    height: auto;
    opacity: 1;
    margin-top: 1rem;
}
@starting-style {
    .s-faq details[open] > p {
        height: 0;
        opacity: 0;
        margin-top: 0;
    }
}

/* A: Hero parallax support — `translate` property composes with `transform` (orbFloat stays on transform) */
/* Values are controlled by JS (initScrollParallax) which sets element.style.translate directly */
/* These defaults ensure no jump at y=0 */
.hero-orb--1,
.hero-orb--2,
.hero-orb--3 { translate: 0 0; }
.hero-content { translate: 0 0; }

/* Improve tab panel transition timing */
@keyframes panelIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tab-panel.active {
    animation: panelIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Enhance mockup browser bar on hover */
.hero-mockup:hover .mockup-browser {
    background: var(--gray-50);
    transition: background 0.3s;
}

/* Add will-change hints for GPU compositing on parallax elements */
@media (prefers-reduced-motion: no-preference) {
    .hero-orb--1, .hero-orb--2, .hero-orb--3 { will-change: translate; }
    .hero-content { will-change: translate; }
    .hero-mockup  { will-change: translate; }
}

/* Mega menu item icon rotation */
.mega-icon { transition: transform 0.3s var(--ease), background 0.3s; }
.mega-item:hover .mega-icon { transform: rotate(-5deg) scale(1.05); background: var(--mint-glow); }

/* ================================================================
   TYPESET — OpenType features, numeric rendering, weight scale
   ================================================================ */

/* Tabular nums on animated counters — prevents layout shift during count-up */
.counter,
.testimonial-stat .counter,
.pain-num { font-variant-numeric: tabular-nums; }

/* Spectral headings: activate contextual alternates + ligatures */
.hero-title,
.section-title,
.split-title,
.cta-title,
.problem-close,
.testimonial blockquote {
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

/* Audience card h3 — explicit weight for consistency */
.audience-card-body h3 { font-weight: 600; font-kerning: normal; text-wrap: balance; }

/* Mega label: bump 10px → 11px (borderline readability) */
.mega-label { font-size: 11px; }

/* Section sub in left-aligned contexts: remove auto margin */
.s-problem .section-sub,
.s-diff    .section-sub { margin-left: 0; }

/* ================================================================
   ANIMATE — Micro-interactions & motion feedback
   ================================================================ */

/* Button press — physical press feedback */
.btn-primary:active { transform: scale(0.96) translateY(0) !important; box-shadow: none !important; transition-duration: 0.08s !important; }
.btn-ghost:active   { transform: scale(0.96) !important; transition-duration: 0.08s !important; }

/* Mega menu: Y-slide on entrance (translate composes with transform: translateX(-50%)) */
.mega         { translate: 0 -10px; }
.mega.open    { translate: 0 0; }

/* Mega trigger chevron — rotate 180° when open */
#megaTrigger svg { transition: rotate 0.3s var(--ease); }
#megaTrigger.mega-active svg { rotate: 180deg; }

/* Mobile nav link stagger — items slide up on menu open */
.mobile-nav a,
.mobile-nav .mobile-nav-cta {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
}
.mobile-nav.open a,
.mobile-nav.open .mobile-nav-cta { opacity: 1; transform: translateY(0); }
.mobile-nav.open a:nth-child(1)       { transition-delay:  75ms; }
.mobile-nav.open a:nth-child(2)       { transition-delay: 140ms; }
.mobile-nav.open a:nth-child(3)       { transition-delay: 205ms; }
.mobile-nav.open .mobile-nav-cta      { transition-delay: 290ms; }

/* Tab direction-aware slide transitions */
@keyframes panelFromRight {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes panelFromLeft {
    from { opacity: 0; transform: translateX(-18px); }
    to   { opacity: 1; transform: translateX(0); }
}
.tab-panels[data-dir="right"] .tab-panel.active { animation: panelFromRight 0.45s var(--ease); }
.tab-panels[data-dir="left"]  .tab-panel.active { animation: panelFromLeft  0.45s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .anim-up, .reveal { opacity: 1; transform: none; }
    .hero-mockup { animation: none; }
    /* Stagger items visible immediately for reduced motion users */
    .mobile-nav a,
    .mobile-nav .mobile-nav-cta { opacity: 1; transform: none; }
}
