/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0e17;
    --card-bg: #111827;
    --border: rgba(255,255,255,0.07);
    --white: #ffffff;
    --grey: #94a3b8;
    --primary: #362FD9;
    --teal: #1aacac;
    --ocean: #2e97a7;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    --gradient-btn: linear-gradient(135deg, var(--primary) 0%, var(--ocean) 50%, var(--teal) 100%);
    --gradient-text: linear-gradient(135deg, #362FD9 0%, var(--teal) 100%);
    --glow: rgba(26,172,172,0.15);
    --glow-strong: rgba(54,47,217,0.35);
    --font-h: 'Figtree', sans-serif;
    --font-b: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

    /* --- Background Effects --- */
    body::before {
        content: '';
        position: fixed;
        top: -20%; left: -10%;
        width: 70%; height: 70%;
        background: radial-gradient(ellipse, rgba(54,47,217,0.08) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

body::after {
    content: '';
    position: fixed;
    bottom: -30%; right: -15%;
    width: 60%; height: 60%;
    background: radial-gradient(ellipse, rgba(26,172,172,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Grid pattern overlay */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
}

/* --- Layout Container --- */
.container {
    width: 100%;
    max-width: 72.5rem;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(10,14,23,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.navbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo img {
    height: 2.5rem;
    width: auto;
}

.navbar__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar__contact {
    font-size: 0.85rem;
    color: var(--grey);
    font-weight: 400;
}

.navbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: url(/assets/images/academy-gradient.png);
    background-size: 150% 150%;
    background-position: center center;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.75rem;
    transition: box-shadow 0.3s, transform 0.2s;
}

.navbar__cta:hover {
    box-shadow: 0 0 24px var(--glow-strong), 0 0 48px var(--glow);
    transform: translateY(-1px);
}

.navbar__cta svg {
    width: 14px; height: 14px;
    transition: transform 0.25s;
}

.navbar__cta:hover svg { transform: translateX(3px); }

/* --- Hero --- */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 1rem 5rem;
    position: relative;
}

.hero__inner {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

/* Animated orb behind hero */
.hero__orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54,47,217,0.15) 0%, rgba(26,172,172,0.08) 50%, transparent 70%);
    filter: blur(60px);
    animation: orbPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(54,47,217,0.12);
    border: 1px solid rgba(54,47,217,0.25);
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.45rem 1.1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero__title {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero__title em {
    font-style: italic;
    font-weight: 500;
    background: url(/assets/images/academy-gradient.png);
    background-size: cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    color: var(--grey);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

/* CTA Group */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: url(/assets/images/academy-gradient.png);
    background-size: 150% 150%;
    background-position: center center;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 6px 32px var(--glow-strong), 0 0 64px var(--glow);
    transform: translateY(-2px);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0; bottom: 0;
    transition: left 0.5s;
}

.btn-primary:hover::after { left: 100%; }

.btn-primary svg {
    width: 16px; height: 16px;
    transition: transform 0.25s;
}

.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--grey);
    font-family: var(--font-h);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: border-color 0.25s, color 0.25s;
}

.btn-ghost:hover {
    border-color: rgba(54,47,217,0.4);
    color: var(--white);
}

.btn-ghost svg { width: 16px; height: 16px; }

/* --- Social Row --- */
.hero__socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero__social {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--grey);
    font-size: 1.1rem;
    transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.hero__social:hover {
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Stats mini-bar --- */
.hero__stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero__stat {
    text-align: center;
}

.hero__stat-num {
    font-family: var(--font-h);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__stat-label {
    font-size: 0.78rem;
    color: var(--grey);
    font-weight: 500;
    margin-top: 0.2rem;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer__copy {
    font-size: 0.78rem;
    color: var(--grey);
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__link {
    font-size: 0.78rem;
    color: var(--grey);
    transition: color 0.25s;
}

.footer__link:hover { color: var(--white); }

/* --- Particles --- */
.particle {
    position: fixed;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0;
    animation: float var(--dur, 12s) var(--delay, 0s) linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero__title { font-size: clamp(2rem, 7vw, 3rem); }
    .hero__desc { font-size: 1rem; }
    .hero__stats { gap: 1.5rem; }
    .navbar__contact { display: none; }
    .hero { padding-top: 8rem; }
    .hero__orb { width: 250px; height: 250px; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__stats { gap: 1.25rem; }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__links { justify-content: center; }
}

