/* ================================================
   VOCABITOR — Design System v2.0
   Editorial Tech · Senior UI/UX
   ================================================ */

/* ── LIGHT MODE (Default) ─────────────────────── */
:root {
    --bg: #F8F7FF;
    --bg-2: #EEEDFB;
    --bg-3: #E4E2F8;
    --surface: #FFFFFF;
    --surface-2: #F3F2FD;
    --text-1: #0C0B18;
    --text-2: #4B4960;
    --text-3: #9896AD;
    --indigo: #4F46E5;
    --indigo-h: #4338CA;
    --indigo-lo: rgba(79, 70, 229, 0.10);
    --indigo-bd: rgba(79, 70, 229, 0.22);
    --green: #059669;
    --green-lo: rgba(5, 150, 105, 0.10);
    --purple: #7C3AED;
    --amber: #D97706;
    --border: rgba(0, 0, 0, 0.07);
    --border-2: rgba(0, 0, 0, 0.13);
    --navbar-bg: rgba(248, 247, 255, 0.82);
    --mob-bg: #F8F7FF;
    --sh-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
    --sh-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --sh-lg: 0 16px 48px rgba(0, 0, 0, 0.10);
    --sh-glow: 0 0 48px rgba(79, 70, 229, 0.18);
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-full: 9999px;
    --scrollbar-track: #EEEDFB;
    --scrollbar-thumb: #C5C3E8;
}

/* ── DARK MODE ─────────────────────────────────── */
html[data-theme="dark"] {
    --bg: #07070D;
    --bg-2: #0D0C18;
    --bg-3: #131222;
    --surface: #10101A;
    --surface-2: #17162A;
    --text-1: #EEEDFB;
    --text-2: #9290A8;
    --text-3: #524F6B;
    --green: #34D399;
    --green-lo: rgba(52, 211, 153, 0.10);
    --border: rgba(255, 255, 255, 0.07);
    --border-2: rgba(255, 255, 255, 0.13);
    --navbar-bg: rgba(7, 7, 13, 0.88);
    --mob-bg: #0D0C18;
    --sh-sm: 0 1px 4px rgba(0, 0, 0, 0.4);
    --sh-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --sh-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --sh-glow: 0 0 60px rgba(79, 70, 229, 0.28);
    --scrollbar-track: #0D0C18;
    --scrollbar-thumb: #1E1D30;
}

/* ── BASE & RESET ──────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* ── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 99px;
}

/* ── UTILITIES ─────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--indigo);
    background: var(--indigo-lo);
    border: 1px solid var(--indigo-bd);
    padding: 5px 13px;
    border-radius: var(--r-full);
}

.section-tag i {
    width: 12px;
    height: 12px;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--navbar-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2px;
    margin-left: 8px;
}

.nav-links a {
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--text-1);
    background: var(--surface-2);
}

.nav-links a.active {
    color: var(--indigo);
    font-weight: 600;
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-ghost-nav {
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.btn-ghost-nav:hover {
    color: var(--text-1);
    background: var(--surface-2);
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--indigo);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-nav-cta:hover {
    background: var(--indigo-h);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-nav-cta i {
    width: 14px;
    height: 14px;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--indigo-lo);
    border-color: var(--indigo-bd);
    color: var(--indigo);
    transform: rotate(15deg);
}

.theme-toggle i {
    width: 16px;
    height: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 6px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-1);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 4px;
    border-top: 1px solid var(--border);
    background: var(--mob-bg);
}

.mobile-menu a {
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    display: block;
    transition: all 0.2s;
}

.mobile-menu a:hover {
    color: var(--text-1);
    background: var(--surface-2);
}

.mobile-menu.open {
    display: flex;
}

.mobile-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 112px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.blob-1 {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.14), transparent 70%);
    top: -120px;
    left: -80px;
    animation: blobDrift 12s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.10), transparent 70%);
    bottom: 0;
    right: -60px;
    animation: blobDrift 16s ease-in-out infinite reverse;
}

/* Noise grain overlay */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
}

@keyframes blobDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -30px) scale(1.08);
    }
}

.hero>.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Hero Left ──────────────────────────── */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 6px 14px 6px 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 28px;
    box-shadow: var(--sh-sm);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(5, 150, 105, 0);
    }
}

.hero-title {
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    line-height: 1.0;
}

.hero-title em {
    font-style: normal;
    color: var(--indigo);
    position: relative;
    display: inline-block;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--indigo), var(--purple));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineIn 0.6s 0.8s ease forwards;
}

