:root {
    --bg-dark: #0A0D14;
    --bg-card: #121824;
    --bg-card-dark: #0E131F;
    --border: #1E293B;
    --primary: #6366F1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent: #EC4899;
    --accent-glow: rgba(236, 72, 153, 0.4);
    --cyan: #06B6D4;
    --emerald: #10B981;
    --rose: #F43F5E;
    --indigo: #818CF8;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-gap { display: flex; gap: 1rem; }
.space-y > * + * { margin-top: 1.25rem; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.relative { position: relative; }
.hidden { display: none !important; }

/* Glow Accents */
.glow-bg {
    position: absolute; width: 450px; height: 450px; border-radius: 50%;
    filter: blur(120px); pointer-events: none; opacity: 0.25; z-index: 0;
}
.glow-primary { top: -100px; left: -100px; background: var(--primary); }
.glow-accent { bottom: -100px; right: -100px; background: var(--accent); }

/* Header Navbar */
.navbar {
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0; sticky: top; position: sticky; top: 0; z-index: 100;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-size: 1.4rem; font-weight: 900; color: var(--text-main); }
.brand-icon { font-size: 1.7rem; }
.search-bar-nav {
    display: flex; align-items: center; gap: 0.5rem; width: 440px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50px; padding: 0.4rem 1.2rem;
}
.search-bar-nav input {
    border: none; background: transparent; outline: none; width: 100%;
    color: var(--text-main); font-size: 0.9rem; font-family: inherit;
}
.nav-actions { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.65rem 1.35rem; border-radius: 12px; font-weight: 700;
    cursor: pointer; border: none; text-decoration: none; font-family: 'Outfit', sans-serif;
    transition: all 0.25s ease;
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; border-radius: 10px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #4338CA); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px var(--primary-glow); }
.btn-glass { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: white; }
.btn-glass:hover { background: rgba(255,255,255,0.12); }
.btn-accent { background: linear-gradient(135deg, var(--accent), #DB2777); color: white; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Hero */
.hero { padding: 6rem 0 5rem; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.tag-pill {
    display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3); color: var(--indigo); font-weight: 800;
    font-size: 0.75rem; padding: 0.4rem 1rem; border-radius: 50px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: pulse 2s infinite; }
.pulse-dot.green { background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }

.hero-title { font-size: 3.25rem; font-weight: 900; line-height: 1.15; }
.hero-sub { color: var(--text-muted); font-size: 1.15rem; max-width: 540px; }
.trust-bar { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--text-muted); font-weight: 700; flex-wrap: wrap; }

/* Live Mock Exam Widget */
.hero-card-preview { position: relative; }
.live-mock-widget {
    background: var(--bg-card); border: 1px solid var(--border); padding: 2rem;
    border-radius: 28px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}
.widget-header { font-size: 0.8rem; font-weight: 800; margin-bottom: 1.25rem; }
.live-badge { color: var(--emerald); display: flex; align-items: center; gap: 0.4rem; }
.time-rem { color: #FBBF24; font-family: monospace; font-size: 0.9rem; }
.live-mock-widget h4 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.exam-info { color: var(--text-muted); font-size: 0.825rem; margin-bottom: 1.5rem; }
.question-box { background: var(--bg-card-dark); border: 1px solid var(--border); padding: 1.35rem; border-radius: 18px; margin-bottom: 1.5rem; }
.q-num { font-size: 0.75rem; color: var(--indigo); font-weight: 800; display: block; margin-bottom: 0.5rem; }
.q-text { font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-main); }
.options-list { display: flex; flex-direction: column; gap: 0.6rem; }
.opt-item {
    background: var(--bg-dark); border: 1px solid var(--border); padding: 0.7rem 1rem;
    border-radius: 12px; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center;
    gap: 0.6rem; transition: all 0.2s;
}
.opt-item:hover { border-color: var(--primary); }
.opt-item.active { border-color: var(--primary); background: rgba(99, 102, 241, 0.15); color: white; }

/* Filter Tabs */
.section { padding: 5.5rem 0; }
.bg-card-dark { background-color: var(--bg-card-dark); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title-wrap { margin-bottom: 3rem; }
.badge-indigo { background: rgba(99, 102, 241, 0.15); color: var(--indigo); font-weight: 800; font-size: 0.75rem; padding: 0.35rem 0.85rem; border-radius: 50px; display: inline-block; margin-bottom: 0.75rem; }
.section-title-wrap h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.section-title-wrap p { color: var(--text-muted); font-size: 1.1rem; }

.filter-tabs { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
    background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
    padding: 0.65rem 1.4rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
    cursor: pointer; transition: all 0.25s; font-family: 'Outfit', sans-serif;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 15px var(--primary-glow); }

/* Exam Cards Grid */
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.exam-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px;
    padding: 2rem; position: relative; transition: all 0.3s ease; display: flex; flex-direction: column; justify-between;
}
.exam-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.card-badge { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 0.7rem; font-weight: 800; padding: 0.25rem 0.75rem; border-radius: 50px; }
.bg-rose { background: rgba(244, 63, 94, 0.15); color: var(--rose); }
.bg-indigo { background: rgba(99, 102, 241, 0.15); color: var(--indigo); }
.bg-emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.bg-cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }

.exam-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.exam-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.6rem; line-height: 1.3; }
.card-desc { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; flex-grow: 1; }
.card-meta { font-size: 0.8rem; color: var(--text-muted); padding-top: 1rem; border-top: 1px solid var(--border); margin-bottom: 1.25rem; }
.price-wrap { display: flex; align-items: baseline; gap: 0.5rem; }
.price { font-size: 1.4rem; font-weight: 900; color: white; }
.old-price { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border); padding: 2rem;
    border-radius: 22px; transition: border-color 0.25s;
}
.feature-card:hover { border-color: var(--primary); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1.25rem; }
.feature-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-muted); font-size: 0.875rem; }

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: center; }
.price-card {
    background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem 2rem;
    border-radius: 28px; position: relative; text-align: center;
}
.price-card.featured {
    background: linear-gradient(180deg, #1A1F36 0%, #121824 100%);
    border: 2px solid var(--primary); box-shadow: 0 20px 50px var(--primary-glow);
    transform: scale(1.04);
}
.popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #DB2777); color: white;
    font-size: 0.75rem; font-weight: 900; padding: 0.3rem 1rem; border-radius: 50px;
}
.plan-name { font-size: 0.8rem; font-weight: 800; color: var(--indigo); letter-spacing: 1px; }
.plan-price { font-size: 3.25rem; font-weight: 900; margin: 0.75rem 0; font-family: 'Outfit', sans-serif; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.plan-desc { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.75rem; }
.plan-features { list-style: none; text-align: left; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9rem; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 3rem 0; background: #070A0F; color: var(--text-muted); font-size: 0.9rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--primary); }

/* Modal */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.modal-card {
    background: var(--bg-card); border: 1px solid var(--border); width: 100%; max-width: 520px;
    padding: 2.5rem; border-radius: 28px; position: relative; color: white;
}
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--text-muted); font-size: 1.25rem; cursor: pointer; }
.modal-header h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.4rem; }
.modal-header p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-input, .form-input-sm {
    width: 100%; background: var(--bg-dark); border: 1px solid var(--border); padding: 0.75rem 1rem;
    border-radius: 12px; color: white; outline: none; font-family: inherit; font-size: 0.9rem;
}
.form-input:focus { border-color: var(--primary); }
.coupon-box { gap: 0.75rem; margin-top: 0.5rem; }
.alert-box { background: rgba(16, 185, 129, 0.15); border: 1px solid var(--emerald); color: var(--emerald); padding: 0.85rem; border-radius: 12px; font-weight: 700; font-size: 0.85rem; margin-top: 1rem; text-align: center; }
.coupon-msg { color: var(--emerald); font-size: 0.8rem; font-weight: 700; margin-top: 0.4rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .exam-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
    .search-bar-nav { display: none; }
}
