:root {
    --black: #0a0a0a;
    --black-alt: #1a1a1a;
    --neon-blue: #00ffff;
    --white: #f0f0f0;
    --grey: #888;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

.neon-text {
    color: var(--neon-blue);
    text-shadow:
        0 0 5px var(--neon-blue),
        0 0 10px rgba(0, 255, 255, 0.5);
}

.monospace {
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.05em;
}

.glitch-effect {
    position: relative;
}
.glitch-effect::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: -2px;
    width: 100%;
    height: 100%;
    background: var(--black);
    overflow: hidden;
    color: var(--neon-blue);
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 2px;
    width: 100%;
    height: 100%;
    background: var(--black);
    overflow: hidden;
    color: var(--neon-blue);
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    5% {
        clip: rect(12px, 9999px, 60px, 0);
    }
    10% {
        clip: rect(40px, 9999px, 42px, 0);
    }
    15% {
        clip: rect(32px, 9999px, 80px, 0);
    }
    20% {
        clip: rect(15px, 9999px, 25px, 0);
    }
    25% {
        clip: rect(52px, 9999px, 58px, 0);
    }
    30% {
        clip: rect(10px, 9999px, 99px, 0);
    }
    35% {
        clip: rect(70px, 9999px, 75px, 0);
    }
    40% {
        clip: rect(65px, 9999px, 70px, 0);
    }
    45% {
        clip: rect(12px, 9999px, 48px, 0);
    }
    50% {
        clip: rect(80px, 9999px, 85px, 0);
    }
    55% {
        clip: rect(30px, 9999px, 45px, 0);
    }
    60% {
        clip: rect(18px, 9999px, 28px, 0);
    }
    65% {
        clip: rect(50px, 9999px, 60px, 0);
    }
    70% {
        clip: rect(25px, 9999px, 35px, 0);
    }
    75% {
        clip: rect(75px, 9999px, 85px, 0);
    }
    80% {
        clip: rect(45px, 9999px, 55px, 0);
    }
    85% {
        clip: rect(10px, 9999px, 20px, 0);
    }
    90% {
        clip: rect(60px, 9999px, 70px, 0);
    }
    95% {
        clip: rect(35px, 9999px, 45px, 0);
    }
    100% {
        clip: rect(15px, 9999px, 25px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(22px, 9999px, 88px, 0);
    }
    5% {
        clip: rect(90px, 9999px, 95px, 0);
    }
    10% {
        clip: rect(5px, 9999px, 15px, 0);
    }
    15% {
        clip: rect(70px, 9999px, 80px, 0);
    }
    20% {
        clip: rect(35px, 9999px, 45px, 0);
    }
    25% {
        clip: rect(60px, 9999px, 70px, 0);
    }
    30% {
        clip: rect(12px, 9999px, 22px, 0);
    }
    35% {
        clip: rect(85px, 9999px, 90px, 0);
    }
    40% {
        clip: rect(40px, 9999px, 50px, 0);
    }
    45% {
        clip: rect(20px, 9999px, 30px, 0);
    }
    50% {
        clip: rect(65px, 9999px, 75px, 0);
    }
    55% {
        clip: rect(5px, 9999px, 10px, 0);
    }
    60% {
        clip: rect(55px, 9999px, 65px, 0);
    }
    65% {
        clip: rect(28px, 9999px, 38px, 0);
    }
    70% {
        clip: rect(75px, 9999px, 85px, 0);
    }
    75% {
        clip: rect(15px, 9999px, 25px, 0);
    }
    80% {
        clip: rect(50px, 9999px, 60px, 0);
    }
    85% {
        clip: rect(30px, 9999px, 40px, 0);
    }
    90% {
        clip: rect(10px, 9999px, 20px, 0);
    }
    95% {
        clip: rect(68px, 9999px, 78px, 0);
    }
    100% {
        clip: rect(42px, 9999px, 52px, 0);
    }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: clamp(60px, 15vw, 200px);
    font-weight: 700;
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    left: -5px;
}
.hero-subtitle {
    font-size: clamp(20px, 4vw, 32px);
    max-width: 25ch;
    margin: 30px 0 40px 0;
    transform: translateX(3px);
}
.cta-button {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    background-color: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.8);
}
.cta-button:hover {
    background-color: var(--neon-blue);
    color: var(--black);
    box-shadow:
        0 0 25px rgba(0, 255, 255, 0.6),
        0 8px 32px rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
}
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(
            to right,
            rgba(0, 255, 255, 0.1) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(0, 255, 255, 0.1) 1px,
            transparent 1px
        );
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.3;
}

/* --- TRUST SECTION --- */
#trust {
    background-color: var(--black-alt);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}
.section-title {
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.superpowers {
    display: grid;
    gap: 50px;
}

.power-item {
    border-left: 2px solid var(--neon-blue);
    padding-left: 30px;
    transition:
        transform 0.3s ease-out,
        box-shadow 0.3s ease-out,
        border-left-width 0.3s ease-out;
    will-change: transform, box-shadow, border-left-width;
}

.power-item:hover {
    transform: translateY(-8px);
    border-left-width: 4px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.6),
        0 0 12px rgba(0, 255, 255, 0.25);
}

