/* --- RESET & BASE --- */
:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --gradient-main: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: #fff; }
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 1rem; }
.section-desc { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 4rem auto; font-size: 1.1rem; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
    border: 1px solid transparent;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px var(--primary-glow); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* --- HEADER --- */
header {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; letter-spacing: -1px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: white; }

/* --- HERO SECTION --- */
.hero {
    padding: 160px 20px 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero h1 { font-size: 4rem; line-height: 1.2; margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin-bottom: 2.5rem; }
.hero-badges { display: flex; gap: 15px; margin-bottom: 2rem; justify-content: center; }
.badge { background: rgba(255,255,255,0.05); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; border: 1px solid var(--border); }

/* --- FEATURES GRID --- */
.features { padding: 100px 20px; background: #0b1120; }
.grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature-icon {
    font-size: 2rem; color: var(--primary); margin-bottom: 20px;
    background: rgba(59, 130, 246, 0.1); width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center; border-radius: 16px;
}
.feature-card h3 { margin-bottom: 15px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- STATISTICS --- */
.stats { padding: 60px 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-item h3 { font-size: 3rem; color: white; display: inline-block; }
.stat-item p { color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }

/* --- PRICING --- */
.pricing { padding: 100px 20px; }
.pricing-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: relative;
}
.pricing-card.popular { border: 2px solid var(--primary); box-shadow: 0 0 30px rgba(59, 130, 246, 0.15); }
.popular-tag {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; padding: 5px 20px;
    border-radius: 20px; font-size: 0.85rem; font-weight: bold;
}
.price { font-size: 3rem; font-weight: 800; color: white; margin: 20px 0; }
.original-price { text-decoration: line-through; color: var(--text-muted); font-size: 1.2rem; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.features-list { list-style: none; margin: 30px 0; flex-grow: 1; }
.features-list li { margin-bottom: 15px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.features-list li i { color: #4ade80; }

/* --- FAQ --- */
.faq { padding: 100px 20px; background: #0b1120; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.faq-question {
    padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; color: white;
}
.faq-answer { display: none; padding-bottom: 20px; color: var(--text-muted); }
.faq-item.active .faq-answer { display: block; animation: fadeIn 0.3s; }

/* --- CTA SECTION --- */
.cta-section {
    padding: 100px 20px; text-align: center;
    background: linear-gradient(180deg, var(--bg-dark), #1e1b4b);
}

/* --- FOOTER --- */
footer { padding: 50px 20px; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Simplified for mobile */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: 0.6s ease-out; }
.visible { opacity: 1; transform: translateY(0); }
