/* ============================================
   MAGIC IMAGE Group - Main Stylesheet
   Modern, Aesthetic Design
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Dark Theme */
    --bg-dark: #0f0f1a;
    --bg-darker: #0a0a12;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Typography */
    --font-primary: 'Poppins', 'Noto Sans KR', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1400px;
    
    /* Effects */
    --blur: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* Reset & Base - Cross Browser */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

ul {
    list-style: none;
}

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

/* Custom Cursor - Cross Browser */
/* Crystal Star Magic Wand Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.wand-svg {
    -webkit-filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
    -webkit-transform: rotate(35deg);
    -moz-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
    -webkit-transform-origin: center center;
    -moz-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
}

.cursor-follower {
    display: none;
}

/* Broadcast Logo Style */
.bc-logo {
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.bc-logo:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Team Photos */
.team-photo {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.team-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.team-photo:hover img {
    transform: scale(1.05);
}

/* Sparkle Container */
#sparkle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* 불꽃처럼 떨어지는 별가루 */
.spark-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* 메인 불꽃 - 중력 효과로 자연스럽게 떨어짐 */
@-webkit-keyframes spark-fall {
    0% {
        opacity: 1;
        -webkit-transform: translate(0, 0) scale(1);
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: translate(var(--tx), var(--ty)) scale(0);
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}
@keyframes spark-fall {
    0% {
        opacity: 1;
        -webkit-transform: translate(0, 0) scale(1);
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--drift-x), var(--fall-y)) scale(0.1);
    }
}

/* 별 모양 반짝이 */
.spark-star {
    position: absolute;
    pointer-events: none;
}

@-webkit-keyframes star-twinkle-fall {
    0% {
        opacity: 1;
        -webkit-transform: translate(0, 0) rotate(0deg) scale(1);
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% { opacity: 1; }
    100% {
        opacity: 0;
        -webkit-transform: translate(var(--drift-x), var(--fall-y)) rotate(var(--rotate)) scale(0.2);
        transform: translate(var(--drift-x), var(--fall-y)) rotate(var(--rotate)) scale(0.2);
    }
}
@keyframes star-twinkle-fall {
    0% {
        opacity: 1;
        -webkit-transform: translate(0, 0) rotate(0deg) scale(1);
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% { opacity: 1; }
    100% {
        opacity: 0;
        -webkit-transform: translate(var(--drift-x), var(--fall-y)) rotate(var(--rotate)) scale(0.2);
        transform: translate(var(--drift-x), var(--fall-y)) rotate(var(--rotate)) scale(0.2);
    }
}

/* 꼬리 효과 */
.spark-trail {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    -webkit-animation: trail-fade 0.4s ease-out forwards;
    animation: trail-fade 0.4s ease-out forwards;
}

@-webkit-keyframes trail-fade {
    0% { opacity: 0.6; -webkit-transform: scale(1); transform: scale(1); }
    100% { opacity: 0; -webkit-transform: scale(0.3); transform: scale(0.3); }
}
@keyframes trail-fade {
    0% { opacity: 0.6; -webkit-transform: scale(1); transform: scale(1); }
    100% { opacity: 0; -webkit-transform: scale(0.3); transform: scale(0.3); }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-top-color: var(--secondary);
    animation-duration: 1s;
    animation-direction: reverse;
}

.loader-text {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes spin {
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.nav.scrolled {
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(var(--blur));
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-size: 24px;
    font-weight: var(--font-weight-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* Language Selector */
.lang-selector {
    position: relative;
    margin-right: 30px;
    z-index: 1000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.lang-current {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer !important;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-family: inherit;
    font-size: inherit;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lang-selector.active .lang-current {
    background: rgba(255, 255, 255, 0.1);
}

.lang-flag {
    font-size: 20px;
    line-height: 1;
}

.lang-code {
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lang-current i {
    font-size: 10px;
    -webkit-transition: -webkit-transform 0.2s ease;
    -moz-transition: -moz-transform 0.2s ease;
    -o-transition: -o-transform 0.2s ease;
    transition: transform 0.2s ease;
    color: var(--text-muted);
    margin-left: 2px;
}

.lang-selector.active .lang-current i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    color: var(--primary-light);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-10px);
    -moz-transform: translateX(-50%) translateY(-10px);
    -ms-transform: translateX(-50%) translateY(-10px);
    transform: translateX(-50%) translateY(-10px);
    min-width: 140px;
    background: rgba(20, 20, 35, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(99, 102, 241, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 1001;
    pointer-events: none;
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(-50%) translateY(0);
    -moz-transform: translateX(-50%) translateY(0);
    -ms-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    -webkit-transform: translateX(-50%) rotate(45deg);
    -moz-transform: translateX(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(20, 20, 35, 0.98);
    border-left: 1px solid rgba(99, 102, 241, 0.3);
    border-top: 1px solid rgba(99, 102, 241, 0.3);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer !important;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    text-align: left;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.lang-option:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--text-primary);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(236, 72, 153, 0.2) 100%);
    color: white;
    position: relative;
}

.lang-option.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--gradient-primary);
    border-radius: 0 3px 3px 0;
}

.lang-option .lang-flag {
    font-size: 18px;
}

.lang-name {
    flex: 1;
    letter-spacing: 0.3px;
}

/* Ensure language selector buttons are fully clickable */
.lang-selector,
.lang-selector * {
    cursor: pointer !important;
}

.lang-selector button {
    outline: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 40px;
}

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

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 30s ease-in-out infinite;
}

@-webkit-keyframes float {
    0%, 100% { -webkit-transform: translate(0, 0) scale(1); transform: translate(0, 0) scale(1); }
    25% { -webkit-transform: translate(50px, -50px) scale(1.1); transform: translate(50px, -50px) scale(1.1); }
    50% { -webkit-transform: translate(-30px, 30px) scale(0.9); transform: translate(-30px, 30px) scale(0.9); }
    75% { -webkit-transform: translate(-50px, -30px) scale(1.05); transform: translate(-50px, -30px) scale(1.05); }
}
@keyframes float {
    0%, 100% { -webkit-transform: translate(0, 0) scale(1); transform: translate(0, 0) scale(1); }
    25% { -webkit-transform: translate(50px, -50px) scale(1.1); transform: translate(50px, -50px) scale(1.1); }
    50% { -webkit-transform: translate(-30px, 30px) scale(0.9); transform: translate(-30px, 30px) scale(0.9); }
    75% { -webkit-transform: translate(-50px, -30px) scale(1.05); transform: translate(-50px, -30px) scale(1.05); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particle-float 10s ease-in-out infinite;
}

@-webkit-keyframes particle-float {
    0%, 100% { -webkit-transform: translateY(0) rotate(0deg); transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { -webkit-transform: translateY(-100vh) rotate(720deg); transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}
@keyframes particle-float {
    0%, 100% { -webkit-transform: translateY(0) rotate(0deg); transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { -webkit-transform: translateY(-100vh) rotate(720deg); transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    margin-bottom: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@-webkit-keyframes pulse {
    0%, 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
    50% { opacity: 0.5; -webkit-transform: scale(1.2); transform: scale(1.2); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
    50% { opacity: 0.5; -webkit-transform: scale(1.2); transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: var(--font-weight-black);
    line-height: 0.9;
    margin-bottom: 30px;
}

.title-line {
    display: block;
}

.title-line.small {
    font-size: clamp(20px, 4vw, 40px);
    font-weight: var(--font-weight-light);
    letter-spacing: 10px;
    margin-top: 20px;
    color: var(--text-muted);
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 50px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 30px;
    font-weight: var(--font-weight-bold);
    color: var(--secondary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 5px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.btn {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: none;
    border: none;
}

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

.btn-primary:hover {
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-primary i {
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -ms-transform: translateX(5px);
    transform: translateX(5px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    cursor: none;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

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

/* Section Common */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.light {
    color: white;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Glass Card */
.glass-card {
    background: var(--gradient-card);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* About Section */
.about {
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    gap: 40px;
}

.about-main {
    padding: 60px;
    text-align: center;
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.about-main h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-main p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.group-companies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.company-card {
    padding: 30px;
    text-align: center;
}

.company-logo {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

.company-tag {
    font-size: 13px;
    color: var(--text-muted);
}

/* Value Chain Section */
.value-chain {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.value-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.value-step {
    padding: 40px;
    text-align: center;
    width: 280px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: var(--font-weight-black);
    color: rgba(255, 255, 255, 0.05);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.value-step h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.step-features {
    text-align: left;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.step-features li i {
    color: var(--success);
    font-size: 12px;
}

.step-arrow {
    font-size: 30px;
    color: var(--primary);
    animation: arrow-pulse 2s ease-in-out infinite;
}

@-webkit-keyframes arrow-pulse {
    0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); opacity: 1; }
    50% { -webkit-transform: translateX(10px); transform: translateX(10px); opacity: 0.5; }
}
@keyframes arrow-pulse {
    0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); opacity: 1; }
    50% { -webkit-transform: translateX(10px); transform: translateX(10px); opacity: 0.5; }
}

/* Pipeline Section */
.pipeline {
    background: var(--gradient-dark);
    padding: var(--section-padding) 0;
}

.pipeline-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.pipeline-line {
    position: absolute;
    top: 30px;
    left: 5%;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 0;
}

.pipeline-step {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 180px;
}

.pipeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 0 20px var(--primary);
}

.pipeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.pipeline-content {
    padding: 25px;
    text-align: center;
}

.pipeline-number {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
}

.pipeline-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.pipeline-content ul {
    text-align: left;
}

.pipeline-content li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 5px 0;
    padding-left: 15px;
    position: relative;
}

.pipeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.pipeline-effects {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.effect-card {
    padding: 30px 50px;
    text-align: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.effect-value {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    color: var(--success);
    margin-bottom: 10px;
}

.effect-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Capabilities Section */
.capabilities {
    background: var(--bg-dark);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.capability-card {
    padding: 40px 30px;
    text-align: center;
}

.capability-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.gradient-bg {
    background: var(--gradient-primary);
}

.capability-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.capability-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.strength-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.strength-card {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.strength-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.strength-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.strength-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Platform Section */
.platform {
    background: var(--gradient-dark);
}

.platform-showcase {
    margin-bottom: 80px;
}

.platform-devices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.device-mobile, .device-tv, .device-web {
    text-align: center;
}

.device-frame {
    margin-bottom: 30px;
}

.device-mobile .device-frame {
    width: 200px;
    height: 400px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 30px;
    padding: 15px;
    border: 3px solid #2a2a4a;
    position: relative;
}

.device-mobile .device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    overflow: hidden;
}

.device-mobile .screen-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 20px;
    font-weight: var(--font-weight-bold);
    background: rgba(0, 0, 0, 0.2);
}

.app-content {
    flex: 1;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.1) 0px,
        rgba(255, 255, 255, 0.1) 60px,
        transparent 60px,
        transparent 80px
    );
}

.device-tv .device-frame {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 10px;
    padding: 10px;
    border: 3px solid #2a2a4a;
}

.device-tv .device-screen {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-stand {
    width: 30%;
    height: 20px;
    margin: 0 auto;
    background: #2a2a4a;
    border-radius: 0 0 5px 5px;
}

.tv-logo {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
}

.device-web .device-frame {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 10px;
    padding: 10px;
    border: 3px solid #2a2a4a;
}

.device-web .device-screen {
    width: 100%;
    aspect-ratio: 16/10;
    background: #0f0f1a;
    border-radius: 5px;
    overflow: hidden;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #1a1a2e;
}

.browser-dots::before {
    content: '• • •';
    color: var(--text-muted);
    font-size: 10px;
}

.browser-url {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

.web-content {
    height: calc(100% - 40px);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.device-info {
    padding: 25px;
    text-align: left;
}

.device-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.device-info h4 i {
    color: var(--primary);
}

.device-info li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 5px 0;
}

.platform-kpi {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.kpi-card {
    text-align: center;
}

.kpi-value {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kpi-number {
    font-size: inherit;
}

.kpi-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Channel KPI */
.channel-kpi {
    background: var(--bg-dark);
}

.channel-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.channel-stat {
    padding: 40px 30px;
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.channel-stat .stat-value {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

.channel-stat .stat-value span {
    color: var(--secondary);
}

.stat-title {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Global Section */
.global {
    background: var(--gradient-dark);
}

.global-map-container {
    margin-bottom: 80px;
}

.world-map {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-svg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: marker-pulse 2s ease-out infinite;
}

@-webkit-keyframes marker-pulse {
    0% { -webkit-transform: translate(-50%, -50%) scale(1); transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { -webkit-transform: translate(-50%, -50%) scale(2); transform: translate(-50%, -50%) scale(2); opacity: 0; }
}
@keyframes marker-pulse {
    0% { -webkit-transform: translate(-50%, -50%) scale(1); transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { -webkit-transform: translate(-50%, -50%) scale(2); transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid white;
    position: relative;
    z-index: 1;
}

.map-marker.hq .marker-dot {
    width: 16px;
    height: 16px;
    background: var(--secondary);
}

.marker-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    white-space: nowrap;
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 10px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.map-marker:hover .marker-label {
    opacity: 1;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.partner-card {
    padding: 30px;
    text-align: center;
}

.partner-flag {
    font-size: 40px;
    margin-bottom: 15px;
}

.partner-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.partner-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

.distribution-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dist-type {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dist-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.dist-type h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.dist-type p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* AI Technology Section */
.ai-tech {
    background: var(--bg-dark);
}

.ai-section {
    margin-bottom: 80px;
}

.ai-section:last-child {
    margin-bottom: 0;
}

.ai-section-title {
    font-size: 24px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ai-section-title i {
    color: var(--primary);
}

.ai-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.ai-step {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 120px;
}

.ai-step-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.ai-step-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.ai-step-content p {
    font-size: 11px;
    color: var(--text-muted);
}

.ai-arrow {
    color: var(--primary);
    font-size: 20px;
}

.ai-metrics {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ai-metric {
    padding: 30px 40px;
    text-align: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.metric-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.metric-value {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    color: var(--success);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.ai-generation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gen-card {
    padding: 40px;
}

.gen-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.gen-header i {
    font-size: 28px;
    color: var(--primary);
}

.gen-header h4 {
    font-size: 22px;
}

.gen-subtitle {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.gen-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.gen-features li i {
    color: var(--success);
}

.ai-impact {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.impact-item {
    text-align: center;
}

.impact-value {
    font-size: 56px;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* History Section */
.history {
    background: var(--gradient-dark);
}

.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 45%;
    text-align: right;
    padding-right: 50px;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-light);
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: 50px;
}

.timeline-content {
    flex: 0 0 45%;
    padding: 30px;
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.timeline-content li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 5px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-darker);
    z-index: 1;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-item {
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.portfolio-letter {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.portfolio-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.portfolio-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    background: var(--gradient-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    padding: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.contact-value {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
}

.contact-links {
    padding: 50px;
}

.contact-links h4 {
    font-size: 20px;
    margin-bottom: 25px;
}

.website-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all var(--transition-fast);
}

.website-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.website-link span {
    flex: 1;
}

.website-link i:first-child {
    color: var(--primary);
    font-size: 20px;
}

.website-link i:last-child {
    color: var(--text-muted);
    font-size: 14px;
}

.qr-section {
    margin-top: 30px;
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    font-size: 60px;
    color: #333;
}

.qr-section p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 28px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-confidential {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 3px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --section-padding: 100px;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .lang-selector {
        margin-right: 15px;
    }
    
    .lang-current {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .lang-current .lang-flag {
        font-size: 18px;
    }
    
    .lang-current .lang-code {
        font-size: 12px;
    }
    
    .lang-current i {
        font-size: 9px;
    }
    
    .lang-dropdown {
        min-width: 130px;
        right: 0;
        left: auto;
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    
    .lang-selector.active .lang-dropdown {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    
    .lang-dropdown::before {
        left: auto;
        right: 20px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    
    .platform-devices {
        grid-template-columns: 1fr;
    }
    
    .device-mobile .device-frame,
    .device-tv .device-frame,
    .device-web .device-frame {
        max-width: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-track {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 70px;
    }
    
    .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        text-align: left;
        padding: 0;
        margin-bottom: 15px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-item::before {
        left: 30px;
        top: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .value-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .pipeline-line {
        display: none;
    }
    
    .ai-pipeline {
        flex-direction: column;
    }
    
    .ai-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .hero-title {
        font-size: 50px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    a, button, .btn {
        cursor: pointer;
    }
}

/* ============================================
   Map Marker Interaction Styles
   ============================================ */
.map-marker {
    transition: all 0.3s ease;
}

.map-marker:hover {
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

.map-marker:hover .marker-dot {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.8), 0 0 30px rgba(99, 102, 241, 0.5);
}

.map-marker.active .marker-dot {
    background: #ff4757 !important;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.8), 0 0 40px rgba(255, 71, 87, 0.5);
    -webkit-transform: scale(1.8);
    -moz-transform: scale(1.8);
    -ms-transform: scale(1.8);
    transform: scale(1.8);
}

.map-marker.active .marker-pulse {
    animation: markerPulseActive 1s ease-out infinite;
}

@-webkit-keyframes markerPulseActive {
    0% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
    100% { -webkit-transform: scale(3); transform: scale(3); opacity: 0; }
}
@keyframes markerPulseActive {
    0% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
    100% { -webkit-transform: scale(3); transform: scale(3); opacity: 0; }
}

/* Leaflet Map Custom Styles */
#leaflet-map {
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.leaflet-popup-content-wrapper {
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 15px 18px !important;
}

.leaflet-popup-tip {
    background: white !important;
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.leaflet-control-zoom a {
    background: rgba(30, 30, 50, 0.9) !important;
    color: white !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(99, 102, 241, 0.9) !important;
}

.leaflet-control-zoom-in {
    border-radius: 8px 8px 0 0 !important;
}

.leaflet-control-zoom-out {
    border-radius: 0 0 8px 8px !important;
}

.leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.5) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 10px !important;
}

.leaflet-control-attribution a {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Partner card styles */
.partner-card.highlighted {
    animation: cardGlow 1.5s ease-in-out infinite alternate;
}

@keyframes cardGlow {
    0% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(236, 72, 153, 0.3);
    }
    100% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.8), 0 0 80px rgba(236, 72, 153, 0.5);
    }
}
