@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap");

/* --- VARIABLES --- */
:root {
    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --accent-cyan: #06b6d4;
    --accent-purple: #7000ff;
    --accent-orange: #ff3d00;
    --text-main: #e5e5e5;
    --text-muted: #a3a3a3;

    --font-display: "Inter", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    --border-color: #262626;
    --glass-border: #262626;
    --glass-bg: rgba(10, 10, 10, 0.85);
    --blur: 16px;
    --radius-base: 4px;
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    /* CRITICAL FIX: Prevent horizontal scroll at root level */
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    /* CRITICAL FIX: Ensure body doesn't exceed viewport */
    overflow-x: hidden;
    max-width: 100vw;
    line-height: 1.5;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 800;
}
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal.fade-left {
    transform: translateX(30px);
}
.reveal.in-view.fade-left {
    transform: translateX(0);
}

/* --- NAV --- */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-radius: var(--radius-base);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.nav-brand .dot {
    color: var(--accent-cyan);
}
.nav-cta {
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--bg-card);
    padding: 8px 20px;
    border-radius: var(--radius-base);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}
.nav-cta:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #050505;
}

/* --- FIXED MOBILE NAV --- */
@media (max-width: 640px) {
    .glass-nav {
        /* Safe centered width */
        width: 92%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        /* Ensure single row layout */
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 10px 16px;
        gap: 0;
    }
    .nav-brand {
        font-size: 1rem;
        white-space: nowrap;
    }
    .nav-cta {
        font-size: 0.85rem;
        padding: 8px 16px;
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .glass-nav {
        width: 95%;
        padding: 8px 12px;
    }
    .nav-brand {
        font-size: 0.95rem;
    }
    .nav-cta {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
}

/* --- HERO --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Clips the glows so they don't overflow */
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
}
.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -10%;
    left: -10%;
}
.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    top: 50%;
    transform: translateY(-50%);
    right: -10%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-base);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.badge .pulse {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.hero-content h1 {
    font-size: clamp(3.5rem, 5vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}
.text-gradient {
    background: linear-gradient(to right, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 450px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-cyan);
    color: #050505;
    padding: 18px 36px;
    border-radius: var(--radius-base);
    font-weight: 700;
    font-family: var(--font-display);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
    border: 1px solid var(--border-color);
}
.primary-btn:hover {
    transform: scale(1.05);
}
.primary-btn i {
    transition: transform 0.2s;
}
.primary-btn:hover i {
    transform: translateX(4px);
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.avatars {
    display: flex;
}
.avatars .av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-right: -10px;
}

/* 3D Floating Stack */
.floating-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    perspective: 1000px;
    transform-style: preserve-3d;
}
.card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-base);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.card-back {
    background: var(--bg-card);
    transform: translateZ(-100px) translateY(-40px) translateX(40px)
        rotateY(-10deg);
    opacity: 0.5;
}
.card-mid {
    background: var(--bg-card);
    transform: translateZ(-50px) translateY(-20px) translateX(20px)
        rotateY(-5deg);
    opacity: 0.7;
}
.card-front {
    --hero-card-image: linear-gradient(135deg, #0a0a0a, #050505);
    background: linear-gradient(135deg, #0a0a0a, #050505);
    transform: translateZ(0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow:
        0 0 0 1px var(--border-color),
        0 30px 60px rgba(0, 0, 0, 0.8);
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.card-front::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-card-image);
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    transform: scale(1.05);
    transition:
        transform 6s ease,
        opacity 0.3s ease;
    z-index: 0;
}

.card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    z-index: 1;
}

.card-front:hover::before {
    transform: scale(1.12);
    opacity: 1;
}

.card-front > * {
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.play-trigger {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border-radius: var(--radius-base);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: 0.3s;
}
.play-trigger:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #050505;
    transform: scale(1.1);
}
.card-stat {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-base);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.card-stat span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
}
.card-stat strong {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

/* --- MARQUEE --- */
.marquee-strip {
    background: var(--bg-card);
    color: var(--text-main);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    transform: rotate(-2deg) scale(1.05);
    margin: 60px 0;
    /* Safety constraint */
    max-width: 100vw;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-base);
}
.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}
.marquee-content span {
    margin: 0 30px;
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* --- BENTO GRID --- */
.gallery-section {
    padding: 100px 24px;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.highlight {
    color: var(--accent-cyan);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (min-width: 900px) {
    .span-2 {
        grid-column: span 2;
    }
}

.bento-item {
    position: relative;
    border-radius: var(--radius-base);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
    box-shadow: 0 0 0 1px var(--border-color);
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.8),
        0 0 0 1px var(--accent-cyan);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}
.bento-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.1);
}

