/* ============================================
   丝缆通官网 - Awwwards风格科技感设计
   ============================================ */

/* CSS Variables */
:root {
    --color-bg: #020617;
    --color-bg-alt: #0f172a;
    --color-surface: rgba(15, 23, 42, 0.6);
    --color-surface-solid: #0f172a;
    --color-primary: #06b6d4;
    --color-primary-light: #22d3ee;
    --color-primary-dark: #0891b2;
    --color-secondary: #3b82f6;
    --color-accent: #8b5cf6;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    --color-border: rgba(148, 163, 184, 0.1);
    --color-border-light: rgba(148, 163, 184, 0.2);
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    --gradient-hero: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #a78bfa 100%);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-display: 'Inter', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', 'Inter', sans-serif;
}

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

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

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

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

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

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

.glass {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loader-logo-img {
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.loader-bar {
    width: 160px;
    height: 2px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    animation: loadProgress 1.5s ease-out forwards;
}

@keyframes loadProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--color-border);
}

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

@media (min-width: 768px) {
    .nav-container {
        padding: 0 48px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 34px;
    width: auto;
    display: block;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
    transform-origin: center;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: all var(--transition-fast);
    cursor: pointer;
    font-family: var(--font-display);
}

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

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

@media (max-width: 480px) {
    .lang-switcher {
        gap: 3px;
    }

    .lang-btn {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
}

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

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 70%);
    z-index: 1;
    pointer-events: none;
}

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

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-logo {
    height: 52px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.2));
}

.hero-logo-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-primary-light), transparent);
    margin-top: 20px;
    opacity: 0.6;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 24px;
    padding: 8px 16px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 100px;
    background: rgba(6, 182, 212, 0.05);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title .line:nth-child(1) {
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-title .line:nth-child(2) {
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-title .line:nth-child(3) {
    animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 1.1s;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 1.3s;
}

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

.hero-scroll {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(6, 182, 212, 0.05);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border-light), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 48px;
    }
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Section Styles */
.section-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 120px 0;
    position: relative;
}

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-timeline {
    margin-top: 40px;
    position: relative;
    padding-left: 24px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-primary);
}

.timeline-dot.active {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.about-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.image-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
    filter: blur(20px);
}

.about-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-card);
    animation: float 4s ease-in-out infinite;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

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

.card-text strong {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 2px;
}

/* Leadership Section */
.leadership {
    padding: 120px 0;
    position: relative;
}

.leadership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border-light), transparent);
}

.leaders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

.leader-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.leader-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.leader-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.leader-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 50%);
}

.leader-info {
    padding: 28px 32px 32px;
}

.leader-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.leader-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.leader-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.leader-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary-light);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 100px;
}

/* Cooperation Gallery */
.cooperation {
    padding: 120px 0;
    position: relative;
}

.cooperation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border-light), transparent);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.gallery-tab {
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.gallery-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

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

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
}

.gallery-item.large {
    aspect-ratio: 16 / 10;
}

@media (min-width: 1024px) {
    .gallery-item,
    .gallery-item.large {
        aspect-ratio: auto;
    }
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 240px;
    overflow: hidden;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.gallery-content-text p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Advantages Section */
.advantages {
    padding: 120px 0;
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border-light), transparent);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.advantage-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.advantage-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow-glow);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.advantage-card:hover .advantage-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.advantage-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* CTA Section */
.cta {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg canvas {
    width: 100%;
    height: 100%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .cta-inner {
        text-align: left;
        margin: 0;
    }

    .cta-buttons {
        justify-content: flex-start !important;
    }

    .cta-contact {
        justify-content: flex-start !important;
    }
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

/* Contact Form */
.contact-form-wrapper {
    width: 100%;
}

.contact-form-card {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    transition: all var(--transition-base);
}

.contact-form-card:hover {
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow-glow);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.form-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    text-align: center;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.label-hint {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-dim);
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-text);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    outline: none;
    resize: vertical;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-submit {
    width: 100%;
    margin-top: 4px;
    position: relative;
}

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

.btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner {
    animation: none;
}

.form-success {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.form-error {
    font-size: 0.85rem;
    color: #ef4444;
    text-align: center;
    padding: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

/* Message Records Panel */
.msg-section {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.msg-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}

.msg-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
}

.msg-toggle.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.msg-toggle.active .msg-arrow {
    transform: rotate(180deg);
}

.msg-arrow {
    transition: transform var(--transition-base);
}

.msg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    border-radius: 100px;
}

.msg-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), margin var(--transition-base);
}

.msg-panel.active {
    max-height: 600px;
    margin-top: 24px;
}

.msg-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.msg-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: border-color var(--transition-base);
}

.msg-item:hover {
    border-color: rgba(6, 182, 212, 0.2);
}

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.msg-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}

