﻿
:root {
    --cream: #faf7f2;
    --cream2: #f3ede2;
    --cream3: #ede4d4;
    --ivory: #fff9f0;
    --ink: #1a1410;
    --ink2: #3d3020;
    --ink3: #7a6a52;
    --ink4: #b0a08a;
    --indigo: #DA251C;
    --indigo2: #3d3fa8;
    --indigo3: #fe5d55;
    --terracotta: #c4532a;
    --terra2: #e06840;
    --saffron: #e8a020;
    --saffron2: #f0b830;
    --teal: #0f7a6e;
    --teal2: #12a090;
    --border: rgba(58,40,20,0.1);
    --border2: rgba(58,40,20,0.06);
    --shadow: rgba(26,20,16,0.08);
    --shadow2: rgba(26,20,16,0.04);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.6;
}

    /* SUBTLE PAPER TEXTURE */
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 0;
    }

/* DECORATIVE GEOMETRIC BG */
.geo-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-circle-1 {
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(43,45,110,0.05) 0%, transparent 70%);
}

.geo-circle-2 {
    position: absolute;
    bottom: 20%;
    left: -8%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(196,83,42,0.06) 0%, transparent 70%);
}

.geo-line-1 {
    position: absolute;
    top: 0;
    right: 25%;
    width: 1px;
    height: 40%;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.geo-line-2 {
    position: absolute;
    bottom: 0;
    left: 35%;
    width: 1px;
    height: 35%;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.section {
    padding: 108px 0;
    position: relative;
}

/* PROGRESS */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--indigo), var(--terracotta));
    z-index: 300;
    transition: width 0.1s linear;
}

/* ── NAVBAR ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 22px 0;
    transition: all 0.35s ease;
}

    nav.scrolled {
        background: rgba(250,247,242,0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        padding: 14px 0;
        box-shadow: 0 4px 32px var(--shadow2);
    }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 34px;
    height: 34px;
    background: var(--indigo);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.logo em {
    color: var(--indigo3);
    font-style: normal;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

    .nav-links a {
        color: var(--ink3);
        font-size: 0.875rem;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s;
        letter-spacing: 0.01em;
    }

        .nav-links a:hover {
            color: var(--ink);
        }

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-outline {
    padding: 9px 20px;
    border: 1.5px solid var(--border2);
    background: transparent;
    color: var(--ink2);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Instrument Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-outline:hover {
        border-color: var(--indigo);
        color: var(--indigo);
    }

.btn-solid {
    padding: 9px 20px;
    background: var(--indigo);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Instrument Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-solid:hover {
        background: var(--indigo2);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(43,45,110,0.25);
    }

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 88px;
    position: relative;
    overflow: hidden;
}

    /* DIAGONAL BAND */
    #hero::after {
        content: '';
        position: absolute;
        top: -10%;
        right: -5%;
        width: 55%;
        height: 130%;
        background: linear-gradient(160deg, var(--cream2) 0%, var(--cream3) 100%);
        border-radius: 40px 0 0 40px;
        transform: skewY(-3deg);
        z-index: 0;
    }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--terracotta);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.eyebrow-chip {
    background: var(--terracotta);
    color: white;
    border-radius: 100px;
    padding: 2px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 22px;
}

    h1 .serif-italic {
        font-style: italic;
        color: var(--indigo3);
        font-weight: 300;
    }

    h1 .underline-word {
        position: relative;
        display: inline-block;
    }

        h1 .underline-word::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--terracotta), var(--saffron));
            border-radius: 2px;
            transform: skewX(-3deg);
        }