@keyframes underlineIn {
    to {
        transform: scaleX(1);
    }
}

/* Word Rotate */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    height: 1.05em;
    vertical-align: bottom;
    min-width: 260px;
}

.word-rotate {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.word-rotate span {
    display: block;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--indigo), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
    padding-bottom: 0.05em;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--indigo);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.38);
    transition: background 0.2s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-105%) skewX(-15deg);
    transition: transform 0.4s ease;
}

.btn-primary:hover::before {
    transform: translateX(105%) skewX(-15deg);
}

.btn-primary:hover {
    background: var(--indigo-h);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(79, 70, 229, 0.48);
}

.btn-primary i {
    width: 18px;
    height: 18px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-1);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: var(--r-full);
    border: 1.5px solid var(--border-2);
    background: var(--surface);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--indigo-bd);
    color: var(--indigo);
    background: var(--indigo-lo);
}

.btn-outline i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.btn-outline:hover i {
    transform: translateX(3px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-3);
}

.trust-stars {
    color: #F59E0B;
    letter-spacing: 1px;
    font-size: 14px;
}

.trust-div {
    width: 1px;
    height: 16px;
    background: var(--border-2);
}

/* ── Hero Right — Product Mockup ────────── */
.hero-mockup-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-float {
    animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.browser-frame {
    width: 100%;
    max-width: 500px;
    background: #1C1B2E;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.browser-bar {
    background: #252336;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.b-dots {
    display: flex;
    gap: 6px;
}

.b-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.b-dot-r {
    background: #FF5F57;
}

.b-dot-y {
    background: #FEBC2E;
}

.b-dot-g {
    background: #28C840;
}

.b-url {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 12px;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.b-url i {
    width: 10px;
    height: 10px;
}

.browser-body {
    padding: 20px;
    position: relative;
    min-height: 280px;
}

.page-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-line {
    height: 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.07);
}

.p-line.long {
    width: 85%;
}

.p-line.med {
    width: 65%;
}

.p-line.short {
    width: 40%;
}

.p-title {
    height: 15px;
    width: 55%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    margin-bottom: 14px;
}

.p-para {
    font-size: 12px;
    color: #5A5877;
    line-height: 1.7;
    margin-bottom: 12px;
}

mark.hw {
    background: rgba(79, 70, 229, 0.18);
    color: #A5B4FC;
    border-radius: 3px;
    padding: 0 2px;
    border-bottom: 2px solid #4F46E5;
}

/* Floating flashcard on top of browser */
.fc-overlay {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.fc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px 8px;
}

/* Green A1 level pill — matches real card */
.fc-level {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 10px;
    border-radius: 99px;
}

.fc-level-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
}

.fc-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fc-btn {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 700;
    color: #6B7280;
    cursor: pointer;
    padding: 3px 7px;
    border-radius: 5px;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}

.fc-btn:hover {
    background: #F3F4F6;
}

