/* 
   PROFEET — Professional Futbol Akademiyasi
   Design System 2026
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
    --black: #0b0b0b;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --neon: #aeff02;
    --neon-dark: #8acc00;
    --neon-glow: rgba(174, 255, 2, 0.25);
    --neon-subtle: rgba(174, 255, 2, 0.08);
    --white: #ffffff;
    --gray: #999;
    --gray-light: #ccc;
    --border: rgba(255,255,255,0.08);

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 8vw, 5rem); }
h2 { font-size: clamp(1.8rem, 6vw, 3rem); margin-bottom: 1.5rem; }
h2 em, h1 em { color: var(--neon); font-style: normal; }
p { color: var(--gray); font-size: clamp(0.95rem, 2.5vw, 1.05rem); line-height: 1.6; }

.section-tag {
    display: inline-block;
    color: var(--neon);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 6px 14px;
    background: var(--neon-subtle);
    border-radius: 100px;
    border: 1px solid rgba(174,255,2,0.15);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-header h2 { text-align: center; }
.section-header p { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}
.btn-primary { background: var(--neon); color: #000; }
.btn-primary:hover { background: var(--neon-dark); transform: translateY(-2px); box-shadow: 0 10px 20px var(--neon-glow); }
.btn-outline { border: 1px solid var(--border); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; width: 100%; max-width: 320px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
#header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 0;
    background: rgba(11, 11, 11, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#header.scrolled { 
    padding: 12px 0; 
    background: rgba(11, 11, 11, 0.9);
    border-bottom: 1px solid rgba(174, 255, 2, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; transition: var(--transition); }
.logo:hover { opacity: 0.85; transform: scale(1.02); }
.logo img { height: 42px; border-radius: 8px; box-shadow: 0 0 20px rgba(174, 255, 2, 0.2); }
.logo span { 
    font-family: var(--font-display); 
    font-weight: 900; 
    font-size: 1.5rem; 
    letter-spacing: -1.5px; 
    background: linear-gradient(to right, #fff, var(--neon)); 
    background-clip: text;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

nav ul { display: flex; align-items: center; gap: 2.2rem; }
nav a { 
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem; 
    font-weight: 600; 
    color: rgba(255,255,255,0.7); 
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-glow);
}
nav a:hover { color: var(--white); }
nav a:hover::after { width: 100%; }
nav .active a { color: var(--neon); }
nav .active a::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.2rem; }

/* Language Switcher */
.lang-switcher {
    position: relative;
    cursor: pointer;
    font-family: var(--font-display);
}
.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-2);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}
.lang-current img { width: 18px; border-radius: 2px; }
.lang-current i { font-size: 0.7rem; color: var(--gray); transition: var(--transition); }
.lang-current:hover { border-color: var(--neon); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-switcher.active .lang-current i { transform: rotate(180deg); }

.lang-dropdown li {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    color: var(--gray-light);
}
.lang-dropdown li img { width: 18px; border-radius: 2px; }
.lang-dropdown li:hover { background: var(--dark-3); color: var(--neon); }

.header-btn {
    padding: 10px 24px;
    background: var(--neon);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    transition: var(--transition);
}
.header-btn:hover { background: var(--neon-dark); }
.header-login-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-light);
    font-family: var(--font-display);
    transition: var(--transition);
}
.header-login-btn:hover { color: var(--neon); }

.mobile-toggle { 
    display: none; 
    background: none; 
    border: none; 
    color: var(--white); 
    font-size: 1.4rem; 
    cursor: pointer; 
}

@media (max-width: 768px) {
    .mobile-toggle { 
        display: flex !important; 
    }
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown-parent {
    position: relative;
}
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-dropdown-trigger .nav-arrow {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    color: var(--gray);
}
.nav-dropdown-parent.active .nav-arrow,
.nav-dropdown-parent:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--neon);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(174, 255, 2, 0.05);
    list-style: none;
}
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: rgba(22, 22, 22, 0.95);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.nav-dropdown-parent.active .nav-dropdown,
.nav-dropdown-parent:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
    list-style: none;
}
.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.nav-dropdown li a i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-subtle);
    border-radius: 8px;
    color: var(--neon);
    font-size: 0.85rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.nav-dropdown li a:hover {
    background: rgba(174, 255, 2, 0.06);
    color: var(--white);
}
.nav-dropdown li a:hover i {
    background: var(--neon);
    color: #000;
    box-shadow: 0 4px 15px var(--neon-glow);
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown-parent::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 18px;
    background: transparent;
}

