/* ========================================
   CLAW4GROWTH , Slopcraft-Inspired Design
   Pixel font · Beveled panels · CRT overlay
   Glitch text · Falling matrix · Marquee
   ======================================== */

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

:root {
    --bg: #0a0a0a;
    --bg-surface: #111;
    --bg-card: #1a1a1a;
    --border: #333;
    --border-heavy: #000;
    --text: #fff;
    --text-body: #ccc;
    --text-muted: #888;
    --accent: #5dba3b;
    --accent-bright: #00ff00;
    --accent-dim: #3a8a25;
    --yellow: #fcdb05;
    --red: #ff5555;
    --cyan: #4aedd9;

    --font-pixel: 'Press Start 2P', monospace;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --section-pad: clamp(80px, 12vh, 140px);
    --container-max: 1000px;
    --container-pad: clamp(16px, 5vw, 40px);

    --panel-border: 4px;
    --panel-shadow-light: rgba(255, 255, 255, 0.2);
    --panel-shadow-dark: rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-pixel);
    color: var(--text);
    background-color: var(--bg);
    background-image:
        linear-gradient(45deg, #ffffff05 25%, transparent 25%, transparent 75%, #ffffff05 75%),
        linear-gradient(45deg, #ffffff05 25%, transparent 25%, transparent 75%, #ffffff05 75%);
    background-position: 0 0, 8px 8px;
    background-size: 16px 16px;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- Selection --- */
::selection {
    background: var(--accent);
    color: #000;
}

/* --- Custom Scrollbar (Minecraft style) --- */
::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-left: 4px solid #000;
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border: 4px solid #000;
    box-shadow: inset 4px 4px var(--panel-shadow-light), inset -4px -4px var(--panel-shadow-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-bright);
}

/* ===== CRT OVERLAY ===== */
.crt-overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(transparent 50%, rgba(0, 0, 0, 0.08) 50%) 0 0 / 100% 2px,
        linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02)) 0 0 / 3px 100%;
}

/* ===== FALLING TEXT ===== */
.falling-text-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.falling-word {
    position: absolute;
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--accent-bright);
    opacity: 0.15;
    user-select: none;
    white-space: nowrap;
    animation: fall linear infinite;
    text-transform: uppercase;
}

@keyframes fall {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(110vh); }
}

/* ===== MARQUEE BANNER ===== */
.marquee-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--yellow);
    border-bottom: 4px solid #000;
    padding: 6px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
}

.marquee-track span {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: #000;
    text-transform: uppercase;
    flex-shrink: 0;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== MINECRAFT PANEL SYSTEM ===== */
.mc-panel-dark {
    background: #212121;
    border: var(--panel-border) solid var(--border-heavy);
    padding: 4px;
    box-shadow:
        inset 4px 4px #444,
        inset -4px -4px #111;
}

/* ===== MINECRAFT BUTTONS ===== */
.mc-btn {
    font-family: var(--font-pixel);
    font-size: 10px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    border: 4px solid #000;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s;
    position: relative;
    text-shadow: 2px 2px #000;
    box-shadow:
        inset -4px -4px var(--panel-shadow-dark),
        inset 4px 4px var(--panel-shadow-light);
}

.mc-btn:active {
    transform: translateY(4px);
    box-shadow:
        inset -2px -2px var(--panel-shadow-dark),
        inset 2px 2px var(--panel-shadow-light);
}

.mc-btn-primary {
    background: var(--accent);
}

.mc-btn-primary:hover {
    filter: brightness(1.15);
}

/* ===== GLITCH TEXT ===== */
.glitch-text {
    display: inline-block;
    position: relative;
}

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

.glitch-text::before {
    text-shadow: -1px 0 red;
    clip-path: inset(0);
    animation: glitch1 2s linear infinite alternate-reverse;
    left: 2px;
}

.glitch-text::after {
    text-shadow: -1px 0 var(--cyan);
    clip-path: inset(0);
    animation: glitch2 3s linear infinite alternate-reverse;
    left: -2px;
}

@keyframes glitch1 {
    0%   { clip-path: inset(20% 0 80%); transform: translate(-2px, 1px); }
    20%  { clip-path: inset(60% 0 10%); transform: translate(2px, -1px); }
    40%  { clip-path: inset(40% 0 50%); transform: translate(-2px, 2px); }
    60%  { clip-path: inset(80% 0 5%);  transform: translate(2px, -2px); }
    80%  { clip-path: inset(10% 0 70%); transform: translate(-1px, 1px); }
    100% { clip-path: inset(30% 0 50%); transform: translate(1px, -1px); }
}

@keyframes glitch2 {
    0%   { clip-path: inset(10% 0 60%); transform: translate(2px, -1px); }
    20%  { clip-path: inset(80% 0 5%);  transform: translate(-2px, 2px); }
    40%  { clip-path: inset(30% 0 20%); transform: translate(2px, 1px); }
    60%  { clip-path: inset(10% 0 80%); transform: translate(-2px, -2px); }
    80%  { clip-path: inset(50% 0 30%); transform: translate(1px, 2px); }
    100% { clip-path: inset(20% 0 70%); transform: translate(-1px, -1px); }
}

/* ===== SCROLL REVEAL ===== */

/* Below-fold content: observer-driven reveal */
.reveal {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* Hero content: visible by default, JS adds entrance animation */
.hero-entrance {
    /* Naturally visible , JS handles the animation */
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 0;
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 4px solid transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: var(--border-heavy);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.logo-icon { font-size: 16px; }
.logo-accent { color: var(--accent); }

.nav-cta-btn {
    font-size: 10px !important;
    padding: 12px 20px !important;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 140px 0 clamp(40px, 6vh, 80px);
}

.hero .container {
    display: flex;
    flex-direction: column;
}

/* Hide legacy fake Telegram demo section (replaced by hero playlist + #use-cases) */
.hero + .integrations-ticker + .demo,
section.demo#demo {
    display: none !important;
}

/* Hero 2-column layout (desktop only) */
.hero-content {
    display: flex;
    flex-direction: column;
}

/* Mobile hero: show playlist phone, hide static mascot */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 24px auto 8px;
    width: 100%;
    max-width: 220px;
}
.hero-visual .hero-phone {
    position: relative;
    width: 100%;
    aspect-ratio: 680/1386;
    background: #000;
    border: 3px solid #0e0e0e;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(93,186,59,0.35), 0 18px 40px rgba(0,0,0,0.55);
}
.hero-visual .hero-phone-notch {
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 5px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    z-index: 2;
}
.hero-visual .hero-phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 280ms ease;
}
.hero-phone-video {
    transition: opacity 280ms ease;
}
.hero-visual-caption {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
    text-align: center;
}
@media (max-width: 979px) {
    .hero { padding-top: 100px !important; }
    .hero .hero-mascot { display: none !important; }
    .hero .container { display: flex; flex-direction: column; }
    /* Dissolve hero-content so its children become flex items of .container */
    .hero .hero-content { display: contents; }
    .hero .hero-badge { order: 1; margin-bottom: 22px; }
    .hero .hero-title { order: 2; font-size: clamp(20px, 4.8vw, 30px) !important; line-height: 1.35; margin-bottom: 18px; }
    .hero .hero-sub { order: 3; font-size: 0.95rem; margin-bottom: 22px; }
    .hero .hero-cta-wrap { order: 4; }
    .hero .hero-visual { order: 5; max-width: 200px; }
    .hero .hero-visual .hero-phone { max-width: 200px; }
    .hero .hero-stats { order: 6; margin-top: 14px; }
}

