:root {
    --bg-dark: #020617;
    --primary-cyan: #22D3EE;
    --primary-purple: #A855F7;
    --primary-orange: #F97316;
    --gradient: linear-gradient(135deg, #22D3EE, #A855F7, #F97316);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: #F9FAFB;
    overflow-x: hidden;
}

#particles {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
}

.navbar {
    display: flex; justify-content: space-between; align-items: center; padding: 15px 8%;
    position: fixed; width: 100%; z-index: 100; top: 0;
    background: rgba(2, 6, 23, 0.7); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 35px; height: 35px; }
.brand-name { font-weight: 800; font-size: 1.4rem; letter-spacing: 1px; }

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: #ccc; transition: 0.3s; font-size: 0.9rem; }
.nav-links a:hover { color: white; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.btn-nav {
    background: var(--gradient); padding: 8px 20px; border-radius: 50px;
    color: white !important; font-weight: 600;
}

.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: space-between;
    padding: 100px 8% 0; position: relative;
}

.hero-content { max-width: 50%; z-index: 2; }

.badge {
    display: inline-block; padding: 5px 12px; border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan); border-radius: 20px; font-size: 0.8rem;
    margin-bottom: 20px; background: rgba(34, 211, 238, 0.1);
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.gradient-text {
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-content p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; line-height: 1.6; }

.cta-group { display: flex; gap: 15px; margin-bottom: 40px; }

.btn-primary {
    background: white; color: black; padding: 12px 30px; border-radius: 10px;
    font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 20px rgba(255,255,255,0.3); }

.btn-secondary {
    padding: 12px 30px; border-radius: 10px; font-weight: 600; text-decoration: none;
    color: white; border: 1px solid rgba(255,255,255,0.2); transition: 0.3s;
}
.btn-secondary:hover { border-color: var(--primary-purple); background: rgba(168, 85, 247, 0.1); }

.stats-row { display: flex; gap: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.stat strong { display: block; font-size: 1.5rem; }
.stat span { font-size: 0.8rem; color: #666; text-transform: uppercase; }

.hero-visual { width: 45%; display: flex; justify-content: center; position: relative; }

.glow-bg {
    position: absolute; width: 300px; height: 300px; background: var(--gradient);
    filter: blur(100px); opacity: 0.3; animation: pulse 4s infinite alternate;
}

.phone-frame {
    width: 280px; height: 580px; background: #000; border-radius: 40px;
    border: 5px solid #333; position: relative; z-index: 5;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); animation: float 6s ease-in-out infinite;
}
.notch {
    width: 100px; height: 25px; background: #000; position: absolute; top: 0; left: 50%;
    transform: translateX(-50%); border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; z-index: 10;
}
.screen {
    width: 100%; height: 100%; background: #0f172a; border-radius: 35px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
.app-screen-logo { width: 100px; animation: breathe 3s infinite; }
.screen-ui { text-align: center; margin-top: 20px; }
.loading-bar {
    width: 80px; height: 3px; background: #333; margin: 10px auto;
    border-radius: 2px; position: relative; overflow: hidden;
}
.loading-bar::after {
    content: ''; position: absolute; left: 0; top: 0; width: 50%; height: 100%;
    background: var(--primary-cyan); animation: load 1s infinite linear;
}

.features-section { padding: 80px 8%; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.glass {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; transition: 0.3s;
}
.glass:hover {
    border-color: var(--primary-cyan); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.feature-card i {
    font-size: 2.5rem; margin-bottom: 20px; background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.newsletter-section { margin: 50px 8%; text-align: center; position: relative; overflow: hidden; }
.newsletter-section::before {
    content:''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%); z-index: -1;
}
.email-form { display: flex; gap: 10px; max-width: 400px; margin: 30px auto 0; }
.email-form input {
    flex: 1; padding: 12px; border-radius: 8px; border: 1px solid #333;
    background: rgba(0,0,0,0.5); color: white; outline: none;
}
.email-form button {
    padding: 12px 20px; border-radius: 8px; border: none; background: var(--gradient);
    color: white; font-weight: bold; cursor: pointer;
}

.download-section { padding: 80px 8%; text-align: center; }
.grid-downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 40px; }
.dl-card i { font-size: 2rem; margin-bottom: 10px; color: #fff; }
.btn-dl.disabled {
    background: transparent; border: 1px solid #333; color: #666; padding: 5px 15px;
    border-radius: 5px; font-size: 0.8rem; margin-top: 10px; cursor: not-allowed;
}

footer { text-align: center; padding: 40px; border-top: 1px solid var(--glass-border); font-size: 0.9rem; color: #666; }

@keyframes float { 0%, 100% {transform: translateY(0);} 50% {transform: translateY(-15px);} }
@keyframes pulse { 0% {opacity:0.2;} 100% {opacity:0.5;} }
@keyframes breathe { 0%, 100% {transform: scale(1);} 50% {transform: scale(1.05);} }
@keyframes load { 0% {transform: translateX(-100%);} 100% {transform: translateX(200%);} }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { max-width: 100%; }
    h1 { font-size: 2.5rem; }
    .hero-visual { width: 100%; margin-top: 50px; }
    .cta-group { justify-content: center; }
    .nav-links { display: none; }
}