/**
 * style.css - Main Stylesheet
 * 영어공부 혼자하기 - edu.soritune.com
 * Design: Modern + Cosmic Color Scheme + TikTok-Inspired
 * Location: /assets/css/style.css
 */

/* ========================================
   CSS CUSTOM PROPERTIES (Variables)
======================================== */
:root {
    /* Cosmic Color Palette */
    --color-primary: #667eea;
    --color-primary-dark: #5a67d8;
    --color-primary-light: #7c8ff0;
    --color-secondary: #764ba2;
    --color-accent: #f093fb;
    --color-accent-cyan: #00f5ff;
    --color-accent-pink: #ff006e;

    /* Gradient Colors */
    --gradient-cosmic: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-aurora: linear-gradient(135deg, #667eea 0%, #f093fb 50%, #764ba2 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a1a 0%, #1a1a3e 100%);
    --gradient-card: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);

    /* Text Colors */
    --color-text: #1a1a2e;
    --color-text-light: #4a4a6a;
    --color-text-muted: #8888a0;
    --color-text-white: #ffffff;

    /* Background Colors */
    --color-bg: #ffffff;
    --color-bg-dark: #0a0a1a;
    --color-bg-light: #f8f9ff;
    --color-bg-card: #ffffff;

    /* Border & Shadow */
    --color-border: #e5e7eb;
    --color-border-light: #f0f0f5;
    --shadow-sm: 0 2px 4px rgba(102, 126, 234, 0.08);
    --shadow-md: 0 4px 12px rgba(102, 126, 234, 0.12);
    --shadow-lg: 0 8px 30px rgba(102, 126, 234, 0.18);
    --shadow-xl: 0 20px 60px rgba(102, 126, 234, 0.25);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', 'Noto Sans KR', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;

    /* Header Height */
    --header-height: 80px;
    --header-height-mobile: 64px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* Focus */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-text-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    z-index: var(--z-tooltip);
    transition: var(--transition-fast);
}

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

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: var(--space-4xl) 0;
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--color-text-white);
}

.section-light {
    background: var(--color-bg-light);
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   BACKGROUND EFFECTS
======================================== */
.antigravity-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

.particle-galaxy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-cosmic);
    color: var(--color-text-white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
}

/* ========================================
   HEADER
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: var(--z-sticky);
    transition: var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    height: 100%;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 700;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) 0;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    padding: var(--space-sm) 0;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

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

.header-actions .btn {
    display: none;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: var(--z-modal);
}

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

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 24px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition-base);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    transform: translateX(100%);
    transition: var(--transition-base);
    overflow-y: auto;
    z-index: var(--z-dropdown);
}

@media (min-width: 768px) {
    .mobile-nav {
        top: var(--header-height);
    }
}

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

.mobile-nav-inner {
    padding: var(--space-xl);
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) 0;
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.mobile-nav-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-lg) 0;
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-text);
}

.mobile-dropdown {
    display: none;
    list-style: none;
    padding-bottom: var(--space-md);
}

.mobile-dropdown.active {
    display: block;
}

.mobile-dropdown a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text-light);
    font-size: var(--font-size-base);
}

.mobile-nav-cta {
    margin-top: var(--space-xl);
}

/* ========================================
   MAIN CONTENT
======================================== */
.site-main {
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-dark);
    color: var(--color-text-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--space-2xl);
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(240, 147, 251, 0.2);
    border: 1px solid rgba(240, 147, 251, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 50%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-highlight {
    display: block;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-xs);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.scroll-indicator-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

.scroll-indicator-text {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   SLIDER / CAROUSEL
======================================== */
.slider-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--color-bg-light);
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 var(--space-md);
}

.slider-card {
    background: var(--color-bg);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.slider-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.slider-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.slider-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.slider-card:hover .slider-card-image img {
    transform: scale(1.05);
}

.slider-card-content {
    padding: var(--space-xl);
}

.slider-card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.slider-card-desc {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
}

.slider-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-dots {
    display: flex;
    gap: var(--space-sm);
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
}

.slider-dot.active {
    width: 30px;
    background: var(--color-primary);
}

/* ========================================
   CARDS & FEATURES
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    position: relative;
    background: var(--color-bg);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-base);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-cosmic);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
    font-size: 2rem;
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.feature-desc {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    line-height: 1.8;
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-card);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: var(--gradient-dark);
    color: var(--color-text-white);
}

.footer-top {
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-col {
    min-width: 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-text-white);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--color-text-white);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary-light);
    padding-left: var(--space-sm);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary-light);
}

.footer-bottom {
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    text-align: center;
}

.footer-company-info {
    margin-bottom: var(--space-md);
}

.footer-company-info p {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-xs);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-legal a {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.5);
}

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

.copyright {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   BACK TO TOP BUTTON
======================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-cosmic);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-text-white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-lg);
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   FORMS
======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

/* ========================================
   PAGE-SPECIFIC STYLES
======================================== */

/* Page Hero (for inner pages) */
.page-hero {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--gradient-dark);
    color: var(--color-text-white);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 10;
}

.page-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: var(--space-md);
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.page-breadcrumb a:hover {
    color: var(--color-text-white);
}

.page-breadcrumb span {
    color: var(--color-primary-light);
}

/* Content Section */
.content-section {
    padding: var(--space-4xl) 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-text-white); }

.bg-primary { background: var(--color-primary); }
.bg-dark { background: var(--color-bg-dark); }
.bg-light { background: var(--color-bg-light); }

.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-2xl { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.py-3xl { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.py-4xl { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

/* ========================================
   PRINT STYLES
======================================== */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .mobile-menu-toggle,
    .slider-nav {
        display: none;
    }

    .site-main {
        padding-top: 0;
    }

    body {
        background: white;
        color: black;
    }
}
