* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand: #2563EB;
    --brand-dark: #1D4ED8;
    --brand-soft: #EFF4FF;
    --brand-glow: rgba(37, 99, 235, 0.15);
    --ink: #0A0E1A;
    --ink-2: #1F2937;
    --muted: #6B7280;
    --muted-2: #9CA3AF;
    --line: #E5E7EB;
    --line-soft: #F3F4F6;
    --bg: #FCFCFD;
    --bg-soft: #F8FAFC;
    --white: #FFFFFF;
    --green: #10B981;
    --amber: #F59E0B;
    --red: #EF4444;
    --whatsapp: #25D366;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 4px 24px -6px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.16), 0 8px 24px -8px rgba(15, 23, 42, 0.08);
    --shadow-brand: 0 20px 50px -12px rgba(37, 99, 235, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============ NAV ============ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(252, 252, 253, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, padding 0.3s;
}

nav.scrolled {
    border-bottom-color: var(--line);
    padding: 12px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.025em;
    color: var(--ink);
    text-decoration: none;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-mark {
    transform: rotate(-4deg) scale(1.05);
}

.logo-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--brand);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--brand);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.btn {
    font-family: inherit;
    cursor: pointer;
    border: none;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: -0.005em;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--ink-2);
}

.btn-ghost:hover {
    background: var(--line-soft);
}

.btn-primary {
    background: var(--ink);
    color: white;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px var(--brand-glow);
}

.btn-brand {
    background: var(--brand);
    color: white;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 4px 14px -2px var(--brand-glow);
}

.btn-brand:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.45);
}

.btn-large {
    padding: 14px 24px;
    font-size: 15.5px;
    border-radius: 12px;
}

/* ============ HERO ============ */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
    radial-gradient(800px circle at 20% 0%, rgba(37, 99, 235, 0.08), transparent 50%),
    radial-gradient(600px circle at 80% 30%, rgba(99, 102, 241, 0.06), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    animation: fadeUp 0.6s ease both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.hero-badge strong {
    color: var(--ink);
    font-weight: 600;
}

.hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-weight: 400;
    margin-bottom: 24px;
    animation: fadeUp 0.7s ease 0.1s both;
}

.hero h1 .accent {
    font-style: italic;
    color: var(--brand);
    position: relative;
    display: inline-block;
}

.hero h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand);
    opacity: 0.3;
    transform: scaleX(0);
    transform-origin: left;
    animation: drawLine 0.8s ease 1s forwards;
}

@keyframes drawLine {
    to {
    transform: scaleX(1);
    }
}

.hero-sub {
    font-size: 19px;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.5;
    animation: fadeUp 0.7s ease 0.2s both;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeUp 0.7s ease 0.3s both;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--muted);
    animation: fadeUp 0.7s ease 0.4s both;
}

.hero-trust .check {
    color: var(--green);
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes fadeUp {
    from {
    opacity: 0;
    transform: translateY(20px);
    }

    to {
    opacity: 1;
    transform: translateY(0);
    }
}

/* Hero product visual */
.hero-visual {
    margin-top: 80px;
    position: relative;
    animation: fadeUp 0.9s ease 0.5s both;
}

.hero-visual-frame {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.hero-visual-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.browser-bar {
    background: var(--bg-soft);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--line);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #E5E7EB;
}

.browser-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    font-family: 'Geist Mono', monospace;
}

.hero-dashboard {
    padding: 24px;
    background: var(--bg-soft);
}