/* Hero playlist nav (mobile only) */
.hero-pl-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 2px;
}
.hero-pl-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(93,186,59,0.4);
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
    font-family: var(--font-body);
    padding-bottom: 3px;
}
.hero-pl-btn:active { transform: scale(0.92); background: rgba(93,186,59,0.15); }
.hero-pl-dots { display: flex; gap: 6px; }
.hero-pl-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    transition: background .2s ease;
}
.hero-pl-dots span.is-active {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(93,186,59,0.5);
}

/* See all use cases link (mobile under CTA) */
.hero-see-all {
    display: none;
    margin-top: 14px;
    padding: 12px 18px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s ease;
    min-height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
}
.hero-see-all:hover { color: var(--accent); }

@media (max-width: 979px) {
    .hero-pl-nav { display: flex; }
    .hero-see-all { display: inline-block; }
    .hero-cta-wrap {
        text-align: center !important;
        margin-bottom: 24px !important;
    }
    /* Reorder hero-visual children on mobile: arrows -> caption -> phone */
    .hero .hero-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 28px;
    }
    .hero .hero-visual .hero-visual-caption { order: 1; }
    .hero .hero-visual .hero-phone { order: 2; }
    .hero .hero-visual .hero-pl-nav { order: 3; margin-top: 0; }
}
@media (min-width: 980px) {
    .hero .container {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        grid-template-areas:
            "badge   badge"
            "content visual"
            "stats   stats";
        column-gap: 48px;
        row-gap: 28px;
        align-items: center;
        max-width: 1180px;
    }
    .hero .hero-mascot { display: none; }
    .hero .hero-badge {
        grid-area: badge;
        justify-self: center;
        margin-bottom: 0;
    }
    .hero-content {
        grid-area: content;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .hero-content .hero-title { text-align: left; }
    .hero-content .hero-sub { text-align: left; max-width: 560px; }
    .hero-content > div[style*="margin-bottom: 32px"] {
        text-align: left !important;
        width: auto !important;
    }
    .hero .hero-stats {
        grid-area: stats;
        justify-self: center;
        max-width: 720px;
        width: 100%;
    }
    .hero-visual {
        grid-area: visual;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .hero-phone {
        position: relative;
        width: 100%;
        max-width: 260px;
        aspect-ratio: 680/1386;
        background: #000;
        border: 4px solid #0e0e0e;
        border-radius: 34px;
        overflow: hidden;
        box-shadow:
            0 0 0 1px rgba(93,186,59,0.4),
            0 0 50px rgba(93,186,59,0.16),
            0 24px 60px rgba(0,0,0,0.6);
    }
    .hero-phone-notch {
        position: absolute;
        top: 10px; left: 50%;
        transform: translateX(-50%);
        width: 72px; height: 6px;
        background: #000;
        border: 1px solid rgba(255,255,255,0.18);
        border-radius: 6px;
        z-index: 2;
    }
    .hero-phone-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .hero-visual-caption {
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        color: var(--accent);
        text-transform: uppercase;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    color: var(--yellow);
    padding: 8px 16px;
    border: 2px solid var(--yellow);
    background: rgba(252, 219, 5, 0.08);
    margin-bottom: 32px;
    text-transform: uppercase;
    animation: pulse-badge 2s ease-in-out infinite;
    align-self: center;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: var(--yellow);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(252, 219, 5, 0.4); }
    50% { opacity: 0.5; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
    font-size: clamp(20px, 5vw, 48px);
    line-height: 1.4;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-bottom: 24px;
    text-shadow: 3px 3px #000;
}

.text-accent {
    color: var(--accent);
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(14px, 2vw, 17px);
    color: var(--text-body);
    max-width: 640px;
    line-height: 1.85;
    margin-bottom: 40px;
}

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

/* --- Form --- */
.waitlist-form {
    margin-bottom: 32px;
}

.form-group {
    max-width: 520px;
}

.form-inner {
    display: flex;
    gap: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

.form-input {
    flex: 1;
    padding: 16px 18px;
    background: transparent;
    border: none;
    color: var(--accent-bright);
    font-family: var(--font-pixel);
    font-size: 10px;
    outline: none;
    min-width: 0;
    text-transform: uppercase;
}

.form-input::placeholder {
    color: #777;
}

.form-btn {
    font-size: 10px !important;
    padding: 16px 24px !important;
    white-space: nowrap;
    border: none !important;
    box-shadow: none !important;
}

.form-success {
    display: none;
    font-size: 10px;
    color: var(--accent-bright);
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(0, 255, 0, 0.06);
    border: 2px solid var(--accent);
}

.form-success.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Stats Row --- */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    transition: transform 0.2s;
}

.stat-item:hover {
    transform: rotate(1deg) scale(1.03);
}

.stat-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-emoji {
    font-size: 20px;
    animation: bounce-emoji 2s ease-in-out infinite;
}

@keyframes bounce-emoji {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.stat-number {
    font-size: 22px;
    color: var(--accent-bright);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    white-space: nowrap;
}

.stat-label {
    font-size: 8px;
    color: #999;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

/* Hero proof cards (replaces KPI tiles in hero) */
.hero-stats.hero-stats--proof {
    grid-template-columns: repeat(3, 1fr);
    max-width: 760px;
}
.hero-stats--proof .proof-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.hero-stats--proof .proof-emoji { font-size: 22px; line-height: 1; }
.hero-stats--proof .proof-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-bright);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hero-stats--proof .proof-desc {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-body);
}
@media (max-width: 600px) {
    .hero-stats.hero-stats--proof { grid-template-columns: 1fr; }
}

.proof-count {
    font-family: var(--font-pixel);
    color: var(--accent-bright);
}

/* ===== TELEGRAM DEMO ===== */
.demo {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 3vh, 40px) 0 var(--section-pad);
}

.tg-phone {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    transition: transform 0.5s ease;
    transform: rotate(0.5deg);
    border-radius: 20px;
    overflow: hidden;
}

.tg-phone:hover {
    transform: rotate(0deg);
}

.tg-phone-inner {
    background: #0e1621;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.tg-label {
    position: absolute;
    top: -14px;
    left: 16px;
    background: var(--bg-surface);
    padding: 2px 10px;
    font-size: 8px;
    color: var(--yellow);
    border: 1px solid var(--border);
    z-index: 10;
    font-family: var(--font-pixel);
}

/* Telegram Header */
.tg-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #17212b;
    border-bottom: 1px solid #1e2c3a;
}

.tg-header-back {
    color: #6ab2f2;
    display: flex;
    align-items: center;
}

.tg-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.tg-header-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tg-header-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.tg-header-status {
    font-family: var(--font-body);
    font-size: 11px;
    color: #6ab2f2;
}

.tg-header-dots {
    color: #6ab2f2;
    font-size: 18px;
    cursor: default;
}

/* Chat Body */
.tg-chat {
    padding: 16px 12px;
    min-height: 420px;
    max-height: 520px;
    overflow-y: auto;
    background: #0e1621;
    display: flex;
    flex-direction: column;
    gap: 6px;
    scroll-behavior: smooth;
}

/* Message Bubbles */
.tg-msg {
    display: flex;
    gap: 6px;
    max-width: 88%;
    animation: tg-fade-in 0.3s ease-out;
}

@keyframes tg-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tg-msg-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.tg-msg-bot {
    align-self: flex-start;
}

.tg-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    align-self: flex-end;
}