.hero-sub {
    font-size: 1.05rem;
    color: var(--ink3);
    line-height: 1.75;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 460px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.btn-hero {
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Instrument Sans', sans-serif;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-indigo {
    background: var(--indigo);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(43,45,110,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

    .btn-hero-indigo:hover {
        background: var(--indigo2);
        transform: translateY(-2px);
        box-shadow: 0 10px 32px rgba(43,45,110,0.3);
    }

.btn-hero-terra {
    background: transparent;
    color: var(--terracotta);
    border: 1.5px solid var(--terracotta);
}

    .btn-hero-terra:hover {
        background: rgba(196,83,42,0.06);
        transform: translateY(-2px);
    }

.hero-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.proof-avatars {
    display: flex;
}

.proof-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: -8px;
    first: margin-left: 0;
}

    .proof-avatar:first-child {
        margin-left: 0;
    }

.proof-text {
    font-size: 0.82rem;
    color: var(--ink3);
}

    .proof-text strong {
        color: var(--ink);
        font-weight: 600;
    }

.proof-stars {
    color: var(--saffron);
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-card-main {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 64px var(--shadow), 0 0 0 1px rgba(0,0,0,0.02);
    overflow: hidden;
    animation: card-float 7s ease-in-out infinite;
}

@keyframes card-float {
    0%,100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.card-topbar {
    background: var(--indigo);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ctb-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    opacity: 0.6;
}

.ctb-title {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    font-family: 'JetBrains Mono', monospace;
    margin-left: 6px;
    flex: 1;
}

.ctb-status {
    font-size: 0.65rem;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.stat-tile {
    background: var(--cream);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid var(--border2);
}

.st-label {
    font-size: 0.6rem;
    color: var(--ink3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}

.st-val {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}

.st-badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    margin-top: 4px;
}

.badge-green {
    background: rgba(15,122,110,0.1);
    color: var(--teal);
}

.badge-orange {
    background: rgba(232,160,32,0.15);
    color: var(--saffron);
}

.badge-red {
    background: rgba(196,83,42,0.12);
    color: var(--terracotta);
}

.chart-area {
    background: var(--cream);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid var(--border2);
}

.ca-label {
    font-size: 0.6rem;
    color: var(--ink3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.bar-group {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 64px;
}

.bar-item {
    flex: 1;
    border-radius: 4px 4px 0 0;
    position: relative;
}

    .bar-item::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(to top, rgba(255,255,255,0.4), transparent);
    }

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--cream);
    border-radius: 9px;
    border: 1px solid var(--border2);
    transition: background 0.2s;
}

    .order-row:hover {
        background: var(--cream3);
    }

.or-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.or-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: var(--ink4);
    width: 60px;
    flex-shrink: 0;
}

.or-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--ink2);
    flex: 1;
}

.or-pill {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.pill-done {
    background: rgba(15,122,110,0.1);
    color: var(--teal);
}

.pill-work {
    background: rgba(43,45,110,0.1);
    color: var(--indigo2);
}

.pill-pend {
    background: rgba(232,160,32,0.12);
    color: var(--saffron);
}

.or-amt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: var(--ink3);
    flex-shrink: 0;
}

/* FLOATING SIDE CARDS */
.side-card {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 12px 40px var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.sc-left {
    left: -60px;
    bottom: 60px;
    animation: sc-float1 5s ease-in-out infinite;
}

.sc-right {
    right: -40px;
    top: 50px;
    animation: sc-float2 6s ease-in-out infinite;
}

@keyframes sc-float1 {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@keyframes sc-float2 {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(7px)
    }
}

.sc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sc-label {
    font-size: 0.67rem;
    color: var(--ink3);
    margin-bottom: 2px;
}

.sc-val {
    font-family: 'Fraunces', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

/* ── TRUST ── */
#trust {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--ivory);
}

.trust-wrap {
    display: flex;
    align-items: center;
    gap: 48px;
}

.trust-label-text {
    font-size: 0.72rem;
    color: var(--ink4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.trust-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}

.trust-logos {
    display: flex;
    gap: 36px;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
}

.trust-logo-item {
    font-family: 'Fraunces', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink4);
    opacity: 0.7;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
    white-space: nowrap;
}

    .trust-logo-item:hover {
        opacity: 1;
        color: var(--ink2);
    }

.vat-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 11px;
    background: rgba(15,122,110,0.08);
    color: var(--teal);
    border: 1px solid rgba(15,122,110,0.15);
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── SECTION HEADERS ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

    .section-label::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: var(--terracotta);
        border-radius: 1px;
    }

h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 16px;
}

    h2 em {
        font-style: italic;
        color: var(--indigo3);
        font-weight: 300;
    }