.hero-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.stat-card.green::before {
    background: linear-gradient(90deg, var(--green), #34D399);
}

.stat-card.blue::before {
    background: linear-gradient(90deg, var(--brand), #60A5FA);
}

.stat-card.red::before {
    background: linear-gradient(90deg, var(--red), #F87171);
}

.stat-card.amber::before {
    background: linear-gradient(90deg, var(--amber), #FBBF24);
}

.stat-card .num {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: 'Geist', sans-serif;
}

.stat-card .label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.stat-card .delta {
    font-size: 11px;
    color: var(--green);
    margin-top: 6px;
}

.hero-charts {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
}

.chart-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    height: 200px;
}

.chart-card h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink-2);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 130px;
    padding: 0 4px;
}

.bar-chart .bar {
    flex: 1;
    background: linear-gradient(180deg, var(--brand), #6366F1);
    border-radius: 4px 4px 0 0;
    opacity: 0.9;
    animation: barGrow 0.8s ease both;
}

@keyframes barGrow {
    from {
    height: 0 !important;
    }
}

.bar-labels {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.bar-labels span {
    flex: 1;
    text-align: center;
    font-size: 10px;
    color: var(--muted-2);
}

/* ============ LOGO STRIP ============ */
.logos {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: white;
}

.logos-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 32px;
    font-weight: 500;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    align-items: center;
}

.logos-grid .logo-item {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    text-align: center;
    color: var(--muted);
    font-style: italic;
    opacity: 0.7;
    transition: opacity 0.2s;
    letter-spacing: -0.01em;
}

.logos-grid .logo-item:hover {
    opacity: 1;
    color: var(--ink-2);
}

/* ============ SECTION COMMON ============ */
section {
    position: relative;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand);
    padding: 4px 10px;
    background: var(--brand-soft);
    border-radius: 6px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.section-title .italic {
    font-style: italic;
    color: var(--brand);
}

.section-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.55;
}

/* ============ SCROLL STORY ============ */
.story {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, white 50%, var(--bg) 100%);
}

.story-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.story-step {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    min-height: 500px;
}

.story-step.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.story-step.reverse .story-text {
    order: 2;
}

.story-step.reverse .story-visual {
    order: 1;
}

.story-text {
    padding: 20px 0;
}

.story-step-num {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
    letter-spacing: 0.08em;
}

.story-step-num .digit {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--ink);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 13px;
}

.story-text h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 44px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.story-text h3 .em {
    font-style: italic;
    color: var(--brand);
}

.story-text p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 460px;
}

.story-bullets {
    list-style: none;
}

.story-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--ink-2);
}

.story-bullets li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%232563EB' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.story-visual {
    position: relative;
    min-height: 420px;
}

.viz-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.viz-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-soft);
}

.viz-card-header .title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

.viz-card-header .badge {
    margin-left: auto;
    padding: 3px 8px;
    font-size: 10.5px;
    border-radius: 5px;
    font-weight: 500;
}

/* CHAOS visual - messy excel */
.chaos-viz {
    background: #FAFAFA;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.chaos-viz::before {
    content: 'EXCEL.XLSX';
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    color: var(--muted-2);
    letter-spacing: 0.1em;
}

.chaos-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 80px;
    padding: 8px 12px;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #E5E7EB;
    font-size: 12px;
    font-family: 'Geist Mono', monospace;
}

.chaos-row.header {
    background: #E5E7EB;
    font-weight: 600;
    color: var(--ink-2);
    border-radius: 4px 4px 0 0;
}

.chaos-row.faded {
    opacity: 0.5;
}

.chaos-row .strike {
    text-decoration: line-through;
    color: var(--red);
}

.chaos-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.chaos-note {
    position: absolute;
    padding: 8px 12px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 4px;
    font-size: 11px;
    color: #92400E;
    font-family: 'Geist', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: rotate(-3deg);
    animation: floatNote 4s ease-in-out infinite;
}

.chaos-note.n1 {
    top: 20px;
    right: -12px;
    transform: rotate(4deg);
    animation-delay: 0s;
}

.chaos-note.n2 {
    bottom: 30px;
    left: -8px;
    transform: rotate(-5deg);
    animation-delay: 1s;
}

.chaos-note.wapp {
    background: #DCF8C6;
    border-color: #25D366;
    color: #128C7E;
    font-family: 'Geist Mono', monospace;
}

