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

:root {
    /* Coral Accent + Dark Navy — Superhuman feel */
    --bg: #FFFBF7;
    --bg-soft: #FFFBF7;
    --bg-section: #FFFBF7;
    --bg-dark: #080B16;
    --bg-dark-card: #0F172A;

    --text: #0F172A;
    --text-muted: #64748B;
    --text-light: #FFFFFF;
    --text-light-muted: rgba(255,255,255,0.55);

    --accent: #F97316;
    --accent-hover: #EA580C;
    --accent-light: #FDBA74;
    --accent-pale: #FED7AA;
    --accent-bg: rgba(249,115,22,0.06);
    --accent-glow: rgba(249,115,22,0.2);

    --green: #10B981;
    --green-bg: rgba(16,185,129,0.08);

    --border: #EDE5DC;
    --border-subtle: rgba(0,0,0,0.04);

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6, .btn, .eyebrow, .nav-link { font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; line-height: 1.1; letter-spacing: -0.03em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== TYPOGRAPHY ========== */
.eyebrow {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--accent); margin-bottom: 16px;
}
.eyebrow.light { color: var(--accent-light); }
.eyebrow.center, .center { text-align: center; }

.big-title {
    font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
    margin-bottom: 24px; line-height: 1.05; color: var(--text);
}
.big-title.light { color: white; }

.text-link { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--accent); }

/* ========== NAVBAR — floating pill capsule ========== */
.navbar {
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
    z-index: 1000; width: auto; max-width: 900px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px; padding: 0 6px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.navbar-inner {
    display: flex; align-items: center; justify-content: center;
    height: 64px; padding: 0 16px; gap: 16px;
}
.logo { display: flex; align-items: center; color: white; flex-shrink: 0; transition: color 0.4s; }
.navbar.scrolled .logo { color: var(--text); }
.logo-svg { height: 44px; width: auto; }

.nav-capsule {
    display: flex; gap: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 100px; padding: 4px 6px;
    transition: background 0.4s;
}
.navbar.scrolled .nav-capsule { background: rgba(0,0,0,0.03); }
.nav-link {
    font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.55);
    padding: 7px 15px; border-radius: 100px; white-space: nowrap;
    transition: var(--transition); letter-spacing: -0.01em;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
.navbar.scrolled .nav-link { color: var(--text-muted); }
.navbar.scrolled .nav-link:hover { color: var(--text); background: rgba(0,0,0,0.04); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600;
    padding: 10px 22px; border-radius: var(--radius-sm); border: none;
    cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: white; font-weight: 700; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(249,115,22,0.3); }
.btn-nav { border-radius: 100px; padding: 10px 24px; font-size: 14px; background: var(--accent); color: white; font-weight: 600; letter-spacing: -0.01em; }
.btn-nav:hover { background: var(--accent-hover); box-shadow: 0 4px 16px rgba(249,115,22,0.3); transform: translateY(-1px); }
.btn-cta { background: var(--accent); color: white; font-weight: 700; }
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.3); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--text); }
.btn-outline.light { border-color: rgba(255,255,255,0.25); color: white; }
.btn-outline.light:hover { border-color: rgba(255,255,255,0.5); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.45); font-size: 14px; font-weight: 500; transition: var(--transition); }
.btn-ghost:hover { color: white; }
.navbar.scrolled .btn-ghost { color: var(--text-muted); }
.navbar.scrolled .btn-ghost:hover { color: var(--text); }
.btn-white { background: #FFFDFB; color: var(--bg-dark); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(249,115,22,0.15); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Mobile menu button */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1002; position: relative; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center; }
.mobile-menu-btn.active span { background: white; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu — fullscreen dark premium */
.mobile-menu {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: #0C1222;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }

/* Esphera sphere watermark */
.mobile-menu-sphere {
    position: absolute;
    bottom: -8%;
    right: -12%;
    width: 380px;
    height: 380px;
    opacity: 0.04;
    pointer-events: none;
    transition: opacity 0.6s ease 0.3s;
}
.mobile-menu.active .mobile-menu-sphere { opacity: 0.04; }

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 100px 32px 60px;
    gap: 0;
    position: relative;
    z-index: 1;
}

.mobile-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    padding: 16px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: transform 0.3s ease;
}
.mobile-link:hover::after,
.mobile-link:active::after {
    transform: translateX(-50%) scaleX(1);
}
.mobile-link:hover { color: var(--accent-light); }

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    width: 100%;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active .mobile-menu-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Accent line at top of mobile menu */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), transparent);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}
.mobile-menu.active::before { opacity: 1; }

