/*
 * style.css - Main Stylesheet (Redesigned)
 * 중흥동 영어학원 (eng.hzibs.com)
 *
 * Design Principles:
 * - Crystal clear readability with high contrast
 * - Professional, clean aesthetic
 * - Native app-like mobile experience
 */

/* ========== CSS RESET & VARIABLES ========== */
:root {
    /* ==========  REFINED COLOR SYSTEM ========== */
    /* Primary Brand Colors - Deeper, more professional */
    --primary-950: #0c0117;
    --primary-900: #120320;
    --primary-800: #1a0533;
    --primary-700: #2d1b4e;
    --primary-600: #3d2668;
    --primary-500: #4f3182;
    --primary-400: #6b47a8;
    --primary-300: #8b6bc4;
    --primary-200: #b49be0;
    --primary-100: #dcd0f5;
    --primary-50: #f3eefb;

    /* Accent Colors - Vibrant and clear */
    --accent-purple: #a855f7;
    --accent-violet: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;

    /* Gradient Accents */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --gradient-cool: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);

    /* ==========  TEXT COLORS - HIGH CONTRAST ========== */
    --text-white: #ffffff;
    --text-primary: #f8fafc;        /* Nearly white - main text */
    --text-secondary: #e2e8f0;      /* Light gray - secondary text */
    --text-tertiary: #cbd5e1;       /* Medium gray - hints */
    --text-muted: #94a3b8;          /* Muted - less important */
    --text-dark: #1e293b;           /* For light backgrounds */

    /* ==========  BACKGROUND COLORS ========== */
    --bg-base: #080012;             /* Deepest background */
    --bg-surface: #0f0420;          /* Card/surface background */
    --bg-elevated: #1a0838;         /* Elevated elements */
    --bg-overlay: rgba(8, 0, 18, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    --bg-glass-active: rgba(255, 255, 255, 0.08);

    /* Gradient Backgrounds */
    --bg-gradient-main: linear-gradient(180deg, #0c0117 0%, #120320 50%, #1a0533 100%);
    --bg-gradient-radial: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);

    /* ==========  BORDERS & SHADOWS ========== */
    --border-subtle: rgba(139, 92, 246, 0.15);
    --border-default: rgba(139, 92, 246, 0.25);
    --border-strong: rgba(139, 92, 246, 0.4);
    --border-accent: rgba(168, 85, 247, 0.6);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
    --shadow-glow-sm: 0 0 12px rgba(168, 85, 247, 0.3);
    --shadow-glow-md: 0 0 24px rgba(168, 85, 247, 0.4);
    --shadow-glow-lg: 0 0 40px rgba(168, 85, 247, 0.5);
    --shadow-glow-accent: 0 4px 20px rgba(168, 85, 247, 0.4);

    /* ==========  SPACING SYSTEM ========== */
    --space-0: 0;
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */

    /* ==========  TYPOGRAPHY ========== */
    --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Pretendard', 'Noto Sans KR', sans-serif;
    --font-mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.6875rem, 0.65rem + 0.1vw, 0.75rem);      /* 11-12px */
    --text-sm: clamp(0.8125rem, 0.775rem + 0.15vw, 0.875rem);   /* 13-14px */
    --text-base: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);       /* 15-16px */
    --text-lg: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);        /* 17-18px */
    --text-xl: clamp(1.1875rem, 1.1rem + 0.3vw, 1.25rem);       /* 19-20px */
    --text-2xl: clamp(1.375rem, 1.25rem + 0.5vw, 1.5rem);       /* 22-24px */
    --text-3xl: clamp(1.625rem, 1.4rem + 0.8vw, 1.875rem);      /* 26-30px */
    --text-4xl: clamp(2rem, 1.7rem + 1.2vw, 2.5rem);            /* 32-40px */
    --text-5xl: clamp(2.5rem, 2rem + 2vw, 3.5rem);              /* 40-56px */
    --text-6xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);            /* 48-72px */

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;

    /* Font Weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    /* ==========  LAYOUT ========== */
    --container-xs: 480px;
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;

    --header-height: 72px;
    --header-height-mobile: 64px;

    /* ==========  BORDERS ========== */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* ==========  TRANSITIONS ========== */
    --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-400: 400ms;
    --duration-500: 500ms;
    --duration-700: 700ms;

    /* ==========  Z-INDEX SCALE ========== */
    --z-base: 0;
    --z-dropdown: 50;
    --z-sticky: 100;
    --z-fixed: 200;
    --z-modal-backdrop: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
    --z-toast: 700;
    --z-max: 9999;
}