.msg-time {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.msg-phone {
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.msg-content {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.msg-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

/* Message Auth */
.msg-auth {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.msg-auth-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    text-align: center;
    max-width: 360px;
    width: 100%;
}

.msg-auth-icon {
    width: 56px;
    height: 56px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin: 0 auto 16px;
}

.msg-auth-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.msg-auth-box p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.msg-auth-box input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-text);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    outline: none;
    transition: all var(--transition-base);
}

.msg-auth-box input[type="password"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.msg-auth-box .btn {
    width: 100%;
}

.msg-auth-error {
    font-size: 0.85rem;
    color: #ef4444;
    margin-top: 12px;
    min-height: 20px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

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

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

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

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

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

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

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

.footer-links a:hover::after {
    width: 100%;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

/* Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-alt);
        flex-direction: column;
        padding: 100px 40px 40px;
        transition: right var(--transition-slow);
        z-index: 999;
        border-left: 1px solid var(--color-border);
    }

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

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
    }

    .nav-toggle {
        z-index: 1001;
    }
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-dim);
}

/* Selection */
::selection {
    background: rgba(6, 182, 212, 0.3);
    color: var(--color-text);
}

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

/* ============================================
   Mobile Responsive Enhancements
   ============================================ */

/* Tablet & below (≤ 1023px) */
@media (max-width: 1023px) {
    .about-grid {
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .about-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
    /* Hero */
    .hero {
        padding: 100px 16px 60px;
        min-height: auto;
        min-height: 100dvh;
    }

    .hero-brand {
        margin-bottom: 20px;
    }

    .hero-logo {
        height: 40px;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2.5rem);
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .btn {
        width: min(100%, 260px);
    }

    .hero-scroll {
        display: none;
    }

    /* Buttons */
    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        min-height: 48px;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
        width: min(100%, 280px);
    }

    /* Stats */
    .stats {
        padding: 48px 0;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-item {
        padding: 16px 8px;
    }

    .stat-number {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Section spacing */
    .about,
    .leadership,
    .cooperation,
    .advantages {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    /* About */
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .about-timeline {
        margin-top: 32px;
        padding-left: 20px;
    }

    .timeline-item {
        padding-bottom: 20px;
    }

    .timeline-dot {
        left: -20px;
        width: 10px;
        height: 10px;
    }

    .timeline-year {
        font-size: 0.8rem;
    }

    .timeline-text {
        font-size: 0.9rem;
    }

    /* Leadership */
    .leader-info {
        padding: 20px 24px 24px;
    }

    .leader-name {
        font-size: 1.25rem;
    }

    .leader-desc {
        font-size: 0.9rem;
    }

    .leader-image-wrapper {
        aspect-ratio: 16 / 9;
    }

    /* Gallery */
    .gallery-tabs {
        gap: 10px;
        margin-bottom: 32px;
    }

    .gallery-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .gallery-grid {
        gap: 12px;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .gallery-image-wrapper {
        min-height: 180px;
    }

    .gallery-overlay {
        opacity: 1;
        padding: 16px;
        background: linear-gradient(to top, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.4) 60%, transparent 100%);
    }

    .gallery-content-text h4 {
        font-size: 1rem;
    }

    .gallery-content-text p {
        font-size: 0.8rem;
    }

    /* Advantages */
    .advantages-grid {
        gap: 16px;
    }

    .advantage-card {
        padding: 28px 24px;
    }

    .advantage-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .advantage-card h3 {
        font-size: 1.05rem;
    }

    .advantage-card p {
        font-size: 0.85rem;
    }

    /* CTA */
    .cta {
        padding: 80px 0;
    }

    .cta-desc {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 36px;
    }

    .cta-contact {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
    }

    /* Contact Form Mobile */
    .contact-grid {
        gap: 48px;
    }

    .contact-form-card {
        padding: 28px 24px;
    }

    .form-title {
        font-size: 1.25rem;
    }

    .form-desc {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .contact-form {
        gap: 16px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 56px 0 32px;
    }

    .footer-grid {
        gap: 36px;
        margin-bottom: 40px;
    }

    .footer-logo img {
        height: 32px;
    }

    .footer-desc {
        font-size: 0.9rem;
    }

    .footer-links h4 {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }

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

    .footer-links a,
    .footer-links li {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 24px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    /* Container */
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    /* Loader */
    .loader-logo-img {
        width: 44px;
        height: 44px;
    }

    .loader-bar {
        width: 120px;
    }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero {
        padding: 90px 16px 48px;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .hero-title .line {
        display: inline;
    }

    .hero-title .line:not(:last-child)::after {
        content: ' ';
    }

    .hero-eyebrow {
        font-size: 0.7rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-item {
        padding: 12px 4px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about,
    .leadership,
    .cooperation,
    .advantages {
        padding: 48px 0;
    }

    .about-timeline {
        padding-left: 16px;
    }

    .timeline-dot {
        left: -16px;
        width: 8px;
        height: 8px;
    }

    .leader-image-wrapper {
        aspect-ratio: 16 / 10;
    }

    .leader-info {
        padding: 16px 20px 20px;
    }

    .leader-name {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .leader-desc {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .leader-tags {
        gap: 6px;
    }

    .tag {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .gallery-tabs {
        gap: 8px;
    }

    .gallery-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .gallery-grid {
        gap: 8px;
    }

    .gallery-image-wrapper {
        min-height: 140px;
    }

    .advantage-card {
        padding: 24px 20px;
    }

    .advantage-icon {
        width: 44px;
        height: 44px;
    }

    .advantage-icon svg {
        width: 24px;
        height: 24px;
    }

    .cta {
        padding: 64px 0;
    }

    .cta-title {
        font-size: 1.65rem;
    }

    .cta-desc {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .footer-desc {
        max-width: 100%;
    }

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

    .footer-links ul {
        display: inline-block;
        text-align: left;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .leader-card:hover {
        transform: none;
    }

    .leader-card:hover .leader-image {
        transform: none;
    }

    .advantage-card:hover {
        transform: none;
    }

    .advantage-card:hover::before {
        transform: scaleX(0);
    }

    .about-image-wrapper:hover .about-image {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .btn-primary:hover,
    .btn-outline:hover {
        transform: none;
    }

    .nav-link:hover::after {
        width: 0;
    }

    .footer-links a:hover::after {
        width: 0;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-logo {
        height: 36px;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}
