:root {
    /* Midnight Luxe + Green */
    --bg-base: #0D0D12;
    --bg-surface: #1A1A24;
    --text-main: #FAF8F5;
    --text-muted: #8A8F98;
    --text-dark: #2A2A35;
    --accent-green: #10b981;
    /* Благородный зеленый из куба */
    --accent-gold: #C9A84C;
    /* Шампань / Золото */

    --font-ui: 'Bricolage Grotesque', sans-serif;
    --font-drama: 'Playfair Display', serif;
    --font-mono: 'Space Mono', monospace;

    --radius-box: 2rem;
    --radius-btn: 999px;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-ui);
    min-height: 100vh;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    overflow-x: clip;
}

/* SVG Noise Filter */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
}

/* btn-magnetic basic classes for later */
.magnetic-btn {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-btn);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.magnetic-btn:hover {
    transform: scale(1.03);
}

/* ========== HEADER (Resend style exact match) ========== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 40px;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.5px;
    font-family: var(--font-drama);
}

/* ========== BLOCK 2: METRICS ========== */
.metrics-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
    /* Accent Green */
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.metric-suffix {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-left: 4px;
}

.metric-label {
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== BLOCK 3: PAINTS (Sticky Stacking Archive) ========== */
.paints-section {
    background-color: var(--bg-base);
    position: relative;
}

.paints-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}

.paints-text .section-title {
    font-family: var(--font-drama);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.paints-text .section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 auto;
}

.paints-stack-wrapper {
    position: relative;
    margin-bottom: -50vh;
    /* GSAP will pin this element */
}

.paints-stack-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* NO overflow hidden — let cards slide in from below */
}

/* Labels for the thumbnail row */
.stack-labels-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    /* Y position is controlled by GSAP */
}

.stack-label-item {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
}

#result-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0);
    white-space: nowrap;
    opacity: 0;
    z-index: 300;
    pointer-events: none;
}

.stack-card {
    position: absolute;
    left: 5%;
    top: 50%;
    width: 90%;
    max-width: 1200px;
    /* Fixed height in vh so it always fits viewport */
    height: 55vh;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
    will-change: transform;
}

/* Overlay for text readability */
.stack-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 14, 14, 0.95) 0%, rgba(14, 14, 14, 0.6) 40%, rgba(14, 14, 14, 0.1) 100%);
    z-index: 1;
}

.stack-card.no-overlay::before {
    display: none;
}

.stack-card.no-overlay .stack-content {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0;
    padding: 1.5rem 2.5rem;
    height: auto;
    align-self: flex-end;
    margin: 2rem;
}

.stack-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    max-width: 600px;
    height: 100%;
}

.stack-card-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 16px;
    display: block;
}

.stack-card-title {
    font-family: var(--font-ui);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-base);
}

.stack-card-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .stack-card {
        height: 65vh;
    }

    .stack-content {
        padding: 2rem;
        justify-content: flex-end;
    }

    .stack-card::before {
        background: linear-gradient(0deg, rgba(14, 14, 14, 0.95) 0%, rgba(14, 14, 14, 0.3) 100%);
    }

    .paints-text .section-title {
        font-size: 2.5rem;
    }

    .stack-card-title {
        font-size: 1.8rem;
    }
}