/* ===== MEGA DROPDOWN ===== */
.nav-mega-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    min-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 100;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(174, 255, 2, 0.05);
}
.nav-mega-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: rgba(18, 18, 18, 0.97);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}
.nav-dropdown-parent.active .nav-mega-dropdown,
.nav-dropdown-parent:hover .nav-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.mega-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mega-col:not(:last-child) {
    border-right: 1px solid var(--border);
    padding-right: 12px;
}
.mega-col:not(:first-child) {
    padding-left: 12px;
}
.mega-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--neon);
    padding: 6px 12px 10px;
    font-family: var(--font-display);
}
.mega-col ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mega-col ul li {
    list-style: none;
}
.mega-col ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: all 0.22s ease;
    white-space: nowrap;
}
.mega-col ul li a i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-subtle);
    border-radius: 8px;
    color: var(--neon);
    font-size: 0.8rem;
    transition: all 0.22s ease;
    flex-shrink: 0;
}
.mega-col ul li a:hover {
    background: rgba(174, 255, 2, 0.07);
    color: var(--white);
}
.mega-col ul li a:hover i {
    background: var(--neon);
    color: #000;
    box-shadow: 0 4px 15px var(--neon-glow);
}

/* Hide inline mobile icons on desktop */
.nav-icon-mobile { display: none !important; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(170deg, #050a05 0%, #0a120a 30%, #070e07 60%, var(--black) 100%);
}

/* Canvas for particle system */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-elements {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: orbFadeIn 2s ease forwards;
}

.hero-orb-1 {
    width: 600px; height: 600px;
    top: -10%; right: -10%;
    background: radial-gradient(circle, rgba(174,255,2,0.15), rgba(174,255,2,0.03) 50%, transparent 70%);
    animation: orbFloat1 12s ease-in-out infinite, orbFadeIn 2s ease forwards;
}

.hero-orb-2 {
    width: 400px; height: 400px;
    bottom: 10%; left: -5%;
    background: radial-gradient(circle, rgba(0,200,100,0.1), rgba(0,180,80,0.02) 50%, transparent 70%);
    animation: orbFloat2 15s ease-in-out infinite, orbFadeIn 2s 0.5s ease forwards;
}

.hero-orb-3 {
    width: 300px; height: 300px;
    top: 40%; left: 50%;
    background: radial-gradient(circle, rgba(174,255,2,0.08), transparent 60%);
    animation: orbFloat3 10s ease-in-out infinite, orbFadeIn 2s 1s ease forwards;
}

@keyframes orbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, 30px) scale(1.05); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
    75% { transform: translate(30px, 15px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.08); }
    66% { transform: translate(-20px, 20px) scale(0.92); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, 40px) scale(1.15); }
}

/* Animated grid lines */
.hero-grid-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, rgba(174,255,2,0.06), transparent);
    opacity: 0;
    animation: gridFadeIn 3s ease forwards;
}

/* Vertical lines */
.hero-grid-v1 {
    width: 1px; height: 100%;
    left: 15%;
    animation: gridSweepV 8s ease-in-out infinite, gridFadeIn 3s ease forwards;
    animation-delay: 0s, 0.3s;
}
.hero-grid-v2 {
    width: 1px; height: 100%;
    left: 45%;
    animation: gridSweepV 10s ease-in-out infinite, gridFadeIn 3s ease forwards;
    animation-delay: 2s, 0.6s;
}
.hero-grid-v3 {
    width: 1px; height: 100%;
    right: 20%;
    animation: gridSweepV 9s ease-in-out infinite, gridFadeIn 3s ease forwards;
    animation-delay: 4s, 0.9s;
}

/* Horizontal lines */
.hero-grid-h1 {
    width: 100%; height: 1px;
    top: 30%;
    background: linear-gradient(to right, transparent, rgba(174,255,2,0.05), transparent);
    animation: gridSweepH 12s ease-in-out infinite, gridFadeIn 3s ease forwards;
    animation-delay: 1s, 1.2s;
}
.hero-grid-h2 {
    width: 100%; height: 1px;
    top: 70%;
    background: linear-gradient(to right, transparent, rgba(174,255,2,0.04), transparent);
    animation: gridSweepH 14s ease-in-out infinite, gridFadeIn 3s ease forwards;
    animation-delay: 3s, 1.5s;
}

@keyframes gridFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gridSweepV {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 0.8; transform: scaleY(1); }
}

@keyframes gridSweepH {
    0%, 100% { opacity: 0.3; transform: scaleX(0.7); }
    50% { opacity: 0.6; transform: scaleX(1); }
}

/* Glowing ring */
.hero-ring {
    position: absolute;
    top: 50%; right: -5%;
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(174,255,2,0.08);
    transform: translateY(-50%);
    animation: ringPulse 8s ease-in-out infinite;
    box-shadow:
        0 0 60px rgba(174,255,2,0.03),
        inset 0 0 60px rgba(174,255,2,0.02);
}

