/**
 * 두리테크 Doori-tech 메인 스타일시트
 * Bold Gradient Design Theme
 */

/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Primary Colors - Gradient Theme */
    --bg: #f8fafc;
    --bg-dark: #0f172a;
    --card: #ffffff;
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Text Colors */
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    
    /* Border */
    --border: #e2e8f0;
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-warm: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Typography */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 100px;
}

/* ===================================
   Reset & Base
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* ===================================
   Header - Floating Pill Style
   =================================== */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 1400px;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
}

/* Hide header top bar in new design */
.header-top {
    display: none;
}

.header-main {
    display: contents;
}

.header-inner {
    display: contents;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text strong {
    -webkit-text-fill-color: inherit;
}

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

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

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-menu > li:hover > a,
.nav-menu > li.active > a {
    color: var(--text);
    background: var(--bg);
}

/* Submenu */
.nav-menu .submenu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-menu .submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.nav-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-light);
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.submenu li a:hover {
    background: var(--bg);
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    background: var(--bg);
    border-radius: var(--radius-full);
}

.lang-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    border-radius: var(--radius-full);
    transition: all 0.3s;
    text-decoration: none;
}

.lang-btn:hover {
    color: var(--primary);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
}

@media (max-width: 768px) {
    .lang-switcher {
        display: none;
    }
}

.search-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-light);
    transition: var(--transition);
}

.search-toggle:hover {
    background: var(--bg);
    color: var(--primary);
}

.btn-header-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-header-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-form {
    display: flex;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.search-form input {
    flex: 1;
    padding: 20px 30px;
    font-size: 18px;
    border: none;
    border-radius: var(--radius-full);
    background: white;
}

.search-form input:focus {
    outline: none;
}

.search-form button[type="submit"] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 1200;
    transition: var(--transition-slow);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 1150;
    transition: var(--transition);
}

.mobile-menu.active ~ .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header .logo {
    display: flex;
    align-items: center;
}

.mobile-menu-header .logo img {
    height: 32px;
    width: auto;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-light);
    border-radius: var(--radius-full);
    background: var(--bg);
}

.mobile-nav ul {
    padding: var(--spacing-md) 0;
}

.mobile-nav > ul > li > a {
    display: block;
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.mobile-nav .has-children > a::after {
    content: '+';
    float: right;
    transition: var(--transition);
    color: var(--text-light);
}

.mobile-nav .has-children.open > a::after {
    transform: rotate(45deg);
}

.mobile-nav .submenu {
    display: none;
    background: var(--bg);
}

.mobile-nav .has-children.open .submenu {
    display: block;
}

.mobile-nav .submenu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-xl);
    padding-left: var(--spacing-2xl);
    color: var(--text-light);
    font-size: 0.95rem;
}

.mobile-menu-footer {
    padding: var(--spacing-xl);
    border-top: 1px solid var(--border);
}