/* ========== BLOCK 4: OFFER (Manifesto) ========== */
.manifesto-section {
    padding: 80px 0;
    background-color: var(--bg-surface);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manifesto-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.manifesto-statement {
    margin-bottom: 60px;
}

.manifesto-label {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 16px;
}

.text-neutral p {
    font-family: var(--font-ui);
    font-size: 1.6rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.text-drama p {
    font-family: var(--font-drama);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-main);
}

.text-drama .accent-italic {
    font-style: italic;
    color: var(--accent-gold);
}

.manifesto-footer {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manifesto-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 100%;
    text-align: justify;
    text-justify: inter-word;
}

.manifesto-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Glitch effect */
.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.glitch-text {
    position: relative;
}

.glitch-text.active {
    animation: glitchText 0.8s ease both;
}

.glitch-text.active::before,
.glitch-text.active::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glitch-text.active::before {
    color: #ff0040;
    animation: glitchBefore 0.8s ease both;
    clip-path: inset(0 0 60% 0);
}

.glitch-text.active::after {
    color: #00ffea;
    animation: glitchAfter 0.8s ease both;
    clip-path: inset(60% 0 0 0);
}

@keyframes glitchText {
    0% {
        transform: translate(0);
        opacity: 1;
    }

    5% {
        transform: translate(-8px, 4px) skewX(-5deg);
    }

    10% {
        transform: translate(8px, -3px) skewX(6deg);
    }

    15% {
        transform: translate(-5px, 2px) skewX(-3deg);
        opacity: 0.9;
    }

    20% {
        transform: translate(10px, -5px) skewX(4deg);
    }

    25% {
        transform: translate(-5px, 6px) skewX(-6deg);
        opacity: 0.7;
    }

    30% {
        transform: translate(6px, -3px) skewX(3deg);
    }

    40% {
        transform: translate(-10px, 4px) skewX(-4deg);
        opacity: 0.5;
    }

    50% {
        transform: translate(5px, -8px) skewX(8deg);
        opacity: 0.4;
    }

    60% {
        transform: translate(-4px, 3px) skewX(-5deg);
        opacity: 0.2;
    }

    70% {
        transform: translate(8px, -4px) skewX(3deg);
        opacity: 0.15;
    }

    80% {
        transform: translate(-8px, 4px);
        opacity: 0.1;
    }

    90% {
        transform: translate(3px, -2px);
        opacity: 0.05;
    }

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

@keyframes glitchBefore {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-4px, -2px);
    }

    40% {
        transform: translate(4px, 3px);
    }

    60% {
        transform: translate(-3px, 1px);
    }

    80% {
        transform: translate(2px, -2px);
    }

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

@keyframes glitchAfter {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(4px, 2px);
    }

    40% {
        transform: translate(-3px, -1px);
    }

    60% {
        transform: translate(2px, 3px);
    }

    80% {
        transform: translate(-4px, -2px);
    }

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

.manifesto-statement.text-drama {
    opacity: 0;
    transform: translateY(20px);
}

.manifesto-statement.text-drama.revealed {
    animation: revealDrama 0.8s 0.4s ease both;
}

@keyframes revealDrama {
    0% {
        opacity: 0;
        transform: translateY(20px) skewX(-2deg);
    }

    30% {
        opacity: 0.5;
        transform: translateY(10px) skewX(1deg);
    }

    60% {
        opacity: 0.8;
        transform: translateY(5px) skewX(-0.5deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) skewX(0);
    }
}

@media (max-width: 768px) {
    .text-drama p {
        font-size: 2.2rem;
    }

    .manifesto-section {
        padding: 80px 0 160px;
    }
}

/* ========== BLOCK 5: SPECIALIZATION (Niche Cards) ========== */
.specialization-section {
    padding: 40px 0;
    background-color: var(--bg-base);
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
}

.specialization-section>.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 100%;
}

.section-header-centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
}

.section-header-centered .section-title {
    font-family: var(--font-drama);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.section-header-centered .section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.niche-system {
    display: flex;
    flex: 1;
    background: var(--bg-surface);
    border-radius: var(--radius-box);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.niche-main-view {
    flex: 1;
    position: relative;
}

.niche-display {
    position: absolute;
    inset: 0;
    padding: 30px 50px;
    /* Reduced from 40px 60px */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.niche-display.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.niche-display-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.niche-display-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
}

.niche-image {
    position: absolute;
    right: 40px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.niche-image img {
    height: 90%;
    width: auto;
    object-fit: contain;
    filter: saturate(0.85) brightness(0.9);
    transition: filter 0.5s ease;
}

.niche-display.active .niche-image img {
    filter: saturate(1) brightness(1);
}

.niche-info {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding-right: 40px;
    /* Leave space for the small right-aligned image */
}

.niche-title {
    font-family: var(--font-drama);
    font-size: 2rem;
    /* Reduced from 2.5rem */
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-main);
}

.niche-roles {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.niche-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
}

.niche-tab-spines {
    display: flex;
    flex-direction: column;
    width: 100px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.niche-spine {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: all 0.4s ease;
    color: var(--text-muted);
    overflow: hidden;
}

.niche-spine:last-child {
    border-bottom: none;
}

.niche-spine:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.niche-spine.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-gold);
}

.niche-spine.active::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-gold);
}

