/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* === Brand Colors - 더 진하고 묵직한 색상 === */
    --primary-blue: #0F172A;
    --primary-blue-hover: #1E293B;
    --primary-blue-light: #F1F5F9;
    --primary-blue-dark: #020617;
    --secondary-blue: #334155;
    --secondary-blue-light: #E2E8F0;

    /* === Background Colors === */
    --bg-white: #FAFAFA;
    --bg-light-gray: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --bg-input: #F8FAFC;
    --bg-dark-section: #0F172A;
    --bg-gradient-start: #0F172A;
    --bg-gradient-end: #1E293B;

    /* === Text Colors === */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-on-primary: #FFFFFF;
    --text-on-dark: #F8FAFC;

    /* === Border Colors === */
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    --border-focus: #334155;
    --border-dark: #1E293B;

    /* === Shadows - 더 진하고 묵직한 그림자 === */
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px -4px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 12px 32px -8px rgba(0, 0, 0, 0.24);
    --shadow-deep: 0 20px 40px -12px rgba(0, 0, 0, 0.3);

    /* === Status Colors === */
    --success-green: #10B981;
    --success-light: #D1FAE5;
    --error-red: #EF4444;
    --error-light: #FEE2E2;
    --warning-orange: #F59E0B;
    --badge-bg: #F59E0B;

    /* === Legacy Variables (하위 호환성) === */
    --bg-dark: var(--bg-white);
    --border-color: var(--border-light);
    --accent-color: var(--primary-blue);
    --button-bg: var(--primary-blue);
    --button-text: var(--text-on-primary);
    --button-border: var(--primary-blue);
}

/* Dark Mode Variables */
body.dark-mode {
    /* === Brand Colors === */
    --primary-blue: #60A5FA;
    --primary-blue-hover: #3B82F6;
    --primary-blue-light: #1E3A8A;
    --primary-blue-dark: #3B82F6;

    /* === Background Colors === */
    --bg-white: #0A0A0A;
    --bg-light-gray: #161B22;
    --bg-card: #161B22;
    --bg-card-hover: #1F2937;
    --bg-input: #1F2937;

    /* === Text Colors === */
    --text-primary: #F0F6FC;
    --text-secondary: #C9D1D9;
    --text-muted: #8B949E;
    --text-on-primary: #0A0A0A;

    /* === Border Colors === */
    --border-light: #30363D;
    --border-medium: #3D444D;
    --border-focus: #60A5FA;

    /* === Shadows === */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 2px 4px 0 rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.7);
    --shadow-hover: 0 6px 12px -2px rgba(0, 0, 0, 0.8);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 400;
    padding-top: 70px; /* Fixed header height */
}

/* Header and Navigation */
header {
    background: var(--bg-card);
    border-bottom: 2px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.75rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 700;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icon {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.nav-icon:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.dark-mode-toggle {
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.dark-mode-toggle:hover {
    background: var(--primary-blue);
    color: var(--text-on-primary);
    border-color: var(--primary-blue);
}

.hamburger {
    display: block !important;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    z-index: 20;
    background: none;
    border: none;
    color: var(--text-primary);
    transition: color 0.2s, background 0.2s;
    border-radius: 6px;
}

.hamburger:hover {
    color: #1d4ed8;
    background: rgba(29,78,216,0.06);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--text-on-primary);
    padding: 0.75rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.3s ease-out;
}

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

.promo-banner.hidden {
    display: none;
}

.promo-banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.promo-banner-icon {
    font-size: 1.5rem;
}

.promo-banner-text {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.promo-banner-text strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.promo-banner-link {
    color: var(--text-on-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s;
}

.promo-banner-link:hover {
    opacity: 0.8;
}

.promo-banner-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promo-banner-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-on-primary);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.promo-banner-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.promo-banner-close {
    background: none;
    border: none;
    color: var(--text-on-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: all 0.2s;
    opacity: 0.8;
}

.promo-banner-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    max-width: 100%;
    margin: 0;
    padding: 10rem 3rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero-cards-carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.15;
    margin-bottom: 2rem;
    font-weight: 900;
    color: var(--text-on-dark);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 3.5rem;
    line-height: 1.7;
    font-weight: 400;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    writing-mode: vertical-rl;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

/* Carousel Container */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Promo Cards */
.promo-card {
    min-width: 80%;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-md);
    opacity: 0.5;
    transform: scale(0.92);
    pointer-events: none;
    margin-right: -100px;
}

.promo-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: var(--shadow-deep);
    pointer-events: auto;
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.3);
}

.promo-card.featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--text-on-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.promo-card.featured.active {
    box-shadow: var(--shadow-deep);
    border-color: rgba(255, 255, 255, 0.4);
}

.promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.promo-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.promo-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.promo-card.featured h3 {
    color: var(--text-on-primary);
}

.promo-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.promo-card.featured p {
    color: rgba(255, 255, 255, 0.95);
}

.promo-link {
    display: inline-block;
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.promo-card.featured .promo-link {
    color: var(--text-on-primary);
    font-weight: 800;
}

.promo-link:hover {
    transform: translateX(6px);
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: var(--text-on-primary);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-medium);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--text-on-primary);
    color: var(--primary-blue);
    border-color: var(--text-on-primary);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-on-primary);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-on-primary);
    border-color: var(--text-on-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem;
}

