:root {
    --bg: #050505;
    --fg: #ffffff;
    --primary: #00f3ff;
    --secondary: #ff007a;
    --accent: #7000ff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(15, 15, 15, 0.8);
    --text-muted: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    margin: 1rem 2rem;
    border-radius: 999px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding: 12rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(0, 243, 255, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(255, 0, 122, 0.1), transparent);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--fg);
    background: var(--glass);
}

.btn-outline:hover {
    background: var(--glass-border);
}

.btn-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mockup-container {
    padding: 1rem;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s;
}

.mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Features */
.features {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Video Section */
.video-section {
    padding: 4rem 0;
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder {
    text-align: center;
    padding: 2rem;
}

.video-placeholder span {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
}

/* Install Steps */
.install {
    padding: 8rem 0;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    font-size: 1.25rem;
}

/* Privacy */
.privacy {
    padding: 4rem 0 8rem;
}

.privacy-box {
    padding: 4rem;
    text-align: center;
}

.privacy-box h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.privacy-item {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-fade {
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: white;
}

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

.glitch:hover::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary);
    background: var(--bg);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

.glitch:hover::after {
    left: -2px;
    text-shadow: -2px 0 var(--secondary);
    background: var(--bg);
    animation: glitch-anim2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(25px, 9999px, 80px, 0); }
    100% { clip: rect(60px, 9999px, 100px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(10px, 9999px, 40px, 0); }
    100% { clip: rect(50px, 9999px, 90px, 0); }
}

/* Footer sub */
.footer-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* Version badge */
.version-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Stats bar */
.stats-bar {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* How It Works */
.how-section {
    padding: 8rem 0;
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.05), transparent);
}

.how-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
}

.how-item {
    flex: 1;
    min-width: 0;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.how-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.how-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.how-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.how-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.how-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
    padding: 0 1rem;
}

/* Install step heading */
.step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--fg);
}

/* Privacy sub */
.privacy-sub {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Links in install */
a.link {
    color: var(--primary);
    text-decoration: none;
}

a.link:hover {
    text-decoration: underline;
}

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

    .how-arrow {
        display: none;
    }

    .how-grid {
        flex-direction: column;
    }

    .how-item {
        max-width: 100%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }

    .tagline {
        margin-inline: auto;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
    }

    .mockup-container {
        transform: none;
    }

    .navbar {
        margin: 1rem;
    }

    .nav-links {
        display: none;
    }
}
