:root {
    --bg-color: #05070a;
    --card-bg: rgba(20, 25, 35, 0.6);
    --primary-accent: #3a86ff;
    --secondary-accent: #8338ec;
    --cyan-accent: #00f5ff;
    --text-main: #f8f9fa;
    --text-muted: #94a3b8;
    --nav-height: 80px;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

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

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

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    border-radius: 0 !important;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
}

.logo-accent {
    color: var(--primary-accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    box-shadow: 0 8px 20px rgba(58, 134, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(58, 134, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Hero */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 120px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(to right, var(--cyan-accent), var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: var(--primary-accent);
    filter: blur(120px);
    opacity: 0.2;
    z-index: -1;
    transform: translate(-50%, -50%);
}

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

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

/* Features */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-blue { background: rgba(58, 134, 255, 0.15); color: var(--primary-accent); }
.icon-purple { background: rgba(131, 56, 236, 0.15); color: var(--secondary-accent); }
.icon-cyan { background: rgba(0, 245, 255, 0.15); color: var(--cyan-accent); }

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

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

/* Optimization Section */
.glass-bg {
    background: linear-gradient(180deg, rgba(20, 25, 35, 0), rgba(20, 25, 35, 0.8), rgba(20, 25, 35, 0));
    padding: 120px 0;
}

.opt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--cyan-accent);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.opt-text h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.opt-list {
    list-style: none;
    margin-top: 32px;
}

.opt-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.check {
    color: var(--cyan-accent);
    font-weight: 800;
}

.heatmap-mockup {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(45deg, #101020, #201030);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.heatmap-mockup::after {
    content: '';
    position: absolute;
    inset: 40px;
    background: radial-gradient(circle at 30% 20%, var(--cyan-accent) 0%, transparent 40%),
                radial-gradient(circle at 70% 60%, var(--secondary-accent) 0%, transparent 40%),
                radial-gradient(circle at 40% 80%, var(--primary-accent) 0%, transparent 40%);
    opacity: 0.4;
    filter: blur(30px);
}

/* Screenshots */
.screenshots {
    padding: 80px 0 100px;
}

.screenshot-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.ss-tab {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.ss-tab:hover {
    border-color: var(--primary-accent);
    color: var(--text-main);
}

.ss-tab.active {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    border-color: transparent;
    color: white;
}

.screenshot-panel {
    display: none;
}

.screenshot-panel.active {
    display: block;
}

.ss-grid {
    display: grid;
    gap: 20px;
}

.ss-grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}

.ss-img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ss-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

@media (max-width: 600px) {
    .ss-grid-auto {
        grid-template-columns: 1fr;
    }
}

/* Security */
.security {
    padding: 80px 0 120px;
}

.security-card {
    padding: 60px;
    text-align: center;
}

.security-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.security-content p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

.security-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.s-feat {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}

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

.footer-left p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

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

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

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.menu-toggle svg {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .opt-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 { font-size: 48px; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-cta { justify-content: center; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .opt-list { display: inline-block; text-align: left; }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 7, 10, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 40px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 20px;
    }
    
    .nav-links .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-content { flex-direction: column; gap: 32px; text-align: center; }
}