.hero-ring::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 1px solid rgba(174,255,2,0.04);
    animation: ringPulse 8s ease-in-out infinite reverse;
}

.hero-ring::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 60%; height: 60%;
    border-radius: 50%;
    border: 1px solid rgba(174,255,2,0.05);
    transform: translate(-50%, -50%);
    animation: ringRotate 20s linear infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateY(-50%) scale(1.08); opacity: 1; }
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Noise texture overlay */
.hero-noise {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

/* Radial light beam */
.hero-beam {
    position: absolute;
    top: -30%;
    right: 10%;
    width: 600px;
    height: 160%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(174,255,2,0.02) 30%,
        rgba(174,255,2,0.04) 50%,
        rgba(174,255,2,0.02) 70%,
        transparent 100%
    );
    transform: rotate(-15deg);
    animation: beamPulse 6s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.hero-content { position: relative; z-index: 2; width: 100%; text-align: left; }
.hero-content h1, .hero-content p, .hero-content .hero-btns, .hero-content .app-store-btns {
    max-width: 800px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--neon-subtle);
    border: 1px solid rgba(174,255,2,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--neon);
    backdrop-filter: blur(10px);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(174,255,2,0.05); }
    50% { box-shadow: 0 0 25px rgba(174,255,2,0.15); }
}

