/* ================================================
   NEXILANT — LANDING PAGE STYLES
   ================================================ */

/* ── 1. Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 2. CSS Variables ─────────────────────────── */
:root {
    --primary:       #4f46e5;
    --primary-light: #818cf8;
    --primary-dark:  #3730a3;
    --accent:        #7c3aed;
    --cyan:          #06b6d4;
    --bg:            #ffffff;
    --bg2:           #f8fafc;
    --bg3:           #f1f5f9;
    --text-1:        #0f172a;
    --text-2:        #475569;
    --text-3:        #94a3b8;
    --border:        #e2e8f0;
    --radius-sm:     8px;
    --radius:        12px;
    --radius-lg:     20px;
    --radius-xl:     28px;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow:        0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:     0 20px 48px rgba(0,0,0,.1);
    --shadow-indigo: 0 20px 60px rgba(79,70,229,.25);
    --nav-h:         68px;
    --transition:    .25s ease;
}

/* ── 3. Layout ────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section { position: relative; }

/* ── 4. Typography helpers ────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(79,70,229,.08);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-1);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc { margin: 0 auto; }

/* ── 5. Buttons ───────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; border-radius: var(--radius); }

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 20px rgba(79,70,229,.35);
}
.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(79,70,229,.45);
}

.btn--outline {
    border: 1.5px solid var(--border);
    color: var(--text-1);
    background: #fff;
}
.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn--ghost {
    color: var(--text-2);
}
.btn--ghost:hover { color: var(--text-1); }

.btn--white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }

.btn--ghost-white {
    border: 1.5px solid rgba(255,255,255,.4);
    color: #fff;
}
.btn--ghost-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn--dark {
    background: var(--text-1);
    color: #fff;
}
.btn--dark:hover { background: #1e293b; transform: translateY(-1px); }

/* ── 6. Navbar ────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.navbar__inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
}
.brand-logo-img {
    width: 36px; height: 36px;
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -.02em;
}

.navbar__menu {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.navbar__menu a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color var(--transition), background var(--transition);
}
.navbar__menu a:hover { color: var(--text-1); background: var(--bg3); }

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.navbar__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-1);
    border-radius: 2px;
    transition: all .3s;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Navbar dark-hero variant (transparent with white text) ── */
.navbar--dark .brand-name                   { color: #fff; }
.navbar--dark .navbar__menu a               { color: rgba(255,255,255,.8); }
.navbar--dark .navbar__menu a:hover         { color: #fff; background: rgba(255,255,255,.1); }
.navbar--dark .navbar__hamburger span       { background: #fff; }
.navbar--dark .btn--ghost                   { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.navbar--dark .btn--ghost:hover             { background: rgba(255,255,255,.12); color: #fff; }
/* Revert to light when scrolled */
.navbar--dark.scrolled .brand-name         { color: var(--text-1); }
.navbar--dark.scrolled .navbar__menu a     { color: var(--text-2); }
.navbar--dark.scrolled .navbar__menu a:hover{ color: var(--text-1); background: var(--bg3); }
.navbar--dark.scrolled .navbar__hamburger span { background: var(--text-1); }
.navbar--dark.scrolled .btn--ghost         { color: var(--text-1); border-color: var(--border); }
.navbar--dark.scrolled .btn--ghost:hover   { background: var(--bg3); color: var(--text-1); }

/* ── 7. Hero ──────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-h) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79,70,229,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,70,229,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    min-height: calc(100vh - var(--nav-h) - 80px);
}

/* ─ Hero text ─ */
.hero__text { max-width: 560px; }

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79,70,229,.08);
    border: 1px solid rgba(79,70,229,.15);
    color: var(--primary);
    font-size: .8125rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero__headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--text-1);
    margin-bottom: 20px;
}

.hero__sub {
    font-size: 1.0625rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.hero__social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
}

.proof-avatars {
    display: flex;
}
.proof-avatars img {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    object-fit: cover;
}
.proof-avatars img:first-child { margin-left: 0; }

.proof-stars { font-size: .875rem; color: #f59e0b; }
.proof-text span { font-size: .8125rem; color: var(--text-2); }
.proof-text strong { color: var(--text-1); }

/* ─ Hero visual ─ */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.visual-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.18) 0%, transparent 70%);
    pointer-events: none;
    animation: breathe 5s ease-in-out infinite;
}