.tg-msg-avatar svg {
    width: 28px;
    height: 28px;
}

.tg-msg-user .tg-msg-avatar {
    display: none;
}

.tg-bubble {
    padding: 8px 12px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.55;
    position: relative;
}

.tg-msg-user .tg-bubble {
    background: #2b5278;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.tg-msg-bot .tg-bubble {
    background: #182533;
    color: #ddd;
    border-bottom-left-radius: 4px;
}

.tg-bubble .tg-time {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    float: right;
    margin-left: 8px;
    margin-top: 4px;
}

.tg-bubble strong {
    color: #fff;
}

.tg-bubble .tg-emoji {
    font-size: 15px;
    margin-right: 4px;
}

/* Typing indicator */
.tg-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-items: center;
}

.tg-typing-dot {
    width: 6px;
    height: 6px;
    background: #6ab2f2;
    border-radius: 50%;
    animation: tg-typing-bounce 1.2s ease-in-out infinite;
}

.tg-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.tg-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes tg-typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Result cards inside bot messages */
.tg-result-section {
    margin: 8px 0 4px;
}

.tg-result-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}

.tg-result-title.critical { color: var(--red); }
.tg-result-title.warning { color: var(--yellow); }
.tg-result-title.win { color: var(--accent-bright); }
.tg-result-title.impact { color: #fff; }

.tg-result-item {
    font-size: 13px;
    color: #bbb;
    padding: 2px 0;
    line-height: 1.5;
}

.tg-result-item .tg-bullet {
    margin-right: 4px;
}

.tg-result-item .tg-bullet.red { color: var(--red); }
.tg-result-item .tg-bullet.yellow { color: var(--yellow); }
.tg-result-item .tg-bullet.green { color: var(--accent-bright); }

/* Input Bar */
.tg-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #17212b;
    border-top: 1px solid #1e2c3a;
}

