:root {
    --bg: #05040b;
    --bg-soft: rgba(12, 10, 28, 0.72);
    --panel: rgba(16, 13, 35, 0.68);
    --panel-strong: rgba(18, 15, 42, 0.82);
    --purple: #a855f7;
    --purple-bright: #d26cff;
    --cyan: #40d7ff;
    --lime: #99f6e4;
    --text: #f5f3ff;
    --text-muted: #b8abc9;
    --text-soft: rgba(245, 243, 255, 0.62);
    --border: rgba(168, 85, 247, 0.24);
    --border-strong: rgba(64, 215, 255, 0.28);
    --body-font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --display-font: "Anta", var(--body-font);
    --mono-font: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    background: var(--bg);
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 35%, rgba(12, 10, 28, 0.16), rgba(5, 4, 11, 0.64) 72%),
        linear-gradient(90deg, rgba(5, 4, 11, 0.42), transparent 28%, transparent 72%, rgba(5, 4, 11, 0.42));
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 72%, transparent);
}

#glcanvas,
canvas {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block;
    width: 100vw;
    height: 100vh;
    pointer-events: none !important;
}

a {
    color: inherit;
}

section,
.page {
    scroll-margin-top: 92px;
}

.page {
    position: relative;
    z-index: 2;
}

.section-label,
.card-kicker,
.pillar-num,
.step-num,
.chart-title,
.funnel-label,
.funnel-val,
.footer-meta,
.hero-eyebrow,
.hero-tagline {
    font-family: var(--mono-font);
}

.container {
    width: min(100%, 964px);
    margin: 0 auto;
    padding: 0 32px;
}

.hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 24px 32px 220px;
    text-align: center;
}

.hero-eyebrow {
    margin: 0 0 26px;
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-logo {
    margin: 0;
    color: transparent;
    background: linear-gradient(180deg, #ffffff 0%, #dff8ff 42%, var(--cyan) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    font-family: var(--display-font);
    font-size: clamp(52px, 10vw, 116px);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 0.86;
    text-transform: uppercase;
    -webkit-text-stroke: 1px rgba(210, 108, 255, 0.28);
    filter: drop-shadow(0 0 5px rgba(64, 215, 255, 0.18));
    text-shadow:
        0 3px 0 rgba(168, 85, 247, 0.52),
        0 0 12px rgba(210, 108, 255, 0.28),
        0 0 34px rgba(64, 215, 255, 0.12);
}

.hero-tagline {
    margin: 26px 0 0;
    color: var(--cyan);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-shadow: 0 0 18px rgba(64, 215, 255, 0.32);
}

.hero-desc {
    max-width: 630px;
    margin: 52px 0 0;
    color: var(--text-muted);
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 400;
    line-height: 1.8;
}

.hero-desc strong {
    color: var(--text);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    padding: 13px 22px;
    color: var(--text);
    font-family: var(--mono-font);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border-color: rgba(210, 108, 255, 0.72);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(64, 215, 255, 0.1));
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.22), inset 0 0 18px rgba(210, 108, 255, 0.08);
}

.btn-primary:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 34px rgba(64, 215, 255, 0.28), inset 0 0 20px rgba(210, 108, 255, 0.12);
}

.btn-secondary {
    color: var(--text-muted);
    background: rgba(5, 4, 11, 0.26);
}

.btn-secondary:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    text-decoration: none;
    transform: translateX(-50%);
    animation: bobble 2.2s ease-in-out infinite;
}

.scroll-hint span {
    font-family: var(--mono-font);
    font-size: 10px;
    letter-spacing: 0.2em;
}

@keyframes bobble {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

.pixel-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(64, 215, 255, 0.52), rgba(210, 108, 255, 0.42), transparent);
    opacity: 0.76;
}

.section-pad {
    padding: 108px 0;
}

#problem {
    padding-bottom: 140px;
}