.spine-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    opacity: 0.4;
    padding-top: 10px;
}

.spine-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .niche-system {
        flex-direction: column;
        min-height: auto;
    }

    .niche-tab-spines {
        flex-direction: row;
        width: 100%;
        height: 60px;
        order: -1;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .niche-spine {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0 15px;
        flex-direction: row;
        justify-content: center;
    }

    .niche-spine.active::before {
        width: 100%;
        height: 2px;
        top: auto;
        bottom: 0;
    }

    .spine-text {
        writing-mode: horizontal-tb;
        transform: none;
        margin-bottom: 0;
        font-size: 0.7rem;
    }

    .spine-num {
        display: none;
    }

    .niche-display {
        position: relative;
        padding: 40px 20px;
        display: none;
    }

    .niche-display.active {
        display: flex;
    }

    .niche-display-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
}

/* ========== BLOCK 6: PROCESS (Sticky Stack) ========== */
.process-section {
    padding: 120px 0;
    background-color: var(--bg-surface);
    position: relative;
}

.process-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.process-text-col {
    position: sticky;
    top: 150px;
}

.process-text-col .section-title {
    font-family: var(--font-drama);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.process-text-col .section-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.process-stack-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 100px;
}

.sticky-card {
    position: sticky;
    background: var(--bg-base);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-box);
    padding: 40px;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.proc-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.proc-title {
    font-family: var(--font-ui);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.proc-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.proc-artifact {
    background: rgba(16, 185, 129, 0.05);
    /* Accent Green faint */
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.artifact-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-green);
}

.artifact-value {
    font-weight: 500;
    color: var(--text-main);
}

@media (max-width: 992px) {
    .process-container {
        grid-template-columns: 1fr;
    }

    .process-text-col {
        position: relative;
        top: auto;
        margin-bottom: 40px;
    }

    .process-stack-col {
        padding-bottom: 0;
    }
}

/* ========== BLOCK 7: CASE STUDIES ========== */
.cases-section {
    padding: 120px 0;
    background-color: var(--bg-base);
    position: relative;
}

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

.case-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-box);
    padding: 48px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.case-niche {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.case-title {
    font-family: var(--font-ui);
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 32px;
}

.case-metric {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-val {
    font-family: var(--font-drama);
    font-size: 4rem;
    color: var(--accent-green);
    line-height: 1;
}

.metric-lbl {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.case-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.case-highlight {
    color: var(--text-main);
    font-weight: 500;
}

.cases-footer {
    text-align: center;
    margin-top: 60px;
}

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

    .case-card {
        padding: 32px;
    }

    .metric-val {
        font-size: 3rem;
    }
}

/* ========== BLOCK 8: QUIZ DIAGNOSTIC ========== */
.quiz-section {
    padding: 120px 0;
    background-color: var(--bg-surface);
    position: relative;
}

.quiz-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quiz-visual .section-title {
    font-family: var(--font-drama);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.quiz-visual .section-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.quiz-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.benefit-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
}

.quiz-form-wrapper {
    background: var(--bg-base);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-box);
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-ui);
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-ui);
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 16px !important;
}

select.form-control option {
    background: #111;
    /* Dark background for options */
    color: var(--text-main);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .quiz-container {
        grid-template-columns: 1fr;
    }

    .quiz-form-wrapper {
        padding: 32px;
    }
}