@keyframes floatNote {

    0%,
    100% {
    transform: translateY(0) rotate(-3deg);
    }

    50% {
    transform: translateY(-6px) rotate(-1deg);
    }
}

/* CAPTURE - enquiry form */
.capture-viz {
    padding: 20px;
    background: white;
}

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

.form-row.single {
    grid-template-columns: 1fr;
}

.form-input {
    padding: 10px 12px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.form-input.filled {
    border-color: var(--brand);
    background: white;
}

.form-input.filled::after {
    content: '';
    width: 14px;
    height: 14px;
    margin-left: auto;
    background: var(--green);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}

.form-label {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.form-section-title {
    font-size: 11px;
    color: var(--brand);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 16px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--line);
}

.form-section-title:first-child {
    margin-top: 0;
}

/* CONVERSION - kanban pipeline */
.pipeline-viz {
    padding: 20px;
    background: var(--bg-soft);
}

.pipeline-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pipe-col {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    min-height: 320px;
}

.pipe-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 10px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 10px;
}

.pipe-col-head .name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pipe-col-head .count {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--line-soft);
    font-family: 'Geist Mono', monospace;
}

.pipe-col.open .name {
    color: var(--amber);
}

.pipe-col.closed .name {
    color: var(--green);
}

.pipe-col.lost .name {
    color: var(--muted);
}

.lead-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    cursor: grab;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.lead-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    border-color: var(--brand);
}

.lead-card .name {
    font-size: 12px;
    font-weight: 600;
}

.lead-card .meta {
    font-size: 10.5px;
    color: var(--muted);
    margin-top: 2px;
    font-family: 'Geist Mono', monospace;
}

.lead-card .footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 10px;
}

.lead-card .source-tag {
    padding: 2px 6px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 4px;
    font-weight: 500;
}

.lead-card .wapp-icon {
    margin-left: auto;
    width: 16px;
    height: 16px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 9px;
}

.lead-card.moving {
    animation: moveLead 3s ease infinite;
}

@keyframes moveLead {

    0%,
    30% {
    transform: translate(0, 0);
    }

    50% {
    transform: translate(120%, 60px) scale(0.95);
    opacity: 0.5;
    }

    70%,
    100% {
    transform: translate(0, 0);
    }
}

/* MANAGEMENT - student profile */
.profile-viz {
    padding: 20px;
    background: white;
}

.profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #6366F1);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.profile-info .name {
    font-size: 14px;
    font-weight: 600;
}

.profile-info .meta {
    font-size: 11.5px;
    color: var(--muted);
    font-family: 'Geist Mono', monospace;
    margin-top: 2px;
}

.profile-info .badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.profile-cell {
    padding: 10px;
    background: var(--bg-soft);
    border-radius: 8px;
}

.profile-cell .lab {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-cell .val {
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
    color: var(--ink);
}

.profile-cell.fees .val {
    color: var(--brand);
}

.payment-bar {
    margin-top: 14px;
    padding: 12px;
    background: var(--bg-soft);
    border-radius: 8px;
}

.payment-bar .row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 6px;
}

.payment-bar .row .lab {
    color: var(--muted);
}

.payment-bar .row .val {
    font-weight: 600;
}

.payment-bar .track {
    height: 6px;
    background: var(--line);
    border-radius: 100px;
    overflow: hidden;
}

.payment-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand), #6366F1);
    border-radius: 100px;
    width: 0;
    animation: fillBar 1.4s ease 0.3s forwards;
}

@keyframes fillBar {
    to {
    width: 60%;
    }
}

/* VISIBILITY - dashboard charts */
.dash-viz {
    padding: 18px;
    background: var(--bg-soft);
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.dash-stat {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    position: relative;
}

.dash-stat .num {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.dash-stat .lab {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.dash-stat .trend {
    font-size: 10px;
    color: var(--green);
    margin-top: 4px;
}

.dash-chart {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px;
    height: 180px;
    position: relative;
}

.dash-chart h5 {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CONTROL - automation */
.auto-viz {
    padding: 24px;
    background: white;
}

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--line);
}

.t-item {
    position: relative;
    margin-bottom: 16px;
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line-soft);
}

.t-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    border: 3px solid white;
    box-shadow: 0 0 0 1px var(--brand);
}