.container.bg-white {
    background: var(--bg-white);
    transition: background-color 0.3s ease;
}

.container.bg-light {
    background: var(--bg-light-gray);
    transition: background-color 0.3s ease;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.brand-card {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.brand-card:hover {
    background: var(--bg-card);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.brand-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 3.5rem 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.category-card:hover {
    background: var(--bg-card);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--primary-blue-light);
    border-radius: 12px;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
}

.product-card:hover {
    background: var(--bg-card);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--badge-bg);
    color: var(--text-on-primary);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.05em;
}

.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: auto;
    line-height: 1.6;
    font-weight: 400;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.view-detail {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.feature-card .stat {
    font-size: 3rem;
    font-weight: 900;
    margin: 1.5rem 0;
    color: var(--primary-blue);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Search Section */
.search-section {
    background: var(--primary-blue-light);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1.25rem 5rem 1.25rem 2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-medium);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.05rem;
    transition: all 0.3s;
    font-weight: 400;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
}

.search-box button:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-50%) scale(1.05);
}

/* Footer */
footer {
    background: var(--bg-dark-section);
    border-top: 3px solid var(--border-dark);
    padding: 5rem 0 2rem;
    transition: all 0.3s ease;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-content.footer-info {
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    color: var(--text-on-dark);
}

.footer-brand h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    color: var(--text-on-dark);
}

.footer-brand p {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.75rem;
    font-weight: 800;
    color: var(--text-on-dark);
    letter-spacing: 0.02em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 400;
}

.footer-section a:hover {
    color: var(--text-on-dark);
}

.footer-section p {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(248, 250, 252, 0.5);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: rgba(248, 250, 252, 0.5);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(248, 250, 252, 0.8);
}

