:root {
    --primary: #ff0000;
    --bg-body: #050505;
    --text-main: #e0e0e0;
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "Courier New", Courier, monospace;

    /* Default mouse position off-screen initially */
    --x: 50%;
    --y: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}



/* NOSTALGIA EFFECTS */

/* 1. Base Film Grain (Clean / Minimal) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
    opacity: 0.02;
    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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

/* 2. Subtle Blur Overlay (Hero Only) */
.decoder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;

    /* Subtle constant blur effect */
    backdrop-filter: grayscale(0.3) contrast(1.1) brightness(0.95);
    -webkit-backdrop-filter: grayscale(0.3) contrast(1.1) brightness(0.95);
}

.decoder-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    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.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Layout - Side by Side */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-screenshot {
    flex-shrink: 0;
}

/* Spotlight */
.logo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9) 20%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    filter: blur(50px);
    border-radius: 50%;
    opacity: 0.7;
}

.logo-wrapper {
    margin-bottom: 30px;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: contrast(1.1) sepia(0.1);
}

h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1.0625;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #f5f5f7;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    animation: text-flicker 5s infinite;
}

@keyframes text-flicker {

    0%,
    96%,
    100% {
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    97% {
        text-shadow: 2px 0 0 rgba(255, 0, 0, 0.5), -2px 0 0 rgba(0, 255, 255, 0.5);
    }

    98% {
        text-shadow: -2px 0 0 rgba(255, 0, 0, 0.5), 2px 0 0 rgba(0, 255, 255, 0.5);
    }
}

.gradient-text {
    color: #fff;
}

.subtitle {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #a0a0a0;
    max-width: 680px;
    margin: 0 auto 50px;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10001;
}

.cta-button {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* CLASSIC RED BUTTON */
.cta-button.primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary:hover {
    background-color: #ff1a1a;
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
}

/* Statement / Manifesto Section */
.statement {
    padding: 100px 20px 80px;
    text-align: center;
}

.statement h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #e0e0e0;
    letter-spacing: -0.01em;
}

.statement-text {
    max-width: 700px;
    margin: 0 auto;
}

.statement p {
    font-family: var(--font-mono);
    font-size: 18px;
    line-height: 1.6;
    color: #888;
    margin-bottom: 30px;
    text-align: left;
    border-left: 2px solid #333;
    padding-left: 20px;
}

/* Signup Section */
.signup {
    padding: 0 20px 100px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Screenshot Section */
.screenshot-section {
    padding: 60px 20px;
    text-align: center;
}

.screenshot-wrapper {
    display: inline-block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(255, 0, 0, 0.15),
        0 0 80px rgba(255, 0, 0, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.extension-screenshot {
    display: block;
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.signup-label {
    font-family: var(--font-mono);
    font-size: 16px;
    margin-bottom: 24px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.signup-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    border: 1px solid #333;
    z-index: 10001;
}

.signup-input {
    background: #000;
    border: none;
    border-right: 1px solid #333;
    padding: 16px 20px;
    color: #e0e0e0;
    font-family: var(--font-mono);
    font-size: 16px;
    width: 100%;
    outline: none;
    border-radius: 0;
}

.signup-input::placeholder {
    color: #444;
}

.signup-input:focus {
    background: #0a0a0a;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.signup-button {
    background: #111;
    color: #666;
    border: none;
    border-radius: 0;
    width: 60px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-button:hover {
    background: #cc0000;
    color: #fff;
}

.success-message {
    margin-top: 20px;
    color: #4cd964;
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-message.visible {
    display: block;
    opacity: 1;
}

.error-message {
    margin-top: 20px;
    color: #ff4444;
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.error-message.visible {
    display: block;
    opacity: 1;
}

/* Footer */
footer {
    color: #444;
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #111;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
.animate-up,
.animate-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

.animate-float {
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Hero Note (below CTA) */
.hero-note {
    font-family: var(--font-mono);
    font-size: 14px;
    color: #666;
    margin-top: 24px;
    letter-spacing: 0.02em;
}

/* Disclaimer styling */
.statement p.disclaimer {
    font-style: italic;
    color: #666;
    border-left-color: #444;
}

/* Why Section separator */
.why-section {
    border-top: 1px solid #222;
    margin-top: 40px;
}

/* ======================
   MOBILE: Stack layout vertically
   ====================== */
@media (max-width: 768px) {

    .hero-layout {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-screenshot {
        order: -1;
    }

    .extension-screenshot {
        max-width: 260px;
    }

    h1 {
        font-size: 36px;
    }

    .hero-logo {
        max-width: 200px;
    }

    .subtitle {
        font-size: 18px;
    }

    .statement h2 {
        font-size: 28px;
    }

    .hero {
        padding-top: 60px;
    }
}