.browser-mockup {
    width: 460px;
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,.06),
        0 8px 32px rgba(0,0,0,.08),
        0 32px 80px rgba(79,70,229,.22);
    transform: perspective(1100px) rotateY(-10deg) rotateX(4deg) rotateZ(1deg);
    animation: float 9s ease-in-out infinite;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.browser-topbar {
    background: #f1f5f9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.browser-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-urlbar {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.browser-body {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: #f8fafc;
}

/* ─ Skeleton site ─ */
.site-skeleton { padding: 14px; }

.skel-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.skel-row { display: flex; gap: 8px; }

.skel-block {
    background: #e2e8f0;
    border-radius: 6px;
    animation: shimmer 1.8s ease-in-out infinite;
}
.skel-block.primary { background: linear-gradient(135deg, var(--primary), var(--accent)); opacity: .4; }
.skel-block.rounded { border-radius: 6px; }
.skel-block.rounded-full { border-radius: 999px; }
.skel-block.mb-3 { margin-bottom: 10px; }
.skel-block.mb-5 { margin-bottom: 18px; }

.w-14 { width: 56px; height: 14px; }
.w-20 { width: 80px; height: 14px; }
.w-24 { width: 96px; }
.w-28 { width: 112px; }
.w-48 { width: 192px; }
.w-64 { width: 256px; }
.h-4 { height: 14px; }
.h-5 { height: 18px; }
.h-6 { height: 22px; }
.h-7 { height: 26px; }
.h-9 { height: 34px; }

.skel-hero-area { margin-bottom: 20px; }

.skel-cards {
    display: flex;
    gap: 8px;
}
.skel-card {
    flex: 1;
    height: 70px;
    background: #e2e8f0;
    border-radius: 8px;
    animation: shimmer 1.8s ease-in-out infinite;
}
.skel-card:nth-child(2) { animation-delay: .2s; }
.skel-card:nth-child(3) { animation-delay: .4s; }