/* ========== BLOCK 9: ABOUT / MANIFESTO ========== */
.about-section {
    padding: 160px 0;
    background-color: var(--bg-base);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.about-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.about-title em {
    color: var(--accent-gold);
    font-family: var(--font-drama);
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-text {
        font-size: 1.1rem;
    }
}

/* ========== BLOCK 10: FAQ ========== */
.faq-section {
    padding: 120px 0;
    background-color: var(--bg-surface);
    position: relative;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    cursor: pointer;
    gap: 24px;
}

.faq-header:hover .faq-question {
    color: var(--accent-gold);
}

.faq-question {
    font-family: var(--font-ui);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s ease;
    margin: 0;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--accent-green);
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon svg {
    transform: rotate(45deg);
}

.faq-body {
    height: 0;
    overflow: hidden;
}

.faq-content {
    padding-bottom: 32px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 1.25rem;
    }

    .faq-header {
        padding: 24px 0;
    }
}

/* ========== BLOCK 11: FOOTER ========== */
.site-footer {
    background-color: var(--bg-surface);
    padding: 80px 0 40px;
    border-radius: var(--radius-box) var(--radius-box) 0 0;
    position: relative;
    margin-top: -40px;
    z-index: 10;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    gap: 24px;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    background: rgba(16, 185, 129, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        opacity: 1;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.footer-legal {
    display: flex;
    gap: 24px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav a:hover {
    color: #fff;
}

.nav-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sign-in-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-header:hover {
    background: #f0f0f0;
}

/* ========== HERO (Resend Layout) ========== */
.hero {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

/* Soft central glow like Resend */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* ===== LEFT CONTENT (Exact Resend Copy) ===== */
.hero-content {
    max-width: 480px;
    padding-bottom: 60px;
    /* Offset to align visually with the cube */
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #d8b4fe;
    /* Purple tone from Resend screenshot */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
    text-decoration: none;
}

.tag-pill span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 14px;
}

.hero-title {
    font-size: 72px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
    color: var(--accent-brand);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #f0f0f0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-secondary:hover {
    color: #fff;
}

/* ===== RIGHT VISUAL: CUBE ===== */
.hero-visual {
    width: 500px;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 3000px;
}

.mobile-only-cube {
    display: none;
    width: 100%;
    height: auto;
    max-width: 400px;
    object-fit: contain;
}

.desktop-only-cube {
    display: block;
}

.cube-wrapper {
    width: 380px;
    height: 380px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(-35deg);
    /* Isometric tilt similar to reference */
    cursor: pointer;
}

.cube-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    pointer-events: none;
}

.piece {
    position: absolute;
    transform-style: preserve-3d;
}

.piece-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
}

/* Glow effect specifically added to faces to match Resend's glowing cube vibe */
.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #070707;
    /* Very dark face */
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 1), 0 0 10px rgba(255, 255, 255, 0.03);
    backface-visibility: hidden;
    background-size: cover;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.7);
}

.scroll-arrow {
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

/* ========== GLOBAL SECTIONS ========== */
.section {
    padding: 120px 40px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -1.5px;
    color: var(--text-main);
    margin-bottom: 24px;
    max-width: 750px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 64px;
    font-weight: 400;
}

/* CARD COMPONENT */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* BLOCK 2: INTERACTIVE SELECTOR */
.segmentation-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    position: relative;
}

@media (max-width: 900px) {
    .segmentation-container {
        flex-direction: column;
    }
}

.segmentation-nav {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
}

.seg-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    color: var(--text-muted);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
}

.seg-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.seg-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateX(4px);
}

.seg-btn:hover::before {
    opacity: 1;
}

.seg-btn.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.seg-icon {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: all 0.3s;
}

.seg-btn.active .seg-icon,
.seg-btn:hover .seg-icon {
    opacity: 1;
    color: inherit;
    /* will be overridden by inline style or parent logic for accent, or we can just leave it to JS */
}

.seg-btn[data-tab="tab-1"].active .seg-icon {
    color: #d8b4fe;
}

.seg-btn[data-tab="tab-2"].active .seg-icon {
    color: #3b82f6;
}

.seg-btn[data-tab="tab-3"].active .seg-icon {
    color: #10b981;
}

.seg-btn[data-tab="tab-4"].active .seg-icon {
    color: #f59e0b;
}

.seg-btn-text {
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
}