.hero h1 { margin-bottom: 1.5rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 550px; }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* App Store Buttons */
.app-store-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    min-width: 170px;
}
.store-btn:hover {
    border-color: var(--neon);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.store-btn i {
    font-size: 1.8rem;
    color: var(--white);
}
.store-btn:hover i {
    color: var(--neon);
}
.store-btn-text {
    display: flex;
    flex-direction: column;
}
.store-btn-small {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    line-height: 1;
}
.store-btn-big {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-display);
    line-height: 1.3;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--neon);
    padding: 2.5rem 0;
}
.stats-bar-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.stat-box { text-align: center; }
.stat-box h3 { font-size: 2.5rem; font-family: var(--font-display); font-weight: 900; color: #000; }
.stat-box p { color: rgba(0,0,0,0.7); font-weight: 600; font-size: 0.9rem; }

/* ===== ABOUT ===== */
.about { padding: 8rem 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
.about-text h2 { margin-bottom: 1rem; }
.about-text > p { margin-bottom: 2rem; }
.about-list { margin-bottom: 2rem; }
.about-list li { padding: 8px 0; color: var(--gray-light); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.about-list i { color: var(--neon); font-size: 0.85rem; }

.about-visual { position: relative; height: 400px; }
.about-card {
    position: absolute;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    min-width: 160px;
}
.about-card:hover { transform: translateY(-5px); border-color: var(--neon); }
.about-card i { font-size: 1.8rem; color: var(--neon); margin-bottom: 0.8rem; }
.about-card h4 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.about-card p { font-size: 0.8rem; }
.about-card-1 { top: 0; left: 0; }
.about-card-2 { top: 30%; right: 0; z-index: 2; background: var(--dark-2); }
.about-card-3 { bottom: 0; left: 20%; }

/* ===== PROGRAMS ===== */
.programs { padding: 8rem 0; background: var(--dark); }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.program-card {
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}
.program-card:hover { border-color: var(--neon); transform: translateY(-5px); }
.program-card.featured { border-color: var(--neon); background: linear-gradient(to bottom, rgba(174,255,2,0.05), var(--black)); }
.program-badge {
    position: absolute; top: -12px; left: 24px;
    background: var(--neon); color: #000;
    padding: 4px 14px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 700;
}
.program-icon { font-size: 2rem; color: var(--neon); margin-bottom: 1.2rem; }
.program-age {
    display: inline-block;
    padding: 4px 12px;
    background: var(--neon-subtle);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 1rem;
}
.program-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.program-card > p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.program-card ul { margin-bottom: 2rem; }
.program-card li { padding: 5px 0; font-size: 0.85rem; color: var(--gray-light); display: flex; align-items: center; gap: 8px; }
.program-card li i { color: var(--neon); font-size: 0.7rem; }

/* ===== FEATURES ===== */
.features { padding: 8rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-item {
    padding: 2.5rem;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.feature-item:hover { border-color: var(--neon); background: var(--dark-2); }
.feature-icon {
    width: 55px; height: 55px;
    display: flex; align-items: center; justify-content: center;
    background: var(--neon-subtle);
    border-radius: 12px;
    color: var(--neon);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}
.feature-item h4 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.feature-item p { font-size: 0.9rem; }

/* ===== CTA ===== */
.cta {
    padding: 8rem 0;
    background: linear-gradient(to right, var(--dark), var(--black));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.cta-content { max-width: 600px; }
.cta-content h2 { margin-bottom: 1rem; }
.cta-content p { margin-bottom: 2rem; }

.cta-visual { flex-shrink: 0; position: relative; }
.cta-image-frame {
    position: relative;
    width: 320px; 
    height: 380px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(174, 255, 2, 0.05);
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.cta-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(174,255,2,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}
.cta-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
}

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 8rem 0; background: var(--dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--neon); }
.stars { margin-bottom: 1rem; color: #f5c518; font-size: 0.9rem; display: flex; gap: 3px; }
.testimonial-card > p { font-size: 0.95rem; color: var(--gray-light); margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px;
    background: var(--neon);
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-family: var(--font-display);
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray); }

/* ===== APP INFO ===== */
.app-info-section { padding: 8rem 0; background: var(--black); overflow: hidden; }
.app-info-header { text-align: center; max-width: 800px; margin: 0 auto 5rem; }
.app-info-header h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.app-info-header p { font-size: 1.2rem; color: var(--gray); margin-bottom: 2rem; }
.header-btn-wrap { display: flex; justify-content: center; }

.app-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.app-info-visual { display: flex; justify-content: center; }
.app-phone-wrapper { position: relative; width: 100%; max-width: 380px; display: flex; justify-content: center; align-items: center; }
.app-phone-circle {
    position: absolute;
    width: 140%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(174, 255, 2, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}
.iphone-img { width: 100%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)); }

.app-info-content h2 { font-size: 2.8rem; margin-bottom: 1rem; }
.app-info-content > p { font-size: 1.1rem; color: var(--gray); margin-bottom: 2.5rem; }

.app-check-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.app-check-list li { display: flex; gap: 15px; align-items: flex-start; }
.app-check-list i { color: #4ade80; font-size: 1.4rem; flex-shrink: 0; margin-top: 3px; }
.check-text strong { display: block; font-size: 1.05rem; color: var(--white); margin-bottom: 2px; }
.check-text span { font-size: 0.9rem; color: var(--gray); }

.app-info-content .app-store-btns { margin-top: 0; justify-content: flex-start; }

@media (max-width: 768px) {
    .app-info-header h2 { font-size: 2.5rem; }
    .app-info-grid { grid-template-columns: 1fr; gap: 3rem; }
    .app-info-visual { justify-content: center; order: 2; }
    .app-info-content { order: 1; text-align: center; }
    .app-check-list li { text-align: left; }
    .app-info-content .app-store-btns { justify-content: center; }
}

/* ===== CONTACT ===== */
.contact { padding: 8rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-info h2 { margin-bottom: 0.8rem; }
.contact-info > p { margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-item i { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--neon-subtle); border-radius: 10px; color: var(--neon); flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.contact-item span { font-size: 0.85rem; color: var(--gray); }

.contact-form-wrap {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
}
.form-group { margin-bottom: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--neon); }
.contact-form select { cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 80px; }

/* ===== FOOTER ===== */
.footer { padding: 5rem 0 0; border-top: 1px solid var(--border); background: var(--dark); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand p { color: var(--gray); font-size: 0.9rem; margin: 1rem 0 1.5rem; max-width: 300px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--gray);
    transition: var(--transition);
}
.social-links a:hover { border-color: var(--neon); color: var(--neon); background: var(--neon-subtle); }
.footer-links h4 { font-size: 0.9rem; margin-bottom: 1.2rem; font-weight: 700; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a, .footer-links li { font-size: 0.85rem; color: var(--gray); transition: var(--transition); }
.footer-links a:hover { color: var(--neon); }
.footer-bottom { padding: 1.5rem 0; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.8rem; color: var(--gray); text-align: center; }

/* ===== SCROLL REVEAL ===== */
.reveal-up, .reveal-left, .reveal-down, .reveal-right, .reveal-scale, .reveal-rotate {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-60px); }
.reveal-down { transform: translateY(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-scale { transform: scale(0.85); }
.reveal-rotate { transform: rotate(-3deg) scale(0.9); }

.reveal-up.visible, .reveal-left.visible, .reveal-down.visible,
.reveal-right.visible, .reveal-scale.visible, .reveal-rotate.visible {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0deg);
}

/* ===== STAGGER ANIMATION DELAYS ===== */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===== ENHANCED CARD HOVER ANIMATIONS ===== */
.program-card {
    transition: var(--transition), box-shadow 0.4s ease;
}
.program-card:hover {
    border-color: var(--neon);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(174,255,2,0.08), 0 0 0 1px var(--neon);
}
.program-card:hover .program-icon {
    animation: iconBounce 0.6s ease;
}

.feature-item {
    transition: var(--transition), box-shadow 0.4s ease;
}
.feature-item:hover {
    border-color: var(--neon);
    background: var(--dark-2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(174,255,2,0.06);
}
.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    background: var(--neon);
    color: #000;
    box-shadow: 0 8px 25px var(--neon-glow);
}
.feature-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card {
    transition: var(--transition), box-shadow 0.4s ease;
}
.testimonial-card:hover {
    border-color: var(--neon);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-glow);
}
.author-avatar {
    transition: all 0.3s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.25) rotate(-5deg); }
    60% { transform: scale(0.95) rotate(3deg); }
}

/* ===== FEATURED CARD GLOW BORDER ===== */
.program-card.featured::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--neon), transparent 40%, transparent 60%, var(--neon));
    background-size: 200% 200%;
    animation: glowBorder 4s ease-in-out infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes glowBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== CTA BUTTON PULSE ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* ===== STAT BOX ANIMATION ===== */
.stat-box {
    transition: transform 0.3s ease;
}
.stat-box:hover {
    transform: scale(1.08);
}
.stat-box h3 {
    transition: color 0.3s ease;
}
.stat-box:hover h3 {
    text-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* ===== ABOUT CARD FLOATING ===== */
.about-card-1 { animation: cardFloat1 6s ease-in-out infinite; }
.about-card-2 { animation: cardFloat2 7s ease-in-out infinite; }
.about-card-3 { animation: cardFloat3 5s ease-in-out infinite; }

@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}
@keyframes cardFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-1.5deg); }
}
@keyframes cardFloat3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(1deg); }
}