/* ─ Chat widget overlay ─ */
.chat-widget-overlay {
    position: absolute;
    bottom: 12px; right: 12px;
    width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    overflow: hidden;
    z-index: 10;
    animation: chat-appear .6s ease .5s both;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar-wrap { position: relative; flex-shrink: 0; }

.chat-av {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
}

.chat-online-dot {
    position: absolute;
    bottom: 1px; right: 1px;
    width: 9px; height: 9px;
    background: #22c55e;
    border-radius: 50%;
    border: 1.5px solid white;
}

.chat-meta { flex: 1; min-width: 0; }
.chat-name  { font-size: .8125rem; font-weight: 700; color: #fff; }
.chat-status{ font-size: .7rem; color: rgba(255,255,255,.7); }
.chat-close { color: rgba(255,255,255,.7); font-size: .8rem; padding: 2px; }
.chat-close:hover { color: #fff; }

.chat-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 140px;
    overflow: hidden;
}

.chat-msg { display: flex; }
.chat-msg.bot  { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }

.msg-bubble {
    max-width: 85%;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: .75rem;
    line-height: 1.4;
}
.chat-msg.bot  .msg-bubble { background: #f1f5f9; color: var(--text-1); border-bottom-left-radius: 3px; }
.chat-msg.user .msg-bubble { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-bottom-right-radius: 3px; }

.typing-indicator {
    background: #f1f5f9;
    border-radius: 12px;
    border-bottom-left-radius: 3px;
    padding: 10px 14px;
    display: flex;
    gap: 4px;
    align-items: center;
}
.typing-indicator span {
    width: 5px; height: 5px;
    background: var(--text-3);
    border-radius: 50%;
    animation: typing-bounce .9s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: .15s; }
.typing-indicator span:nth-child(3) { animation-delay: .3s; }

.chat-footer { border-top: 1px solid var(--border); }

.chat-input-wrap {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    gap: 6px;
}
.chat-input-wrap input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: .75rem;
    outline: none;
    background: var(--bg2);
    color: var(--text-2);
}
.chat-send {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.chat-powered {
    text-align: center;
    font-size: .65rem;
    color: var(--text-3);
    padding: 4px 10px 8px;
}
.chat-powered strong { color: var(--primary); }

/* ─ Floating badges ─ */
.float-badge {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    border: 1px solid var(--border);
}

.float-badge--1 {
    top: 20px; left: -20px;
    animation: float 7s ease-in-out 1s infinite;
}
.float-badge--2 {
    bottom: 60px; right: -20px;
    animation: float 8s ease-in-out 2s infinite;
}
.float-badge--3 {
    bottom: -15px; left: 10px;
    animation: float 6s ease-in-out .5s infinite;
}

.fb-icon { font-size: 1.25rem; }
.fb-label { font-size: .7rem; color: var(--text-3); font-weight: 500; }
.fb-value { font-size: .875rem; font-weight: 700; color: var(--text-1); }

/* ── 8. Logos Marquee ─────────────────────────── */
.logos-strip {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: .8125rem;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.marquee-track { overflow: hidden; }

.marquee-inner {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    color: var(--text-3);
    font-weight: 600;
    font-size: .9375rem;
    white-space: nowrap;
    transition: color var(--transition);
}
.marquee-item:hover { color: var(--text-2); }
.mi-icon { font-size: 1.125rem; }

/* ── 9. Scroll Story ──────────────────────────── */
.scroll-story {
    height: 300vh;
    position: relative;
}

.scroll-story__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

/* ─ Steps ─ */
.story-steps-wrap { position: relative; }

.story-steps { position: relative; }

.story-step {
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
}

.story-step.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.step-num {
    font-size: .8125rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .1em;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.step-headline {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-1);
    margin-bottom: 16px;
    letter-spacing: -.02em;
}

.step-body {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 24px;
}

.step-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.step-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9375rem;
    color: var(--text-2);
    font-weight: 500;
}
.step-checklist li::before {
    content: '';
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(79,70,229,.1);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%234f46e5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.story-dots {
    display: flex;
    gap: 8px;
    margin-top: 36px;
}
.story-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all .3s;
}
.story-dot.active { width: 24px; border-radius: 4px; background: var(--primary); }

/* ─ Visual screens ─ */
.story-visual-wrap { position: relative; min-height: 380px; }

.story-screen {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(30px) scale(.96);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-screen.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    position: relative;
}

.sscreen-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}

.sscreen-title {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 24px;
}

/* Screen 0 — URL scan */
.url-demo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: .9375rem;
    color: var(--text-1);
    font-weight: 500;
}
.ud-globe { font-size: 1.125rem; }
.ud-cursor {
    animation: blink 1s step-end infinite;
    color: var(--primary);
    font-weight: 300;
}

.scan-progress-wrap { margin-bottom: 16px; }

.scan-bar-track {
    height: 6px;
    background: var(--bg3);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.scan-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0;
    transition: width 2s ease;
}

.story-screen.active .scan-bar-fill { width: 78%; }

.scan-label { font-size: .8rem; color: var(--text-3); }

.scan-results { display: flex; flex-direction: column; gap: 8px; }

.sr-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    color: var(--text-2);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg2);
    font-weight: 500;
}
.sr-item.done { color: #10b981; }
.sr-item.loading { color: var(--text-3); }

.spinner {
    width: 14px; height: 14px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    display: inline-block;
}

/* Screen 1 — Training */
.training-ring-wrap {
    position: relative;
    width: 120px; height: 120px;
    margin: 0 auto 24px;
}

.training-ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-fill { transition: stroke-dashoffset 2s ease; }
.story-screen.active .ring-fill { stroke-dashoffset: 20 !important; }

.ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-1);
}