.tg-input-attach {
    font-size: 18px;
    opacity: 0.5;
}

.tg-input-field {
    flex: 1;
    padding: 8px 14px;
    background: #242f3d;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    color: #556;
}

.tg-input-mic {
    font-size: 18px;
    opacity: 0.5;
}

.demo-caption {
    text-align: center;
    font-size: 9px;
    color: #999;
    margin-top: 24px;
    letter-spacing: 0.05em;
    font-family: var(--font-pixel);
}

/* ===== SECTIONS COMMON ===== */
.section-title {
    font-size: clamp(18px, 4vw, 34px);
    line-height: 1.5;
    text-shadow: 2px 2px #000;
    margin-bottom: 16px;
}

.section-prefix {
    color: var(--yellow);
    margin-right: 4px;
}

.section-sub {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 48px;
}

/* ===== PROBLEM ===== */
.problem {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
    border-top: 4px solid #000;
    background: rgba(0, 0, 0, 0.3);
}

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

.problem-card {
    transition: transform 0.2s;
}

.problem-card:hover {
    transform: scale(1.02);
}

.problem-inner {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 24px 16px;
}

.problem-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.problem-number {
    font-size: 9px;
    color: var(--yellow);
    letter-spacing: 0.05em;
}

.problem-icon {
    font-size: 20px;
    animation: bounce-emoji 2.5s ease-in-out infinite;
}

.problem-card h3 {
    font-size: 10px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text);
}

.problem-card p {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.75;
}

/* ===== OBJECTION SECTIONS ===== */
.objection {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
    border-top: 4px solid #000;
    background: rgba(0, 0, 0, 0.3);
}

.objection-alt {
    background: var(--bg-surface);
}

/* --- Compare Grid (ChatGPT vs Claw4Growth) --- */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.compare-card {
    transition: transform 0.2s;
}

.compare-card:hover {
    transform: scale(1.02);
}

.compare-inner {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 24px 20px;
}

.compare-inner.compare-no {
    border-left: 4px solid var(--red);
}

.compare-inner.compare-yes {
    border-left: 4px solid var(--accent);
}

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

.compare-icon {
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

.compare-no .compare-icon {
    background: var(--red);
    color: #000;
}

.compare-yes .compare-icon {
    background: var(--accent);
    color: #000;
}

.compare-label {
    font-size: 10px;
    letter-spacing: 0.05em;
}

.compare-no .compare-label {
    color: var(--red);
}

.compare-yes .compare-label {
    color: var(--accent);
}

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compare-list li {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.7;
    padding-left: 16px;
    position: relative;
}

.compare-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.compare-no .compare-list li::before {
    content: '✖';
    font-size: 8px;
    top: 3px;
    color: var(--red);
}

.compare-yes .compare-list li::before {
    content: '▸';
    color: var(--accent);
}

.compare-list li strong {
    color: var(--text);
}

/* ===== COMPARE MATRIX (4-col: ChatGPT / Claude / OpenClaw / C4G) ===== */
.compare-matrix-wrap {
    margin-top: 36px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 18px 18px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.03);
}
.compare-matrix {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: transparent;
    font-family: var(--font-mono);
}
.compare-matrix th,
.compare-matrix td {
    padding: 18px 14px;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    color: var(--text-body);
    border: none;
}
.compare-matrix tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.compare-matrix tbody tr:last-child {
    border-bottom: none;
}
.compare-matrix thead th {
    font-family: var(--font-pixel);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 14px 10px 26px;
    background: transparent;
    font-weight: normal;
}
.compare-matrix thead th em {
    font-style: normal;
    display: block;
    font-size: 7px;
    opacity: 0.55;
    margin-top: 6px;
    letter-spacing: 0.04em;
}
.compare-matrix .cm-feature {
    text-align: left;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 500;
    min-width: 240px;
    padding-left: 4px;
    font-size: 13.5px;
}
.compare-matrix .cm-best {
    background: linear-gradient(180deg, rgba(93,186,59,0.08) 0%, rgba(93,186,59,0.03) 100%);
    position: relative;
}
.compare-matrix thead th.cm-best {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(93,186,59,0.5);
    font-size: 11px;
    background: linear-gradient(180deg, rgba(93,186,59,0.18) 0%, rgba(93,186,59,0.06) 100%);
    border-top: 1px solid rgba(93,186,59,0.5);
    border-left: 1px solid rgba(93,186,59,0.5);
    border-right: 1px solid rgba(93,186,59,0.5);
}
.compare-matrix tbody td.cm-best {
    border-left: 1px solid rgba(93,186,59,0.35);
    border-right: 1px solid rgba(93,186,59,0.35);
}
.compare-matrix tbody tr:last-child td.cm-best {
    border-bottom: 1px solid rgba(93,186,59,0.5);
}
.cm-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.cm-yes {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(93,186,59,0.6);
}
.cm-no {
    color: rgba(255,80,80,0.55);
}
.cm-partial {
    color: var(--text-muted);
    font-size: 18px;
    opacity: 0.6;
}
.cm-best .cm-yes {
    transform: scale(1.25);
    text-shadow: 0 0 16px rgba(93,186,59,0.9);
}