.lang-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(248, 250, 252, 0.7);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-cards-carousel {
        order: 2;
    }

    .scroll-indicator {
        display: none;
    }

    .carousel-btn.prev {
        left: 0;
    }

    .carousel-btn.next {
        right: 0;
    }

    .promo-card {
        min-width: 85%;
        margin-right: -30px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .promo-banner {
        padding: 0.75rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .promo-banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .promo-banner-text {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .promo-banner-actions {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }

    .promo-banner-btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    .hero {
        padding: 4rem 1.5rem;
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 0;
    }

    .carousel-btn.next {
        right: 0;
    }

    .promo-card {
        min-width: 90%;
        padding: 2rem;
        margin-right: -20px;
    }

    .promo-card h3 {
        font-size: 1.25rem;
    }

    .container {
        padding: 3rem 1.5rem;
    }

    .brand-grid,
    .category-grid,
    .product-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Breadcrumb */
.breadcrumb {
    padding: 2rem 0 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

/* Filter Section */
.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.filter-left {
    display: flex;
    gap: 1rem;
}

.filter-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999999' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.view-btn.active {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.product-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail {
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.thumbnail.active {
    border-color: var(--text-primary);
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.stars {
    color: #ffa500;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-detail-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

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

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-actions .btn {
    flex: 1;
}

.product-meta {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.product-meta p {
    margin-bottom: 0.5rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.tab {
    padding: 1rem 0;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.tab.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.tab:hover {
    color: var(--primary-blue-dark);
}

.tab-content {
    display: none;
    padding: 2rem 0;
}

.tab-content.active {
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    border: 2px solid var(--border-dark);
    border-radius: 16px;
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: var(--text-on-dark);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 3rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Sidebar Menu */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--border-dark);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: white;
}

.sidebar-header h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.01em;
}

.sidebar-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

.sidebar-close:hover {
    opacity: 0.8;
}

.sidebar-content {
    padding: 1rem 0;
}

.sidebar-section {
    border-bottom: 1px solid var(--border-light);
}

.sidebar-main-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.sidebar-main-item:hover {
    background: var(--bg-light-gray);
    padding-left: 2rem;
}

.sidebar-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s;
    color: var(--text-muted);
}

.sidebar-arrow.rotated {
    transform: rotate(90deg);
}

.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    background: var(--bg-light-gray);
    transition: max-height 0.3s ease;
}

.sidebar-submenu.active {
    max-height: 500px;
}

.sidebar-submenu a {
    display: block;
    padding: 1rem 1.75rem 1rem 3rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
    font-weight: 600;
}

.sidebar-submenu a:hover {
    background: var(--bg-white);
    color: var(--primary-blue);
    padding-left: 3.5rem;
}

/* Dark mode for sidebar */
body.dark-mode .sidebar-menu {
    background: var(--bg-dark);
}

body.dark-mode .sidebar-header {
    background: var(--primary-blue-dark);
}

body.dark-mode .sidebar-main-item {
    color: var(--text-primary);
}

body.dark-mode .sidebar-submenu {
    background: var(--bg-light-gray);
}

body.dark-mode .sidebar-submenu a {
    color: var(--text-secondary);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sidebar-menu {
        width: 100%;
        right: -100%;
    }
}

/* ============================================================
   RESEARCH-FOCUSED DESIGN SYSTEM ADDITIONS
   ============================================================ */

/* --- Mega Nav Dropdown (DISABLED) --- */
.nav-links .nav-item {
    position: relative;
    list-style: none;
    pointer-events: none; /* Disable all interactions */
}

.nav-links .nav-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nav-links .nav-item:hover .nav-dropdown {
    display: none !important;
    visibility: hidden !important;
}

@keyframes dropFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-links .nav-dropdown ul {
    list-style: none;
    padding: 0.5rem 0;
}

.nav-links .nav-dropdown ul li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.nav-links .nav-dropdown ul li a:hover {
    background: var(--bg-light-gray);
    color: var(--primary-blue);
    padding-left: 2rem;
}

.nav-links .nav-dropdown ul li a::after {
    display: none;
}

/* Header scrolled state */
header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

/* Sidebar open state */
.sidebar-menu.open {
    right: 0;
}
.sidebar-overlay.open {
    display: block;
}
.sidebar-submenu.open {
    max-height: 500px;
}

/* --- Page Hero Banner (sub-pages) --- */
.page-hero {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(59,130,246,0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem 3.5rem;
}

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.page-hero-breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.3); }

.page-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.page-hero p {
    margin-top: 0.75rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    font-weight: 400;
}

/* --- Page Hero with Banner Background --- */
.page-hero-with-banner {
    height: 400px;
    background: none !important;
}

.page-hero-with-banner::before {
    display: none;
}

.page-hero-with-banner .banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.page-hero-with-banner .banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.page-hero-with-banner .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(30, 58, 95, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.page-hero-with-banner .page-hero-grid {
    z-index: 3;
}

.page-hero-with-banner .page-hero-content {
    z-index: 4;
}

.banner-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.banner-dot:hover {
    background: rgba(255,255,255,0.6);
}

.banner-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .page-hero-with-banner {
        height: 280px;
    }
}

/* --- 메인 섹션 탭 네비게이션 (ALTEOGEN 스타일, 헤더 통합) --- */
.main-section-tabs {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.dark-mode .main-section-tabs {
    background: var(--bg-card);
    border-bottom-color: var(--border-light);
}

.main-section-tabs-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
}

.main-section-tabs-inner::-webkit-scrollbar { display: none; }

/* Header Logo - Design 1: Balanced Spacing */
.header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-right: 2.5rem;
    text-decoration: none;
    position: relative;
}

.header-logo .logo-symbol {
    height: 45px !important;
    width: auto;
}

.header-logo .logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-logo .brand-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #495867;
    line-height: 1;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.header-logo .tagline {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #8b95a0;
    text-transform: uppercase;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header Tabs Group */
.header-tabs-group {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    margin-left: auto;
    justify-content: flex-end;
    pointer-events: all;
}

/* Header Actions (Hamburger) */
.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: 1.5rem;
    pointer-events: all;
}

/* Main Section Tab */
.main-section-tab {
    display: inline-flex;
    align-items: center;
    padding: 0 1.25rem;
    height: 70px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    letter-spacing: -0.01em;
    position: relative;
    cursor: pointer;
    pointer-events: all;
    z-index: 100;
}

.main-section-tab:hover {
    color: #1d4ed8;
    background: rgba(29,78,216,0.04);
}

.main-section-tab.active {
    color: #1d4ed8;
    border-bottom: 3px solid #1d4ed8;
    font-weight: 700;
}

.dark-mode .main-section-tab { color: var(--text-secondary); }
.dark-mode .main-section-tab:hover,
.dark-mode .main-section-tab.active { color: #60a5fa; }
.dark-mode .main-section-tab.active { border-bottom-color: #60a5fa; }
.dark-mode .header-logo .brand-name {
    color: #ffffff;
}

.dark-mode .header-logo .tagline {
    color: #b8c5d6;
}

@media (max-width: 1200px) {
    .main-section-tab { padding: 0 1rem; font-size: 0.9rem; }
    .header-logo { margin-right: 2rem; gap: 14px; }
    .header-logo .logo-symbol { height: 40px !important; }
    .header-logo .brand-name { font-size: 24px; letter-spacing: 1.5px; }
    .header-logo .tagline { font-size: 8px; letter-spacing: 1.5px; }
}

@media (max-width: 1024px) {
    .main-section-tabs-inner { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
    .main-section-tab { padding: 0 0.85rem; font-size: 0.85rem; }
    .header-logo { margin-right: 1.5rem; gap: 12px; }
    .header-logo .logo-symbol { height: 38px !important; }
    .header-logo .brand-name { font-size: 22px; letter-spacing: 1.5px; }
    .header-logo .tagline { font-size: 8px; letter-spacing: 1.5px; }
}

@media (max-width: 768px) {
    .main-section-tabs-inner { max-width: 1400px; margin: 0 auto; padding: 0 1rem; height: 60px; }
    .header-tabs-group { display: none; } /* Hide tabs on mobile, show hamburger menu */
    .main-section-tab { height: 60px; }
    .header-logo { gap: 10px; }
    .header-logo .logo-symbol { height: 35px !important; }
    .header-logo .brand-name { font-size: 20px; letter-spacing: 1px; }
    .header-logo .tagline { font-size: 7px; letter-spacing: 1px; }
}

/* --- Section Tab System --- */
.page-tabs {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.page-tabs-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.page-tabs-inner::-webkit-scrollbar { display: none; }

.page-tab {
    display: inline-block;
    padding: 1.25rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.page-tab:hover {
    color: var(--text-primary);
}

.page-tab.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* --- Research Card Grid --- */
.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.research-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E3A8A, #3B82F6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.research-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: transparent;
}

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

.research-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1E3A8A10, #3B82F620);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.research-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.research-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Technology Hero with DNA visual --- */
.tech-hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    overflow: hidden;
    opacity: 0.18;
}

/* --- Pipeline Table --- */
.pipeline-table-wrapper {
    overflow-x: auto;
}

.pipeline-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pipeline-table thead th {
    background: var(--primary-blue);
    color: #fff;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.pipeline-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s;
}

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

.pipeline-table tbody td {
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.pipeline-table tbody td:first-child {
    font-weight: 700;
    color: var(--text-primary);
}

.pipeline-stage {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stage-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-medium);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.stage-dot.active {
    background: #1E3A8A;
    border-color: #1E3A8A;
    color: #fff;
}

.stage-dot.complete {
    background: #10B981;
    border-color: #10B981;
    color: #fff;
}

.stage-line {
    height: 2px;
    width: 16px;
    background: var(--border-medium);
    flex-shrink: 0;
}

.stage-line.active { background: #1E3A8A; }

/* --- ESG Cards --- */
.esg-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.esg-pillar-card {
    border-radius: 20px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.esg-pillar-card.env {
    background: linear-gradient(135deg, #064E3B, #065F46);
    color: white;
}
.esg-pillar-card.social {
    background: linear-gradient(135deg, #1E3A8A, #1D4ED8);
    color: white;
}
.esg-pillar-card.gov {
    background: linear-gradient(135deg, #3B0764, #6D28D9);
    color: white;
}

.esg-pillar-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.esg-pillar-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.85;
}

.esg-pillar-card .esg-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.esg-metric {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    gap: 2rem;
}

.esg-metric-item .value {
    font-size: 2rem;
    font-weight: 900;
    display: block;
}

.esg-metric-item .label {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.2rem;
}

/* --- New Homepage Hero --- */
.main-hero {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, #03071e 0%, #0a1628 40%, #0d2137 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.main-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 15% 50%, rgba(59,130,246,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: auto, auto, 80px 80px, 80px 80px;
}

.main-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.main-hero-text {
    color: white;
}

.main-hero-badge {
    display: inline-block;
    background: rgba(59,130,246,0.2);
    border: 1px solid rgba(59,130,246,0.4);
    color: #93C5FD;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.main-hero-text h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: white;
}

.main-hero-text h1 .accent {
    background: linear-gradient(90deg, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
}

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

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3B82F6;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-hero-primary:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59,130,246,0.4);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}

/* Animated molecule/dna visual for hero */
.hero-visual-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
}

.hero-molecule {
    width: 380px;
    height: 380px;
    position: relative;
}

.molecule-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(96,165,250,0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-ring linear infinite;
}

.molecule-ring:nth-child(1) { width: 120px; height: 120px; animation-duration: 8s; }
.molecule-ring:nth-child(2) { width: 200px; height: 200px; animation-duration: 14s; animation-direction: reverse; border-color: rgba(167,139,250,0.2); }
.molecule-ring:nth-child(3) { width: 300px; height: 300px; animation-duration: 20s; }
.molecule-ring:nth-child(4) { width: 380px; height: 380px; animation-duration: 28s; animation-direction: reverse; border-color: rgba(255,255,255,0.06); }

.molecule-ring::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #60A5FA;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px #60A5FA;
}

.molecule-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: radial-gradient(circle, #3B82F6, #1E3A8A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 40px rgba(59,130,246,0.5);
}

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

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-item .stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    display: block;
}

.hero-stat-item .stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.2rem;
}

/* --- Homepage Sections --- */
.home-section {
    padding: 6rem 0;
}

.home-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.home-section-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3B82F6;
    margin-bottom: 0.75rem;
}

.home-section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.home-section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
}

/* --- Technology pillars on homepage --- */
.tech-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.tech-pillar {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.tech-pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    border-color: #3B82F6;
}

.tech-pillar-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: #93C5FD;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.tech-pillar h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.tech-pillar p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Pipeline preview on homepage --- */
.pipeline-preview {
    background: var(--bg-dark-section);
    padding: 6rem 0;
}

.pipeline-preview-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.pipeline-preview-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: center;
}

.pipeline-preview-text .home-section-label { color: #93C5FD; }

.pipeline-preview-text .home-section-title { color: white; }

.pipeline-preview-text .home-section-desc { color: rgba(255,255,255,0.6); }

.pipeline-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pipeline-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.pipeline-item:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(96,165,250,0.4);
}

.pipeline-item-code {
    font-size: 0.8rem;
    font-weight: 800;
    color: #93C5FD;
    background: rgba(59,130,246,0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
}

.pipeline-item-info {
    flex: 1;
}

.pipeline-item-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.pipeline-item-info p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.pipeline-item-stage {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    white-space: nowrap;
}

.stage-preclinical { background: rgba(251,191,36,0.15); color: #FCD34D; }
.stage-phase1      { background: rgba(59,130,246,0.15); color: #93C5FD; }
.stage-phase2      { background: rgba(139,92,246,0.15); color: #C4B5FD; }
.stage-phase3      { background: rgba(16,185,129,0.15); color: #6EE7B7; }
.stage-approved    { background: rgba(16,185,129,0.3);  color: #34D399; }

/* --- News/Updates bar --- */
.news-bar {
    background: var(--bg-light-gray);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 4rem 0;
}

.news-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.news-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3B82F6;
    background: rgba(59,130,246,0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.news-card .news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Page section wrapper --- */
.page-section {
    padding: 5rem 0;
}

.page-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.page-section.bg-light {
    background: var(--bg-light-gray);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.page-section-title {
    margin-bottom: 3rem;
}

.page-section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.page-section-title p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Info boxes --- */
.info-box {
    background: linear-gradient(135deg, #EFF6FF, #F0F9FF);
    border: 1px solid #BFDBFE;
    border-left: 4px solid #3B82F6;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.info-box p {
    font-size: 0.95rem;
    color: #1E40AF;
    line-height: 1.7;
}

/* --- Two-column layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* --- Tag badges --- */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--bg-light-gray);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.tag.blue {
    background: rgba(59,130,246,0.1);
    color: #1E40AF;
    border-color: rgba(59,130,246,0.2);
}

/* --- Responsive additions --- */
@media (max-width: 1024px) {
    .tech-pillars { grid-template-columns: repeat(2, 1fr); }
    .research-grid { grid-template-columns: repeat(2, 1fr); }
    .esg-pillar-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .pipeline-preview-grid { grid-template-columns: 1fr; }
    .main-hero-inner { grid-template-columns: 1fr; }
    .hero-visual-area { display: none; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .main-hero-text h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .tech-pillars { grid-template-columns: 1fr; }
    .research-grid { grid-template-columns: 1fr; }
    .page-hero { height: 240px; }
    .page-hero h1 { font-size: 2rem; }
    .news-grid { grid-template-columns: 1fr; }
    .home-section-title { font-size: 1.8rem; }
    .home-section { padding: 4rem 0; }
    .home-section-inner { padding: 0 1.5rem; }
    .page-section-inner { padding: 0 1.5rem; }
    .page-hero-content { padding: 0 1.5rem 2.5rem; }
    .page-tabs-inner { padding: 0 1.5rem; }
    .pipeline-preview-inner { padding: 0 1.5rem; }
}

/* API 로딩 상태 */
.tech-loading {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 2rem 0;
    text-align: center;
}

/* --- Tab Panel System --- */
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: tabFadeIn 0.3s ease;
}
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* 탭 클릭 시 페이지 상단 강조 */
.page-tabs .page-tab {
    cursor: pointer;
}
.page-tabs .page-tab.active {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
    font-weight: 700;
}

/* ========== 브랜드 그리드 스타일 ========== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    min-height: 120px;
}

.brand-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.brand-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

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

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .brand-item {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }

    .brand-item img {
        max-height: 60px;
    }
}

@media (max-width: 600px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .brand-item {
        padding: 1rem 0.75rem;
        min-height: 80px;
    }

    .brand-item img {
        max-height: 50px;
    }
}

/* ========================================
   ANIMATIONS - Apple/Stripe Style
   ======================================== */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* ========== KEYFRAMES ========== */

/* Hero fade-up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header fade-down animation */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card scale-up animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Progress bar fill animation */
@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: var(--target-width);
    }
}

/* ========== HERO ANIMATIONS ========== */

/* Hero elements - visible by default */
.hero-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Only apply animation initial state when animations are enabled */
body.animations-enabled .hero-animate {
    opacity: 0;
    transform: translateY(50px);
}

/* Hero elements animated state */
body.animations-enabled .hero-animate.hero-animated {
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ========== SCROLL ANIMATIONS ========== */

/* Scroll elements - visible by default */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Only apply animation initial state when animations are enabled */
body.animations-enabled .animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated state */
body.animations-enabled .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in variant (no transform) */
body.animations-enabled .animate-on-scroll.fade-in {
    transform: none;
}

/* Scale variant */
body.animations-enabled .animate-on-scroll.scale-up {
    transform: scale(0.95);
}

body.animations-enabled .animate-on-scroll.scale-up.animated {
    transform: scale(1);
}

/* ========== STAGGER DELAYS ========== */

body.animations-enabled .stagger-container .stagger-item:nth-child(1) { transition-delay: 0ms; }
body.animations-enabled .stagger-container .stagger-item:nth-child(2) { transition-delay: 150ms; }
body.animations-enabled .stagger-container .stagger-item:nth-child(3) { transition-delay: 300ms; }
body.animations-enabled .stagger-container .stagger-item:nth-child(4) { transition-delay: 450ms; }
body.animations-enabled .stagger-container .stagger-item:nth-child(5) { transition-delay: 600ms; }
body.animations-enabled .stagger-container .stagger-item:nth-child(6) { transition-delay: 750ms; }

/* ========== SCROLL PROGRESS INDICATOR ========== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ========== HEADER ANIMATION ========== */

.main-section-tabs {
    animation: fadeDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ========== CARD HOVER ENHANCEMENTS ========== */

/* Unified hover effect for all cards */
.tech-pillar,
.pipeline-item,
.research-card,
.esg-pillar-card,
.news-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-pillar:hover,
.pipeline-item:hover,
.research-card:hover,
.esg-pillar-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
}

/* ========== GPU OPTIMIZATION ========== */

.hero-animate,
.animate-on-scroll,
.tech-pillar,
.pipeline-item,
.research-card,
.esg-pillar-card,
.news-card {
    will-change: transform, opacity;
}

/* Remove will-change after animation completes */
.hero-animate.hero-animated,
.animate-on-scroll.animated {
    will-change: auto;
}

/* ========== ACCESSIBILITY: REDUCED MOTION ========== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-animate {
        opacity: 1;
        transform: none;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .scroll-progress {
        display: none;
    }
}

/* ========== RESPONSIVE ANIMATION ADJUSTMENTS ========== */

@media (max-width: 1024px) {
    /* Reduce animation duration on tablets */
    .animate-on-scroll {
        transition-duration: 0.4s;
    }

    /* Reduce stagger delays */
    .stagger-container .stagger-item:nth-child(1) { transition-delay: 0ms; }
    .stagger-container .stagger-item:nth-child(2) { transition-delay: 50ms; }
    .stagger-container .stagger-item:nth-child(3) { transition-delay: 100ms; }
    .stagger-container .stagger-item:nth-child(4) { transition-delay: 150ms; }
    .stagger-container .stagger-item:nth-child(5) { transition-delay: 200ms; }
    .stagger-container .stagger-item:nth-child(6) { transition-delay: 250ms; }
}

@media (max-width: 768px) {
    /* Simplify animations on mobile */
    .hero-animate.hero-animated {
        animation-duration: 0.4s;
    }

    /* Reduce hover lift on mobile */
    .tech-pillar:hover,
    .pipeline-item:hover,
    .research-card:hover,
    .esg-pillar-card:hover,
    .news-card:hover {
        transform: translateY(-2px);
    }
}

/* === Auth Buttons === */
.btn-auth {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    background: var(--bg-white);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-auth:hover {
    background: var(--bg-light-gray);
    border-color: var(--border-focus);
}

.btn-auth-primary {
    background: var(--primary-blue);
    color: var(--text-on-primary);
    border-color: var(--primary-blue);
}

.btn-auth-primary:hover {
    background: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
}

/* === Quote Button === */
.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--text-on-primary);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-quote:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* === Quote Modal === */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.quote-modal {
    background: var(--bg-card);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-deep);
}

.quote-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.quote-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-modal-close:hover {
    color: var(--text-primary);
}

.quote-modal-body {
    padding: 1.5rem;
}

.quote-form-group {
    margin-bottom: 1.5rem;
}

.quote-form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.quote-form-group label .required {
    color: var(--error-red);
    margin-left: 0.25rem;
}

.quote-form-group input,
.quote-form-group textarea,
.quote-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-input);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.quote-form-group input:focus,
.quote-form-group textarea:focus,
.quote-form-group select:focus {
    outline: none;
    border-color: var(--border-focus);
    background: var(--bg-white);
}

.quote-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.quote-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-cancel {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: var(--bg-light-gray);
}

.btn-submit {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-blue);
    color: var(--text-on-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-blue-hover);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