/* Glassmorphism Right Container */
.segmentation-content-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
}

/* The glow orb */
.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #d8b4fe;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 60px));
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.seg-content-glass {
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* inner glow hint */
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 56px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 380px;
}

.tab-pane {
    display: none;
    position: absolute;
    /* for smooth overlap during GSAP anim */
    top: 56px;
    left: 56px;
    right: 56px;
    opacity: 0;
    transform: translateY(20px);
}

.tab-pane.active {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    opacity: 1;
    transform: translateY(0);
}

.pane-title {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.2;
}

.pane-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.pane-result {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(216, 180, 254, 0.3);
    border-radius: 12px;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}

.pane-result strong {
    margin-right: 12px;
    color: #d8b4fe;
    font-weight: 500;
}

/* BLOCK 3: AGITATION */
.agitation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.card-warning h4 {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
    margin-top: 24px;
}

.card-warning p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.agitation-footer {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border-left: 3px solid #666;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 800px;
}

.agitation-footer strong {
    color: #fff;
    font-weight: 500;
}

/* BLOCK 4: PRODUCTS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-number {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.product-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    width: fit-content;
}

.product-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-top: auto;
}

/* BLOCK 5: DIFFERENTIATION */
.differ-container {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .differ-container {
        flex-direction: column;
    }
}

.differ-left {
    flex: 1;
    position: sticky;
    top: 120px;
}

.differ-right {
    flex: 1.2;
}

.differ-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.differ-list li {
    position: relative;
    padding-left: 32px;
}

.differ-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.differ-list strong {
    display: block;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.differ-list p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* BLOCK 6: DNA */
.dna-section {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
}

.dna-box {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(20, 20, 20, 0.4);
    padding: 64px;
    border-radius: 24px;
}

.dna-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.dna-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--text-main);
}

.dna-x {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.dna-ideal {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.dna-ideal strong {
    color: #fff;
    font-weight: 500;
}

/* BLOCK 7 & 8: CTA */
.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .cta-container {
        grid-template-columns: 1fr;
    }
}

.cta-primary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 64px 48px;
    border-radius: 24px;
}

.cta-primary h2 {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.1;
}

.cta-primary p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-note {
    font-size: 13px !important;
    margin-top: 24px;
    margin-bottom: 0 !important;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-note::before {
    content: '🔒';
}

.cta-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-secondary h3 {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
}

.cta-secondary p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.check-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: #e0e0e0;
}

.check-list li::before {
    content: '✓';
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
}

.lead-form {
    display: flex;
    gap: 12px;
}

.lead-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.lead-form input:focus {
    border-color: #fff;
}

.lead-form button {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.lead-form button:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .tabs-content {
        padding: 32px 24px;
    }

    .section {
        padding: 80px 24px;
    }

    .dna-box {
        padding: 32px 24px;
    }

    .cta-primary {
        padding: 40px 24px;
    }

    .cta-secondary {
        padding: 40px 24px;
    }

    .lead-form {
        flex-direction: column;
    }

    .lead-form input {
        height: 44px;
    }

    .hero-title {
        font-size: 48px;
    }

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

/* ========== BURGER MENU ========== */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1200;
    position: relative;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: -0.5px;
}

.mobile-nav-links a:hover {
    color: #fff;
}