.training-stats { display: flex; flex-direction: column; gap: 10px; }

.ts-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .875rem;
    color: var(--text-2);
    padding: 10px 14px;
    background: var(--bg2);
    border-radius: var(--radius-sm);
}
.ts-item span { font-weight: 700; color: var(--primary); }

/* Screen 2 — Code */
.code-block {
    background: #0f172a;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.code-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.code-lang-badge {
    font-size: .7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.copy-code-btn {
    font-size: .75rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 3px 10px;
    border: 1px solid #334155;
    border-radius: 6px;
    transition: all .2s;
}
.copy-code-btn:hover, .copy-code-btn.copied { color: #22c55e; border-color: #22c55e; }

.code-pre {
    padding: 18px 16px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: .8125rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.ct { color: #7dd3fc; }
.ca { color: #a5f3fc; }
.cs { color: #86efac; }

.embed-success {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.2);
    color: #10b981;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 600;
}
.es-icon { font-size: 1rem; }

/* ── 10. Features ─────────────────────────────── */
.features-section {
    padding: 100px 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity .3s ease;
}

.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79,70,229,.15);
}
.feat-card:hover::before { opacity: 1; }

.feat-card--wide {
    grid-column: span 3;
}

.feat-wide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.feat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    background: var(--bg, rgba(79,70,229,.08));
    color: var(--c, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.feat-icon svg { width: 24px; height: 24px; }

.feat-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
}

.feat-card p {
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 0;
}

.feat-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.feat-list li {
    font-size: .875rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.feat-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: .875rem;
}

/* ─ Handoff demo ─ */
.handoff-demo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: var(--bg2);
    border-radius: var(--radius-lg);
}

.hd-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 90%;
}
.hd-bubble.ai    { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 3px; }
.hd-bubble.human { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.hd-from { font-size: .7rem; font-weight: 600; color: var(--text-3); margin-bottom: 4px; }
.hd-bubble.human .hd-from { color: rgba(255,255,255,.7); }
.hd-text { font-size: .8125rem; line-height: 1.5; color: var(--text-2); }
.hd-bubble.human .hd-text { color: #fff; }

.hd-transfer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-3);
}
.ht-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #f59e0b;
    animation: pulse-dot 1.5s infinite;
}

/* ── 11. Pricing ──────────────────────────────── */
.pricing-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing-bg {
    position: absolute;
    inset: 0;
    background: var(--bg2);
    z-index: -1;
}

/* Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 52px;
}

.bt-label {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text-3);
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bt-label.bt-active { color: var(--text-1); font-weight: 600; }

.save-chip {
    background: rgba(16,185,129,.12);
    color: #10b981;
    font-size: .75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
}

.bt-switch {
    width: 48px; height: 26px;
    background: var(--border);
    border-radius: 999px;
    position: relative;
    transition: background .3s;
    flex-shrink: 0;
}
.bt-switch.on { background: var(--primary); }

.bt-thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform .3s;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.bt-switch.on .bt-thumb { transform: translateX(22px); }

/* Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

.price-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 24px 24px;
    position: relative;
    transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.price-card--popular {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-indigo);
}
.price-card--popular:hover { transform: scale(1.03) translateY(-4px); }

.price-card--agency { background: #0f172a; border-color: #1e293b; }
.price-card--agency .pc-name,
.price-card--agency .pc-price,
.price-card--agency .pc-tagline { color: #e2e8f0; }
.price-card--agency .pc-features li { color: #94a3b8; }
.price-card--agency .pc-features li.yes { color: #e2e8f0; }
.price-card--agency .pc-features li.yes::before { filter: brightness(2); }

.pc-popular-tag {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.pc-name {
    font-size: .8125rem;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.pc-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 10px;
    color: var(--text-1);
}
.pc-price sup { font-size: 1rem; font-weight: 700; margin-top: 8px; }
.pc-amount { font-size: 3rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.pc-price sub { font-size: .875rem; color: var(--text-3); }

.pc-tagline {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 54px;
}

.pc-features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px;
}

.pc-features li {
    font-size: .8375rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pc-features li::before {
    content: '';
    width: 16px; height: 16px;
    flex-shrink: 0;
}
.pc-features li.yes { color: var(--text-1); font-weight: 500; }
.pc-features li.yes::before {
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%234f46e5' fill-opacity='.1'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%234f46e5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pc-features li.no { color: var(--text-3); }
.pc-features li.no::before {
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23e2e8f0'/%3E%3Cpath d='M6 6l4 4M10 6l-4 4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-note {
    text-align: center;
    margin-top: 36px;
    font-size: .875rem;
    color: var(--text-3);
}

/* ── 12. Stats + About ────────────────────────── */
.about-section { padding: 100px 0; background: var(--bg); }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 80px;
}

