@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-800.woff2') format('woff2');
}

:root {
    --primary: #3b82f6;
    --secondary: #8b5cf6;
    --accent: #00f2ff;
    --bg-dark: #030712;
    --glass: rgba(15, 23, 42, 0.7);
    --header-h: 80px;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: #f8fafc;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: linear-gradient(135deg, #030712 0%, #0f172a 100%);
}

/* --- Background Animation --- */
.mesh-gradient { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.blob { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%); border-radius: 50%; animation: move 20s infinite alternate; }
.blob.two { right: -100px; bottom: -100px; background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%); animation-delay: -10s; }
@keyframes move { 0% { transform: translate(-10%, -10%); } 100% { transform: translate(20%, 20%); } }

/* --- Navigation --- */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 40px; height: var(--header-h); position: fixed; width: 100%; top: 0;
    background: rgba(3, 7, 18, 0.5); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05); z-index: 3000;
}
.logo { font-weight: 800; font-size: 22px; letter-spacing: -1px; cursor: pointer; z-index: 4001; }
.logo span { color: var(--primary); }

nav.desktop-nav { display: flex; }
nav.desktop-nav a { margin-left: 30px; color: #64748b; text-decoration: none; font-size: 13px; font-weight: 700; transition: 0.3s; cursor: pointer; text-transform: uppercase; letter-spacing: 1.5px; }
nav.desktop-nav a:hover, nav.desktop-nav a.active { color: #fff; }

.mobile-toggle { display: none; width: 35px; height: 35px; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; cursor: pointer; z-index: 4001; }
.mobile-toggle span { display: block; width: 28px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.mobile-toggle span:nth-child(2) { width: 18px; }

.mobile-menu-overlay { position: fixed; top: 0; right: 0; width: 100%; height: 100%; background: rgba(3, 7, 18, 0.98); backdrop-filter: blur(20px); z-index: 4000; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu-overlay.active { transform: translateX(0); }
.mobile-menu-overlay a { font-size: 28px; font-weight: 800; color: #fff; text-decoration: none; margin: 15px 0; text-transform: uppercase; letter-spacing: 2px; }

/* --- Page & Container --- */
.page { display: none; height: 100vh; width: 100%; padding-top: var(--header-h); overflow-y: auto; animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.page.active { display: block; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.container { max-width: 1250px; margin: 0 auto; padding: 40px; }

/* --- Content Styling --- */
.hero-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; min-height: 70vh; }
.hero-content h1 { font-size: clamp(40px, 6vw, 80px); line-height: 0.95; font-weight: 800; margin-bottom: 25px; }
.hero-content p { font-size: 1.15rem; color: #94a3b8; margin-bottom: 40px; line-height: 1.6; }

.module-glass { background: var(--glass); border: 1px solid rgba(255,255,255,0.1); padding: 35px; border-radius: 32px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.card-pro { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 40px; border-radius: 24px; transition: 0.4s; }
.card-pro:hover { border-color: var(--primary); background: rgba(59, 130, 246, 0.05); }

/* --- Game Options --- */
.game-option { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 18px; border-radius: 16px; margin-bottom: 12px; cursor: pointer; transition: 0.3s; font-size: 14px; }
.game-option:hover { background: rgba(255,255,255,0.07); transform: translateX(8px); }
.game-option.correct { border-color: #10b981; background: rgba(16, 185, 129, 0.1); }
.game-option.wrong { border-color: #ef4444; background: rgba(239, 68, 68, 0.1); }

/* --- Form Elements --- */
input, textarea { width: 100%; padding: 18px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; color: #fff; margin-bottom: 20px; font-family: inherit; transition: 0.3s; }
.submit-btn { width: 100%; padding: 20px; border: none; border-radius: 16px; background: var(--primary); color: #fff; font-weight: 800; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px; }

/* --- Responsive --- */
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    header { padding: 0 20px; }
    .desktop-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .feature-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
    .card-pro { min-width: 280px; flex: 0 0 auto; scroll-snap-align: center; }
}