/* ===== CTA IMAGE FRAME ENHANCED ===== */
.cta-image-frame {
    animation: ctaFrameFloat 6s ease-in-out infinite;
}
.cta-image-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(174, 255, 2, 0.15);
    border-color: rgba(174, 255, 2, 0.3);
}
.cta-image-frame:hover::before {
    opacity: 1;
}
.cta-image-frame:hover img {
    transform: scale(1.08);
}

@keyframes ctaFrameFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-15px); }
}

/* ===== SECTION TAG ANIMATION ===== */
.section-tag {
    position: relative;
    overflow: hidden;
}
.section-tag::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(174,255,2,0.2), transparent);
    animation: tagShimmer 3s ease-in-out infinite;
}

@keyframes tagShimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* ===== CONTACT FORM FOCUS ANIMATIONS ===== */
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--neon);
    box-shadow: 0 0 15px rgba(174,255,2,0.1);
    transform: translateY(-2px);
}
.contact-form input, .contact-form select, .contact-form textarea {
    transition: var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===== SOCIAL LINKS HOVER ===== */
.social-links a {
    position: relative;
    overflow: hidden;
}
.social-links a::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: var(--neon-subtle);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}
.social-links a:hover::before {
    width: 60px; height: 60px;
}

/* ===== PARALLAX SCROLL ELEMENTS ===== */
.parallax-float {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ===== TYPING CURSOR ===== */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--neon);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ===== HELPER CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

/* Chat Toggle Button */
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--neon);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(174,255,2,0.3), 0 0 0 0 rgba(174,255,2,0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    animation: chatPulse 3s ease-in-out infinite;
}
.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(174,255,2,0.4);
}
.chat-toggle-btn i {
    font-size: 1.5rem;
    color: #000;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chat-widget.active .chat-toggle-btn i {
    transform: rotate(90deg);
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(174,255,2,0.3), 0 0 0 0 rgba(174,255,2,0.4); }
    50% { box-shadow: 0 8px 30px rgba(174,255,2,0.3), 0 0 0 12px rgba(174,255,2,0); }
}

/* Chat notification badge */
.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgeBounce 2s ease-in-out infinite;
    border: 2px solid var(--black);
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 420px;
    height: 620px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(174,255,2,0.1);
}
.chat-widget.active .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.chat-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
}
.chat-header-avatar::after {
    content: '';
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--dark-2);
}
.chat-header-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--white);
}
.chat-header-info span {
    font-size: 0.78rem;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 5px;
}
.chat-header-info span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: onlinePulse 2s ease-in-out infinite;
}
@keyframes onlinePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.chat-close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.chat-close-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* Chat Body / Messages */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--black);
}
.chat-body::-webkit-scrollbar {
    width: 4px;
}
.chat-body::-webkit-scrollbar-track {
    background: transparent;
}
.chat-body::-webkit-scrollbar-thumb {
    background: var(--dark-3);
    border-radius: 4px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    animation: msgSlideIn 0.4s ease forwards;
}
.chat-msg.bot {
    flex-direction: row;
}
.chat-msg.user {
    flex-direction: row-reverse;
}
.chat-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.chat-msg.user .chat-msg-avatar {
    background: var(--dark-3);
    color: var(--gray-light);
}