/* ========== CSS RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    background: var(--bg-base);
    background-image: var(--bg-gradient-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient-radial);
    pointer-events: none;
    z-index: 0;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    color: var(--text-white);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: var(--text-5xl);
    font-weight: var(--weight-extrabold);
}

h2 {
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
}

h3 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
}

h4 {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
}

h5 {
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
}

h6 {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color var(--duration-200) var(--ease-default);
}

a:hover {
    color: var(--accent-violet);
}

strong, b {
    font-weight: var(--weight-semibold);
    color: var(--text-white);
}

em, i {
    font-style: italic;
}

small {
    font-size: var(--text-sm);
}

/* ========== SELECTION ========== */
::selection {
    background: var(--accent-purple);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--accent-purple);
    color: var(--text-white);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-600);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-base);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-600) var(--bg-base);
}

/* ========== FOCUS STYLES - Accessibility ========== */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

/* ========== LAYOUT - CONTAINER ========== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }
.container-2xl { max-width: var(--container-2xl); }
.container-full { max-width: 100%; padding: 0; }

/* ========== UTILITY CLASSES ========== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* Gap */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Spacing */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-0 { padding: 0; }
.p-2 { padding: var(--space-2); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Width & Height */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* ========== HEADER STYLES ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: var(--z-fixed);
    background: rgba(12, 1, 23, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--duration-300) var(--ease-default);
}

.header.scrolled {
    background: rgba(12, 1, 23, 0.92);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--border-default);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
    transition: transform var(--duration-200) var(--ease-default);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.4));
}

.logo-icon-img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.4));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo-main {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: var(--tracking-tight);
}

.logo-sub {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    line-height: 1.2;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--duration-200) var(--ease-default);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
    background: var(--bg-glass-hover);
}

.nav-link.active {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
}

/* Dropdown */
.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: var(--space-2);
    background: rgba(18, 3, 32, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--duration-200) var(--ease-default);
    list-style: none;
    z-index: var(--z-dropdown);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--duration-150) var(--ease-default);
}

.dropdown-menu a:hover {
    color: var(--text-white);
    background: var(--bg-glass-hover);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.header-phone {
    display: none;
}

@media (min-width: 768px) {
    .header-phone {
        display: inline-flex;
    }
}

.phone-icon {
    font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-default);
}

.mobile-menu-toggle:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-default);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration-300) var(--ease-default);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 1, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform var(--duration-300) var(--ease-default);
    z-index: var(--z-fixed);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile.active {
    transform: translateX(0);
}

.nav-mobile-inner {
    padding: var(--space-6);
    padding-bottom: calc(var(--space-16) + env(safe-area-inset-bottom));
}

.nav-menu-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-mobile > li {
    border-bottom: 1px solid var(--border-subtle);
}

.nav-menu-mobile > li:last-child {
    border-bottom: none;
}

.nav-menu-mobile > li > a {
    display: block;
    padding: var(--space-4) var(--space-2);
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    color: var(--text-primary);
    transition: color var(--duration-200) var(--ease-default);
}

.nav-menu-mobile > li > a:hover,
.nav-menu-mobile > li > a:active {
    color: var(--accent-purple);
}

.nav-menu-mobile .has-submenu {
    position: relative;
}

.submenu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-default);
}

.submenu-toggle:hover {
    color: var(--accent-purple);
}

.submenu {
    list-style: none;
    padding: 0 0 var(--space-4) var(--space-4);
    display: none;
}

.submenu.active {
    display: block;
}

.submenu a {
    display: block;
    padding: var(--space-3) var(--space-2);
    font-size: var(--text-base);
    color: var(--text-secondary);
    transition: color var(--duration-150) var(--ease-default);
}