.compare-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 22px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.compare-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.compare-legend .cm-cell {
    width: 18px;
    height: 18px;
    font-size: 13px;
}

@media (max-width: 700px) {
    /* Mobile: tabella → stack di card-feature, niente scroll orizzontale */
    .compare-matrix-wrap { overflow: visible; padding: 0; margin-top: 24px; }
    .compare-matrix { min-width: 0; width: 100%; display: block; }
    .compare-matrix thead { display: none; }
    .compare-matrix tbody { display: block; }
    .compare-matrix tbody tr {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px 6px;
        padding: 16px 14px 14px;
        margin-bottom: 10px;
        background: var(--bg-surface);
        border: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
    .compare-matrix tbody tr:last-child { margin-bottom: 0; }
    .compare-matrix td {
        padding: 0;
        background: none !important;
        border: none !important;
    }
    .compare-matrix .cm-feature {
        grid-column: 1 / -1;
        min-width: 0;
        text-align: left;
        font-family: var(--font-body);
        font-weight: 600;
        color: var(--text);
        font-size: 13px;
        margin-bottom: 4px;
        padding: 0;
    }
    .compare-matrix tbody td:not(.cm-feature) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-family: var(--font-pixel);
        font-size: 7px;
        line-height: 1.3;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .compare-matrix tbody td:nth-child(2)::before { content: 'CHATGPT'; }
    .compare-matrix tbody td:nth-child(3)::before { content: 'CLAUDE'; }
    .compare-matrix tbody td:nth-child(4)::before { content: 'OPENCLAW'; }
    .compare-matrix tbody td:nth-child(5)::before { content: 'C4G'; color: var(--accent); }
    .compare-matrix tbody td.cm-best { color: var(--accent); }
    .cm-cell { width: 24px; height: 24px; font-size: 16px; }
    .cm-best .cm-yes { transform: scale(1.15); }
    .compare-legend { gap: 16px; margin-top: 18px; font-size: 10px; }
}

/* --- Step Number Bad Variant --- */
.step-number-bad {
    background: var(--red) !important;
}

.step-number-bad + .step-content .step-inner {
    border-left-color: var(--red);
}

/* ===== FEATURES ===== */
.features {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
    background: var(--bg-surface);
    border-top: 4px solid #000;
}

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

.feature-card {
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: scale(1.02);
}

.feature-inner {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 24px 20px;
}

.feature-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    border: 2px solid #555;
    margin-bottom: 16px;
    color: var(--accent);
}

.feature-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.feature-title {
    font-size: 11px;
    color: var(--yellow);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 16px;
}

.feature-card p strong {
    color: var(--text);
}

.feature-tag {
    font-size: 8px;
    color: var(--accent);
    padding: 5px 12px;
    border: 1px solid var(--accent-dim);
    letter-spacing: 0.05em;
    display: inline-block;
}

/* ===== HOW IT WORKS ===== */
.how {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
    border-top: 4px solid #000;
}

.steps {
    max-width: 650px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.step-number-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--yellow);
    border: 4px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
}

.step:hover .step-number-wrap {
    transform: scale(1.1);
}

