:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #22c55e;
    --border-color: #334155;
}

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

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

/* UTILS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.btn-primary {
    background: var(--primary); 
    color: white; 
    padding: 12px 30px; 
    border-radius: 8px; 
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3); /* Added subtle glow */
    transition: all 0.3s ease;
}
.btn-primary:hover { 
    background: var(--primary-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: transparent; 
    border: 1px solid var(--border-color); 
    color: var(--text-main); 
    padding: 12px 30px; 
    border-radius: 8px; 
    font-weight: 600;
}
.btn-secondary:hover { 
    border-color: var(--text-main); 
    background: rgba(255,255,255,0.05); 
}

/* NAVBAR */
.navbar { 
    padding: 20px 0; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    background: rgba(15, 23, 42, 0.85); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }
.highlight { color: var(--primary); }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; transition: 0.3s ease; }
.nav-links a:hover { color: var(--primary); }
.btn-login { border: 1px solid var(--primary); padding: 8px 20px; border-radius: 6px; color: var(--primary) !important; }
.btn-login:hover { background: var(--primary); color: white !important; }
.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

/* DROPDOWN (Moved from HTML) */
.dropdown { position: relative; display: inline-block; padding-bottom: 10px; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 160px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    right: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    animation: fadeIn 0.2s ease; /* Added smooth fade */
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}
.dropdown-content a:hover { background-color: var(--primary); color: #fff; }
.dropdown:hover .dropdown-content { display: block; }

/* HERO */
.hero { padding: 160px 0 100px; }
.hero-content { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1; }
.badge { background: rgba(59, 130, 246, 0.1); color: var(--primary); padding: 6px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; display: inline-block; margin-bottom: 20px; border: 1px solid rgba(59, 130, 246, 0.2); }
h1 { font-size: 56px; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.gradient-text { background: linear-gradient(90deg, #3b82f6, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 15px; margin-bottom: 50px; }
.stats-row { display: flex; gap: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.stat h3 { font-size: 28px; margin-bottom: 5px; }
.stat p { color: var(--text-muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.hero-image { flex: 1; position: relative; }
.hero-image img { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.img-glow { position: absolute; width: 80%; height: 80%; background: var(--primary); filter: blur(100px); opacity: 0.2; top: 10%; left: 10%; z-index: 1; }

/* FEATURES */
.features { padding: 100px 0; background: #0b1120; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-header p { color: var(--text-muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--bg-card); padding: 40px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.icon { font-size: 32px; color: var(--primary); margin-bottom: 24px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); }

/* PRICING */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 400px)); gap: 40px; justify-content: center; }
.price-card { background: var(--bg-card); padding: 50px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); text-align: center; position: relative; transition: transform 0.3s ease; }
.price-card:hover { transform: translateY(-5px); }
.price-card.popular { border-color: var(--primary); background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, var(--bg-card) 100%); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.pop-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.price { font-size: 48px; font-weight: 700; margin: 20px 0 40px; }
.price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.features-list { list-style: none; text-align: left; margin-bottom: 40px; }
.features-list li { margin-bottom: 15px; color: var(--text-muted); display: flex; align-items: center; }
.features-list i { color: var(--accent); margin-right: 12px; font-size: 14px; }

/* PRICING DOWNLOAD ICONS (Moved from HTML) */
.pricing-downloads { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.pricing-downloads a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--bg-card); color: var(--text-main);
    font-size: 20px; transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.pricing-downloads a:hover {
    background: var(--primary); transform: translateY(-3px);
    border-color: var(--primary); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
.price-card.popular .pricing-downloads a { background: var(--primary-hover); border-color: var(--primary); }
.price-card.popular .pricing-downloads a:hover { background: #1d4ed8; border-color: #60a5fa; box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2); }

/* FOOTER */
footer { padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { margin-bottom: 20px; font-size: 18px; color: var(--text-main); }
.footer-col p { color: var(--text-muted); max-width: 300px; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 12px; }
.footer-col a:hover { color: var(--primary); transform: translateX(2px); }
.bottom-bar { text-align: center; color: var(--text-muted); font-size: 14px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .hero-content { flex-direction: column; text-align: center; }
    h1 { font-size: 40px; }
    .hero p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto 40px; }
    .stats-row { justify-content: center; flex-wrap: wrap; }
    
    .hamburger { display: block; z-index: 1001; }
    
    /* Modern Mobile Menu using a class toggle instead of inline styles */
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 250px; height: 100vh;
        background: var(--bg-card); flex-direction: column; justify-content: center;
        padding: 40px; box-shadow: -10px 0 30px rgba(0,0,0,0.5); border-left: 1px solid var(--border-color);
    }
    .nav-links.active { right: 0; } /* Triggers slide-in */
    
    .dropdown { padding-bottom: 0; width: 100%; text-align: center; }
    .dropdown-content { position: static; box-shadow: none; border: none; background: transparent; margin-top: 10px; }
}