.chat-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.5;
}
.chat-msg.bot .chat-bubble {
    background: var(--dark-2);
    border: 1px solid var(--border);
    color: var(--gray-light);
    border-bottom-left-radius: 6px;
}
.chat-msg.user .chat-bubble {
    background: var(--neon);
    color: #000;
    border-bottom-right-radius: 6px;
    font-weight: 500;
}
.chat-msg-time {
    font-size: 0.68rem;
    color: var(--gray);
    margin-top: 5px;
    padding: 0 4px;
}
.chat-msg.user .chat-msg-time {
    text-align: right;
}

@keyframes msgSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typing indicator */
.chat-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 8px 0;
}
.chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray);
    animation: typingDot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-6px); opacity: 1; }
}

/* Quick Action Buttons */
.chat-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 12px;
    background: var(--black);
}
.chat-quick-btn {
    padding: 8px 14px;
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--gray-light);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.chat-quick-btn:hover {
    border-color: var(--neon);
    color: var(--neon);
    background: var(--neon-subtle);
    transform: translateY(-2px);
}

/* Chat Footer / Input */
.chat-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--dark);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.chat-input:focus {
    border-color: var(--neon);
}
.chat-input::placeholder {
    color: var(--gray);
}
.chat-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--neon);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.chat-send-btn:hover {
    background: var(--neon-dark);
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .chat-window {
        width: calc(100vw - 30px);
        right: -15px;
        height: 460px;
        border-radius: 16px;
    }
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
    .chat-toggle-btn {
        width: 54px;
        height: 54px;
    }

    /* Mobile nav/ header fix */
    nav {
        padding: 16px;
    }

    .header-inner {
        padding: 0 12px;
    }

    .mobile-toggle {
        margin-left: 10px;
    }

    .nav-dropdown, .nav-mega-dropdown {
        margin-left: 0;
        border-left: none;
        border-radius: 12px;
        width: 100%;
    }

    .nav-dropdown-parent.active .nav-dropdown,
    .nav-dropdown-parent.active .nav-mega-dropdown {
        padding-left: 12px;
    }

    .nav-dropdown li a, .mega-col ul li a {
        padding: 10px 12px;
    }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { display: none; }
    .programs-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ===== MINIMALIST HEADER (Global) ===== */
.header-inner {
    justify-content: space-between;
}

nav { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11,11,11,0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 20px;
    z-index: 1000;
    animation: slideDown 0.3s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

nav.open {
    display: block !important;
}

nav ul {
    flex-direction: column;
    gap: 0.8rem;
    align-items: stretch;
}

nav li {
    width: 100%;
}

nav a {
    padding: 14px 20px;
    border-radius: 12px;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 600;
}

nav a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--neon);
}

    .nav-icon-mobile { 
        display: inline-flex !important;
        margin-right: 15px;
        color: var(--neon);
        font-size: 1.1rem;
        width: 24px;
        justify-content: center;
    }

    .mobile-toggle { 
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--white);
        font-size: 1.2rem;
        transition: var(--transition);
        margin-left: 15px;
    }

    .mobile-toggle:hover {
        background: var(--neon-subtle);
        border-color: var(--neon);
        color: var(--neon);
    }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Nav Dropdowns (Global) */
.nav-dropdown-parent::after { display: none; }
.nav-dropdown, .nav-mega-dropdown {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--neon-subtle);
    border-radius: 0 12px 12px 0;
    box-shadow: none;
    min-width: auto;
    padding: 0;
    margin-top: 5px;
    margin-left: 20px;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: var(--transition);
}

.nav-mega-dropdown {
    grid-template-columns: 1fr;
    gap: 10px;
}

.nav-dropdown-parent.active .nav-dropdown,
.nav-dropdown-parent.active .nav-mega-dropdown {
    max-height: 1200px;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    padding: 10px 0 10px 10px;
}

.mega-col { padding: 0 !important; border: none !important; }
.mega-label { padding: 10px 15px 5px; font-size: 0.7rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; }
.mega-col ul li a { padding: 10px 15px; font-size: 0.95rem; font-weight: 500; }

    /* Mobile grids */
    .programs-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    
    /* Mobile card padding */
    .program-card { padding: 1.5rem; }
    .news-content { padding: 20px; }
    .feature-item { padding: 1.5rem; }
    