/* ========== HERO GRADIENT WRAPPER — dark sandwich top ========== */
.hero-gradient-wrap {
    background: #0C1222;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh; position: relative; overflow: hidden;
    color: white;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; padding-bottom: 80px;
}
.hero-person {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    z-index: 0;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(12,18,34,0.5) 0%,
        rgba(12,18,34,0.3) 30%,
        rgba(12,18,34,0.45) 55%,
        rgba(12,18,34,0.85) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-center {
    text-align: center; position: relative; z-index: 2;
    max-width: 760px; margin: 0 auto; padding: 200px 24px 0;
}

.hero-pill {
    display: inline-flex; padding: 6px 16px;
    background: rgba(255,255,255,0.08); color: var(--accent-pale);
    font-size: 13px; font-weight: 600; border-radius: 100px;
    margin-bottom: 32px; border: 1px solid rgba(255,255,255,0.12);
}
.hero-title {
    font-size: clamp(44px, 6vw, 72px); font-weight: 800;
    margin-bottom: 28px; letter-spacing: -0.035em; line-height: 1.08;
    background: linear-gradient(160deg, #FFFFFF 30%, #FFE4CC 70%, #FDBA74 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 17px; color: rgba(255,255,255,0.7); font-weight: 400;
    max-width: 480px; margin: 0 auto 36px; line-height: 1.65; letter-spacing: -0.01em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 0; }

/* Product mini mockup */
.hero-product-mini {
    position: relative; z-index: 2; margin-top: 40px;
    display: flex; justify-content: center; padding: 0 24px;
}
.product-mini-window {
    width: 100%; max-width: 640px;
    background: rgba(255,255,255,0.06); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
    overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
}
.mini-bar {
    display: flex; gap: 6px; padding: 10px 14px;
    background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mini-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.mini-body { display: flex; }
.mini-sidebar {
    width: 48px; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
    border-right: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02);
}
.mini-nav-item { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.06); }
.mini-nav-item.active { background: rgba(249,115,22,0.4); }
.mini-content { flex: 1; padding: 6px 0; }
.mini-row {
    display: flex; align-items: center; gap: 10px; padding: 8px 16px;
    font-size: 12px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mini-badge {
    display: inline-block; padding: 2px 6px; border-radius: 4px;
    font-size: 9px; font-weight: 800; letter-spacing: 0.05em;
}
.mini-badge.pdf { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.mini-badge.xml { background: rgba(16,185,129,0.15); color: #6EE7B7; }
.mini-badge.img { background: rgba(249,115,22,0.15); color: #FDBA74; }
.mini-name { flex: 1; color: rgba(255,255,255,0.7); font-weight: 500; }
.mini-amount { color: rgba(255,255,255,0.9); font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-status { font-size: 13px; }
.mini-status.done { color: #6EE7B7; }
.mini-status.proc { color: #FBBF24; animation: spin 2s linear infinite; }

/* Floating UI cards around hero */
.hero-floating {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none; z-index: 2; overflow: hidden;
}

.hero-float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.07); backdrop-filter: blur(20px); padding: 14px 18px; border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.1);
    pointer-events: auto; opacity: 0.85;
}
.float-card-1 { top: 22%; left: 4%; animation: floatA 7s ease-in-out infinite; }
.float-card-2 { top: 18%; right: 4%; animation: floatB 8s ease-in-out 0.5s infinite; }
.float-card-3 { bottom: 28%; left: 5%; animation: floatC 9s ease-in-out 1.5s infinite; }
.float-card-4 { bottom: 18%; right: 4%; animation: floatA 7.5s ease-in-out 2.5s infinite; }

@keyframes floatA {
    0%,100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-14px) translateX(4px); }
}
@keyframes floatB {
    0%,100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(-6px); }
}
@keyframes floatC {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.float-card-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
}
.float-card-icon.icon-coral { background: rgba(249,115,22,0.15); color: #FDBA74; }
.float-card-icon.icon-green { background: rgba(16,185,129,0.15); color: #6EE7B7; }
.float-card-icon.icon-white { background: rgba(249,115,22,0.1); color: #FDBA74; }
.float-card-text { display: flex; flex-direction: column; gap: 2px; }
.float-card-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.float-card-detail { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ========== SOCIAL PROOF ========== */
.social-proof { padding: 48px 0 64px; overflow: hidden; position: relative; background: var(--bg); }
.logo-marquee { mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.logo-track { display: flex; gap: 56px; animation: marquee 30s linear infinite; width: max-content; }
.client-logo { font-size: 15px; font-weight: 600; color: rgba(15,23,42,0.25); white-space: nowrap; user-select: none; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ========== PRODUCT — light background, dark mockups ========== */
.product {
    padding: 120px 0;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}
.product .eyebrow { color: var(--accent); }
.product .big-title { color: var(--text); }
.product-header { margin-bottom: 64px; }

/* Step rows — alternating layout */
.step-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}
.step-row:last-child { margin-bottom: 0; }
.step-row.reverse { grid-template-columns: 1.3fr 1fr; }
.step-row.reverse .step-text { order: 2; }
.step-row.reverse .step-visual { order: 1; }

.step-text { color: var(--text); }
.step-number {
    font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em;
    margin-bottom: 24px; line-height: 1;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(249,115,22,0.08); border-radius: 12px;
    border: 1px solid rgba(249,115,22,0.15);
}
.step-text h3 {
    font-size: clamp(28px, 3vw, 36px); font-weight: 700; margin-bottom: 16px;
    color: var(--text); letter-spacing: -0.025em; line-height: 1.15;
}
.step-text p {
    font-size: 16px; color: var(--text-muted); line-height: 1.65;
    max-width: 400px;
}

/* Step mockups — dark cards on light page */
.step-visual { position: relative; }
.step-screen {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.step-screen:hover {
    border-color: rgba(249,115,22,0.12);
    box-shadow: 0 16px 60px rgba(249,115,22,0.08), 0 0 0 1px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}
.screen-bar {
    display: flex; gap: 5px; padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.screen-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.screen-body { padding: 20px; }

/* Step 1 — Upload */
.app-upload-zone {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 24px; border: 1.5px dashed rgba(253,186,116,0.3); border-radius: 12px;
    color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 16px;
    background: rgba(249,115,22,0.05);
}
.app-upload-zone svg { color: rgba(253,186,116,0.5); }
.upload-formats { font-size: 11px; color: rgba(255,255,255,0.25); }
.app-file-list { display: flex; flex-direction: column; gap: 6px; }
.app-file-row {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: rgba(255,255,255,0.04); border-radius: 8px; font-size: 13px;
    border: 1px solid rgba(255,255,255,0.04);
}
.file-name { flex: 1; color: rgba(255,255,255,0.8); font-weight: 500; }
.file-size { color: rgba(255,255,255,0.3); font-size: 12px; }
.file-status-ok { color: #34D399; font-weight: 600; font-size: 12px; }

/* Step 2 — Process */
.extract-grid { display: flex; flex-direction: column; gap: 2px; }
.extract-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px;
}
.extract-label { color: rgba(255,255,255,0.35); }
.extract-value { color: rgba(255,255,255,0.85); font-weight: 600; }
.extract-value.accent { color: #FDBA74; }
.extract-value.highlight { color: #fff; font-weight: 700; }
.confidence-bar {
    display: flex; align-items: center; gap: 12px; margin-top: 16px;
}
.confidence-fill {
    flex: 1; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px;
    position: relative; overflow: hidden;
}
.confidence-fill::after {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 97%;
    background: linear-gradient(90deg, #F97316, #FDBA74); border-radius: 2px;
}
.confidence-label { font-size: 12px; font-weight: 600; color: #FDBA74; white-space: nowrap; }

/* Step 3 — Bookkeeping */
.entry-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.entry-title { font-size: 15px; font-weight: 700; color: #fff; }
.entry-date { font-size: 12px; color: rgba(255,255,255,0.35); }
.entry-table { display: flex; flex-direction: column; gap: 0; }
.entry-row {
    display: grid; grid-template-columns: 55px 1fr 85px 85px; gap: 6px;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px; color: rgba(255,255,255,0.4);
}
.entry-row-header { font-weight: 600; color: rgba(255,255,255,0.25); text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; }
.entry-row .accent { color: #FDBA74; font-weight: 600; }
.entry-status {
    display: flex; align-items: center; gap: 8px; margin-top: 16px;
    font-size: 13px; font-weight: 600; color: #34D399;
}

.file-badge { display: inline-block; padding: 2px 6px; border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: 0.05em; }
.file-badge.pdf { background: rgba(220,38,38,0.08); color: #EF4444; }
.file-badge.img { background: rgba(249,115,22,0.08); color: #F97316; }
.file-badge.xml { background: rgba(16,185,129,0.08); color: #10B981; }
.status-done { color: #10B981; font-weight: 600; font-size: 12px; }
.status-processing { color: #F59E0B; font-size: 12px; font-weight: 500; }

/* ========== REAL PRODUCT MOCKUPS ========== */
.step-screen-real { background: #0D1526; }
.screen-bar-real { background: #0D1526; border-bottom: 1px solid rgba(255,255,255,0.06); }
.screen-body-real { display: flex; height: 260px; overflow: hidden; }
.real-sidebar { width: 44px; background: linear-gradient(180deg, #0D1526, #111B30); border-right: 1px solid rgba(255,255,255,0.04); display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 8px; flex-shrink: 0; }
.real-logo-dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #F97316, #FDBA74); margin-bottom: 8px; }
.real-nav-item { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.04); }
.real-nav-item.active { background: rgba(249,115,22,0.15); border-left: 2px solid #F97316; }
.real-content { flex: 1; background: #FAF7F2; padding: 14px; overflow: hidden; }
.real-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.real-topbar-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #F97316; background: #FFF0E6; padding: 3px 8px; border-radius: 100px; }
.real-topbar-company { font-size: 10px; color: #94a3b8; font-weight: 500; }

/* Step 1 — Upload */
.real-upload-zone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px; border: 1.5px dashed #EDE8DF; border-radius: 10px; background: #fff; margin-bottom: 10px; font-size: 11px; color: #94a3b8; }
.real-file-list { display: flex; flex-direction: column; gap: 4px; }
.real-file { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #fff; border: 1px solid #EDE8DF; border-radius: 8px; font-size: 11px; }
.real-file-icon { display: inline-block; padding: 1px 5px; border-radius: 3px; font-size: 8px; font-weight: 800; letter-spacing: 0.04em; }
.real-file-icon.pdf { background: rgba(239,68,68,0.08); color: #EF4444; }
.real-file-icon.img { background: rgba(249,115,22,0.08); color: #F97316; }
.real-file-icon.xml { background: rgba(16,185,129,0.08); color: #10B981; }
.real-file-name { flex: 1; color: #334155; font-weight: 500; }
.real-file-size { color: #94a3b8; font-size: 10px; }
.real-file-check { color: #10B981; font-weight: 700; font-size: 12px; }

/* Step 2 — Extract */
.real-extract { display: flex; flex-direction: column; gap: 1px; }
.real-extract-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #EDE8DF; font-size: 11px; }
.real-label { color: #94a3b8; }
.real-value { color: #1e293b; font-weight: 600; }
.real-accent { color: #F97316; font-weight: 700; }
.real-total { color: #0f172a; font-weight: 800; font-size: 12px; }
.real-confidence { font-size: 10px; color: #F97316; font-weight: 600; }
.real-bar-wrap { margin-top: 10px; }
.real-bar-track { height: 4px; background: #EDE8DF; border-radius: 2px; overflow: hidden; }
.real-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #F97316, #FDBA74); border-radius: 2px; }

/* Step 3 — Entry */
.real-entry { margin-bottom: 10px; }
.real-entry-header { display: grid; grid-template-columns: 40px 1fr 70px 70px; gap: 4px; padding: 5px 0; font-size: 9px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid #EDE8DF; }
.real-entry-row { display: grid; grid-template-columns: 40px 1fr 70px 70px; gap: 4px; padding: 6px 0; font-size: 11px; color: #64748b; border-bottom: 1px solid #f1ede8; }
.real-entry-code { font-family: 'SF Mono', Monaco, monospace; font-size: 10px; color: #475569; font-weight: 600; }
.real-status { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #10B981; margin-bottom: 8px; }
.real-export { text-align: center; }
.real-export-btn { display: inline-block; font-size: 10px; font-weight: 600; color: #fff; background: #F97316; padding: 5px 14px; border-radius: 100px; }

/* Step 1 — Upload progress */
.real-upload-progress { margin-top: 6px; background: #fff; border: 1px solid #EDE8DF; border-radius: 8px; padding: 6px 10px; }
.real-upload-progress-inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.real-upload-label { font-size: 10px; color: #64748b; font-weight: 500; }
.real-upload-pct { font-size: 10px; color: #F97316; font-weight: 700; }
.real-upload-bar { height: 3px; background: #EDE8DF; border-radius: 2px; overflow: hidden; }
.real-upload-bar-fill { height: 100%; background: linear-gradient(90deg, #F97316, #FDBA74); border-radius: 2px; width: 0%; }

/* Step 2 — Mini confidence dots */
.real-mini-conf { width: 22px; height: 4px; border-radius: 2px; flex-shrink: 0; }
.real-mini-conf.high { background: linear-gradient(90deg, #10B981, #34D399); }
.real-mini-conf.med { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.real-extract-row { gap: 8px; }

/* Step 3 — Mini dashboard */
.real-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 8px; }
.real-metric-card { background: #fff; border: 1px solid #EDE8DF; border-radius: 8px; padding: 6px 8px; text-align: center; }
.real-metric-num { font-size: 16px; font-weight: 800; display: block; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.03em; }
.real-metric-label { font-size: 8px; color: #94a3b8; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.real-chart-wrap { background: #fff; border: 1px solid #EDE8DF; border-radius: 8px; padding: 8px 10px; }
.real-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.real-chart { width: 100%; height: 50px; }

/* Soluciones — real client rows */
.sol-client-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4px; padding: 7px 0; border-bottom: 1px solid #f1ede8; align-items: center; font-size: 11px; }
.sol-client-name { display: flex; align-items: center; gap: 6px; color: #1e293b; font-weight: 600; font-size: 11px; }
.sol-avatar { width: 20px; height: 20px; border-radius: 5px; color: #fff; font-size: 7px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- Animations (looping every 8s) ---- */
@keyframes anim-slide-up {
    0%, 10% { opacity: 0; transform: translateY(12px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
    90%, 100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes anim-bar {
    0%, 10% { width: 0%; }
    60%, 80% { width: 97%; }
    90%, 100% { width: 0%; }
}
@keyframes anim-pop {
    0%, 10% { opacity: 0; transform: scale(0.8); }
    20%, 80% { opacity: 1; transform: scale(1); }
    90%, 100% { opacity: 0; transform: scale(0.8); }
}

.anim-file { opacity: 0; animation: anim-slide-up 8s ease-in-out infinite; }
.anim-row { opacity: 0; animation: anim-slide-up 8s ease-in-out infinite; }
.anim-confidence { opacity: 0; animation: anim-pop 8s ease-in-out infinite; animation-delay: 2.5s; }
.anim-bar-fill .real-bar-fill { animation: anim-bar 8s ease-in-out infinite; }
.anim-upload-fill { animation: anim-bar 8s ease-in-out infinite; animation-delay: 3s; }
.anim-check { opacity: 0; animation: anim-pop 8s ease-in-out infinite; animation-delay: 1.8s; }
.anim-bar-up { opacity: 0; animation: anim-bar-grow 8s ease-in-out infinite; }
@keyframes anim-bar-grow {
    0%, 10% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
    20%, 80% { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
    90%, 100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ========== AI ASSISTANT SECTION ========== */
.ai-section { padding: 120px 0; background: var(--bg-dark); overflow: hidden; }
.ai-section .eyebrow { color: var(--accent-light); }
.ai-section .big-title { color: #fff; }
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ai-desc { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 32px; }
.ai-features { display: flex; flex-direction: column; gap: 16px; }
.ai-feature { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.65); font-weight: 500; }
.ai-feature svg { color: var(--accent); flex-shrink: 0; }

/* Chat mockup */
.ai-chat-mock { background: #0F172A; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.3); max-width: 380px; margin-left: auto; }
.ai-chat-header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: linear-gradient(135deg, #0F172A, #1E293B); }
.ai-chat-avatar-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid rgba(249,115,22,0.4); flex-shrink: 0; }
.ai-chat-meta { flex: 1; }
.ai-chat-name { display: block; font-size: 13px; font-weight: 700; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; }
.ai-chat-role { font-size: 10px; color: rgba(255,255,255,0.4); }
.ai-chat-online { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 6px rgba(16,185,129,0.5); }
.ai-chat-body { padding: 16px; background: #f8fafc; min-height: 280px; display: flex; flex-direction: column; gap: 12px; }

/* Messages */
.ai-msg { display: flex; gap: 8px; align-items: flex-start; }
.ai-msg-bot { flex-direction: row; }
.ai-msg-user { flex-direction: row-reverse; }
.ai-msg-avatar-img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 1px solid #EDE8DF; flex-shrink: 0; margin-top: 2px; }
.ai-msg-bubble { background: #fff; border: 1px solid #EDE8DF; border-radius: 14px; border-top-left-radius: 4px; padding: 10px 14px; font-size: 12px; color: #334155; line-height: 1.5; max-width: 270px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.ai-msg-bubble strong { color: #0f172a; }
.ai-msg-bubble-user { background: #F97316; color: #fff; border-radius: 14px; border-top-right-radius: 4px; padding: 10px 14px; font-size: 12px; line-height: 1.5; font-weight: 500; box-shadow: 0 2px 8px rgba(249,115,22,0.25); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 32px; }
.ai-chip { font-size: 11px; font-weight: 600; color: #F97316; background: #fff; border: 1px solid #FDBA74; padding: 5px 12px; border-radius: 100px; cursor: default; }

/* Chat animation — staggered loop */
@keyframes anim-chat-in {
    0%, 8% { opacity: 0; transform: translateY(10px); }
    14%, 78% { opacity: 1; transform: translateY(0); }
    86%, 100% { opacity: 0; transform: translateY(-4px); }
}
.anim-chat { opacity: 0; animation: anim-chat-in 12s ease-in-out infinite; }

@media (max-width: 768px) {
    .ai-layout { grid-template-columns: 1fr; gap: 40px; }
    .ai-chat-mock { margin: 0 auto; }
}

/* ========== SOLUTIONS — clean white ========== */
.solutions { padding: 120px 0; background: var(--bg); }
.solution-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 64px; }
.solution-row.reverse { direction: rtl; }
.solution-row.reverse > * { direction: ltr; }

.solution-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 420px; }
.solution-gradient { position: absolute; inset: 0; }
.sol-empresa .solution-gradient { background: linear-gradient(150deg, #0F172A 0%, #1A1510 100%); }
.sol-gestoria .solution-gradient { background: linear-gradient(150deg, #0F172A 0%, #0C1A1A 100%); }

.solution-mockup { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 32px; }
.mockup-card {
    background: white; border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius); overflow: hidden;
}
.mockup-main { width: 85%; box-shadow: 0 24px 64px rgba(0,0,0,0.2); }
.mockup-bar {
    display: flex; gap: 5px; padding: 10px 14px;
    border-bottom: 1px solid var(--border); background: #FAFBFC;
}
.mockup-bar span { width: 8px; height: 8px; border-radius: 50%; background: #E2E8F0; }
.mockup-content { padding: 8px 0; }
.mockup-row, .mockup-client-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; font-size: 12px; color: var(--text-muted);
    border-bottom: 1px solid #F5EDE5;
}
.mockup-row span:nth-child(2), .mockup-client-row span:nth-child(2) { flex: 1; font-weight: 500; color: var(--text); }
.mockup-amount, .mockup-count { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.client-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.solution-badge-inline {
    display: inline-block; padding: 4px 12px;
    background: var(--accent-bg); color: var(--accent);
    border-radius: 100px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.solution-content h3 { font-size: 28px; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.solution-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.feature-line {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; color: var(--text-muted);
}
.feature-line svg { color: var(--accent); flex-shrink: 0; }

/* ========== IMPACT — light bg, dark cards ========== */
.impact { padding: 100px 0; background: var(--bg-soft); position: relative; overflow: hidden; }
.impact .eyebrow { color: var(--accent); }
.impact .big-title { color: var(--text); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.impact-card {
    text-align: center; padding: 56px 32px; position: relative; overflow: hidden;
    background: var(--bg-dark-card); border: 1px solid rgba(249,115,22,0.06);
    border-radius: 20px; transition: var(--transition);
}
.impact-card:hover { border-color: rgba(249,115,22,0.12); }
.impact-glow {
    position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
    pointer-events: none; filter: blur(40px);
    transition: background 0.5s;
}
.impact-card:hover .impact-glow { background: radial-gradient(circle, rgba(249,115,22,0.3) 0%, transparent 70%); }
.impact-number {
    font-size: clamp(48px, 6vw, 80px); font-weight: 800; color: white; line-height: 1;
    position: relative; z-index: 1;
    text-shadow: 0 0 60px rgba(249,115,22,0.3);
}
.impact-unit { font-size: 18px; font-weight: 600; color: var(--accent-light); margin-bottom: 12px; position: relative; z-index: 1; }
.impact-card p { font-size: 14px; color: var(--text-light-muted); line-height: 1.5; position: relative; z-index: 1; }

@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.impact-number.counted { animation: countPulse 0.3s ease; }

/* ========== TESTIMONIALS — clean white ========== */
.testimonials { padding: 100px 0; background: var(--bg); }
.testimonials .eyebrow { color: var(--accent); }
.testimonials .big-title { color: var(--text); }

.testimonial-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin-top: 40px;
}
.testimonial-card {
    background: #FFFDFB; border: 1px solid #F5EDE5; border-radius: 20px;
    padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
    min-height: 180px; transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); border-color: var(--border); transform: translateY(-2px); }
.testimonial-card blockquote {
    font-size: 16px; line-height: 1.65; color: var(--text); font-weight: 500;
    font-style: normal; margin-bottom: 20px; border: none; padding: 0;
}
.testimonial-footer { display: flex; justify-content: space-between; align-items: flex-end; }
.testimonial-credit strong { display: block; font-size: 14px; color: var(--text); }
.testimonial-credit span { font-size: 13px; color: var(--text-muted); }
.testimonial-accent {
    font-size: 28px; font-weight: 800; color: var(--accent);
    opacity: 0.15; line-height: 1;
}

/* ========== FAQ ========== */
.faq { padding: 100px 0; background: var(--bg-soft); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-header-side { position: sticky; top: 100px; }
.faq-header-desc { font-size: 15px; color: var(--text-muted); margin-top: 16px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 24px 0; background: none; border: none; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 500; color: var(--text); text-align: left; gap: 16px; }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s; color: var(--text-muted); }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding-bottom: 24px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ========== FINAL CTA — dark sandwich bottom ========== */
.final-cta {
    padding: 140px 0 120px;
    background: #0F172A;
    color: white;
    position: relative;
    overflow: hidden;
}
/* Sphere decorative element */
.esphera-sphere-bg {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
}
.esphera-sphere-bg.sphere-cta {
    top: 5%;
    left: -8%;
    width: 500px;
    height: 500px;
    opacity: 0.05;
}
.esphera-sphere-bg.sphere-impact {
    bottom: -35%;
    right: -10%;
    width: 300px;
    height: 300px;
    opacity: 0.025;
}
.esphera-sphere-bg.sphere-impact path { fill: var(--accent); }
.esphera-sphere-bg.sphere-footer {
    top: -20%;
    right: 5%;
    width: 300px;
    height: 300px;
    opacity: 0.03;
}
.final-cta::before { content: ''; position: absolute; top: 20%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 60%); pointer-events: none; }
.cta-layout { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 48px; position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin-bottom: 12px; }
.cta-text p { font-size: 16px; opacity: 0.7; max-width: 520px; line-height: 1.6; margin: 0 auto; }
.cta-form-wrapper { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.demo-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    background: rgba(255,255,255,0.06); backdrop-filter: blur(16px);
    padding: 32px; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1); width: 100%;
}
.demo-form .form-full { grid-column: 1 / -1; }
.demo-form input, .demo-form select {
    width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
    color: white; font-family: 'Inter', sans-serif; font-size: 14px;
    outline: none; transition: var(--transition);
}
.demo-form input::placeholder { color: rgba(255,255,255,0.4); }
.demo-form input:focus, .demo-form select:focus { border-color: var(--accent-light); background: rgba(255,255,255,0.1); }
.demo-form select { appearance: none; cursor: pointer; }
.demo-form select option { background: var(--bg-dark); color: white; }
.conditional-fields { display: flex; flex-direction: column; gap: 12px; }
.conditional-fields select { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: white; font-family: 'Inter', sans-serif; font-size: 14px; outline: none; transition: var(--transition); appearance: none; cursor: pointer; }
.conditional-fields select option { background: var(--bg-dark); color: white; }
.conditional-fields input { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: white; font-family: 'Inter', sans-serif; font-size: 14px; outline: none; transition: var(--transition); }
.conditional-fields input::placeholder { color: rgba(255,255,255,0.4); }
.conditional-fields input:focus, .conditional-fields select:focus { border-color: var(--accent-light); background: rgba(255,255,255,0.1); }
.demo-form-badge { padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.cta-note { font-size: 13px; opacity: 0.5; text-align: center; }

/* ========== FOOTER ========== */
.footer { padding: 80px 0 32px; background: var(--bg-dark); color: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-social a:hover { background: rgba(255,255,255,0.12); color: white; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 56px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { display: block; height: 32px; width: fit-content; max-width: 140px; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 300px; color: rgba(255,255,255,0.35); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.35); transition: var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.footer-bottom p { opacity: 0.4; }

.btn-glass {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 20px; border-radius: 100px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600;
    text-decoration: none; letter-spacing: 0.03em;
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ========== ANIMATIONS ========== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-float-card { display: none; }
    .hero-center { padding: 180px 24px 40px; }
    .hero-product-mini { max-width: 560px; margin: 16px auto 0; }
    .step-row, .step-row.reverse { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
    .step-row.reverse .step-text { order: 0; }
    .step-row.reverse .step-visual { order: 0; }
    .solution-row, .solution-row.reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
    .solution-visual { height: 320px; }
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .demo-form { grid-template-columns: 1fr; }
    .faq-layout { grid-template-columns: 1fr; gap: 40px; }
    .faq-header-side { position: static; }
    .cta-layout { flex-direction: column; text-align: center; }
    .cta-text p { margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .navbar { top: 8px; width: calc(100% - 32px); border-radius: 20px; }
    .nav-capsule, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu { display: block; }
    .hero { min-height: auto; }
    .hero-center { padding: 160px 24px 48px; }
    .hero-title { font-size: clamp(36px, 10vw, 52px); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .solution-visual { height: 280px; }
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