.step-number {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.step-content {
    flex: 1;
}

.step-inner {
    background: var(--bg-card);
    border-left: 4px solid var(--yellow);
    padding: 16px 20px;
}

.step-inner h3 {
    font-size: 10px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.step-inner p {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.75;
}

/* ===== OPEN SOURCE ===== */
.opensource {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

.os-card {
    text-align: center;
}

.os-inner {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 40px 32px;
}

.os-badge {
    font-size: 8px;
    color: var(--yellow);
    margin-bottom: 20px;
    letter-spacing: 0.08em;
}

.os-card h3 {
    font-size: clamp(14px, 3vw, 24px);
    margin-bottom: 18px;
    text-shadow: 2px 2px #000;
    line-height: 1.5;
}

.os-card p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== FINAL CTA ===== */
.final-cta {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
    text-align: center;
    border-top: 4px solid #000;
    background: rgba(0, 0, 0, 0.3);
}

.final-title {
    font-size: clamp(20px, 5vw, 40px);
    text-shadow: 3px 3px #000;
    line-height: 1.5;
    margin-bottom: 20px;
}

.final-sub {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.final-cta .form-group {
    margin: 0 auto;
}

.final-note {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 32px 0;
    border-top: 4px solid #000;
    background: rgba(0, 0, 0, 0.5);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
}

.footer-tagline {
    font-size: 8px;
    color: #999;
    letter-spacing: 0.08em;
}

.footer-links a {
    font-size: 9px;
    color: var(--text-body);
    transition: color 0.2s;
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 18px 0 8px;
}
.footer-social a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}
.footer-social a:hover { color: var(--accent); }

.footer-contact {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 12px 0 14px;
    text-align: center;
}
.footer-contact a {
    color: var(--accent);
    text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

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

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

    .form-btn {
        width: 100%;
    }

    .hero {
        padding-top: 120px;
    }

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

    .step-number-wrap {
        width: 40px;
        height: 40px;
    }

    .tg-phone {
        transform: rotate(0deg);
        max-width: 100%;
    }

    .tg-chat {
        min-height: 340px;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-inner {
        padding: 12px 6px;
    }

    .stat-number {
        font-size: 13px;
    }

    .nav-cta-btn {
        font-size: 7px !important;
        padding: 8px 12px !important;
    }
}

/* MASCOT */
.hero-mascot {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* FORCE VISIBILITY FIX */
/* CRT + falling text enabled everywhere */
.reveal, .hero-entrance, .hero-title, .hero-sub, .hero-badge, .hero-stats,
.section-title, .section-sub, .compare-card, .step, .problem-card, 
.feature-card, .tg-phone, .demo-caption, .os-card, .final-title, 
.final-sub, .waitlist-form, .final-note {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ===== INTEGRATIONS TICKER ===== */
.integrations-ticker {
    padding: 48px 0 32px;
    text-align: center;
    overflow: hidden;
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
}
.integrations-ticker::before,
.integrations-ticker::after {
    display: none;
}
.ticker-note {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    text-align: center;
    max-width: 640px;
    margin: 22px auto 0;
    line-height: 1.7;
    padding: 0 20px;
}
.ticker-note strong { color: var(--accent); font-weight: 600; }
@media (max-width: 700px) {
    .ticker-note { font-size: 10.5px; margin-top: 16px; }
}
.ticker-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: #00e5cc;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}
.ticker-track {
    display: flex;
    gap: 48px;
    animation: ticker-scroll 30s linear infinite;
    width: max-content;
}
.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.ticker-item:hover {
    opacity: 1;
}
.ticker-item img {
    width: 36px;
    height: 36px;
    filter: invert(1);
    opacity: 0.7;
    transition: all 0.3s;
}
.ticker-item:hover img {
    opacity: 1;
    filter: invert(1) drop-shadow(0 0 8px rgba(0,229,204,0.5));
}
.ticker-item span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ticker-sub {
    margin-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .integrations-ticker { padding: 32px 0 20px; }
    .ticker-label { font-size: 0.5rem; letter-spacing: 2px; margin-bottom: 16px; }
    .ticker-track { gap: 28px; animation-duration: 20s; }
    .ticker-item img { width: 32px; height: 32px; }
    .ticker-item span { font-size: 0.5rem; }
    .ticker-sub { font-size: 0.55rem; padding: 0 16px; }
    /* ticker fade removed */
}

/* ============================================
   USE CASES (video tabs)
   ============================================ */
.usecases {
    padding: 64px 0 80px;
    scroll-margin-top: 90px;
    position: relative;
    background:
        radial-gradient(ellipse at top, rgba(93,186,59,0.06), transparent 60%),
        var(--bg);
    border-top: 1px solid rgba(93,186,59,0.12);
    border-bottom: 1px solid rgba(93,186,59,0.12);
}
.uc-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    margin: 28px auto 36px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 4px 16px;
    -webkit-overflow-scrolling: touch;
}
.uc-tabs::-webkit-scrollbar { display: none; }
.uc-tab {
    flex: 0 0 auto;
    scroll-snap-align: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 11px 18px;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
    border-radius: 2px;
    white-space: nowrap;
}
.uc-tab:hover { color: var(--text); border-color: var(--accent); }
.uc-tab.is-active {
    background: var(--accent);
    color: #0a0a0a;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 6px 20px rgba(93,186,59,0.25);
}

.uc-stage {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    max-width: 920px;
    margin: 0 auto;
}
.uc-phone {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 680/1386;
    background: #000;
    border: 4px solid #0e0e0e;
    border-radius: 34px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(93,186,59,0.35),
        0 20px 50px rgba(0,0,0,0.55);
}
.uc-phone-notch {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 6px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    z-index: 2;
}
.uc-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.uc-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px; height: 64px;
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .25s ease, transform .25s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 4px rgba(93,186,59,0.2);
}
.uc-play svg { width: 26px; height: 26px; margin-left: 3px; }
.uc-play:hover { transform: scale(1.08); }
.uc-play.is-hidden { opacity: 0; pointer-events: none; }

.uc-meta-card { padding: 0; }
.uc-meta-inner { padding: 28px 32px; }
.uc-meta-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 14px;
}
.uc-meta-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0 0 14px;
}
.uc-meta-desc {
    font-family: var(--font-body);
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 18px;
}
.uc-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.uc-meta-list li {
    font-family: var(--font-body);
    color: var(--text-body);
    font-size: 0.88rem;
    padding-left: 22px;
    position: relative;
    line-height: 1.4;
}
.uc-meta-list li::before {
    content: '▸';
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 0;
}

.uc-disclaimer {
    display: block;
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Mobile tabs scrollable: visual hint via fade + scroll arrows */
.uc-tabs-wrap {
    position: relative;
}
/* Use case mobile nav (prev/dots/next) — injected by JS */
.uc-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 4px auto 28px;
}
@media (max-width: 860px) {
    .uc-nav { display: flex; }
}
.uc-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(93,186,59,0.4);
    background: rgba(255,255,255,0.05);
    color: var(--accent);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    padding: 0;
    border-radius: 50%;
    transition: background .15s, transform .1s;
}
.uc-nav-btn:active {
    background: var(--accent);
    color: #000;
    transform: scale(0.95);
}
.uc-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}
.uc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all .25s ease;
}
.uc-dot.is-active {
    background: var(--accent);
    width: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(93,186,59,0.5);
}
@media (max-width: 860px) {
    .uc-stage {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 460px;
    }
    .uc-tabs {
        justify-content: flex-start;
        padding: 4px 24px;
        gap: 6px;
        position: relative;
        mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    }
    .uc-tab { font-size: 0.72rem; padding: 12px 18px; min-height: 42px; }
    .uc-tab.is-active {
        animation: uc-tab-pulse 1.4s ease-out 1;
    }
    .uc-disclaimer { font-size: 0.72rem; }
}
@keyframes uc-tab-pulse {
    0% { box-shadow: 0 0 0 0 var(--accent), 0 0 0 0 rgba(93,186,59,0.5); }
    100% { box-shadow: 0 0 0 1px var(--accent), 0 6px 20px rgba(93,186,59,0.25); }
}
@media (max-width: 600px) {
    .usecases { padding: 48px 0 56px; }
    .uc-tabs { gap: 6px; margin-bottom: 24px; }
    .uc-tab { font-size: 0.62rem; padding: 11px 14px; letter-spacing: 0.04em; }
    .uc-phone { max-width: 220px; border-radius: 30px; border-width: 3px; }
    .uc-meta-inner { padding: 22px 22px; }
    .uc-meta-title { font-size: 1.15rem; }
    .uc-meta-desc { font-size: 0.88rem; }
}