.t-item.fired::before {
    background: var(--green);
    box-shadow: 0 0 0 1px var(--green), 0 0 0 6px rgba(16, 185, 129, 0.15);
}

.t-item .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.t-item .label {
    font-size: 12px;
    font-weight: 600;
}

.t-item .time {
    font-size: 10.5px;
    color: var(--muted);
    font-family: 'Geist Mono', monospace;
}

.t-item .desc {
    font-size: 11.5px;
    color: var(--muted);
}

.t-item .wapp-msg {
    margin-top: 8px;
    padding: 8px 10px;
    background: #DCF8C6;
    border-radius: 8px 8px 8px 2px;
    font-size: 11px;
    color: #075E54;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.t-item .wapp-msg .head {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 10px;
    color: #128C7E;
}

/* ============ COMPARISON ============ */
.compare {
    padding: 100px 0;
    background: white;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
}

.compare-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    position: relative;
}

.compare-card.bad {
    background: #FAFAFA;
}

.compare-card.good {
    border: 2px solid var(--brand);
    box-shadow: 0 24px 60px -20px rgba(37, 99, 235, 0.25);
}

.compare-card.good::before {
    content: 'YOU';
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--brand);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
}

.compare-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
}

.compare-head .ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.compare-card.bad .ico {
    background: #FEE2E2;
}

.compare-card.good .ico {
    background: var(--brand-soft);
}

.compare-head h4 {
    font-family: 'Instrument Serif', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.compare-head .sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.compare-list {
    list-style: none;
}

.compare-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    font-size: 14.5px;
    color: var(--ink-2);
}

.compare-list .x {
    color: var(--red);
    flex-shrink: 0;
    font-weight: 700;
}

.compare-list .v {
    color: var(--green);
    flex-shrink: 0;
    font-weight: 700;
}

/* ============ INTERACTIVE DEMO ============ */
.demo {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, white 100%);
}

.demo-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.demo-frame {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.demo-tabs {
    display: flex;
    gap: 4px;
    padding: 14px 20px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}

.demo-tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.demo-tab.active {
    background: white;
    color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.demo-tab:hover:not(.active) {
    color: var(--ink-2);
}

.demo-body {
    padding: 28px;
    min-height: 460px;
}

.demo-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.demo-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(8px);
    }

    to {
    opacity: 1;
    transform: translateY(0);
    }
}

/* Add Enquiry Demo */
.enq-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 720px;
}

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

.enq-field.full {
    grid-column: 1 / -1;
}

.enq-field label {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-2);
}

.enq-field input,
.enq-field select {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13.5px;
    color: var(--ink);
    background: white;
    transition: all 0.2s;
}

.enq-field input:focus,
.enq-field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.enq-submit-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 200;
    background: var(--ink);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateY(0);
}

.toast .ico {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
}

/* Pipeline Demo */
.demo-pipeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.demo-pipeline .pipe-col {
    min-height: 380px;
}

.demo-lead {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    cursor: grab;
    user-select: none;
    transition: all 0.2s;
}

.demo-lead:hover {
    box-shadow: var(--shadow);
    border-color: var(--brand);
}

.demo-lead.dragging {
    opacity: 0.4;
    cursor: grabbing;
}

.demo-lead .nm {
    font-size: 13px;
    font-weight: 600;
}

.demo-lead .mt {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
    font-family: 'Geist Mono', monospace;
}

.demo-lead .ft {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
    font-size: 10.5px;
}

.demo-lead .src {
    padding: 2px 6px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 4px;
    font-weight: 500;
}

