:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --purple: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Animated Background Orbs */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.15);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.1);
    bottom: -200px;
    right: -100px;
    animation-duration: 25s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.1);
    top: 40%;
    left: 60%;
    animation-duration: 30s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.2);
    }
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.logo-container {
    display: block;
    text-decoration: none;
    height: 35px;
    width: auto;
}

.logo-img {
    height: 35px !important;
    width: auto !important;
    max-width: 200px !important;
    display: block !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-cta {
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
    transform: scale(1.05);
    background: #e4e4e7;
}

/* Typography & Utilities */
.eyebrow {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15vh;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 0;
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .hero-content {
        flex: 1;
        text-align: left;
        margin-right: 2rem;
        max-width: 600px;
    }
    
    .hero-image-container {
        flex: 1;
        margin-top: 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .hero-img {
        max-width: 550px;
        transform: translateY(0);
        margin: 0;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }

    #hero-eyebrow {
        text-align: left;
    }
    .hero-title {
        text-align: left;
    }
    .hero-subtitle {
        text-align: left;
        margin: 0 0 2rem 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
}

#hero-eyebrow {
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    color: #a1a1aa;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.glitch {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(to bottom, #ffffff, #666666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
}

.subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: #a1a1aa;
    margin-bottom: 3rem;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.scroll-down {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.scroll-down:hover {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.btn-demo {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-demo:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn-demo:hover .play-icon {
    color: var(--bg-color) !important;
}

.play-icon {
    color: var(--accent);
    font-size: 0.8rem;
}

.scroll-down .arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

.hero-image-container {
    position: relative;
    margin-top: 2rem;
    width: 100%;
    max-width: 850px;
    perspective: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 2;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.1s linear;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
}

/* Features */
.features {
    padding: 10rem 5%;
}

.feature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 10rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-block.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-block .text {
    flex: 1;
    max-width: 500px;
}

.feature-block .image {
    flex: 1;
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-block .image::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px var(--glass-border);
    border-radius: 2rem;
    z-index: 2;
    pointer-events: none;
}

.feature-img {
    width: auto;
    height: auto;
    max-height: 400px;
    border-radius: 2rem;
    display: block;
    transition: transform 0.5s ease;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    margin: 0 auto;
    object-fit: contain;
}

.blend-mode-img {
    mix-blend-mode: screen;
}

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

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Performance */
.performance {
    padding: 10rem 5%;
    text-align: center;
    position: relative;
}

.perf-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.perf-content p {
    margin: 0 auto 4rem auto;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 2rem;
    min-width: 250px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 0.2rem;
}

.label {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA */
.purchase-cta {
    padding: 10rem 5%;
    display: flex;
    justify-content: center;
}

.cta-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 2rem;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.cta-card p {
    margin: 0 auto 2rem auto;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.currency {
    font-size: 2rem;
    vertical-align: super;
    margin-right: 0.2rem;
    color: var(--text-secondary);
}

.decimals {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.buy-button {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 1.2rem 3rem;
    border-radius: 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, color 0.2s;
}

.buy-button .btn-text {
    position: relative;
    z-index: 2;
    color: var(--bg-color);
}

.buy-button:hover {
    transform: scale(1.05);
}

.buy-button:hover .btn-text {
    color: #000;
}

.crypto-note {
    margin-top: 1.5rem !important;
    font-size: 0.85rem !important;
    color: #666;
}

/* Footer */
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 100%;
    position: relative;
    z-index: 10;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {

    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-card {
        padding: 2rem;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

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

/* Exit Modal */
.exit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.exit-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.exit-modal {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.exit-modal-overlay.active .exit-modal {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-primary);
}

.discount-badge {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.exit-modal h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.exit-modal p {
    font-size: 1rem;
    margin: 0 auto 2rem auto;
}

.code-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed var(--glass-border);
    border-radius: 1rem;
    padding: 0.5rem;
    gap: 0.5rem;
}

#discountCode {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
}

#copyCodeBtn {
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.buy-button .btn-text {
    color: inherit;
}

#copyCodeBtn:hover {
    transform: scale(1.05);
}

.modal-cta-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-cta-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 5%;
    z-index: 1500;
    display: flex;
    justify-content: center;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 3rem;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.cookie-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 800px;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: color 0.3s;
}

.btn-text:hover {
    color: var(--text-primary);
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: left;
        gap: 1.5rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}