:root {
    --primary: rgb(139, 92, 246);
    --primary-hover: rgb(124, 58, 237);
    --bg-main: #0b0f19;
    --bg-surface: #1a202c;
    --bg-surface-hover: #2d3748;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-primary-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-primary-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-surface);
    border-color: var(--text-muted);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
}

.logo img {
    height: 60px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not([class^="btn"]) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:not([class^="btn"]):hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
}

.mobile-menu-btn {
    display: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Headers */
.page-header {
    padding: 150px 24px 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
    padding: 130px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-placeholder {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-sphere {
    position: absolute;
    top: 0%;
    left: 50%;
    margin-left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, rgba(11,15,25,0) 70%);
    border-radius: 50%;
    animation: pulse 4s infinite alternate;
}

.glass-card {
    position: absolute;
    background: rgba(26, 32, 44, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

.glass-card i {
    font-size: 2rem;
    color: var(--primary);
}

.glass-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.glass-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.floating-1 {
    top: 0%;
    right: 10%;
}

.floating-2 {
    bottom: 45%;
    left: 0;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* Sections Common */
section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Specific Blocks */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}
.about-content p {
    margin-bottom: 24px;
}
.about-content h2 {
    color: var(--text-main);
    margin-top: 48px;
    margin-bottom: 24px;
}
.about-content h2:first-of-type {
    margin-top: 0;
}

.program-card-detail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.program-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.program-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.stat-card {
    background: var(--bg-surface);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
}
.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 8px;
}
.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-surface);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.program-card {
    background: var(--bg-surface);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
}

.program-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
    transform: scale(1.05);
}

.program-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.program-header {
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.featured-tag {
    background: var(--primary);
    color: white;
}

.program-header h3 {
    font-size: 1.5rem;
}

.program-card > p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.program-features {
    list-style: none;
    margin-bottom: 32px;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.program-features i {
    color: var(--primary);
    font-size: 0.9rem;
}

.program-btn {
    text-align: center;
    width: 100%;
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
}

.cta-content {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(11, 15, 25, 1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(200px);
    opacity: 0.1;
    z-index: 0;
}

.cta-content h2, .cta-content p, .cta-btn {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Custom Elements */
.trusted-icons {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
    margin-top: 48px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 48px;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 24px;
    background: var(--bg-surface);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 64px;
}

.footer-brand h3 {
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 110px;
    }
    .page-header {
        padding-top: 130px;
        padding-bottom: 40px;
    }
    .page-header h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .trusted-icons {
        justify-content: center;
    }
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-image-placeholder {
        display: none;
    }
    .features-grid, .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .program-card.featured {
        transform: none;
    }
    .program-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 24px;
    }
    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .features-grid, .programs-grid, .audience-grid, .about-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}