.demo-lead .pri {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.demo-lead .pri.med {
    background: rgba(245, 158, 11, 0.12);
    color: #B45309;
}

.demo-lead .pri.high {
    background: rgba(239, 68, 68, 0.12);
    color: #B91C1C;
}

.pipe-col.drop-target {
    background: var(--brand-soft);
    border-color: var(--brand);
    border-style: dashed;
}

/* Dashboard demo */
.dash-demo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.dash-demo-stat {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.dash-demo-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), #6366F1);
}

.dash-demo-stat .n {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dash-demo-stat .l {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.dash-demo-charts {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
}

.dash-demo-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    height: 240px;
}

.dash-demo-card h5 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Student profile demo */
.sp-demo {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
}

.sp-side {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.sp-avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--brand), #6366F1);
    display: grid;
    place-items: center;
    color: white;
    font-size: 26px;
    font-weight: 600;
}

.sp-side .nm {
    font-size: 16px;
    font-weight: 600;
}

.sp-side .mt {
    font-size: 12px;
    color: var(--muted);
    font-family: 'Geist Mono', monospace;
    margin-top: 4px;
}

.sp-side .stat-mini {
    display: flex;
    justify-content: space-around;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.sp-side .stat-mini div {
    text-align: center;
}

.sp-side .stat-mini .v {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand);
}

.sp-side .stat-mini .k {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.sp-main {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
}

.sp-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--line);
}

.sp-tab {
    padding: 10px 14px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}

.sp-tab.active {
    color: var(--brand);
    border-color: var(--brand);
    font-weight: 600;
}

.sp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sp-info-cell {
    padding: 12px 14px;
    background: var(--bg-soft);
    border-radius: 8px;
}

.sp-info-cell .k {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sp-info-cell .v {
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
}

/* ============ FEATURES GRID ============ */
.features {
    padding: 100px 0;
}

.features-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

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

.feature {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.feature-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.feature-ico svg {
    width: 22px;
    height: 22px;
}

.feature h4 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.feature p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    padding: 100px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

.t-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

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

.t-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    position: relative;
}

.t-stars {
    color: var(--amber);
    margin-bottom: 16px;
    font-size: 14px;
}

.t-card blockquote {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-2);
    margin-bottom: 20px;
}

.t-card blockquote::before {
    content: '"';
    font-family: 'Instrument Serif', serif;
    font-size: 32px;
    color: var(--brand);
    line-height: 0;
    margin-right: 4px;
    vertical-align: -8px;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #6366F1);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 14px;
}

.t-name {
    font-size: 14px;
    font-weight: 600;
}

.t-role {
    font-size: 12px;
    color: var(--muted);
}

/* ============ PRICING ============ */
.pricing {
    padding: 100px 0;
}

.pricing-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.pricing-toggle {
    display: inline-flex;
    background: var(--line-soft);
    border-radius: 100px;
    padding: 4px;
    margin-top: 24px;
}

.pricing-toggle button {
    padding: 8px 20px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 100px;
    color: var(--muted);
    transition: all 0.25s;
}

.pricing-toggle button.active {
    background: white;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.pricing-toggle .save {
    font-size: 10px;
    padding: 2px 6px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 4px;
    margin-left: 6px;
    font-family: 'Geist Mono', monospace;
    font-weight: 600;
}

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

.price-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.price-card.featured {
    border: 2px solid var(--brand);
    background: linear-gradient(180deg, white, var(--brand-soft) 200%);
    box-shadow: var(--shadow-brand);
    transform: scale(1.02);
}

.price-card.featured::before {
    content: 'Most popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 6px;
}

.price-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 8px;
}

.price-desc {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    min-height: 38px;
}

