/* ═══════════════════════════════════════════════════════════════
   Nord WMS — Modern Website Styles
   Light theme · Vivid accents · Professional animations
═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --primary:       #6C63FF;
    --primary-dark:  #5A52E8;
    --primary-light: #EEF2FF;
    --secondary:     #00D4AA;
    --accent:        #FF6B6B;
    --warning:       #FFAA2E;

    --bg:            #FFFFFF;
    --bg-alt:        #F8F9FF;
    --bg-dark:       #0F0F1A;
    --card-bg:       #FFFFFF;

    --text:          #1E1B4B;
    --text-2:        #4B5563;
    --text-3:        #9CA3AF;

    --border:        #E5E7EB;
    --border-light:  #F3F4F6;

    --radius-sm:     8px;
    --radius:        14px;
    --radius-lg:     22px;
    --radius-xl:     32px;

    --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow:        0 4px 16px rgba(108,99,255,.10), 0 2px 8px rgba(0,0,0,.06);
    --shadow-lg:     0 20px 60px rgba(108,99,255,.18), 0 8px 20px rgba(0,0,0,.08);
    --shadow-card:   0 8px 32px rgba(0,0,0,.08);

    --transition:    0.3s cubic-bezier(.4,0,.2,1);
    --transition-slow: 0.5s cubic-bezier(.4,0,.2,1);

    --font-heading:  'Plus Jakarta Sans', sans-serif;
    --font-body:     'Inter', sans-serif;

    --container:     1200px;
    --nav-h:         72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 1000;
}

.skip-link:focus {
    left: 24px;
    top: 24px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    font-weight: 700;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography helpers ──────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #9D96FF 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text);
}

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

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

.section-header .section-desc {
    margin: 12px auto 0;
}

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

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

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(108,99,255,.35);
}
.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108,99,255,.45);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
    border: 2px solid var(--border);
    color: var(--text);
    background: transparent;
}
.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn--ghost {
    color: var(--text-2);
    background: transparent;
}
.btn--ghost:hover { color: var(--primary); background: var(--primary-light); }

.btn--play {
    color: var(--text);
    background: white;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn--play:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.play-circle {
    width: 32px; height: 32px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

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

.btn--outline-white {
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
    background: transparent;
}
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ── Preloader ───────────────────────────────────────────────── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}

.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader__inner { text-align: center; }

.preloader__logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.preloader__logo span { color: var(--primary); }

.preloader__bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
    margin: 0 auto 12px;
}

.preloader__fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 99px;
    transition: width .05s linear;
}

.preloader__percent {
    font-size: .8rem;
    color: var(--text-3);
    font-weight: 500;
}

/* ── Custom Cursor ───────────────────────────────────────────── */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform .1s ease;
}

.cursor {
    width: 8px; height: 8px;
    background: var(--primary);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 36px; height: 36px;
    border: 2px solid rgba(108,99,255,.3);
    transform: translate(-50%, -50%);
    transition: all .15s ease;
}

.cursor-follower.hovered {
    transform: translate(-50%, -50%) scale(1.6);
    background: rgba(108,99,255,.07);
    border-color: var(--primary);
}

@media (pointer: coarse) {
    .cursor, .cursor-follower { display: none; }
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0,0,0,.06);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 0 var(--border), 0 6px 24px rgba(0,0,0,.08);
}

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

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.navbar__logo span { color: var(--primary); }
.logo-hex { font-size: 1.4rem; color: var(--primary); }

.navbar__links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.nav-link {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-2);
    padding: 7px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

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

.navbar__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    margin-left: auto;
}

.navbar__burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__burger.active span:nth-child(2) { opacity: 0; }
.navbar__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    z-index: 999;
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }

.mobile-link {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-2);
    padding: 10px 12px;
    border-radius: 8px;
    transition: var(--transition);
}
.mobile-link:hover { color: var(--primary); background: var(--primary-light); }

.mobile-cta { width: 100%; justify-content: center; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 60px;
    overflow: hidden;
    background: linear-gradient(160deg, #FAFAFF 0%, #F0F0FF 40%, #F8FFF8 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Animated blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .5;
    animation: blobMove 12s ease-in-out infinite alternate;
}

.blob--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(108,99,255,.25), transparent 70%);
    top: -200px; right: -100px;
    animation-duration: 14s;
}