/* ============================================
   FINAL CTA (post-FAQ closer)
   ============================================ */
.final-cta {
    padding: 96px 0;
    background:
        radial-gradient(ellipse at center, rgba(93,186,59,0.12), transparent 65%),
        var(--bg);
    border-top: 1px solid rgba(93,186,59,0.2);
    border-bottom: 1px solid rgba(93,186,59,0.2);
}
.final-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}
.final-cta-title {
    font-family: var(--font-pixel);
    font-size: clamp(18px, 4.2vw, 40px);
    color: var(--accent);
    margin: 0 0 20px;
    text-shadow: 0 0 24px rgba(93,186,59,0.6);
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.final-cta-title .fct-line2 { display: block; margin-top: 6px; }
.final-cta-sub {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0 0 32px;
}
.final-cta-btn {
    font-size: 14px !important;
    padding: 22px 48px !important;
    margin-bottom: 18px;
}
.final-cta-note {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .final-cta { padding: 64px 0; }
    .final-cta-sub { font-size: 0.95rem; }
    .final-cta-btn { font-size: 13px !important; padding: 20px 28px !important; }
    .final-cta-note { font-size: 0.62rem; }
}

/* ============================================
   PRICE GUARANTEE (above CTA)
   ============================================ */
.price-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(252, 219, 5, 0.08);
    border: 1px solid var(--yellow);
    border-radius: 4px;
    padding: 12px 16px;
    margin: 0 auto 18px;
    max-width: 380px;
}
.price-guarantee-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.price-guarantee-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.4;
    text-align: left;
}
.price-guarantee-text strong {
    color: var(--yellow);
    font-weight: 700;
}
@media (max-width: 600px) {
    .price-guarantee { padding: 10px 14px; gap: 8px; }
    .price-guarantee-text { font-size: 0.78rem; }
}

/* ============================================
   PRICE ANCHOR (vs hiring a team) — 2-col card
   ============================================ */