.section-sub {
    font-size: 1rem;
    color: var(--ink3);
    max-width: 520px;
    line-height: 1.75;
}

/* ── WORKFLOW ── */
#workflow {
    background: var(--ink);
    color: white;
    overflow: hidden;
}

    #workflow .section-label {
        color: rgba(255,255,255,0.5);
    }

        #workflow .section-label::before {
            background: rgba(255,255,255,0.3);
        }

    #workflow h2 {
        color: white;
    }

        #workflow h2 em {
            color: rgba(255,255,255,0.5);
        }

    #workflow .section-sub {
        color: rgba(255,255,255,0.55);
    }

.wf-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.wf-header {
    text-align: center;
    margin-bottom: 72px;
}

    .wf-header .section-sub {
        margin: 0 auto;
    }

.wf-track {
    display: flex;
    gap: 0;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
    /* Horizontal connecting line */
    .wf-track::before {
        content: '';
        position: absolute;
        top: 44px;
        left: 44px;
        right: 44px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 10%, rgba(255,255,255,0.15) 90%, transparent);
        z-index: 0;
    }

.wf-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
    padding: 0 6px;
    cursor: default;
    transition: transform 0.3s;
}

    .wf-col:hover {
        transform: translateY(-4px);
    }

.wf-node-outer {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}

.wf-col:hover .wf-node-outer {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 24px rgba(255,255,255,0.1);
}

.wf-node-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--indigo);
    font-size: 0.5rem;
    font-weight: 700;
    font-family: 'Instrument Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-col-title {
    font-family: 'Fraunces', serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: rgba(255,255,255,0.85);
    line-height: 1.3;
}

.wf-col-sub {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
    line-height: 1.4;
}

/* ARROW BETWEEN COLUMNS */
.wf-arrow {
    display: flex;
    align-items: flex-start;
    padding-top: 36px;
    color: rgba(255,255,255,0.2);
    font-size: 10px;
    flex-shrink: 0;
}

/* ── FEATURES ── */
#features {
    background: var(--ivory);
}

.features-header {
    margin-bottom: 60px;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border2);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.feat-card {
    background: white;
    padding: 32px 36px;
    transition: background 0.25s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

    .feat-card:hover {
        background: var(--ivory);
    }

    .feat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: transparent;
        transition: background 0.25s;
    }

    .feat-card:hover::before {
        background: linear-gradient(to bottom, var(--indigo3), var(--terracotta));
    }

.feat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.feat-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 0.85rem;
    color: var(--ink3);
    line-height: 1.65;
}

.feat-card .feat-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink4);
    padding: 3px 0;
    border-bottom: 1px dashed var(--border);
}

.feat-card.wide {
    grid-column: span 2;
    background: var(--cream);
}

    .feat-card.wide .wide-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

/* ── ANALYTICS ── */
#analytics {
    background: white;
}

.analytics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.analytics-left {
}

.analytics-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-preview {
    background: var(--cream);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 12px 48px var(--shadow2);
}

.dp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dp-title {
    font-family: 'Fraunces', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.dp-period {
    font-size: 0.68rem;
    color: var(--ink3);
    font-family: 'JetBrains Mono', monospace;
    background: var(--cream3);
    padding: 4px 10px;
    border-radius: 6px;
}

.dp-chart {
    position: relative;
    height: 160px;
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border2);
    padding: 16px;
}

.dp-svg {
    width: 100%;
    height: 100%;
}

.dp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border2);
}

.dp-stat {
    background: white;
    padding: 14px 16px;
}