/* UI Overlays */
.yt-ui-top {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.stat-pill {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-base);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateY(-10px);
    opacity: 0;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--font-mono);
}

.stat-pill.ctr {
    color: var(--accent-cyan);
}

.bento-item:hover .stat-pill {
    opacity: 1;
    transform: translateY(0);
}

.yt-ui-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        transparent 100%
    );
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
}

.duration-badge {
    background: var(--bg-card);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 3px 6px;
    border-radius: var(--radius-base);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.retention-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--border-color);
    width: 100%;
    z-index: 5;
}
.retention-fill {
    height: 100%;
    background: #ff0000;
    width: 0%;
    box-shadow: 0 0 10px #ff0000;
}

.bento-content {
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: radial-gradient(
        circle at top right,
        rgba(6, 182, 212, 0.12),
        #050505
    );
}
.bento-center h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.bento-cta {
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 24px;
    cursor: pointer;
    text-decoration: none;
    border-radius: var(--radius-base);
}

.add-slot-graphic {
    width: 60px;
    aspect-ratio: 16/9;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-base);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--text-muted);
}

.add-slot-graphic i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.bento-cta:hover {
    border-color: var(--accent-cyan);
    background: radial-gradient(
        circle at center,
        rgba(6, 182, 212, 0.08),
        #050505
    );
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.bento-cta:hover .add-slot-graphic {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
    width: 80px;
}

.bento-cta h3 {
    font-size: 1.2rem;
    margin: 0 0 8px;
    color: var(--text-main);
    font-weight: 700;
}

.bento-cta p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
    max-width: 200px;
}

/* --- FEATURES --- */
.services {
    padding: 100px 24px;
}
.features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-base);
    transition: 0.3s;
}
.feature-card:hover {
    background: rgba(6, 182, 212, 0.05);
    border-color: var(--accent-cyan);
}
.feature-card .icon {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-muted);
}

/* --- GUARANTEE --- */
.guarantee-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(
            circle at top right,
            rgba(6, 182, 212, 0.08),
            transparent 55%
        )
        var(--bg-dark);
}
.guarantee-section::before {
    content: "";
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: clamp(16px, 4vw, 32px);
    pointer-events: none;
}
.guarantee-section .section-header {
    margin-bottom: 30px;
}
.guarantee-section p {
    color: var(--text-muted);
}
.guarantee-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 32px;
    align-items: stretch;
}
.challenge-card {
    flex: 1;
    padding: 40px;
    border-radius: clamp(16px, 3vw, 28px);
    border: 1px solid rgba(6, 182, 212, 0.35);
    box-shadow:
        0 0 0 1px rgba(6, 182, 212, 0.25),
        0 30px 80px rgba(0, 0, 0, 0.8);
    background: linear-gradient(
        135deg,
        rgba(6, 182, 212, 0.18),
        rgba(112, 0, 255, 0.18)
    );
    backdrop-filter: blur(18px);
}
.challenge-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}
.challenge-card p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
}
.why-it-works {
    flex: 0.8;
    padding: 40px;
    border-radius: clamp(16px, 3vw, 28px);
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.why-it-works strong {
    color: var(--text-main);
}

/* --- PRICING --- */
.pricing-section {
    padding: 100px 0;
    position: relative;
    /* CRITICAL FIX: Cuts off the 120% width glow */
    overflow: hidden;
}
.pricing-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.pricing-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--accent-purple),
        var(--accent-cyan)
    );
    filter: blur(80px);
    opacity: 0.25;
    z-index: 0;
}

.pricing-card {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-base);
    padding: 50px;
    text-align: center;
    box-shadow:
        0 0 0 1px var(--border-color),
        0 20px 40px rgba(0, 0, 0, 0.6);
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.price {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    line-height: 1;
    color: var(--text-main);
}
.period {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-mono);
}