.stat-box {
    background: #fff;
    padding: 32px 24px;
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-lbl {
    font-size: .875rem;
    color: var(--text-3);
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-1);
    line-height: 1.25;
    margin-bottom: 20px;
}
.about-text p {
    font-size: .9375rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}
.mt-6 { margin-top: 24px; }

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.ac-icon { font-size: 1.5rem; margin-bottom: 10px; }
.about-card h4 { font-size: .9375rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.about-card p  { font-size: .8125rem; color: var(--text-2); line-height: 1.5; }

/* ── 13. Testimonials ─────────────────────────── */
.testimonials-section { padding: 100px 0; background: var(--bg2); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: transform .3s, box-shadow .3s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testi-card--featured {
    border-color: var(--primary);
    position: relative;
}
.testi-card--featured::before {
    content: '❝';
    position: absolute;
    top: 20px; right: 24px;
    font-size: 3rem;
    color: rgba(79,70,229,.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testi-stars { color: #f59e0b; font-size: .9375rem; margin-bottom: 14px; }

.testi-quote {
    font-size: .9375rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ta-name { font-size: .9rem; font-weight: 700; color: var(--text-1); }
.ta-role { font-size: .8rem; color: var(--text-3); }

/* ── 14. CTA Banner ───────────────────────────── */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #6d28d9 50%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    top: -200px; right: -100px;
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -.03em;
}

.cta-inner p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 36px;
}

.cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ── 15. Footer ───────────────────────────────── */
.site-footer {
    background: var(--text-1);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-brand .brand-name { color: #fff; }

.footer-brand p {
    font-size: .875rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: #64748b;
    display: flex; align-items: center; justify-content: center;
    font-size: .8125rem;
    font-weight: 700;
    transition: background .2s, color .2s;
}
.footer-socials a:hover { background: rgba(255,255,255,.12); color: #fff; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.fl-col h5 {
    font-size: .8125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fl-col ul { display: flex; flex-direction: column; gap: 10px; }

.fl-col a {
    font-size: .875rem;
    color: #64748b;
    transition: color .2s;
}
.fl-col a:hover { color: #e2e8f0; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8125rem;
    color: #475569;
}

/* ── 16. Reveal animations ────────────────────── */
[data-reveal], [data-reveal-delay] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal-delay] { transition-delay: .15s; }

[data-reveal].visible, [data-reveal-delay].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 17. Keyframes ────────────────────────────── */
@keyframes float {
    0%, 100% { transform: perspective(1100px) rotateY(-10deg) rotateX(4deg) rotateZ(1deg) translateY(0); }
    50%       { transform: perspective(1100px) rotateY(-10deg) rotateX(4deg) rotateZ(1deg) translateY(-14px); }
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.float-badge--1 { animation: float-badge 7s ease-in-out 1s infinite; }
.float-badge--2 { animation: float-badge 8s ease-in-out 2.5s infinite; }
.float-badge--3 { animation: float-badge 6s ease-in-out .5s infinite; }

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: .7; }
    50%       { transform: scale(1.15); opacity: 1; }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.3); opacity: .7; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}

@keyframes typing-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: .4; }
    40%            { transform: translateY(-5px); opacity: 1; }
}

@keyframes chat-appear {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

@keyframes storyFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

/* ── 18. Responsive ───────────────────────────── */
@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .price-card--popular { transform: none; }
    .price-card--popular:hover { transform: translateY(-4px); }
}

@media (max-width: 900px) {
    .hero__wrapper      { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .hero__text         { max-width: 100%; }
    .hero__ctas         { justify-content: center; }
    .hero__social-proof { justify-content: center; }
    .hero__visual       { display: none; }

    .story-container    { grid-template-columns: 1fr; gap: 24px; }
    .scroll-story       { height: 380vh; }
    .scroll-story__sticky { position: sticky; top: 0; height: 100vh; padding: 32px 0; overflow: hidden; }
    .story-steps        { min-height: 220px; }
    .story-step         { position: relative; opacity: 1; transform: none; display: none; }
    .story-step.active  { display: block; animation: storyFadeIn .4s ease; }
    .story-screen       { position: relative; opacity: 1; transform: none; display: none; }
    .story-screen.active{ display: flex; animation: storyFadeIn .4s ease; }
    .story-visual-wrap  { min-height: auto; }
    .story-dots         { margin-top: 20px; }

    .features-grid      { grid-template-columns: repeat(2, 1fr); }
    .feat-card--wide    { grid-column: span 2; }
    .feat-wide-content  { grid-template-columns: 1fr; }

    .about-grid         { grid-template-columns: 1fr; gap: 40px; }
    .stats-row          { grid-template-columns: repeat(2, 1fr); }

    .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }

    .footer-top         { grid-template-columns: 1fr; gap: 40px; }
    .footer-links       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar__menu, .navbar__actions { display: none; }
    .navbar__hamburger { display: flex; }
}

@media (max-width: 640px) {
    .features-grid      { grid-template-columns: 1fr; }
    .feat-card--wide    { grid-column: span 1; }
    .pricing-grid       { grid-template-columns: 1fr; }
    .testimonials-grid  { grid-template-columns: 1fr; }
    .about-cards        { grid-template-columns: 1fr; }
    .stats-row          { grid-template-columns: 1fr 1fr; }
    .footer-links       { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   Mobile Sidebar Drawer
══════════════════════════════════════════════ */
.mob-overlay {
    position: fixed; inset: 0;
    background: rgba(4,9,26,.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1098;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    pointer-events: none;
}
.mob-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mob-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 82vw);
    height: 100dvh;
    height: 100vh;
    background: #ffffff;
    z-index: 1099;
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -24px 0 64px rgba(0,0,0,.18);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mob-drawer.open {
    transform: translateX(0);
}

/* Header row */
.mob-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.mob-close {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #475569;
    transition: background .18s, color .18s;
    flex-shrink: 0;
}
.mob-close:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.mob-close svg   { width: 16px; height: 16px; }

/* Nav links */
.mob-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 12px 12px;
    flex: 1;
    gap: 2px;
}
.mob-drawer__nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: .9375rem;
    font-weight: 500;
    color: #334155;
    transition: background .18s, color .18s;
    text-decoration: none;
}
.mob-drawer__nav a:hover,
.mob-drawer__nav a:active {
    background: #f1f5f9;
    color: #4f46e5;
}
.mob-nav-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(79,70,229,.07);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #4f46e5;
    transition: background .18s;
}
.mob-nav-icon svg { width: 17px; height: 17px; }
.mob-drawer__nav a:hover .mob-nav-icon { background: rgba(79,70,229,.14); }

/* Divider before actions */
.mob-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 8px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.mob-action-ghost {
    display: flex; align-items: center; justify-content: center;
    padding: 12px 20px; border-radius: 12px;
    border: 1.5px solid #e2e8f0; background: #fff;
    font-size: .9375rem; font-weight: 600; color: #334155;
    text-decoration: none; transition: all .18s;
}
.mob-action-ghost:hover { border-color: #c7d2fe; color: #4f46e5; background: #eef2ff; }
.mob-action-primary {
    display: flex; align-items: center; justify-content: center;
    padding: 13px 20px; border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    font-size: .9375rem; font-weight: 700; color: #fff;
    text-decoration: none; transition: opacity .18s;
    box-shadow: 0 4px 16px rgba(79,70,229,.3);
}
.mob-action-primary:hover { opacity: .9; }

/* Footer tagline */
.mob-drawer__foot {
    padding: 14px 20px 20px;
    flex-shrink: 0;
}
.mob-drawer__foot p {
    font-size: .75rem;
    color: #94a3b8;
    text-align: center;
    letter-spacing: .03em;
}

/* Body lock when drawer is open */
body.drawer-open { overflow: hidden; }

/* ══════════════════════════════════════════════
   19. SVG Icon Fixes
══════════════════════════════════════════════ */
.feat-icon {
    color: var(--c, var(--primary));
    background: var(--bg, rgba(79,70,229,.08));
}
.feat-icon svg { width: 24px; height: 24px; flex-shrink: 0; }

.fb-icon { display: flex; align-items: center; justify-content: center; color: var(--primary); }
.fb-icon svg { width: 22px; height: 22px; }

.ac-icon { display: flex; align-items: center; justify-content: center; color: var(--primary); }
.ac-icon svg { width: 28px; height: 28px; }

.footer-socials a svg { width: 15px; height: 15px; }

.chat-close svg { width: 12px; height: 12px; }

.sr-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.sr-item.done svg { color: #10b981; }

.embed-success svg { width: 18px; height: 18px; flex-shrink: 0; }

.ud-globe { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); }

/* ── Platform logo badge ───────────────────── */
.mi-logo {
    width: 22px; height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0;
}

/* ── Free plan pricing ─────────────────────── */
.price-free-label {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.price-free-sub {
    font-size: .875rem;
    color: var(--text-3);
    align-self: flex-end;
    padding-bottom: 4px;
    margin-left: 4px;
    -webkit-text-fill-color: var(--text-3);
}

/* ══════════════════════════════════════════════
   20. Interior Page — Shared
══════════════════════════════════════════════ */
.page-hero {
    padding: calc(var(--nav-h) + 60px) 0 60px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
}
.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--text-1);
    letter-spacing: -.03em;
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 520px;
}
.page-body { padding: 64px 0 100px; }
.page-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-1); margin: 32px 0 10px; }
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body li { font-size: .9375rem; color: var(--text-2); line-height: 1.75; margin-bottom: 12px; }
.page-body ul { padding-left: 20px; list-style: disc; }
.page-body ul li { margin-bottom: 6px; }
.page-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ── Contact page ──────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}
.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
}
.contact-form-card h2 { font-size: 1.375rem; font-weight: 800; color: var(--text-1); margin-bottom: 6px; }
.contact-form-card > p { color: var(--text-2); font-size: .9375rem; margin-bottom: 28px; }
.contact-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.ci-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius);
    background: rgba(79,70,229,.08);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; }