.submenu a:hover,
.submenu a:active {
    color: var(--accent-purple);
}

.nav-mobile-cta {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    position: relative;
    z-index: 1;
    padding-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

@media (max-width: 1023px) {
    .main-content {
        padding-top: var(--header-height-mobile);
        min-height: calc(100vh - var(--header-height-mobile));
    }
}

/* ========== SECTIONS ========== */
.section {
    position: relative;
    padding: var(--space-16) 0;
}

.section-sm {
    padding: var(--space-10) 0;
}

.section-lg {
    padding: var(--space-20) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-label {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-4);
    line-height: var(--leading-snug);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-tertiary);
    max-width: 640px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

/* ========== CARDS ========== */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--duration-300) var(--ease-default);
}

.card:hover {
    border-color: var(--border-default);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-sm);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-elevated {
    background: var(--bg-elevated);
    box-shadow: var(--shadow-md);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    line-height: 1.5;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-default);
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Primary Button */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-md);
    color: var(--text-white);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-strong);
    color: var(--text-white);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
    background: var(--bg-glass);
    color: var(--text-white);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

.btn-block {
    width: 100%;
}

/* Button Icon */
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* ========== FORM ELEMENTS ========== */
.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
}

.form-label-required::after {
    content: '*';
    color: var(--accent-pink);
    margin-left: var(--space-1);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: all var(--duration-200) var(--ease-default);
    -webkit-appearance: none;
    appearance: none;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: var(--border-strong);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
    background: var(--bg-glass-active);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-12);
}

.form-checkbox,
.form-radio {
    width: 20px;
    height: 20px;
    margin-right: var(--space-3);
    accent-color: var(--accent-purple);
    cursor: pointer;
}

.form-help {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.form-error {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--accent-pink);
}

/* ========== BADGES ========== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    color: var(--text-secondary);
}

.badge-primary {
    background: rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-amber);
}

.badge-error {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
}

.badge-info {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

/* ========== PROGRESS BAR ========== */
.progress {
    width: 100%;
    height: 8px;
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--duration-500) var(--ease-out);
}

/* ========== AVATAR ========== */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--text-white);
    font-weight: var(--weight-semibold);
    font-size: var(--text-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-sm { width: 36px; height: 36px; font-size: var(--text-sm); }
.avatar-lg { width: 64px; height: 64px; font-size: var(--text-xl); }
.avatar-xl { width: 96px; height: 96px; font-size: var(--text-3xl); }

/* ========== DIVIDER ========== */
.divider {
    height: 1px;
    background: var(--border-subtle);
    margin: var(--space-8) 0;
}

.divider-vertical {
    width: 1px;
    height: auto;
    background: var(--border-subtle);
    margin: 0 var(--space-4);
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    background: rgba(8, 0, 18, 0.95);
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-16);
    padding-bottom: var(--space-8);
}

.footer-top {
    margin-bottom: var(--space-12);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
}

.footer-section {
    margin-bottom: var(--space-8);
}

.footer-section h4 {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.footer-info {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    text-decoration: none;
}

.footer-logo .logo-icon {
    font-size: 1.5rem;
}

.footer-logo .logo-text {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--text-white);
}

.footer-desc {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.footer-contact {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-loose);
}

.footer-contact p {
    margin-bottom: var(--space-3);
    color: var(--text-muted);
}

.footer-contact strong {
    color: var(--text-secondary);
    display: block;
    margin-bottom: var(--space-1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color var(--duration-200) var(--ease-default);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    font-size: var(--text-sm);
}

@media (min-width: 768px) {
    .footer-legal {
        justify-content: flex-start;
    }
}

.footer-legal a {
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--accent-purple);
}

.footer-legal .divider {
    margin: 0;
    height: auto;
    background: none;
    color: var(--text-muted);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-copyright p {
    margin-bottom: var(--space-1);
    color: inherit;
}

.footer-biz {
    font-size: var(--text-xs);
    color: var(--text-muted);
    opacity: 0.7;
}

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration-300) var(--ease-default);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-glow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-lg);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    top: calc(var(--header-height) + var(--space-4));
    right: var(--space-4);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 400px;
    width: calc(100% - var(--space-8));
}