.fc-close {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F3F4F6;
    border: none;
    font-size: 12px;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.fc-close:hover {
    background: #E5E7EB;
}

/* Body layout */
.fc-body-inner {
    display: flex;
    gap: 12px;
    padding: 2px 14px 10px;
}

.fc-info {
    flex: 1;
    min-width: 0;
}

/* Word row: word + NOUN pill + speaker */
.fc-word-line {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.fc-word-text {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

/* NOUN / ADJ pill — matches real card exactly */
.fc-pos {
    font-size: 9px;
    font-weight: 700;
    background: #F3F4F6;
    color: #6B7280;
    padding: 2px 7px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid #E5E7EB;
}

/* Speaker icon */
.fc-speaker {
    display: flex;
    align-items: center;
    color: #93C5FD;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.fc-speaker i {
    width: 15px;
    height: 15px;
}

/* Definition */
.fc-def {
    font-size: 12.5px;
    color: #374151;
    line-height: 1.55;
    margin-bottom: 7px;
}

/* Translation row — light green background like real card */
.fc-trans {
    font-size: 12px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 7px;
    padding: 5px 9px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
}

.fc-trans-tag {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6B7280;
}

.fc-trans-val {
    font-size: 12.5px;
    font-weight: 600;
    color: #059669;
}

/* Example quote — green left border like real card */
.fc-quote {
    background: transparent;
    border-left: 3px solid #10B981;
    border-radius: 0;
    padding: 4px 8px;
    font-size: 11.5px;
    color: #4B5563;
    font-style: italic;
    line-height: 1.5;
}

/* Thumbnail image box */
.fc-thumb {
    width: 72px;
    flex-shrink: 0;
    height: 72px;
    background: #F0FDF4;
    border-radius: 10px;
    border: 1px solid #D1FAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #10B981;
}

.fc-thumb i {
    width: 28px;
    height: 28px;
}

.fc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

/* Footer row */
.fc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px 12px;
}

.fc-icon-btns {
    display: flex;
    gap: 6px;
}

/* Heart — red/pink; Repeat — blue outline */
.fc-icon-btn {
    background: none;
    border: 1.5px solid #E5E7EB;
    cursor: pointer;
    color: #9CA3AF;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    width: 32px;
    height: 32px;
    justify-content: center;
}

.fc-icon-btn.heart {
    color: #F87171;
    border-color: #FECACA;
}

.fc-icon-btn.heart:hover {
    background: #FFF0F0;
}

.fc-icon-btn.repeat {
    color: #60A5FA;
    border-color: #BFDBFE;
}

.fc-icon-btn.repeat:hover {
    background: #EFF6FF;
}

.fc-icon-btn i {
    width: 14px;
    height: 14px;
}

/* Green Next button — matches real card */
.fc-next {
    background: #10B981;
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 7px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
    letter-spacing: 0.01em;
}

.fc-next:hover {
    background: #059669;
}

.fc-next i {
    width: 12px;
    height: 12px;
}

.fc-bar {
    height: 3px;
    background: #F3F4F6;
}

.fc-bar-fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #10B981, #059669);
    border-radius: 2px;
}

/* Floating badge above/around mockup */
.mockup-badge {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px 14px;
    box-shadow: var(--sh-md);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatY 6s ease-in-out infinite;
    z-index: 10;
}

.badge-top-left {
    top: -16px;
    left: -20px;
    animation-delay: -2s;
}

.badge-bot-right {
    bottom: -16px;
    right: -20px;
    animation-delay: -4s;
}

.badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon.green {
    background: var(--green-lo);
    color: var(--green);
}

.badge-icon.indigo {
    background: var(--indigo-lo);
    color: var(--indigo);
}

.badge-icon i {
    width: 14px;
    height: 14px;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-val {
    font-size: 13px;
    font-weight: 700;
}

.badge-lab {
    font-size: 10px;
    color: var(--text-3);
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════ */
.stats-strip {
    background: var(--bg-3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

.stat-item {
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.stat-item+.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: var(--border-2);
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-1);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════
   BENTO FEATURES
═══════════════════════════════════════════ */
.bento-section {
    padding: 100px 0;
}

.bento-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 56px;
}

.bento-header h2 {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 800;
    margin: 14px 0 16px;
}

.bento-header p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.75;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 14px;
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-lg);
    border-color: var(--indigo-bd);
}

/* Card 1 — large (spans 2 cols, 2 rows) */
.bento-card-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    padding: 36px;
    min-height: 340px;
}

/* Card 2 — right top */
.bento-card-2 {
    grid-column: 3;
    grid-row: 1;
}

/* Card 3 — right middle */
.bento-card-3 {
    grid-column: 3;
    grid-row: 2;
}

/* Cards 4-6 — bottom row */
.bento-card-4 {
    grid-column: 1;
    grid-row: 3;
}

.bento-card-5 {
    grid-column: 2;
    grid-row: 3;
}

.bento-card-6 {
    grid-column: 3;
    grid-row: 3;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background: linear-gradient(90deg, var(--indigo), var(--purple));
    opacity: 0;
    transition: opacity 0.25s;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.bento-icon i {
    width: 22px;
    height: 22px;
}

.bento-icon.blue {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
}

.bento-icon.purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
}

.bento-icon.green {
    background: var(--green-lo);
    color: var(--green);
}

.bento-icon.amber {
    background: rgba(217, 119, 6, 0.1);
    color: var(--amber);
}

.bento-icon.rose {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.bento-icon.sky {
    background: rgba(14, 165, 233, 0.1);
    color: #0EA5E9;
}

.bento-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.bento-card-1 h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.bento-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
}

.bento-card-1 p {
    font-size: 15px;
}

.bento-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.bento-list li {
    font-size: 13px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-list li i {
    width: 14px;
    height: 14px;
    color: var(--green);
    flex-shrink: 0;
}

/* Bento large card — mini demo */
.bento-demo {
    margin-top: 24px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.bento-demo-card {
    background: white;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: var(--sh-md);
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.bento-demo-word {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 2px;
}

.bento-demo-def {
    font-size: 11px;
    color: #6B7280;
}

.bento-demo-badge {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS — TIMELINE
═══════════════════════════════════════════ */
.how-section {
    padding: 100px 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.how-header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 64px;
}

.how-header h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    margin: 14px 0 14px;
}

.how-header p {
    font-size: 16px;
    color: var(--text-2);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(28px + 10%);
    right: calc(28px + 10%);
    height: 1px;
    background: var(--border-2);
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--indigo);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-step:hover .step-num {
    background: var(--indigo);
    color: white;
    border-color: var(--indigo);
    box-shadow: var(--sh-glow);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--indigo-lo);
    color: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.step-icon i {
    width: 20px;
    height: 20px;
}

.step-body h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-body p {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
.pricing-section {
    padding: 100px 0;
}

.pricing-header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 56px;
}

.pricing-header h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    margin: 14px 0 14px;
}

.pricing-header p {
    font-size: 16px;
    color: var(--text-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 840px;
    margin: 0 auto;
}

.p-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
}

/* Pro card — gradient border */
.p-card.pro {
    background: var(--surface);
    border: none;
    position: relative;
    background-clip: padding-box;
}

.p-card.pro::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    padding: 1.5px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED, #EC4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: var(--r-full);
    margin-bottom: 20px;
}

.plan-badge.free {
    background: var(--bg-2);
    color: var(--text-2);
}

.plan-badge.popular {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
}

.plan-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-3);
    margin-bottom: 24px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 28px;
}

