/* Modern Academic Theme */
:root {
    --bg-dark: #1e293b;
    /* Slate 800 - Lighter, more professional dark */
    --bg-darker: #0f172a;
    /* Slate 900 */
    --primary: #2563eb;
    /* Royal Blue */
    --primary-glow: rgba(37, 99, 235, 0.2);
    /* Subtle glow */
    --secondary: #475569;
    /* Slate 600 */
    --accent: #f59e0b;
    /* Amber/Gold for academic prestige */
    --text-main: #f1f5f9;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(30, 41, 59, 0.95);
    /* Less transparent, more solid */
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Contrast Overrides */
.text-muted {
    color: #cbd5e1 !important;
    /* Slate 300 - High contrast for dark mode */
}

.text-secondary {
    color: #94a3b8 !important;
    /* Slate 400 */
}

p,
li {
    color: var(--text-muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: white !important;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.text-gradient {
    color: var(--text-main);
    /* Fallback */
}

/* Removed excessive glowing for academic look */
.text-highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary);
    opacity: 0.3;
    z-index: -1;
}

/* Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.15), transparent 40%);
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.btn-primary-glow {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    color: white;
}

.btn-outline-glow {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: white;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-glow:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    color: white;
}

/* Service/Method Cards */
.method-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
}

.method-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary);
}

/* Curriculum/Levels */
.level-card {
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--glass-border);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Pricing Cards */
.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.pricing-card.recommended {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 41, 59, 0) 100%);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: white;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 10px;
}

/* Accordion */
.accordion-item {
    background: transparent !important;
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-darker) !important;
    color: white !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(59, 130, 246, 0.1) !important;
    color: var(--primary) !important;
}

.accordion-body {
    background: rgba(30, 41, 59, 0.3);
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--accent);
}