.price-amount {
    font-family: 'Instrument Serif', serif;
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-amount .currency {
    font-size: 28px;
    color: var(--muted);
}

.price-amount .period {
    font-size: 14px;
    color: var(--muted);
    font-family: 'Geist', sans-serif;
    font-weight: 400;
}

.price-trial {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.price-cta {
    width: 100%;
    margin: 24px 0;
    padding: 12px;
    justify-content: center;
}

.price-features {
    list-style: none;
}

.price-features li {
    font-size: 13.5px;
    color: var(--ink-2);
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid var(--line-soft);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============ FAQ ============ */
.faq {
    padding: 100px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s;
}

.faq-item:hover {
    border-color: var(--brand);
}

.faq-q {
    width: 100%;
    padding: 18px 20px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-q .icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.25s;
    font-size: 14px;
    color: var(--muted);
}

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

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-a-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

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

/* ============ FINAL CTA ============ */
.final-cta {
    padding: 120px 0;
    background: var(--ink);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
    radial-gradient(800px circle at 30% 20%, rgba(37, 99, 235, 0.25), transparent 50%),
    radial-gradient(600px circle at 80% 80%, rgba(99, 102, 241, 0.18), transparent 50%);
}

.final-cta-inner {
    position: relative;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.final-cta h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.final-cta h2 .it {
    font-style: italic;
    color: #93C5FD;
}

.final-cta p {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 36px;
}

.final-cta .btn-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--ink);
}

.btn-white:hover {
    background: var(--brand-soft);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.final-cta .meta {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 32px;
    font-size: 13px;
    opacity: 0.6;
}

.final-cta .meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============ FOOTER ============ */
footer {
    background: var(--ink);
    color: white;
    padding: 60px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13.5px;
    opacity: 0.6;
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bot {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    opacity: 0.5;
}

/* ============ MOBILE MENU BUTTON ============ */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .nav-links {
    display: none;
    }
    .mobile-menu-btn {
    display: flex;
    }

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

    .hero-charts {
    grid-template-columns: 1fr;
    }

    .story-step,
    .story-step.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0;
    }

    .story-step.reverse .story-text,
    .story-step.reverse .story-visual {
    order: unset;
    }

    .compare-grid,
    .features-grid,
    .t-grid,
    .pricing-grid {
    grid-template-columns: 1fr;
    }

    .price-card.featured {
    transform: none;
    }

    .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    }

    .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    }

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

    .demo-pipeline {
    grid-template-columns: 1fr;
    }

    .sp-demo {
    grid-template-columns: 1fr;
    }

    .container {
    padding: 0 20px;
    }

    .enq-form {
    grid-template-columns: 1fr;
    }

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

    .dash-demo-charts {
    grid-template-columns: 1fr;
    }

    .footer-bot {
    flex-direction: column;
    gap: 8px;
    }
}

/* ============ LEAKAGE FUNNEL ============ */
.funnel-section {
    padding: 100px 0;
    background: white;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.funnel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
    radial-gradient(600px circle at 80% 50%, rgba(239, 68, 68, 0.04), transparent 60%);
    pointer-events: none;
}

.funnel-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
    position: relative;
}