.price-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.price-per {
    font-size: 14px;
    color: var(--text-3);
    align-self: flex-end;
    padding-bottom: 6px;
}

.plan-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 24px;
}

.plan-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 32px;
}

.plan-feats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-2);
}

.feat-yes {
    color: var(--green);
    flex-shrink: 0;
}

.feat-yes i,
.feat-no i {
    width: 15px;
    height: 15px;
}

.feat-no {
    color: var(--text-3);
    flex-shrink: 0;
}

.feat-dim {
    color: var(--text-3);
}

.btn-plan {
    width: 100%;
    padding: 14px;
    border-radius: var(--r-full);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.btn-plan.free {
    background: var(--surface-2);
    color: var(--text-1);
    border: 1.5px solid var(--border-2);
}

.btn-plan.free:hover {
    background: var(--bg-2);
    border-color: var(--border-2);
}

.btn-plan.pro {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.35);
}

.btn-plan.pro:hover {
    box-shadow: 0 12px 36px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}

.btn-plan i {
    width: 16px;
    height: 16px;
}

.plan-note {
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
    margin-top: 12px;
}

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #4F46E5 100%);
    background-size: 200% 200%;
    animation: gradShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.cta-inner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--indigo);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.btn-cta-white i {
    width: 18px;
    height: 18px;
}

.btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--r-full);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.btn-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-cta-ghost i {
    width: 16px;
    height: 16px;
}

.cta-trust {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    background: var(--bg-3);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 48px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.75;
    margin-top: 14px;
    max-width: 240px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-social:hover {
    background: var(--indigo-lo);
    border-color: var(--indigo-bd);
    color: var(--indigo);
}

.footer-social i {
    width: 14px;
    height: 14px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--indigo);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    max-width: 1160px;
    margin: 0 auto;
    font-size: 13px;
    color: var(--text-3);
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.anim-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   THEME TRANSITIONS
═══════════════════════════════════════════ */
body,
.navbar,
.mobile-menu,
.bento-card,
.p-card,
.footer {
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.3s ease;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card-1 {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .bento-card-2,
    .bento-card-3 {
        grid-column: auto;
        grid-row: auto;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .timeline::before {
        display: none;
    }

    .timeline-step {
        flex-direction: row;
        text-align: left;
    }

    .step-num {
        margin-bottom: 0;
        margin-right: 16px;
        flex-shrink: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .hero>.container {
        grid-template-columns: 1fr;
    }

    .hero-mockup-wrap {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .btn-ghost-nav {
        display: none;
    }

    .nav-actions .btn-nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item+.stat-item::before {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card-1,
    .bento-card-2,
    .bento-card-3,
    .bento-card-4,
    .bento-card-5,
    .bento-card-6 {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .word-wrap {
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
    }

    .stats-inner {
        grid-template-columns: 1fr;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}