.blob--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,212,170,.2), transparent 70%);
    bottom: -100px; left: -100px;
    animation-duration: 10s;
    animation-direction: alternate-reverse;
}

.blob--3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255,107,107,.15), transparent 70%);
    top: 30%; left: 30%;
    animation-duration: 16s;
}

@keyframes blobMove {
    0% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.05); }
    100% { transform: translate(-20px, 20px) scale(.95); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108,99,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108,99,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Hero Content */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 6px 16px 6px 6px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    animation: slideDown .6s ease backwards;
}

.badge__pulse {
    width: 8px; height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,170,.5); }
    50% { box-shadow: 0 0 0 6px rgba(0,212,170,0); }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 20px;
    animation: slideUp .7s .1s ease backwards;
}

.typed-text::after {
    content: '|';
    animation: blink .7s step-end infinite;
    color: var(--primary);
}

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

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 32px;
    animation: slideUp .7s .2s ease backwards;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    animation: slideUp .7s .3s ease backwards;
}

.hero__metrics {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: slideUp .7s .4s ease backwards;
}

.hero-metric__value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
}

.hero-metric__label {
    font-size: .78rem;
    color: var(--text-3);
    font-weight: 500;
}

.hero-metric__sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Dashboard Mockup */
.hero__visual {
    position: relative;
    animation: slideLeft .8s .2s ease backwards;
}