.funnel-wrap {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

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

.funnel-stage {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
}

/* Tapering widths to suggest funnel shape */
.funnel-stage:nth-child(1) {
    max-width: 100%;
}

.funnel-stage:nth-child(2) {
    max-width: 88%;
}

.funnel-stage:nth-child(3) {
    max-width: 76%;
}

.funnel-stage:nth-child(4) {
    max-width: 64%;
}

.funnel-stage:nth-child(5) {
    max-width: 56%;
}

.funnel-stage .num {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    color: var(--muted-2);
    width: 22px;
    flex-shrink: 0;
    font-weight: 500;
}

.funnel-stage .label {
    flex: 1;
    min-width: 0;
}

.funnel-stage .stage-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.funnel-stage .stage-count {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 3px;
    font-family: 'Geist Mono', monospace;
}

.funnel-stage .stage-count .lost {
    color: var(--red);
    font-weight: 600;
}

/* Inline leak pill — replaces broken floating tags */
.funnel-stage .leak-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.funnel-stage .leak-pill::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.funnel-stage.final {
    background: linear-gradient(135deg, var(--brand) 0%, #4F46E5 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.4);
}

.funnel-stage.final .stage-name {
    color: white;
}

.funnel-stage.final .stage-count {
    color: rgba(255, 255, 255, 0.85);
}

.funnel-stage.final .num {
    color: rgba(255, 255, 255, 0.6);
}

.funnel-stage.final .leak-pill {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.funnel-stage.final .leak-pill::before {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.funnel-side h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.funnel-side h3 .em {
    font-style: italic;
    color: var(--brand);
}

.funnel-side p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.funnel-stat {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 12px;
}

.funnel-stat .big {
    font-family: 'Instrument Serif', serif;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--red);
    line-height: 1;
}

.funnel-stat .lab {
    font-size: 13px;
    color: var(--ink-2);
    margin-top: 6px;
    line-height: 1.45;
}

.funnel-stat.good .big {
    color: var(--brand);
}

@media (max-width: 968px) {
    .funnel-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    }

    .funnel-stage {
    max-width: 100% !important;
    }

    .funnel-stage .leak-pill {
    display: none;
    }

    .funnel-stage:not(.final) .stage-count::after {
    content: attr(data-leak);
    display: block;
    margin-top: 4px;
    color: #B91C1C;
    font-size: 10.5px;
    font-weight: 500;
    }
}

@media (max-width: 540px) {
    .funnel-stage {
    padding: 12px 14px;
    gap: 10px;
    }

    .funnel-stage .num {
    display: none;
    }

    .funnel-stage .stage-name {
    font-size: 13px;
    }
}

/* ============ ROI BEFORE/AFTER ============ */
.roi-section {
    padding: 100px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.roi-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

.roi-col {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    position: relative;
}

.roi-col.before {
    background: #FAFAFA;
}

.roi-col.after {
    border: 2px solid var(--brand);
    box-shadow: 0 24px 60px -20px rgba(37, 99, 235, 0.18);
}

.roi-col .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.roi-col.before .tag {
    background: #FEE2E2;
    color: #B91C1C;
}

.roi-col.after .tag {
    background: var(--brand-soft);
    color: var(--brand);
}

.roi-col h4 {
    font-family: 'Instrument Serif', serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.roi-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roi-metric {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
}

.roi-metric:last-child {
    border-bottom: none;
}

.roi-metric .lab {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.roi-metric .val {
    font-family: 'Instrument Serif', serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
}

.roi-col.before .roi-metric .val {
    color: var(--ink-2);
}

.roi-col.after .roi-metric .val {
    color: var(--brand);
}

.roi-metric .sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.roi-arrow {
    display: grid;
    place-items: center;
    align-self: center;
}

.roi-arrow .circle {
    width: 56px;
    height: 56px;
    background: var(--ink);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: 0 12px 30px -6px rgba(15, 23, 42, 0.3);
}

.roi-bottom {
    max-width: 1080px;
    margin: 32px auto 0;
    text-align: center;
    padding: 28px 32px;
    background: var(--ink);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.roi-bottom .text {
    font-size: 15px;
    text-align: left;
    flex: 1;
}

.roi-bottom .text strong {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    font-weight: 400;
    display: block;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.roi-bottom .text span {
    opacity: 0.7;
    font-size: 13.5px;
}

@media (max-width: 968px) {
    .roi-grid {
    grid-template-columns: 1fr;
    }

    .roi-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
    }

    .roi-bottom {
    flex-direction: column;
    text-align: center;
    }

    .roi-bottom .text {
    text-align: center;
    }
}


.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* Counter animation helper */
.counter {
    display: inline-block;
}

/* Sticky CTA mini */
.mini-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 200%);
    background: var(--ink);
    color: white;
    padding: 12px 8px 12px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
    z-index: 90;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

.mini-cta.show {
    transform: translate(-50%, 0);
}

.mini-cta .btn {
    padding: 8px 16px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .mini-cta {
    display: none;
    }
}