/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero { 
        padding: 100px 0 60px; 
        min-height: auto;
        display: block;
    }
    .hero-content { 
        text-align: center; 
        padding: 0 15px;
    }
    .hero-content h1 { font-size: 2.22rem; }
    .hero-content p { font-size: 1.02rem; margin-left: auto; margin-right: auto; max-width: 90%; }
    
    .hero-btns { 
        flex-direction: column; 
        align-items: center; 
        gap: 12px; 
        width: 100%;
        max-width: 290px;
        margin: 0 auto;
    }
    .hero-btns .btn { width: 100%; }
    
    .app-store-btns { 
        flex-direction: row; 
        gap: 12px; 
        align-items: center; 
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin: 2rem auto 0;
    }
    .app-store-btns .store-btn { 
        flex: 1;
        min-width: 130px;
        padding: 8px 12px;
        gap: 8px;
    }
    .app-store-btns .store-btn i { font-size: 1.4rem; }
    .store-btn-big { font-size: 0.95rem; }
    .store-btn-small { font-size: 0.55rem; }
    
    .section-header h2 { font-size: 2rem; margin-bottom: 1rem; padding: 0 10px; }
    .section-header p { font-size: 0.95rem; padding: 0 15px; }

    .testimonials-grid, .news-grid, .contact-grid, .footer-inner { 
        grid-template-columns: 1fr; 
        gap: 2rem;
        padding: 0 15px;
    }
    .programs-grid, .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0 15px;
    }
    
    .cta-inner { flex-direction: column; text-align: center; gap: 2rem; padding: 0 15px; }
    
    .stats-bar-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 0 20px;
    }

    .about-visual { height: 300px; margin-top: 3rem; padding: 0 20px; }
    .about-card { min-width: 140px; padding: 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 24px; }
    .hero-content { padding: 0; }
    .hero-content h1 { font-size: 1.95rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .section-tag { font-size: 0.7rem; }
    .logo span { font-size: 1.2rem; }
    
    .hero-btns, .app-store-btns { max-width: 100%; padding: 0 10px; }
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
    padding: 180px 0 100px;
    background: linear-gradient(to bottom, #0a120a, var(--black));
    text-align: center;
}
.about-hero h1 { font-size: 4rem; margin-bottom: 1.5rem; }
.about-hero p { font-size: 1.4rem; color: var(--gray-light); max-width: 700px; margin: 0 auto; }

.about-section { padding: 100px 0; }
.alt-bg { background: var(--dark); }

.about-grid.reverse { direction: rtl; }
.about-grid.reverse .about-text, .about-grid.reverse .about-visual { direction: ltr; }

.about-image-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
}
.about-image-card img { width: 100%; height: 100%; object-fit: cover; }
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.history-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.h-stat-box {
    background: var(--dark-2);
    border: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}
.h-stat-box:hover { border-color: var(--neon); transform: translateY(-5px); }
.h-stat-box strong { display: block; font-size: 2.5rem; color: var(--neon); font-family: var(--font-display); margin-bottom: 5px; }
.h-stat-box span { font-size: 0.9rem; color: var(--gray); font-weight: 500; }

.infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.infra-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}
.infra-card:hover { border-color: var(--neon); transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.infra-img {
    width: 70px; height: 70px;
    background: var(--neon-subtle);
    border-radius: 18px;
    color: var(--neon);
    font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.infra-card:hover .infra-img { background: var(--neon); color: #000; transform: scale(1.1) rotate(5deg); }
.infra-card h4 { font-size: 1.4rem; margin-bottom: 1rem; }

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 0;
}
.partner-logo {
    opacity: 0.6;
    filter: grayscale(1);
    transition: var(--transition);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gray);
}
.partner-logo:hover { opacity: 1; filter: grayscale(0); color: var(--neon); }

/* ===== NEWS SECTION ===== */
.news-section { padding: 100px 0; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.news-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-8px); border-color: var(--neon); }
.news-img {
    height: 200px;
    background: var(--dark-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--dark-3);
}
.news-content { padding: 25px; }
.news-date { font-size: 0.8rem; color: var(--neon); font-weight: 700; margin-bottom: 10px; display: block; }
.news-card h4 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.4; }
.news-card p { font-size: 0.9rem; margin-bottom: 15px; }

@media (max-width: 768px) {
    .about-hero h1 { font-size: 2.8rem; }
    .infra-grid, .news-grid { grid-template-columns: 1fr; }
    .about-grid.reverse { direction: ltr; }
    .history-stats { grid-template-columns: 1fr; }
}

/* ==================== MOBILE BREAKPOINTS (every 100px) ==================== */

@media (max-width: 700px) {
    /* Slightly smaller hero/text + tighter sections */
    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 0.95rem; }

    .section-header h2 { font-size: 1.8rem; }
    .section-header p { font-size: 0.9rem; }

    .btn { padding: 10px 22px; font-size: 0.9rem; }
    .btn-sm { padding: 8px 18px; }

    .program-card { padding: 2rem; }
    .program-card h3 { font-size: 1.3rem; }

    .news-card h4 { font-size: 1.1rem; }
}