.dashboard-mockup {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transition: transform .5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

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

.chrome__dots { display: flex; gap: 6px; }
.chrome__dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
}
.chrome__dots span:nth-child(1) { background: #FF5F57; }
.chrome__dots span:nth-child(2) { background: #FEBC2E; }
.chrome__dots span:nth-child(3) { background: #28C840; }

.chrome__title {
    flex: 1;
    text-align: center;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-3);
}

.chrome__pill {
    font-size: .72rem;
    font-weight: 600;
    color: #16A34A;
    background: #DCFCE7;
    padding: 3px 10px;
    border-radius: 99px;
}

.mockup__body { padding: 16px; }

.mockup__stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.m-stat {
    background: #F9FAFB;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.m-stat__icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.m-stat__val {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.m-stat__lbl { font-size: .68rem; color: var(--text-3); margin-top: 2px; }

.m-stat__change {
    margin-left: auto;
    font-size: .7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
}

.m-stat__change.up { color: #16A34A; background: #DCFCE7; }

.mockup__chart-area { margin-bottom: 14px; }

.chart__label { font-size: .72rem; font-weight: 600; color: var(--text-3); margin-bottom: 10px; }

.chart__bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 64px;
}

.chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: flex-end;
}

.chart-col span { font-size: .62rem; color: var(--text-3); }

.chart-bar {
    width: 100%;
    height: var(--h);
    background: #EEF2FF;
    border-radius: 4px 4px 0 0;
    transition: height .4s ease;
}

.chart-bar--active { background: var(--primary); }

.mockup__table {}

.m-table-row {
    display: grid;
    grid-template-columns: 1fr 60px 70px;
    padding: 6px 0;
    font-size: .72rem;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.m-table-row:last-child { border-bottom: none; }

.m-table-header {
    font-weight: 600;
    color: var(--text-3);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.m-badge {
    display: inline-flex;
    align-items: center;
    font-size: .65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
}

.m-badge--green { background: #DCFCE7; color: #16A34A; }
.m-badge--yellow { background: #FEF3C7; color: #D97706; }

/* Floating Cards */
.float-card {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    animation: floatAnim 4s ease-in-out infinite;
}

.float-card--1 { bottom: 60px; left: -40px; animation-delay: 0s; }
.float-card--2 { top: 40px; right: -40px; animation-delay: 1.5s; }
.float-card--3 { bottom: -20px; right: 20px; animation-delay: .8s; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.float-card__icon { font-size: 1.3rem; }

.float-card__val {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.float-card__lbl { font-size: .7rem; color: var(--text-3); margin-top: 1px; }

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-3);
    font-size: .75rem;
    animation: fadeIn 1s 1.5s ease backwards;
    z-index: 1;
}

.scroll-hint__mouse {
    width: 22px; height: 34px;
    border: 2px solid var(--text-3);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.scroll-hint__wheel {
    width: 3px; height: 6px;
    background: var(--text-3);
    border-radius: 3px;
    animation: scrollWheel 1.8s ease infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(8px); opacity: 0; }
}

/* ── Trusted By ──────────────────────────────────────────────── */
.trusted {
    padding: 40px 0 48px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

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

.trusted__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 48px;
    overflow: hidden;
}

.trusted-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #C0C0D0;
    letter-spacing: -0.02em;
    transition: color var(--transition);
    cursor: default;
    user-select: none;
}

.trusted-logo:hover { color: var(--text-3); }

/* ── Stats ───────────────────────────────────────────────────── */
.stats-section {
    padding: 80px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-item {
    text-align: center;
    animation-delay: var(--delay, 0s);
}

.stat-item__number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item__suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item__label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.stat-item__sub {
    font-size: .82rem;
    color: var(--text-3);
}

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

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.ftab {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg-alt);
    border: 2px solid transparent;
    transition: var(--transition);
}

.ftab:hover { color: var(--primary); background: var(--primary-light); }

.ftab.active {
    color: var(--primary);
    background: var(--primary-light);
    border-color: rgba(108,99,255,.2);
}

.feature-panels { position: relative; }

.feature-panel {
    display: none;
    animation: fadeIn .4s ease;
}

.feature-panel.active { display: block; }

.panel-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.panel-info p {
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: var(--text-2);
}

.check-list li::before {
    content: '✓';
    width: 22px; height: 22px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Feature Panel Layout */
.feature-panel .panel-info,
.feature-panel .panel-visual {
    /* Side-by-side via grid */
}

.feature-panel {
    display: none;
}

.feature-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Visual Card */
.visual-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.visual-card__title {
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

/* Inventory Bars */
.inv-bars { display: flex; flex-direction: column; gap: 14px; }

.inv-bar {
    display: grid;
    grid-template-columns: 90px 1fr 36px;
    align-items: center;
    gap: 10px;
}

.inv-bar__cat { font-size: .8rem; font-weight: 500; color: var(--text-2); }
.inv-bar__val { font-size: .8rem; font-weight: 600; color: var(--text); text-align: right; }

.inv-bar__track {
    height: 8px;
    background: var(--bg-alt);
    border-radius: 99px;
    overflow: hidden;
}

.inv-bar__fill {
    height: 100%;
    width: var(--w);
    background: var(--c);
    border-radius: 99px;
    animation: fillBar .8s ease backwards;
}

@keyframes fillBar {
    from { width: 0; }
}

/* Order Pipeline */
.order-pipeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.pipe-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pipe-count {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
}

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

.pipe-stage--active .pipe-count { color: var(--primary); }
.pipe-stage--active .pipe-lbl { color: var(--primary); }

.pipe-arrow { color: var(--text-3); font-size: .9rem; }

/* Forecast Chart */
.forecast-chart {}

.fc-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 80px;
    margin-bottom: 12px;
}

.fc-group {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 100%;
}

.fc-actual, .fc-forecast {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transition: height .5s ease;
}

.fc-actual { background: var(--primary); opacity: .85; }
.fc-forecast { background: var(--secondary); opacity: .7; }

.fc-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: var(--text-3);
}

.fc-dot {
    width: 10px; height: 10px;
    border-radius: 2px;
    display: inline-block;
}

/* Phone Mockup */
.mobile-card { display: flex; justify-content: center; }

.phone-frame {
    width: 180px;
    background: #1E1B4B;
    border-radius: 28px;
    padding: 16px 12px;
    box-shadow: 0 20px 60px rgba(30,27,75,.3);
    position: relative;
}

.phone-notch {
    width: 60px; height: 8px;
    background: #0F0F1A;
    border-radius: 4px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: white;
    border-radius: 16px;
    padding: 12px;
    min-height: 200px;
}

.phone-header {
    font-size: .72rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.phone-task {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
}

.phone-task__icon { font-size: 1.2rem; }

.phone-scan {
    border: 2px dashed var(--primary);
    border-radius: 8px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.scan-lines { position: absolute; inset: 0; overflow: hidden; }

.scan-beam {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanBeam 2s ease infinite;
    top: 0;
}

@keyframes scanBeam {
    0% { top: 0; }
    100% { top: 100%; }
}

.phone-btn {
    background: var(--primary);
    color: white;
    border-radius: 6px;
    padding: 6px 8px;
    text-align: center;
    font-size: .72rem;
    font-weight: 600;
}

/* Feature Cards Grid */
.feature-cards-section {
    padding: 40px 0 100px;
    background: var(--bg);
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fcard {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    cursor: default;
    animation-delay: var(--delay, 0s);
}

.fcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108,99,255,.2);
}

.fcard__icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.fcard h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.fcard p {
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ── How It Works ────────────────────────────────────────────── */
.how-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
}

.step {
    text-align: center;
    padding: 0 16px;
    animation-delay: var(--delay, 0s);
}

.step__num {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .1em;
    margin-bottom: 16px;
}

.step__icon-wrap {
    width: 64px; height: 64px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step:hover .step__icon-wrap {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(108,99,255,.2);
    transform: translateY(-3px);
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.step p {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.6;
}

.step-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(108,99,255,.2));
    margin-top: 48px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── Demo Section ────────────────────────────────────────────── */
.demo-section {
    padding: 100px 0;
    background: var(--bg);
}

.demo-tabs-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}

.demo-tab {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg-alt);
    border: 2px solid transparent;
    transition: var(--transition);
}

.demo-tab:hover { color: var(--primary); background: var(--primary-light); }

.demo-tab.active {
    color: var(--primary);
    background: var(--primary-light);
    border-color: rgba(108,99,255,.2);
}

.demo-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.demo-browser {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.demo-browser__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #F1F3F5;
    border-bottom: 1px solid var(--border);
}

.demo-browser__dots { display: flex; gap: 6px; }
.demo-browser__dots span {
    width: 11px; height: 11px; border-radius: 50%;
}
.demo-browser__dots span:nth-child(1) { background: #FF5F57; }
.demo-browser__dots span:nth-child(2) { background: #FEBC2E; }
.demo-browser__dots span:nth-child(3) { background: #28C840; }

.demo-browser__url {
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: .78rem;
    color: var(--text-2);
    font-family: monospace;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--transition);
}

/* "Open Live App" button inside browser chrome */
.demo-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    color: white;
    font-size: .76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.demo-open-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Screenshot area */
.demo-shots {
    position: relative;
    min-height: 420px;
    background: var(--bg-alt);
    overflow: hidden;
}

/* Real screenshot image */
.demo-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    opacity: 0;
    transition: opacity .45s ease;
    display: block;
}

.demo-shot.active {
    opacity: 1;
    position: relative;
    height: auto;
    min-height: 420px;
}

/* Placeholder — only made visible via onerror inline style, never by a class */
.shot-placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        -45deg,
        #F3F4FF 0px, #F3F4FF 10px,
        #ECEEFF 10px, #ECEEFF 20px
    );
    min-height: 420px;
}

.placeholder-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 48px;
    background: rgba(255,255,255,.85);
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(108,99,255,.3);
    max-width: 420px;
}

.placeholder-icon { font-size: 3rem; }
.placeholder-inner strong { font-size: 1rem; font-weight: 700; color: var(--text); }
.placeholder-inner span { font-size: .85rem; color: var(--text-2); line-height: 1.6; }
.placeholder-inner code {
    font-size: .82rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
}

.proto-app--iframe { display: block; height: 520px; position: relative; }

.proto-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #F1F5F9;
}

/* Shown only when the iframe fails to connect (JS-controlled) */
.proto-iframe-fallback {
    display: none;
    position: absolute;
    inset: 0;
    background: #F8FAFF;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.proto-iframe-fallback.visible { display: flex; }
.proto-iframe-fallback__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(108,99,255,.25);
    max-width: 360px;
}
.proto-iframe-fallback__icon { font-size: 2.4rem; }
.proto-iframe-fallback__inner strong { font-size: 1rem; font-weight: 700; color: var(--text); }
.proto-iframe-fallback__inner span { font-size: .85rem; color: var(--text-2); line-height: 1.6; }
.proto-iframe-fallback__inner code { font-size: .82rem; background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 4px; font-family: monospace; }

/* ── Interactive Prototype ───────────────────────────────────── */
.proto-frame { margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

.proto-app { display: flex; height: 520px; overflow: hidden; }

.proto-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #E8ECF0;
}

.proto-logo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px 14px 14px;
    border-bottom: 1px solid #E8ECF0;
}

.proto-logo-mark {
    display: flex;
    align-items: center;
    gap: 8px;
}

.proto-logo-nw {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #1B2F5B;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 7px;
    letter-spacing: .03em;
    flex-shrink: 0;
}

.proto-logo-text {
    font-size: 10px;
    font-weight: 700;
    color: #1B2F5B;
    line-height: 1.3;
    letter-spacing: .06em;
}

.proto-collapse-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #DDE2EA;
    background: #fff;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s, color .18s;
    flex-shrink: 0;
}
.proto-collapse-btn:hover { background: #F1F5F9; color: #1B2F5B; }

.proto-nav { display: flex; flex-direction: column; padding: 8px 0; flex: 1; overflow-y: auto; }

.proto-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    transition: background .15s, color .15s;
    text-align: left;
    width: 100%;
    border-left: 3px solid transparent;
}
.proto-nav-item:hover { background: #F5F7FA; color: #1B2F5B; }
.proto-nav-item.active { background: #EEF2FF; color: #1B2F5B; font-weight: 600; border-left-color: #3B5BDB; }

.proto-nav-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: .75; }
.proto-nav-item.active .proto-nav-icon { opacity: 1; }

.proto-chevron { width: 14px; height: 14px; flex-shrink: 0; margin-left: auto; color: #9CA3AF; }
.proto-nav-item.active .proto-chevron { color: #3B5BDB; }

.proto-content { flex: 1; background: #F1F5F9; overflow: hidden; position: relative; }

.proto-page { display: none; flex-direction: column; gap: 12px; padding: 16px; height: 100%; overflow-y: auto; }
.proto-page.active { display: flex; }

.proto-topbar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.proto-page-title { font-size: 16px; font-weight: 700; color: #0F172A; }
.proto-subtitle { font-size: 11px; color: #64748B; }

.proto-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; flex-shrink: 0; }
.proto-kpis--3 { grid-template-columns: repeat(3,1fr); }

.proto-kpi {
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.proto-kpi__icon { width: 28px; height: 28px; border-radius: 7px; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; }
.proto-kpi__num { font-size: 18px; font-weight: 800; color: #0F172A; line-height: 1; }
.proto-kpi__label { font-size: 10px; color: #64748B; }
.proto-kpi__delta { font-size: 10px; font-weight: 500; }
.proto-kpi__delta--up { color: #10B981; }
.proto-kpi__delta--down { color: #F59E0B; }

.proto-charts-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; flex-shrink: 0; }

.proto-card { background: #fff; border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.proto-card-title { font-size: 10px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }

.proto-pie-wrap { display: flex; align-items: center; gap: 14px; }
.proto-pie { width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; }
.proto-pie-legend { display: flex; flex-direction: column; gap: 6px; }
.proto-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #374151; }
.proto-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.proto-barchart { display: flex; align-items: flex-end; gap: 5px; height: 80px; }
.proto-barchart--lg { height: 130px; }
.proto-bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: flex-end; }
.proto-bar-group span { font-size: 9px; color: #94A3B8; }
.proto-bar-fill { width: 100%; background: var(--primary); border-radius: 3px 3px 0 0; min-height: 4px; }
.proto-bar-fill--warn { background: #F59E0B; }

.proto-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.proto-table th { text-align: left; padding: 5px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94A3B8; border-bottom: 1px solid #F1F5F9; }
.proto-table td { padding: 7px 8px; color: #374151; border-bottom: 1px solid #F8FAFC; }
.proto-table tr:last-child td { border-bottom: none; }
.proto-table tr:hover td { background: #F8FAFC; }

.proto-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 600; }
.proto-badge--green  { background:#DCFCE7; color:#166534; }
.proto-badge--blue   { background:#DBEAFE; color:#1D4ED8; }
.proto-badge--yellow { background:#FEF9C3; color:#854D0E; }
.proto-badge--red    { background:#FEE2E2; color:#991B1B; }

.proto-sla { font-size: 10px; font-weight: 600; }
.proto-sla--ok   { color: #10B981; }
.proto-sla--warn { color: #F59E0B; }

.proto-toolbar { display: flex; gap: 8px; flex-shrink: 0; }
.proto-search { flex: 1; padding: 7px 12px; border: 1px solid #E2E8F0; border-radius: 8px; font-size: 11px; color: #0F172A; background: #fff; outline: none; }
.proto-search:focus { border-color: var(--primary); }
.proto-select { padding: 7px 10px; border: 1px solid #E2E8F0; border-radius: 8px; font-size: 11px; color: #374151; background: #fff; outline: none; cursor: pointer; width: 100%; }

.proto-action-btn { padding: 7px 14px; background: var(--primary); color: #fff; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s; flex-shrink: 0; }
.proto-action-btn:hover { background: var(--primary-dark); }
.proto-action-btn--ghost { background: transparent; color: #64748B; border: 1px solid #E2E8F0; }
.proto-action-btn--ghost:hover { background: #F1F5F9; }

.proto-modal { display: none; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 10; align-items: center; justify-content: center; }
.proto-modal.open { display: flex; }
.proto-modal-box { background: #fff; border-radius: 12px; width: 300px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.proto-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-weight: 700; font-size: 13px; border-bottom: 1px solid #F1F5F9; }
.proto-modal-close { font-size: 13px; color: #94A3B8; cursor: pointer; background: none; border: none; padding: 2px 6px; }
.proto-modal-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.proto-modal-body label { font-size: 11px; font-weight: 600; color: #374151; }
.proto-input { width: 100%; padding: 7px 10px; border: 1px solid #E2E8F0; border-radius: 7px; font-size: 11px; outline: none; }
.proto-input:focus { border-color: var(--primary); }
.proto-modal-footer { display: flex; gap: 8px; justify-content: flex-end; padding: 10px 16px; border-top: 1px solid #F1F5F9; }

.proto-toast { position: absolute; bottom: 14px; right: 14px; background: #0F172A; color: #fff; padding: 9px 14px; border-radius: 8px; font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .28s, transform .28s; pointer-events: none; z-index: 20; }
.proto-toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .proto-app { flex-direction: column; height: auto; }
    .proto-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #E8ECF0; }
    .proto-nav { flex-direction: row; overflow-x: auto; padding: 4px 8px; }
    .proto-nav-item { border-left: none; border-bottom: 3px solid transparent; padding: 8px 12px; white-space: nowrap; }
    .proto-nav-item.active { border-bottom-color: #3B5BDB; border-left-color: transparent; }
    .proto-chevron { display: none; }
    .proto-logo-bar { border-bottom: none; }
    .proto-kpis { grid-template-columns: repeat(2,1fr); }
    .proto-charts-row { grid-template-columns: 1fr; }
    .proto-page { height: auto; overflow-y: visible; }
}

/* CTA row below the browser frame */
.demo-cta-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.billing-label {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-2);
}

.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 13px;
    cursor: pointer;
    transition: .3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    left: 3px; bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}

.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

.save-tag {
    font-style: normal;
    font-size: .75rem;
    font-weight: 600;
    background: #DCFCE7;
    color: #16A34A;
    padding: 2px 8px;
    border-radius: 99px;
    margin-left: 6px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.plan-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
}

.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.plan-card--featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(108,99,255,.08), var(--shadow-card);
    transform: scale(1.04);
}

.plan-card--featured:hover { transform: scale(1.04) translateY(-4px); }

.plan-card__popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 99px;
    white-space: nowrap;
    letter-spacing: .02em;
}

.plan-card__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.plan-card__price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 12px;
}

.currency {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 6px;
}

.price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1;
    transition: var(--transition);
}

.per {
    font-size: 1rem;
    color: var(--text-3);
    font-weight: 500;
}

.plan-card__desc {
    font-size: .88rem;
    color: var(--text-2);
    line-height: 1.5;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.plan-features li {
    font-size: .88rem;
    color: var(--text-2);
    padding-left: 4px;
}

.feat--on { color: var(--text-2); }
.feat--on::before { content: '✓ '; color: var(--secondary); font-weight: 700; }

.feat--off { color: var(--text-3); text-decoration: line-through; }
.feat--off::before { content: '✗ '; font-weight: 700; }

.plan-btn { width: 100%; justify-content: center; }

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

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

.tcard {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    animation-delay: var(--delay, 0s);
}

.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(108,99,255,.15); }

.tcard--featured {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tcard__stars {
    font-size: 1rem;
    color: #FBBF24;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.tcard--featured .tcard__stars { color: #FDE68A; }

.tcard__quote {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 24px;
    font-style: italic;
}

.tcard--featured .tcard__quote { color: rgba(255,255,255,.9); }

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

.tcard__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}

.tcard__name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--text);
}

.tcard--featured .tcard__name { color: white; }

.tcard__role { font-size: .78rem; color: var(--text-3); }
.tcard--featured .tcard__role { color: rgba(255,255,255,.7); }

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

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

.about-info p {
    color: var(--text-2);
    line-height: 1.7;
    font-size: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.value {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.value:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.value span { font-size: 1.1rem; }

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.team-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.team-card__photo {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 14px;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

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

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-section {
    padding: 100px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: .98rem;
    font-weight: 600;
    color: var(--text);
    gap: 16px;
    transition: color var(--transition);
}

.faq-q:hover { color: var(--primary); }

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-3);
    flex-shrink: 0;
    transition: transform var(--transition), color var(--transition);
    line-height: 1;
}

.faq-item.open .faq-q { color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
    padding-bottom: 20px;
    font-size: .92rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.contact-info p {
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 32px;
    font-size: 1rem;
}

.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item__icon {
    width: 44px; height: 44px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item__lbl { font-size: .78rem; color: var(--text-3); font-weight: 500; }
.contact-item__val { font-size: .95rem; font-weight: 600; color: var(--text); }

/* Contact Form */
.contact-form-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: .9rem;
    color: var(--text);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108,99,255,.12);
}

.form-field textarea { resize: vertical; min-height: 80px; }

.form-field input.error, .form-field select.error { border-color: var(--accent); }

.form-success {
    display: none;
    background: #DCFCE7;
    color: #16A34A;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
}

.form-success.visible { display: block; animation: slideUp .3s ease; }

.form-error {
    display: block;
    background: #FEE2E2;
    color: #DC2626;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    animation: slideUp .3s ease;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #5A52E8 40%, #845EF7 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.cta-banner__bg { position: absolute; inset: 0; overflow: hidden; }

.cta-blob-1 {
    position: absolute;
    width: 500px; height: 500px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    top: -200px; right: -100px;
    animation: blobMove 10s ease infinite alternate;
}

.cta-blob-2 {
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    bottom: -150px; left: -100px;
    animation: blobMove 12s ease infinite alternate-reverse;
}

.cta-banner__content { position: relative; z-index: 1; }

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: .85;
    margin-bottom: 36px;
}

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

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
    background: #0F0F1A;
    color: rgba(255,255,255,.7);
    padding: 80px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.footer__logo .logo-hex { color: var(--primary); }
.footer__logo span { color: var(--primary); }

.footer__brand p {
    font-size: .88rem;
    line-height: 1.6;
    max-width: 260px;
    margin-bottom: 20px;
}

.footer__social { display: flex; gap: 10px; }

.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.07);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
    text-decoration: none;
}

.social-btn:hover { background: var(--primary); color: white; }

.footer__col h4 {
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 700;
    color: white;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer__col a {
    display: block;
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 9px;
    transition: color var(--transition);
}

.footer__col a:hover { color: white; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .82rem;
}

.footer__certs {
    display: flex;
    gap: 16px;
}

.footer__certs span {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.05);
    padding: 3px 10px;
    border-radius: 99px;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════════ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-badge {
    opacity: 0;
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--delay, 0s);
}

.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-badge { transform: translateY(20px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-badge.visible {
    opacity: 1;
    transform: none;
}

/* Hero entrance animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .hero__subtitle { max-width: 100%; }
    .hero__actions { justify-content: center; }
    .hero__metrics { justify-content: center; }
    .hero__visual { display: flex; justify-content: center; }
    .dashboard-mockup { max-width: 480px; transform: none !important; }
    .float-card--1 { left: -10px; }
    .float-card--2 { right: -10px; }
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .step-line { width: 2px; height: 30px; margin: 0 auto; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .navbar__links, .navbar__actions { display: none; }
    .navbar__burger { display: flex; }

    .feature-panel.active { grid-template-columns: 1fr; gap: 32px; }
    .feature-cards-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .plan-card--featured { transform: none; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .demo-app { grid-template-columns: 1fr; }
    .app-sidebar { display: none; }
    .app-kpis { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .feature-cards-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-box { padding: 24px; }
    .hero__title { font-size: 2.4rem; }
    .float-card--3 { display: none; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
}