.price-anchor {
    max-width: 980px;
    margin: 36px auto 32px;
    padding: 0;
}
.price-anchor-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}
.pa-col { padding: 44px 40px; display: flex; flex-direction: column; }
.pa-col-team { text-align: left; }
.pa-col-c4g {
    text-align: center;
    align-items: center;
}
.pa-divider {
    width: 1px;
    background: var(--border);
    margin: 32px 0;
}
.pa-col-title {
    font-family: var(--font-pixel);
    font-size: 0.95rem;
    color: var(--text);
    margin: 0 0 28px;
    letter-spacing: 0.02em;
    line-height: 1.3;
}
.pa-col-c4g .pa-col-title { display: none; }
.pa-col-team .pa-list { flex: 1; }
.pa-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}
.pa-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-body);
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}
.pa-list li:last-child { border-bottom: none; }
.pa-list li span:last-child { color: var(--text); font-weight: 600; }
.pa-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 4px;
    margin-top: 8px;
    border-top: 2px solid var(--text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 700;
}
.pa-total-amount { color: var(--red); font-size: 1.25rem; }
.pa-note {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 18px 0 0;
    line-height: 1.5;
}
.pa-c4g-badge {
    display: inline-block;
    background: rgba(252, 219, 5, 0.1);
    border: 1px solid var(--yellow);
    color: var(--yellow);
    font-family: var(--font-pixel);
    font-size: 0.62rem;
    padding: 8px 14px;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 2px;
}
.pa-c4g-amount {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(2.8rem, 5.5vw, 3.8rem);
    color: var(--accent);
    text-shadow: 0 0 24px rgba(93,186,59,0.4);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.pa-c4g-period {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.pa-c4g-old {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.pa-c4g-next {
    color: #ff4d4d;
    font-weight: 700;
}
.pa-c4g-lock {
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.5;
    color: #d8d8d8;
    background: rgba(93,186,59,0.08);
    border: 1px solid rgba(93,186,59,0.35);
    border-radius: 6px;
    padding: 10px 14px;
    margin: 4px 0 18px;
    text-align: left;
}
.pa-c4g-lock strong { color: var(--accent, #5dba3b); }
.pa-c4g-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    text-align: left;
    width: 100%;
    max-width: 320px;
}
.pa-c4g-list li {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-body);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.4;
}
.pa-c4g-list li:last-child { border-bottom: none; }
.pa-c4g-guarantee {
    margin: 0 auto 20px !important;
    width: 100%;
    max-width: 340px;
}
.pa-c4g-cta {
    font-size: 13px !important;
    padding: 18px 32px !important;
    margin-bottom: 12px;
    width: auto;
}
.pa-c4g-note {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 8px 0 0;
    text-align: center;
}
@media (max-width: 760px) {
    .price-anchor { max-width: calc(100vw - 40px); margin-left: auto; margin-right: auto; overflow: hidden; box-sizing: border-box; }
    .price-anchor-grid {
        grid-template-columns: 1fr;
        overflow: hidden;
    }
    .pa-col { min-width: 0; max-width: 100%; }
    .pa-divider {
        width: auto;
        height: 1px;
        margin: 0 24px;
    }
    .pa-col { padding: 28px 24px; }
    .pa-list li { font-size: 0.85rem; padding: 9px 0; }
    .pa-total { font-size: 0.95rem; }
    .pa-total-amount { font-size: 1.1rem; }
}

/* ============================================
   TESTIMONIALS (Telegram screenshots)
   ============================================ */
.testimonials {
    padding: 80px 0;
    scroll-margin-top: 90px;
    background:
        radial-gradient(ellipse at bottom, rgba(93,186,59,0.05), transparent 60%),
        var(--bg);
}
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 980px;
    margin: 40px auto 0;
}
.testi-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.testi-img {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 680/1280;
    object-fit: cover;
    background: #000;
    border: 3px solid #0e0e0e;
    border-radius: 28px;
    box-shadow:
        0 0 0 1px rgba(93,186,59,0.3),
        0 20px 50px rgba(0,0,0,0.55);
    display: block;
    position: relative;
    z-index: 2;
}
.testimonials {
    position: relative;
    isolation: isolate;
}
.testi-cap {
    font-family: var(--font-body);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.testi-name {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 700;
}
.testi-role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}
/* ============================================
   FOUNDER REVEAL
   ============================================ */
.founder-reveal {
    padding: 64px 0 32px;
    position: relative;
    z-index: 1;
}
.fr-card {
    max-width: 820px;
    margin: 0 auto;
}
.fr-inner {
    background: #1a1a1a;
    border: 1px solid rgba(93,186,59,0.25);
    padding: 40px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.fr-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    border: 3px solid var(--accent, #5dba3b);
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(93,186,59,0.2), 0 10px 30px rgba(0,0,0,0.5);
}
.fr-content { flex: 1; min-width: 0; }
.fr-hello {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text);
    margin: 0 0 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.fr-story {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #d8d8d8;
    line-height: 1.6;
    margin: 0 0 14px;
}
.fr-story strong { color: var(--text); }
.fr-links {
    display: flex;
    gap: 22px;
    margin: 22px 0 8px;
    flex-wrap: wrap;
}
.fr-links a {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--accent, #5dba3b);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.15s ease;
}
.fr-links a:hover { color: #fff; }
.fr-signature {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    text-align: right;
    margin: 18px 0 0;
    font-style: italic;
}
@media (max-width: 860px) {
    .founder-reveal { padding: 48px 0 24px; }
    .fr-inner { flex-direction: column; padding: 28px 22px; gap: 22px; align-items: center; }
    .fr-photo { width: 120px; height: 120px; }
    .fr-content { text-align: center; }
    .fr-signature { text-align: center; }
    .fr-links { justify-content: center; gap: 16px; }
    .fr-hello { font-size: 1.15rem; }
}

@media (max-width: 860px) {
    .testimonials { padding: 56px 0; }
    .testi-grid {
        display: flex;
        grid-template-columns: none;
        max-width: 100%;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 20px 20px;
        margin-left: -20px;
        margin-right: -20px;
    }
    .testi-grid::-webkit-scrollbar { display: none; }
    .testi-card {
        flex: 0 0 78%;
        scroll-snap-align: center;
    }
    .testi-img { max-width: 100%; }
    /* Uniform CTAs to match hero CTA style on mobile */
    .mc-btn.mc-btn-primary:not(.nav-cta-btn) {
        font-size: 12px !important;
        padding: 18px 36px !important;
        max-width: calc(100% - 48px);
        box-sizing: border-box;
        white-space: normal;
        line-height: 1.4;
    }
}