.dp-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink3);
    margin-bottom: 5px;
}

.dp-stat-val {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}

.dp-stat-change {
    font-size: 0.62rem;
    font-weight: 600;
    margin-top: 3px;
}

.chg-up {
    color: var(--teal);
}

.chg-dn {
    color: var(--terracotta);
}

.analytics-metric {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s;
    cursor: default;
}

    .analytics-metric:hover {
        background: white;
        border-color: var(--indigo3);
        transform: translateX(6px);
        box-shadow: 0 4px 24px var(--shadow2);
    }

.am-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.am-body {
    flex: 1;
}

.am-label {
    font-size: 0.75rem;
    color: var(--ink3);
    margin-bottom: 3px;
}

.am-val {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
}

.am-bar-wrap {
    width: 72px;
}

.am-bar-bg {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 5px;
    overflow: hidden;
}

.am-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1.2s ease;
}

.am-pct {
    font-size: 0.62rem;
    color: var(--ink4);
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
}

/* ── HOW IT WORKS ── */
#how-it-works {
    background: var(--cream2);
}

.hiw-header {
    text-align: center;
    margin-bottom: 64px;
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hiw-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 36px 32px;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

    .hiw-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 48px var(--shadow);
    }

    .hiw-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        border-radius: 0 0 20px 20px;
        background: linear-gradient(90deg, var(--indigo3), var(--terracotta));
        transform: scaleX(0);
        transition: transform 0.3s ease;
        transform-origin: left;
    }

    .hiw-card:hover::after {
        transform: scaleX(1);
    }

.hiw-num-big {
    font-family: 'Fraunces', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--cream2);
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 24px;
    pointer-events: none;
    user-select: none;
    transition: color 0.3s;
}

.hiw-card:hover .hiw-num-big {
    color: var(--cream3);
}

.hiw-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.hiw-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}

.hiw-card p {
    font-size: 0.875rem;
    color: var(--ink3);
    line-height: 1.7;
}

/* ── PRICING ── */
#pricing {
    background: white;
}

.pricing-header {
    text-align: center;
    margin-bottom: 56px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 0.85rem;
    color: var(--ink3);
    font-weight: 500;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--indigo);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    transition: right 0.3s;
}

.save-chip {
    background: rgba(15,122,110,0.1);
    color: var(--teal);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.p-card {
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
    background: white;
}

    .p-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 48px var(--shadow);
    }

.p-card-top {
    padding: 28px 28px 24px;
}

.p-card.featured {
    border-color: var(--indigo);
    box-shadow: 0 8px 32px rgba(43,45,110,0.12);
}

    .p-card.featured .p-card-top {
        background: var(--indigo);
        color: white;
    }

.p-badge {
    display: inline-block;
    background: var(--terracotta);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.p-name {
    font-family: 'Fraunces', serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink3);
    margin-bottom: 8px;
}

.p-card.featured .p-name {
    color: rgba(255,255,255,0.6);
}

.p-price {
    font-family: 'Fraunces', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
}

.p-card.featured .p-price {
    color: white;
}

.p-price-sub {
    font-size: 0.8rem;
    color: var(--ink4);
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
}

.p-card.featured .p-price-sub {
    color: rgba(255,255,255,0.5);
}

.p-desc {
    font-size: 0.8rem;
    color: var(--ink3);
    margin-top: 10px;
    line-height: 1.5;
}

.p-card.featured .p-desc {
    color: rgba(255,255,255,0.55);
}

.p-card-body {
    padding: 24px 28px 28px;
}

.p-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 24px;
}

    .p-features li {
        font-size: 0.84rem;
        color: var(--ink2);
        display: flex;
        align-items: flex-start;
        gap: 10px;
        line-height: 1.4;
    }

        .p-features li::before {
            content: '✓';
            color: var(--teal);
            font-weight: 700;
            font-size: 0.8rem;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .p-features li.no {
            color: var(--ink4);
        }

            .p-features li.no::before {
                content: '—';
                color: var(--ink4);
                font-weight: 400;
            }

.p-divider {
    height: 1px;
    background: var(--border2);
    margin-bottom: 16px;
}

.p-cta {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Instrument Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
}

.p-cta-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--ink2);
}

    .p-cta-outline:hover {
        border-color: var(--indigo);
        color: var(--indigo);
    }