@media (max-width: 600px) {
    /* More compact spacing for smaller phones */
    .hero { padding: 90px 0 50px; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 0.9rem; }

    .section-header h2 { font-size: 1.6rem; }
    .section-header p { font-size: 0.85rem; }

    .btn { padding: 10px 18px; font-size: 0.88rem; }
    .btn-sm { padding: 7px 16px; }

    .program-card { padding: 1.75rem; }
    .program-card h3 { font-size: 1.2rem; }

    .news-card h4 { font-size: 1.05rem; }

    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    /* Tighten layout further for compact screens */
    #header { padding: 12px 0; }
    .container { padding: 0 14px; }

    .hero { padding: 80px 0 45px; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 0.85rem; }

    .hero-content { padding: 0 10px; }
    .hero-btns { flex-direction: column; gap: 0.8rem; }

    .section-header h2 { font-size: 1.4rem; }
    .section-header p { font-size: 0.82rem; }

    .btn { padding: 9px 16px; font-size: 0.85rem; }
    .btn-sm { padding: 6px 14px; }

    .program-card { padding: 1.5rem; }
    .program-card h3 { font-size: 1.1rem; }

    .news-card h4 { font-size: 1rem; }

    .header-inner { padding: 0 24px; }

    /* Mobile menu (hamburger) */
    nav.open { padding: 18px 20px; }
    nav a { padding: 12px 14px; font-size: 0.95rem; }
}

@media (max-width: 400px) {
    /* Very small phones */
    .container { padding: 0 16px; }

    .hero { padding: 70px 0 40px; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 0.78rem; }

    .hero-content { padding: 0 5px; }
    .hero-btns { gap: 0.6rem; }
    .app-store-btns { gap: 0.6rem; }

    .section-header h2 { font-size: 1.3rem; }
    .section-header p { font-size: 0.8rem; }

    .btn { padding: 7px 12px; font-size: 0.78rem; }
    .btn-sm { padding: 6px 12px; }

    .program-card { padding: 1rem; }
    .program-card h3 { font-size: 0.95rem; }

    .news-card h4 { font-size: 0.9rem; }

    .header-inner { padding: 0 20px; }
    .logo span { font-size: 1.1rem; }
    .mobile-toggle { width: 40px; height: 40px; font-size: 1.1rem; }

    /* Mobile menu (hamburger) */
    nav.open { padding: 14px 12px; }
    nav a { padding: 10px 12px; font-size: 0.9rem; }

    /* Reduce spacing inside dropdowns */
    .nav-dropdown, .nav-mega-dropdown { margin-left: 15px; }
    .nav-dropdown li a, .mega-col ul li a { padding: 8px 12px; }
}

@media (max-width: 300px) {
    /* Minimum supported width */
    .hero { padding: 60px 0 35px; }
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: 0.75rem; }

    .btn { padding: 7px 12px; font-size: 0.75rem; }
    .btn-sm { padding: 5px 10px; }

    .program-card { padding: 1rem; }
    .program-card h3 { font-size: 0.95rem; }

    .news-card h4 { font-size: 0.9rem; }
}

/* ===== GLOBAL RESPONSIVE UTILS ===== */
html {
    box-sizing: border-box;
    font-size: 16px; /* rem base */
    overflow-x: hidden;
}
*, *::before, *::after { box-sizing: inherit; }

body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* Breakpoints */
:root {
    --bp-xs: 320px;
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1440px;
}

/* Small phones (320–480px) */
@media (max-width: 480px) {
    .container { max-width: 100%; padding: 0 12px; }
    .header-inner { padding: 0 12px; }
    .logo span { font-size: 1.1rem; }
    .header-actions { gap: 0.6rem; }

    .hero { padding: 60px 0 40px; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 0.82rem; }

    .btn, .btn-full { width: 100%; }

    .programs-grid, .features-grid, .news-grid, .contact-grid { gap: 1.2rem; }

    img, .hero-canvas, .hero-bg-elements, .about-visual img {
        max-width: 100%;
        height: auto;
    }

    header, nav, .mobile-toggle { padding: 12px 0; }
}

/* Large phones / small tablets (481–768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container { max-width: 100%; padding: 0 16px; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 0.95rem; }

    nav a { font-size: 0.95rem; }
    .header-actions { gap: 1rem; }
}

/* Tablets / small laptops (769–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container { max-width: 960px; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1rem; }

    .programs-grid, .features-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Standard laptops/desktops (1025–1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container { max-width: 1100px; }
    .hero h1 { font-size: 3rem; }
}

/* Large monitors (1441px and above) */
@media (min-width: 1441px) {
    .container { max-width: 1200px; }
    .hero h1 { font-size: 3.4rem; }
}