.power-item h3 {
    font-size: 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.power-item h3::before {
    content: ">";
    font-family: "JetBrains Mono", monospace;
    margin-right: 15px;
    color: var(--neon-blue);
}
.power-item p {
    color: var(--grey);
    max-width: 60ch;
}

/* --- ACTION/FORM SECTION --- */
#action .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.form-intro h2 {
    margin-bottom: 20px;
}
.form-intro p {
    max-width: 50ch;
    color: var(--grey);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-group {
    position: relative;
}
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--grey);
    color: var(--white);
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
    padding: 15px 0;
    transition: border-color 0.3s;
}
.form-input:focus {
    outline: none;
    border-bottom-color: var(--neon-blue);
    caret-color: var(--neon-blue);
}
.form-label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--grey);
    pointer-events: none;
    transition: all 0.3s;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 0;
    font-size: 12px;
    color: var(--neon-blue);
}
textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* --- FOOTER --- */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--black-alt);
}
footer p {
    font-family: "JetBrains Mono", monospace;
    color: var(--grey);
    letter-spacing: 0.1em;
    font-size: 14px;
}
.footer-links {
    margin-top: 15px;
}
.footer-links a {
    color: var(--grey);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 13px;
}
.footer-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}
.footer-links .separator {
    color: var(--grey);
    margin: 0 15px;
    opacity: 0.5;
}

/* --- LANGUAGE SWITCHER --- */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.lang-button {
    background-color: var(--black-alt);
    border: 1px solid var(--grey);
    color: var(--grey);
    padding: 8px 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
}
.lang-button:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}
.lang-button.active {
    background-color: var(--neon-blue);
    color: var(--black);
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.lang-button:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* --- THANK YOU PAGE SPECIFIC --- */
body.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.thank-you-container {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 40px;
    max-width: 800px;
}

.success-icon {
    font-size: 80px;
    color: var(--neon-blue);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--neon-blue);
    text-shadow:
        0 0 10px var(--neon-blue),
        0 0 20px rgba(0, 255, 255, 0.5);
}

.thank-you-message {
    font-size: 20px;
    color: var(--grey);
    margin-bottom: 30px;
    font-family: "JetBrains Mono", monospace;
}

.countdown {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
}

.countdown-number {
    color: var(--neon-blue);
    font-weight: 700;
    font-family: "JetBrains Mono", monospace;
    font-size: 24px;
}

/* --- PRIVACY PAGE --- */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.privacy-header {
    text-align: center;
    margin-bottom: 80px;
    padding-top: 40px;
}

.privacy-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.privacy-updated {
    color: var(--grey);
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
}

.privacy-section {
    margin-bottom: 60px;
    border-left: 2px solid var(--neon-blue);
    padding-left: 30px;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border-left-width: 4px;
    padding-left: 28px;
}

.privacy-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
}

.privacy-section h2::before {
    content: ">";
    font-family: "JetBrains Mono", monospace;
    margin-right: 15px;
}

.privacy-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    color: var(--white);
}

.privacy-section p,
.privacy-section li {
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
}

.privacy-section li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.privacy-section li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--neon-blue);
}

.privacy-section a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s;
}

.privacy-section a:hover {
    text-shadow: 0 0 5px var(--neon-blue);
}

/* --- TERMS PAGE --- */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.terms-header {
    text-align: center;
    margin-bottom: 80px;
    padding-top: 40px;
}

.terms-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.terms-updated {
    color: var(--grey);
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
}

.terms-section {
    margin-bottom: 60px;
    border-left: 2px solid var(--neon-blue);
    padding-left: 30px;
    transition: all 0.3s ease;
}

.terms-section:hover {
    border-left-width: 4px;
    padding-left: 28px;
}

.terms-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
}

.terms-section h2::before {
    content: ">";
    font-family: "JetBrains Mono", monospace;
    margin-right: 15px;
}

.terms-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    color: var(--white);
}

.terms-section p,
.terms-section li {
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-section ul {
    list-style: none;
    padding-left: 0;
}

.terms-section li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.terms-section li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--neon-blue);
}

.terms-section a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s;
}

.terms-section a:hover {
    text-shadow: 0 0 5px var(--neon-blue);
}

/* --- SHARED LEGAL PAGES STYLES --- */
.back-button {
    display: inline-block;
    margin: 40px 0;
    font-family: "JetBrains Mono", monospace;
    background-color: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 12px 24px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.back-button:hover {
    background-color: var(--neon-blue);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.contact-info {
    background: var(--black-alt);
    padding: 25px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin: 20px 0;
}

.contact-info p {
    margin: 5px 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
}

/* --- RESPONSIVE --- */
@media (min-width: 768px) {
    .superpowers {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1024px) {
    #action .container {
        grid-template-columns: 1fr 1.5fr;
        align-items: center;
    }
    .superpowers {
        grid-template-columns: repeat(3, 1fr);
    }
}