.mobile-menu-footer .lang-select {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mobile-menu-footer .lang-select a {
    padding: 10px 20px;
    background: var(--bg);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.mobile-menu-footer .lang-select a.active {
    background: var(--gradient-primary);
    color: white;
}

/* ===================================
   Main Content
   =================================== */
.main-content {
    padding-top: 0;
}

/* ===================================
   Hero Slider - Gradient Style
   =================================== */
.main-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--gradient-hero);
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-wrapper {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide.default-slide {
    background: var(--gradient-hero);
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
}

.slide .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.slide-content {
    max-width: 800px;
    color: white;
    z-index: 2;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-badge::before {
    content: '✨';
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.slide-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
}

.slide-desc {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 550px;
    line-height: 1.8;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Floating Cards */
.hero-cards {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.float-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(50px);
    opacity: 0;
    animation: slideLeft 0.8s ease forwards;
}

.float-card:nth-child(1) { animation-delay: 0.6s; }
.float-card:nth-child(2) { animation-delay: 0.8s; }
.float-card:nth-child(3) { animation-delay: 1s; }

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.float-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.float-card-text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

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

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-xl);
    pointer-events: none;
}

.slider-prev,
.slider-next {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: var(--radius-full);
    pointer-events: auto;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-prev:hover,
.slider-next:hover {
    background: white;
    color: var(--primary);
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    animation: bounce 2s ease infinite;
}

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

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: white;
    border-radius: var(--radius-full);
    animation: scrollDown 2s ease infinite;
}

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

@keyframes scrollDown {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 25px; }
}

/* Slide Animations */
.animate-fadeInUp {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Stats Section - Floating Card
   =================================== */
.section-stats {
    padding: 0 var(--spacing-lg);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================================
   Sections - General
   =================================== */
.section {
    padding: var(--spacing-4xl) 0;
}

.section-bg-white {
    background: white;
}

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

.section-bg-gradient {
    background: var(--gradient-hero);
    color: white;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text);
}

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

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header .section-eyebrow::before {
    display: none;
}

.section-header .section-desc {
    margin: 0 auto;
}

.section-bg-dark .section-title,
.section-bg-gradient .section-title {
    color: white;
}

.section-bg-dark .section-title span,
.section-bg-gradient .section-title span {
    -webkit-text-fill-color: white;
}

.section-bg-dark .section-desc,
.section-bg-gradient .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.section-bg-dark .section-eyebrow,
.section-bg-gradient .section-eyebrow {
    color: var(--accent);
}

/* ===================================
   About / Intro Section
   =================================== */
.section-intro {
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.intro-visual {
    position: relative;
}

.intro-image {
    width: 100%;
    height: 500px;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.intro-image::before {
    content: 'PCB';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 100px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
}

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

.intro-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.4);
}

.intro-badge span {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.intro-badge small {
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
}

.intro-content .section-title {
    margin-bottom: 25px;
}

.intro-text {
    margin-bottom: var(--spacing-xl);
}

.intro-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* Feature Pills */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s;
    cursor: default;
}

.pill:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.pill-icon {
    font-size: 18px;
}

/* ===================================
   Products Section
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.product-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    z-index: 1;
}

.product-image {
    position: relative;
    height: 200px;
    background: var(--bg);
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 48px;
}

.product-info {
    padding: var(--spacing-lg);
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: var(--spacing-xs) 0;
}

.product-summary {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s;
}

.product-link:hover {
    gap: 15px;
    color: var(--secondary);
}

/* ===================================
   Services Section
   =================================== */
.section-services {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.section-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s;
}

.service-card:hover .learn-more {
    gap: 15px;
}

/* ===================================
   News Section
   =================================== */
.section-news {
    background: var(--bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border: 1px solid var(--border);
}

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

.news-image {
    height: 200px;
    background: var(--gradient-primary);
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: var(--spacing-xl);
}

.news-date {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Partners Section
   =================================== */
.section-partners {
    background: white;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-chip {
    padding: 16px 32px;
    background: var(--bg);
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.partner-chip:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

/* Partners Slider Track */
.partners-slider {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: var(--spacing-xl);
    animation: scroll 30s linear infinite;
}

.partner-item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    background: var(--bg);
    border-radius: var(--radius);
}

.partner-item img {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================================
   CTA Section
   =================================== */
.section-cta {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 50px;
    color: white;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 16px;
}

/* ===================================
   Page Header (Sub Pages)
   =================================== */
.page-header {
    position: relative;
    min-height: 350px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 100px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 14px;
}

.breadcrumb a {
    opacity: 0.7;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .separator {
    opacity: 0.4;
}

.breadcrumb .current {
    opacity: 1;
    font-weight: 500;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    background: var(--bg-dark);
    color: white;
}

.footer-main {
    padding: 100px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-info .footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-contact p {
    margin-bottom: var(--spacing-xs);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p strong {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

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

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

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

.copyright p {
    margin-bottom: var(--spacing-xs);
}

.footer-policy {
    display: flex;
    gap: 30px;
}

.footer-policy a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-policy a:hover {
    color: white;
}

.family-sites select {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 14px;
}

/* ===================================
   Scroll Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

/* ===================================
   Popup
   =================================== */
.popup-overlay {
    position: fixed;
    z-index: 2000;
}

.popup-container {
    position: fixed;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: var(--popup-width);
    max-width: 90vw;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--gradient-primary);
    color: white;
}

.popup-header h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}

.popup-close {
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.popup-close:hover {
    opacity: 1;
}

.popup-content {
    max-height: var(--popup-height);
    overflow-y: auto;
}

.popup-content img {
    width: 100%;
}

.popup-text {
    padding: var(--spacing-xl);
}

.popup-footer {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.popup-footer label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

/* ===================================
   Forms
   =================================== */
.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text);
}

.form-group label .required {
    color: var(--secondary);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

/* ===================================
   Tables
   =================================== */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.table th,
.table td {
    padding: var(--spacing-lg);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text);
}

.table tbody tr:hover {
    background: var(--bg);
}

/* ===================================
   Cards
   =================================== */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.card-header {
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--border);
}

.card-body {
    padding: var(--spacing-xl);
}

.card-footer {
    padding: var(--spacing-xl);
    border-top: 1px solid var(--border);
    background: var(--bg);
}

/* ===================================
   Alert Messages
   =================================== */
.alert {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-lg);
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ===================================
   Pagination
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-3xl);
}

.pagination ul {
    display: flex;
    gap: 8px;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--spacing-sm);
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.pagination li a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination li.active a {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* ===================================
   No Data Message
   =================================== */
.no-data-message {
    text-align: center;
    padding: var(--spacing-4xl);
    color: var(--text-light);
}

.no-data-message svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-cards {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .footer-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .site-header {
        width: calc(100% - 30px);
        padding: 12px 20px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        border-radius: var(--radius-lg);
    }
    
    .btn-header-contact {
        display: none;
    }
    
    .main-slider {
        min-height: auto;
        padding: 150px 0 100px;
    }
    
    .slide .container {
        padding-top: 0;
    }
    
    .slide-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .section-stats {
        margin-top: -40px;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        padding: 30px;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section {
        padding: var(--spacing-3xl) 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policy {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-header {
        min-height: 280px;
    }
    
    .page-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .btn-lg {
        padding: 16px 28px;
        font-size: 15px;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.mt-1 { margin-top: var(--spacing-md); }
.mt-2 { margin-top: var(--spacing-lg); }
.mt-3 { margin-top: var(--spacing-xl); }
.mt-4 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-md); }
.mb-2 { margin-bottom: var(--spacing-lg); }
.mb-3 { margin-bottom: var(--spacing-xl); }
.mb-4 { margin-bottom: var(--spacing-2xl); }

.py-1 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-2 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-3 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: var(--spacing-md); }
.gap-2 { gap: var(--spacing-lg); }
.gap-3 { gap: var(--spacing-xl); }