.ci-title { font-size: .875rem; font-weight: 700; color: var(--text-1); margin-bottom: 3px; }
.ci-value { font-size: .875rem; color: var(--text-2); }
.ci-value a { color: var(--primary); text-decoration: none; }
.ci-value a:hover { text-decoration: underline; }

/* ── Form elements ─────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .9375rem;
    font-family: inherit;
    color: var(--text-1);
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input-wrap { position: relative; }
.form-input-icon {
    position: absolute;
    left: 13px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    pointer-events: none;
    display: flex;
}
.form-input-icon svg { width: 18px; height: 18px; }
.form-input.has-icon { padding-left: 42px; }
.pwd-toggle {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: var(--text-3); cursor: pointer; padding: 2px;
    display: flex; align-items: center;
}
.pwd-toggle:hover { color: var(--text-2); }
.pwd-toggle svg { width: 18px; height: 18px; }
.form-hint { font-size: .8rem; color: var(--text-3); margin-top: 5px; }
.form-error { font-size: .8rem; color: #ef4444; margin-top: 5px; display: none; }
.form-input.is-error { border-color: #ef4444; }
.form-input.is-error:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.form-check input[type="checkbox"] {
    width: 16px; height: 16px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}
.form-check label { font-size: .875rem; color: var(--text-2); cursor: pointer; line-height: 1.5; }
.form-check label a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-3);
    font-size: .8125rem;
}
.form-divider::before, .form-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ══════════════════════════════════════════════
   21. Auth Pages (Login / Register)
══════════════════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.auth-brand-panel {
    width: 420px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #3730a3 0%, var(--primary) 40%, var(--accent) 100%);
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    top: -100px; right: -120px;
    pointer-events: none;
}
.auth-brand-panel::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    bottom: -80px; left: -60px;
    pointer-events: none;
}

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 56px;
    position: relative; z-index: 1;
}
.auth-brand-logo .brand-name { color: #fff; font-size: 1.25rem; }

.auth-brand-heading {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.03em;
    margin-bottom: 16px;
    position: relative; z-index: 1;
}
.auth-brand-sub {
    font-size: .9375rem;
    color: rgba(255,255,255,.75);
    line-height: 1.65;
    margin-bottom: 40px;
    position: relative; z-index: 1;
}

.auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: auto;
    position: relative; z-index: 1;
}
.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9rem;
    color: rgba(255,255,255,.9);
    font-weight: 500;
}
.auth-feature-item svg {
    width: 20px; height: 20px;
    color: #a5f3fc;
    flex-shrink: 0;
}

.auth-quote {
    margin-top: 48px;
    padding: 20px;
    background: rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.15);
    position: relative; z-index: 1;
}
.auth-quote p { font-size: .875rem; color: rgba(255,255,255,.9); line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.auth-quote-author { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 600; }

.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    background: #fff;
    overflow-y: auto;
}

.auth-form-inner {
    width: 100%;
    max-width: 440px;
}

.auth-form-header { margin-bottom: 32px; }
.auth-form-header h1 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-1);
    letter-spacing: -.03em;
    margin-bottom: 6px;
}
.auth-form-header p { font-size: .9375rem; color: var(--text-2); }
.auth-form-header a { color: var(--primary); font-weight: 600; }
.auth-form-header a:hover { text-decoration: underline; }

.plan-selection-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(79,70,229,.06);
    border: 1.5px solid rgba(79,70,229,.15);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin-bottom: 28px;
}
.psb-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.psb-icon svg { width: 20px; height: 20px; color: #fff; }
.psb-plan { font-size: .8rem; color: var(--text-3); font-weight: 500; }
.psb-name { font-size: 1rem; font-weight: 700; color: var(--text-1); }
.psb-price { margin-left: auto; font-size: .9375rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
.psb-change { font-size: .75rem; color: var(--text-3); margin-left: 8px; }
.psb-change a { color: var(--primary); }

.auth-form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: .875rem;
    color: var(--text-3);
}
.auth-form-footer a { color: var(--primary); font-weight: 600; }
.auth-form-footer a:hover { text-decoration: underline; }

.auth-nav-bar {
    position: absolute;
    top: 24px; left: 24px;
}
.auth-nav-bar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    color: var(--text-3);
    transition: color .2s;
}
.auth-nav-bar a:hover { color: var(--text-1); }
.auth-nav-bar svg { width: 16px; height: 16px; }

.auth-success {
    text-align: center;
    padding: 20px;
    display: none;
}
.auth-success svg { width: 48px; height: 48px; color: #10b981; margin: 0 auto 12px; }
.auth-success h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-1); margin-bottom: 8px; }
.auth-success p { color: var(--text-2); font-size: .9375rem; }

@media (max-width: 900px) {
    .auth-brand-panel { display: none; }
    .auth-form-panel  { padding: 80px 24px 48px; }
    .auth-page { padding-top: 0; }
}
@media (max-width: 640px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row     { grid-template-columns: 1fr; }
}