/* ========== TABLET: ≤1024px ========== */
@media (max-width: 1024px) {
    .hero-container {
        padding: 0 30px;
    }

    .hero-visual {
        width: 350px;
        height: 350px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-content {
        max-width: 420px;
    }

    .manifesto-section {
        min-height: auto;
        padding: 100px 0;
    }

    .container {
        padding: 0 40px;
    }
}

/* ========== SMALL TABLET: ≤768px ========== */
@media (max-width: 768px) {

    /* Burger visible */
    .burger-btn {
        display: flex;
    }

    .header-nav {
        display: none !important;
    }

    .header {
        padding: 10px 16px;
    }

    .container {
        padding: 0 20px;
    }

    /* Hero: stack vertically, hide cube */
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .hero-visual {
        width: 100%;
        max-width: 300px;
        height: 320px;
        overflow: hidden;
        margin: 0 auto;
        order: 2;
        flex-shrink: 0;
    }

    .desktop-only-cube {
        display: none !important;
    }

    .mobile-only-cube {
        display: block !important;
        margin: 0 auto;
    }

    .hero-content {
        max-width: 100%;
        padding-bottom: 0;
        order: 1;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero {
        padding-top: max(80px, env(safe-area-inset-top) + 70px);
        min-height: auto;
        align-items: flex-start;
    }

    /* Scroll indicator */
    .scroll-indicator {
        display: none;
    }

    /* Metrics: 2 cols */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 20px;
    }

    .metric-card {
        padding: 1.5rem;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    /* Paints */
    .stack-labels-row,
    #result-label {
        display: none !important;
    }

    .paints-text .section-title {
        font-size: 2.2rem;
    }

    .stack-card {
        width: 95%;
        height: 50vh;
    }

    .stack-content {
        padding: 2rem;
    }

    .stack-card-title {
        font-size: 1.5rem;
    }

    /* Manifesto */
    .manifesto-section {
        min-height: auto;
        padding: 80px 20px;
    }

    .text-drama p {
        font-size: 2rem;
    }

    .manifesto-desc {
        font-size: 1rem;
    }

    /* Specialization */
    .specialization-section {
        height: auto;
    }

    .niche-image {
        display: none;
    }

    .niche-info {
        max-width: 100%;
    }

    /* Process */
    .process-section {
        padding: 80px 0;
    }

    /* Quiz */
    .quiz-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quiz-visual .section-title {
        font-size: 2.2rem;
    }

    .quiz-form-wrapper {
        padding: 32px;
    }

    /* About */
    .about-container {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-container {
        padding: 60px 20px 30px;
    }
}

/* ========== MOBILE: ≤480px ========== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .tag-pill {
        font-size: 11px;
    }

    .hero {
        padding-top: max(70px, env(safe-area-inset-top) + 60px);
    }

    /* Metrics: 1 col */
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    .metrics-section {
        padding: 60px 0;
    }

    /* Paints */
    .paints-text .section-title {
        font-size: 1.8rem;
    }

    .paints-text {
        padding: 40px 16px 30px;
    }

    .stack-card {
        height: 45vh;
    }

    .stack-content {
        padding: 1.5rem;
    }

    .stack-card-title {
        font-size: 1.2rem;
    }

    .stack-card-text {
        font-size: 0.85rem;
    }

    .stack-label-item {
        font-size: 10px;
    }

    /* Manifesto */
    .manifesto-section {
        padding: 60px 16px;
    }

    .text-drama p {
        font-size: 1.6rem;
    }

    .manifesto-label {
        font-size: 0.75rem;
    }

    /* Specialization */
    .section-header-centered {
        margin: 0 auto 16px;
        padding: 0 16px;
    }

    .section-header-centered .section-title {
        font-size: 1.5rem;
    }

    .niche-spine {
        padding: 0 10px;
    }

    .spine-text {
        font-size: 0.6rem;
    }

    .niche-display {
        padding: 30px 16px;
    }

    .niche-title {
        font-size: 1.3rem;
    }

    /* Process */
    .sticky-card {
        padding: 32px 20px;
    }

    .proc-step-number {
        font-size: 2.5rem;
    }

    .proc-step-title {
        font-size: 1.3rem;
    }

    /* Cases */
    .cases-section {
        padding: 80px 0;
    }

    .case-card {
        padding: 24px;
    }

    .metric-val {
        font-size: 2.5rem;
    }

    /* Quiz */
    .quiz-section {
        padding: 80px 0;
    }

    .quiz-visual .section-title {
        font-size: 1.8rem;
    }

    .quiz-form-wrapper {
        padding: 24px;
    }

    .form-control {
        padding: 12px;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 16px 0;
    }

    /* Footer */
    .footer-brand p {
        font-size: 0.9rem;
    }

    .mobile-nav-links a {
        font-size: 1.2rem;
    }
}