.p-cta-indigo {
    background: var(--indigo);
    border: none;
    color: white;
    box-shadow: 0 4px 16px rgba(43,45,110,0.25);
}

    .p-cta-indigo:hover {
        background: var(--indigo2);
        box-shadow: 0 8px 24px rgba(43,45,110,0.3);
        transform: translateY(-1px);
    }

/* ── TESTIMONIALS ── */
#testimonials {
    background: var(--cream);
}

.testi-header {
    text-align: center;
    margin-bottom: 56px;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testi-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: all 0.25s;
    cursor: default;
}

    .testi-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 36px var(--shadow);
    }

.testi-stars-row {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.star {
    width: 14px;
    height: 14px;
    color: var(--saffron);
}

.testi-quote-mark {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--indigo3);
    opacity: 0.2;
    margin-bottom: -8px;
}

.testi-text {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 0.925rem;
    color: var(--ink2);
    line-height: 1.75;
    margin-bottom: 20px;
}

.testi-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-ava {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.testi-name-text {
    font-family: 'Fraunces', serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
}

.testi-role-text {
    font-size: 0.72rem;
    color: var(--ink3);
}

/* ── CTA ── */
#cta {
    background: #1c1b1b;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    #cta::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
        background-size: 40px 40px;
    }

.cta-glow-left {
    position: absolute;
    top: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(196,83,42,0.2) 0%, transparent 70%);
}

.cta-glow-right {
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(232,160,32,0.12) 0%, transparent 70%);
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

#cta .section-label {
    color: rgba(255,255,255,0.5);
}

    #cta .section-label::before {
        background: rgba(255,255,255,0.3);
    }

#cta h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

    #cta h2 em {
        color: rgba(255,255,255,0.45);
    }

#cta p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-cta-white {
    padding: 15px 32px;
    background: white;
    color: var(--indigo);
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Instrument Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

    .btn-cta-white:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 32px rgba(0,0,0,0.25);
    }

.btn-cta-ghost {
    padding: 15px 32px;
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Instrument Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

    .btn-cta-ghost:hover {
        border-color: rgba(255,255,255,0.4);
        color: white;
        transform: translateY(-2px);
    }

.cta-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

/* ── FOOTER ── */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}

    .footer-logo .logo-mark {
        background: rgba(255,255,255,0.1);
    }

.footer-desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 240px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.f-social {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.2s;
}

    .f-social:hover {
        border-color: rgba(255,255,255,0.3);
        color: white;
    }

.footer-col h4 {
    font-family: 'Fraunces', serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

    .footer-links a {
        font-size: 0.84rem;
        color: rgba(255,255,255,0.45);
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer-links a:hover {
            color: rgba(255,255,255,0.8);
        }

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.3);
}

.footer-flags {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

    .reveal-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

.d1 {
    transition-delay: 0.1s;
}

.d2 {
    transition-delay: 0.18s;
}

.d3 {
    transition-delay: 0.26s;
}

.d4 {
    transition-delay: 0.34s;
}

.d5 {
    transition-delay: 0.42s;
}

.d6 {
    transition-delay: 0.5s;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .analytics-layout {
        grid-template-columns: 1fr;
    }

    .features-layout {
        grid-template-columns: 1fr;
    }

    .feat-card.wide .wide-inner {
        grid-template-columns: 1fr;
    }

    .feat-card.wide {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .testi-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.4rem;
    }

    .wf-track {
        overflow-x: auto;
        padding-bottom: 16px;
    }

    .wf-col {
        min-width: 90px;
    }

    .hiw-steps {
        grid-template-columns: 1fr;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