.section-label {
    margin: 0 0 16px;
    color: var(--cyan);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(64, 215, 255, 0.24);
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: var(--text);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
}

.section-subtitle {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
}

.problem-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
    margin-top: 56px;
    background: transparent;
}

.problem-card,
.pillar {
    background: var(--panel);
    backdrop-filter: blur(10px);
}

.problem-card {
    position: relative;
    display: block;
    background:
        radial-gradient(circle at 24px 42px, rgba(64, 215, 255, 0.1), transparent 44px);
    border: 0;
    box-shadow: none;
    padding: 82px 0 0;
}

.problem-card:hover {
    filter: none;
    transform: none;
}

.problem-num {
    position: absolute;
    top: 20px;
    left: 0;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(64, 215, 255, 0.46);
    background: rgba(16, 12, 39, 0.78);
    color: var(--purple-bright);
    font-family: var(--mono-font);
    font-size: 16px;
    line-height: 1;
    opacity: 0.92;
    text-align: center;
    text-shadow: 0 0 20px rgba(210, 108, 255, 0.38);
}

.card-kicker,
.pillar-num {
    margin: 0 0 18px;
    color: var(--purple-bright);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.problem-card h3,
.pillar h3,
.step-content h3,
.faq-item h3 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

.problem-card h3 {
    font-size: 18px;
}

.problem-card p {
    font-size: 15px;
    line-height: 1.7;
}

.problem-card p,
.pillar p,
.step-content p,
.faq-item p,
.funnel-text p {
    color: var(--text-muted);
}

.problem-card p:last-child,
.pillar p,
.step-content p,
.faq-item p,
.funnel-text p {
    margin: 12px 0 0;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 56px;
}

.pillar {
    min-height: 100%;
    border: 1px solid rgba(64, 215, 255, 0.48);
    background:
        radial-gradient(circle at 18% 12%, rgba(64, 215, 255, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(31, 27, 68, 0.82), rgba(16, 12, 39, 0.72));
    box-shadow:
        0 0 42px rgba(64, 215, 255, 0.12),
        0 0 90px rgba(168, 85, 247, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 34px 28px;
    transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.pillar:hover {
    border-color: rgba(64, 215, 255, 0.78);
    box-shadow:
        0 0 54px rgba(64, 215, 255, 0.22),
        0 0 110px rgba(168, 85, 247, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    filter: brightness(1.08);
    transform: translateY(-4px);
}

.pillar-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.pillar-detail span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.pillar-detail span::before {
    content: ">";
    flex: 0 0 auto;
    color: var(--cyan);
    font-family: var(--mono-font);
}

.steps {
    margin-top: 54px;
}

.step {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 32px;
    align-items: start;
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}

.step:first-child {
    border-top: 1px solid var(--border);
}

.step-num {
    margin: 0;
    color: var(--purple-bright);
    font-size: 28px;
    line-height: 1;
    opacity: 0.92;
    text-align: right;
    text-shadow: 0 0 20px rgba(210, 108, 255, 0.38);
}

.funnel-section {
    background: rgba(16, 13, 35, 0.42);
}

.funnel-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 64px;
    align-items: center;
}

.funnel-text p {
    font-size: 16px;
}

.funnel-text .section-label {
    margin: 0 0 16px;
    color: var(--cyan);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(64, 215, 255, 0.24);
    text-transform: uppercase;
}

.stat-highlight {
    display: block;
    margin-top: 28px;
    color: var(--purple-bright);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 28px rgba(210, 108, 255, 0.45);
}

.stat-note {
    margin-top: 8px;
    font-size: 14px;
}

.funnel-bars {
    display: flex;
    flex-direction: column;
    gap: 11px;
    border: 1px solid rgba(64, 215, 255, 0.48);
    padding: 28px;
    background:
        radial-gradient(circle at 18% 12%, rgba(64, 215, 255, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(31, 27, 68, 0.82), rgba(16, 12, 39, 0.72));
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 42px rgba(64, 215, 255, 0.12),
        0 0 90px rgba(168, 85, 247, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.funnel-bars:hover {
    border-color: rgba(64, 215, 255, 0.78);
    box-shadow:
        0 0 54px rgba(64, 215, 255, 0.22),
        0 0 110px rgba(168, 85, 247, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    filter: brightness(1.08);
    transform: translateY(-4px);
}

.chart-title {
    margin: 0 0 10px;
    color: var(--cyan);
    font-size: 11px;
    letter-spacing: 0.18em;
}

.funnel-row {
    display: grid;
    grid-template-columns: 132px 1fr 42px;
    align-items: center;
    gap: 12px;
}

.funnel-label,
.funnel-val {
    color: var(--text-muted);
    font-size: 12px;
}

.funnel-val {
    color: var(--purple-bright);
    text-align: right;
}

.funnel-bar-wrap {
    height: 7px;
    overflow: hidden;
    background: rgba(245, 243, 255, 0.1);
}

.funnel-bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.funnel-bar-fill.full {
    width: 100%;
}

.funnel-bar-fill.follow {
    width: 25.3%;
}

.funnel-bar-fill.thesis {
    width: 17%;
}

.funnel-bar-fill.play {
    width: 8.6%;
}

.funnel-bar-fill.due {
    width: 1.1%;
}

.funnel-bar-fill.signed {
    width: 0.16%;
    min-width: 2px;
    background: var(--purple-bright);
    box-shadow: 0 0 8px var(--purple-bright);
}

.signed-val {
    color: var(--cyan);
}

.faq-list {
    margin-top: 46px;
}

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

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-item h3::before {
    content: "[ ";
    color: var(--cyan);
    font-family: var(--mono-font);
    font-weight: 400;
}

.faq-item h3::after {
    content: " ]";
    color: var(--cyan);
    font-family: var(--mono-font);
    font-weight: 400;
}

.faq-item p {
    max-width: 760px;
    padding-left: 18px;
}

.footer-section {
    display: flex;
    min-height: 56vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 112px 32px;
    text-align: center;
}

.footer-logo {
    margin: 0;
    color: var(--cyan);
    font-family: var(--mono-font);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-shadow: 0 0 12px rgba(64, 215, 255, 0.24);
    text-transform: uppercase;
}

.footer-line {
    max-width: 520px;
    margin: 0;
    color: var(--text-muted);
    font-size: 18px;
}

.footer-meta {
    margin: 10px 0 0;
    color: rgba(245, 243, 255, 0.48);
    font-size: 12px;
}

@media (max-width: 820px) {
    .container {
        padding: 0 22px;
    }

    .problem-grid,
    .pillars,
    .funnel-inner {
        grid-template-columns: 1fr;
    }

    .problem-card {
        padding: 0 0 0 68px;
        min-height: 104px;
    }

    .problem-num {
        top: 0;
    }

    .funnel-inner {
        gap: 42px;
    }

    .pillar {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 96vh;
        padding: 96px 20px 84px;
    }

    .hero-logo {
        font-size: clamp(46px, 16vw, 76px);
    }

    .hero-tagline {
        font-size: 11px;
        letter-spacing: 0.16em;
    }

    .hero-desc {
        font-size: 16px;
    }

    .btn {
        width: 100%;
    }

    .section-pad {
        padding: 78px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .problem-card,
    .pillar,
    .funnel-bars {
        padding: 26px 22px;
    }

    .step {
        grid-template-columns: 44px 1fr;
        gap: 18px;
    }

    .step-num {
        font-size: 20px;
    }

    .funnel-row {
        grid-template-columns: 1fr 42px;
        gap: 8px 10px;
    }

    .funnel-label {
        grid-column: 1 / 2;
    }

    .funnel-val {
        grid-column: 2 / 3;
    }

    .funnel-bar-wrap {
        grid-column: 1 / 3;
        grid-row: 2;
    }
}