@media (max-width: 767px) {
    .toast-container {
        top: auto;
        bottom: var(--space-4);
        left: var(--space-4);
        right: var(--space-4);
    }
}

.toast {
    padding: var(--space-4) var(--space-5);
    background: rgba(18, 3, 32, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: var(--text-sm);
    box-shadow: var(--shadow-xl);
    transform: translateX(120%);
    opacity: 0;
    transition: all var(--duration-300) var(--ease-default);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left: 3px solid var(--accent-emerald);
}

.toast-error {
    border-left: 3px solid var(--accent-pink);
}

.toast-warning {
    border-left: 3px solid var(--accent-amber);
}

.toast-info {
    border-left: 3px solid var(--accent-blue);
}

/* ========== MODAL ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-300) var(--ease-default);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform var(--duration-300) var(--ease-default);
    box-shadow: var(--shadow-xl);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-default);
    z-index: 1;
}

.modal-close:hover {
    background: var(--bg-glass-hover);
    color: var(--text-white);
}

.modal-body {
    padding: var(--space-8);
}

/* ========== LOADING ========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-max);
    transition: all var(--duration-500) var(--ease-default);
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== SKIP LINK - Accessibility ========== */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--accent-purple);
    color: var(--text-white);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-md);
    z-index: var(--z-max);
    transition: top var(--duration-200) var(--ease-default);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ========== ANTIGRAVITY EFFECTS CONTAINER ========== */
#antigravity-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

#plasma-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========== TEXT UTILITIES ========== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cool {
    background: var(--gradient-cool);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.5), rgba(13, 2, 33, 0.8));
    padding: var(--space-16) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.stat-item {
    padding: var(--space-8);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== SERVICE CARDS ========== */
.services-overview {
    padding: var(--space-20) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    padding: var(--space-8);
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: inline-block;
}

.service-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
    text-align: left;
}

.service-features li {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: 600;
}

/* ========== FEATURE ITEMS ========== */
.why-choose-us {
    padding: var(--space-20) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
}

.feature-item {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.feature-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    padding: var(--space-20) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.testimonial-card {
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-rating {
    margin-bottom: var(--space-4);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-primary);
    font-size: var(--text-lg);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: 600;
}

.author-info span {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ========== LEVEL TEST SECTION ========== */
.level-test-section {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, rgba(13, 2, 33, 0.5), rgba(45, 27, 78, 0.3));
}

/* ========== ERROR MESSAGE ========== */
.error-message {
    text-align: center;
    padding: var(--space-16) var(--space-8);
}

.error-message h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.error-message p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: var(--space-20) 0 var(--space-16);
    background: linear-gradient(180deg, rgba(45, 27, 78, 0.4) 0%, transparent 100%);
    text-align: center;
}

.page-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
    padding: var(--space-16) 0 var(--space-20);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: start;
}

.contact-form-container .card {
    padding: var(--space-8);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: var(--accent-purple);
}

.contact-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.contact-info-content p,
.contact-info-content a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-info-content a:hover {
    color: var(--accent-purple);
}

/* Contact Map */
.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 16/9;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== TEAM PAGE ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.team-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.15);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.team-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.team-role {
    font-size: var(--text-sm);
    color: var(--accent-purple);
    margin-bottom: var(--space-3);
}

.team-bio {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== FAQ PAGE ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) var(--space-6);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(168, 85, 247, 0.05);
}

.faq-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== ABOUT PAGE ========== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.about-content p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

/* ========== LOCATION PAGE ========== */
.location-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 16/9;
    margin-bottom: var(--space-10);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.shuttle-routes {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.shuttle-route-item {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-color);
}

.shuttle-route-item:last-child {
    border-bottom: none;
}

.route-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.route-info h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.route-stops {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.route-time {
    margin-left: auto;
    font-size: var(--text-sm);
    color: var(--accent-purple);
    font-weight: 600;
}

/* ========== REVIEWS PAGE ========== */
.reviews-summary {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-10);
}

.reviews-score {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.reviews-stars {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.reviews-count {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}
