/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #4e54c8;      
    --primary-light: #8f94fb; 
    --secondary: #00c6ff;    
    --accent: #1e2a38;       
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --light-bg: #f8faff;     
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --gradient-hero: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    --gradient-btn: linear-gradient(135deg, #4e54c8, #00c6ff);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { line-height: 1.6; color: var(--text-dark); background-color: var(--white); overflow-x: hidden; }
a { text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white { background: var(--white); color: var(--primary); font-weight: 700; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

.btn-gradient { background: var(--gradient-btn); color: var(--white); }
.btn-gradient:hover { transform: translateY(-3px); opacity: 0.95; box-shadow: 0 10px 20px rgba(78, 84, 200, 0.3); }

.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* --- HEADER --- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem;
}

.logo { font-size: 1.8rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.logo span { color: var(--secondary); }

/* Desktop Nav */
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--accent); font-weight: 500; font-size: 0.95rem; position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: var(--primary); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.login-btn {
    background: var(--gradient-btn); color: var(--white) !important; padding: 10px 25px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
}

/* HAMBURGER MENU (MOBILE) */
.mobile-menu-icon {
    display: none; /* Hidden on desktop */
    font-size: 1.8rem;
    color: var(--accent);
    cursor: pointer;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    display: none; /* Hidden by default */
    transform-origin: top;
    animation: slideDown 0.3s ease-out;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
}

@keyframes slideDown {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform: scaleY(1); }
}

/* --- HERO SECTION --- */
.hero {
    background: var(--gradient-hero);
    min-height: 85vh;
    padding: 160px 20px 100px;
    position: relative;
    display: flex;
    align-items: center;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 80px;
    background: var(--white);
    clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-container {
    max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 50px; width: 100%; z-index: 2;
}
.hero-content { flex: 1; color: white; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.15; margin-bottom: 1.5rem; font-weight: 800; }
.hero-content h1 span { color: #80dfff; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2.5rem; color: rgba(255,255,255,0.9); max-width: 550px; }
.hero-btns { display: flex; gap: 15px; }
.hero-video {
    flex: 1; position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25); border: 6px solid rgba(255,255,255,0.2); background: #000;
}
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- SECTIONS --- */
.section-padding { padding: 90px 20px; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--accent); margin-bottom: 1rem; font-weight: 800; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }

/* --- FEATURES --- */
.features-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { background: var(--white); border-radius: 20px; padding: 35px; text-align: center; border: 1px solid #f0f0f0; transition: 0.3s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.feature-icon {
    width: 65px; height: 65px; background: #eef2ff; border-radius: 18px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: var(--primary); font-size: 1.6rem;
}
.feature-card h3 { margin-bottom: 10px; color: var(--accent); }

/* --- MIDDLE IMAGE --- */
.mid-section { background: linear-gradient(to bottom, #ffffff 0%, #f4f6ff 100%); padding-bottom: 100px; text-align: center; }
.mid-img-wrapper {
    max-width: 1000px; margin: 40px auto 0; position: relative; border-radius: 20px;
    box-shadow: 0 40px 80px rgba(78, 84, 200, 0.15); border: 10px solid white; overflow: hidden;
}
.mid-img-wrapper img { width: 100%; transition: transform 0.5s; }

/* --- APP DOWNLOAD --- */
.app-download-section {
    background: var(--accent); color: white; padding: 100px 20px; text-align: center; position: relative; overflow: hidden;
}
.app-download-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #2c3e50 0%, #1e2a38 100%); opacity: 0.5;
}
.app-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.app-content h2 { font-size: 2.8rem; margin-bottom: 20px; font-weight: 800; }
.app-content p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; }
.store-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.store-btn {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2);
    color: white; padding: 12px 28px; border-radius: 12px; display: flex; align-items: center; gap: 12px; transition: 0.3s; min-width: 180px;
}
.store-btn:hover { background: white; color: var(--accent); transform: translateY(-3px); }
.store-btn i { font-size: 2rem; }
.store-text span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.store-text strong { display: block; font-size: 1.1rem; font-weight: 700; }

/* --- PRICING --- */
.pricing-grid { max-width: 1100px; margin: 0 auto; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.pricing-card { background: var(--white); padding: 40px; border-radius: 20px; width: 320px; text-align: center; border: 1px solid #eee; transition: 0.3s; position: relative;}
.pricing-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.popular-tag {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
}
.price { font-size: 3rem; color: var(--primary); font-weight: 800; margin: 20px 0; }
.price span { font-size: 1rem; color: #999; font-weight: 500; }
.pricing-features { text-align: left; margin: 25px 0; }
.pricing-features li { margin-bottom: 12px; color: #555; display: flex; align-items: center; gap: 10px; }
.pricing-features i { color: #00c6ff; }

/* --- FAQ --- */
.faq-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.faq-col { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--white); border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.faq-question { padding: 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; color: var(--accent); }
.faq-answer { padding: 0 20px 20px; color: var(--text-light); line-height: 1.6; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* --- FOOTER --- */
footer { background: #1a1a2e; color: var(--white); padding: 80px 20px 30px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { margin-bottom: 25px; color: var(--white); font-size: 1.1rem; }
.footer-col ul li a { color: #a0aec0; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--white); }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; padding-top: 50px; }
    .hero-btns { justify-content: center; }
    .hero-video { width: 100%; margin-top: 40px; }
    
    /* Nav Updates for Mobile */
    .nav-links { display: none; } /* Hide desktop links */
    .login-btn { display: none; } /* Hide desktop login if needed, or keep it */
    .mobile-menu-icon { display: block; } /* Show Hamburger */
    
    .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .store-btns { flex-direction: column; align-items: center; }
    .store-btn { width: 100%; max-width: 300px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}