.card-divider {
    height: 1px;
    background: var(--border-color);
    margin: 30px 0;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    text-align: center;
}
.features-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-main);
}
.features-list li i {
    color: var(--accent-cyan);
}

.full-width-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent-cyan);
    color: #050505;
    padding: 20px;
    border-radius: var(--radius-base);
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
    transition: 0.3s;
    border: 1px solid var(--border-color);
}
.full-width-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.4);
}

.guarantee {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.plan-note {
    margin-top: 30px;
    padding: 20px 24px;
    border-radius: var(--radius-base);
    border: 1px dashed rgba(6, 182, 212, 0.4);
    background: rgba(6, 182, 212, 0.06);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: center;
}
.plan-note strong {
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 6px;
}

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    margin-bottom: 10px;
}
.links-col,
.social-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.social-col a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.support-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--text-muted);
    font-weight: 600;
}
.support-link:hover {
    color: var(--text-main);
}
.links-col a,
.social-col a {
    color: var(--text-muted);
    font-weight: 500;
}
.links-col a:hover,
.social-col a:hover {
    color: var(--text-main);
}
.footer-bar {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.footer-bar .legal-note {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 6px;
    color: var(--text-muted);
}

/* --- LEGAL PAGES --- */
.legal-page {
    padding: 140px 24px 120px;
    max-width: 800px;
    margin: 0 auto;
}
.legal-page h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 10px;
}
.legal-meta {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-family: var(--font-mono);
}
.legal-page h2 {
    font-size: 1.4rem;
    margin: 40px 0 12px;
}
.legal-page p {
    color: var(--text-muted);
    margin-bottom: 15px;
}
.legal-page ul {
    margin: 0 0 20px 20px;
    color: var(--text-muted);
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- MOBILE LAYOUT ADJUSTMENTS --- */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        align-items: center;
    }
    .hero-visual {
        display: none;
    }
    .marquee-strip {
        transform: rotate(0);
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .span-2,
    .span-row-2 {
        grid-column: auto;
        grid-row: auto;
    }
    .guarantee-content {
        flex-direction: column;
    }
    .challenge-card,
    .why-it-works {
        padding: 30px;
    }
}

/* --- ADD TO YOUR STYLE.CSS --- */

/* Refined Typography for that "High-Tech" look */
h1, h2, h3 {
    letter-spacing: -0.03em;
    text-transform: uppercase; /* Makes it feel more industrial */
}

/* The "Lab" Border Effect */
.border-beam {
    position: relative;
    border: 1px solid var(--border-color);
    background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.05), transparent);
}

.border-beam::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    background-size: 200% 100%;
    animation: beam 3s linear infinite;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes beam {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Improved Guarantee Section */
.guarantee-section {
    padding: 120px 24px;
    background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.1), transparent 70%);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2px; /* Creates a thin "grid line" effect */
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-base);
    overflow: hidden;
}

.guarantee-box {
    background: var(--bg-dark);
    padding: 60px;
}

.challenge-title {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

/* Technical Pricing Card */
.pricing-card {
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent-cyan);
}

.price-container {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 30px 0;
}

.technical-list {
    text-align: left;
    display: inline-block;
}

.technical-list li {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.technical-list li b {
    color: var(--text-main);
}

/* Section Dividers */
.scanline-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 80px 0;
}

/* --- ULTIMATE MOBILE FIX FOR GUARANTEE SECTION --- */

@media (max-width: 900px) {
    .guarantee-grid {
        grid-template-columns: 1fr !important;
        gap: 0; /* Removing gap to make it look like one seamless card */
        border-radius: var(--radius-base);
        margin: 0 10px; /* Gives it a little breathing room from the screen edge */
    }

    .guarantee-box {
        padding: 40px 20px !important;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .guarantee-box h2 {
        /* This prevents the word PERFORMANCE from breaking the layout */
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important; 
        line-height: 1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .guarantee-box p {
        font-size: 0.95rem !important;
        line-height: 1.5;
        max-width: 100%;
    }

    /* Fixing the Logic Protocol box alignment */
    .guarantee-box:last-child {
        padding: 30px 20px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-top: 1px solid var(--border-color);
    }

    .challenge-title {
        font-size: 0.7rem !important;
        margin-bottom: 15px;
    }

    /* Ensures the [ LOGIC_PROTOCOL ] header is centered */
    .guarantee-box:last-child p:first-child {
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
}