/* ========================================
   山西明明生殖妇产专科医院 - 现代官网样式
   VI配色系统：生命金 + 医学棕 + 暖象牙白 + 柔沙色 + 纯净白
   ======================================== */

/* CSS Variables - VI Color System */
:root {
    /* 主色 */
    --gold: #C5A55A;           /* 生命金 */
    --gold-light: #D4BA7A;     /* 生命金浅色 */
    --gold-dark: #A88B3A;      /* 生命金深色 */
    --brown: #5C4A3A;          /* 医学棕 */
    --brown-light: #7A6B5A;    /* 医学棕浅色 */

    /* 辅助色 */
    --ivory: #FFF8F0;          /* 暖象牙白 */
    --sand: #F5EDE0;           /* 柔沙色 */
    --sand-light: #FAF5ED;     /* 柔沙色浅色 */
    --white: #FFFFFF;          /* 纯净白 */

    /* 功能色 */
    --text-primary: #3A3028;   /* 主要文字 */
    --text-secondary: #6B5E52; /* 次要文字 */
    --text-light: #9B8E82;     /* 浅色文字 */

    /* 渐变 */
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    --gradient-warm: linear-gradient(135deg, var(--ivory) 0%, var(--sand) 100%);
    --gradient-soft: linear-gradient(180deg, var(--white) 0%, var(--ivory) 50%, var(--sand-light) 100%);

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(92, 74, 58, 0.06);
    --shadow-md: 0 4px 20px rgba(92, 74, 58, 0.08);
    --shadow-lg: 0 8px 40px rgba(92, 74, 58, 0.12);
    --shadow-gold: 0 4px 20px rgba(197, 165, 90, 0.2);

    /* 字体 */
    --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-en: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* 间距 */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-width: 1280px;

    /* 过渡 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

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

body {
    font-family: var(--font-cn);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

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

/* ========================================
   Loading Screen
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-cell {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
    margin: 0 6px;
    animation: loaderPulse 1.4s infinite ease-in-out both;
}

.loader-cell:nth-child(1) { animation-delay: -0.32s; }
.loader-cell:nth-child(2) { animation-delay: -0.16s; }
.loader-cell:nth-child(3) { animation-delay: 0; }

@keyframes loaderPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loader-text {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 4px;
    font-weight: 300;
}

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

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

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

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

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

.logo-icon {
    width: 44px;
    height: 44px;
    color: var(--gold);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 16px;
    font-weight: 600;
    color: var(--brown);
    line-height: 1.2;
}

.logo-sub {
    font-family: var(--font-en);
    font-size: 9px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    position: relative;
    padding: 4px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-phone svg {
    color: var(--gold);
}

.nav-phone:hover {
    color: var(--gold-dark);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-gold);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(197, 165, 90, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 4px 0;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--brown);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    transition: right var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu-inner {
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    font-size: 18px;
    color: var(--text-primary);
    padding: 16px 0;
    border-bottom: 1px solid var(--sand);
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--gold);
}

.mobile-cta {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-phone {
    display: block;
    text-align: center;
    padding: 16px;
    background: var(--sand);
    color: var(--gold-dark);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.mobile-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 500;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--gradient-soft);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 237, 224, 0.5) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 30s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

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

.particle {
    animation: particleFloat 15s ease-in-out infinite;
}

.p1 { animation-delay: 0s; animation-duration: 18s; }
.p2 { animation-delay: -3s; animation-duration: 20s; }
.p3 { animation-delay: -6s; animation-duration: 22s; }
.p4 { animation-delay: -9s; animation-duration: 16s; }
.p5 { animation-delay: -12s; animation-duration: 24s; }
.p6 { animation-delay: -4s; animation-duration: 19s; }
.p7 { animation-delay: -8s; animation-duration: 21s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(20px, -30px); opacity: 0.5; }
    50% { transform: translate(-10px, -50px); opacity: 0.2; }
    75% { transform: translate(15px, -20px); opacity: 0.4; }
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--white), transparent);
}

/* Banner Carousel */
.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    min-height: 280px;
    background: linear-gradient(to top,
        rgba(197, 165, 90, 0.25) 0%,
        rgba(197, 165, 90, 0.15) 30%,
        rgba(197, 165, 90, 0.05) 60%,
        transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(197, 165, 90, 0.3);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.banner-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--gold);
    border-color: var(--gold);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    padding-bottom: 150px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(197, 165, 90, 0.1);
    border: 1px solid rgba(197, 165, 90, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: var(--gold-dark);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge svg {
    color: var(--gold);
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

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

.hero-title-accent {
    color: var(--gold);
    font-weight: 500;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

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

.hero-stat-number {
    font-family: var(--font-en);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.hero-stat-unit {
    font-family: var(--font-cn);
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 500;
    color: var(--gold);
}

.hero-stat-counter {
    min-width: 9ch;
    position: relative;
}

.counter-value {
    display: inline-block;
}

.counter-digit {
    display: inline-block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.counter-digit.fading {
    opacity: 0;
    transform: translateY(-4px);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-light);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--sand), transparent);
}

.hero[data-banner-text-mode="glow"] .hero-badge,
.hero[data-banner-text-mode="glow"] .hero-title,
.hero[data-banner-text-mode="glow"] .hero-subtitle,
.hero[data-banner-text-mode="glow"] .hero-stat-number,
.hero[data-banner-text-mode="glow"] .hero-stat-number span,
.hero[data-banner-text-mode="glow"] .hero-stat-unit,
.hero[data-banner-text-mode="glow"] .hero-stat-label {
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.38),
        0 0 30px rgba(255, 248, 240, 0.42),
        0 12px 42px rgba(92, 74, 58, 0.10);
}

.hero[data-banner-text-mode="glow"] .hero-title,
.hero[data-banner-text-mode="dark"] .hero-title {
    color: var(--brown);
}

.hero[data-banner-text-mode="glow"] .hero-title-accent,
.hero[data-banner-text-mode="dark"] .hero-title-accent {
    color: #A07832 !important;
}

.hero[data-banner-text-mode="glow"] .hero-stat-number,
.hero[data-banner-text-mode="glow"] .hero-stat-number span,
.hero[data-banner-text-mode="glow"] .hero-stat-unit,
.hero[data-banner-text-mode="dark"] .hero-stat-number,
.hero[data-banner-text-mode="dark"] .hero-stat-number span,
.hero[data-banner-text-mode="dark"] .hero-stat-unit {
    color: #935E2F !important;
}

.hero[data-banner-text-mode="glow"] .hero-subtitle,
.hero[data-banner-text-mode="glow"] .hero-stat-label,
.hero[data-banner-text-mode="dark"] .hero-subtitle,
.hero[data-banner-text-mode="dark"] .hero-stat-label {
    color: #4A4038 !important;
}

.hero[data-banner-text-mode="glow"] .hero-badge,
.hero[data-banner-text-mode="dark"] .hero-badge {
    color: #8E6C2B;
    background: rgba(255, 255, 255, 0.36);
    border-color: rgba(197, 165, 90, 0.32);
    box-shadow: 0 10px 30px rgba(92, 74, 58, 0.08);
}

.hero[data-banner-text-mode="glow"] .hero-stat-divider,
.hero[data-banner-text-mode="dark"] .hero-stat-divider {
    background: linear-gradient(to bottom, transparent, rgba(255, 248, 240, 0.95), rgba(197, 165, 90, 0.45), transparent);
}

.hero[data-banner-text-mode="light"] .hero-badge,
.hero[data-banner-text-mode="light"] .hero-title,
.hero[data-banner-text-mode="light"] .hero-subtitle,
.hero[data-banner-text-mode="light"] .hero-stat-number,
.hero[data-banner-text-mode="light"] .hero-stat-number span,
.hero[data-banner-text-mode="light"] .hero-stat-unit,
.hero[data-banner-text-mode="light"] .hero-stat-label {
    color: #FFFDF8 !important;
    text-shadow:
        0 1px 2px rgba(92, 74, 58, 0.46),
        0 0 20px rgba(92, 74, 58, 0.34),
        0 10px 30px rgba(40, 30, 22, 0.25);
}

.hero[data-banner-text-mode="light"] .hero-title-accent,
.hero[data-banner-text-mode="light"] .hero-badge svg {
    color: #F4D98C !important;
}

.hero[data-banner-text-mode="light"] .hero-badge {
    background: rgba(92, 74, 58, 0.16);
    border-color: rgba(255, 253, 248, 0.45);
    box-shadow: 0 10px 34px rgba(40, 30, 22, 0.16);
}

.hero[data-banner-text-mode="dark"] .hero-badge,
.hero[data-banner-text-mode="dark"] .hero-title,
.hero[data-banner-text-mode="dark"] .hero-subtitle,
.hero[data-banner-text-mode="dark"] .hero-stat-number,
.hero[data-banner-text-mode="dark"] .hero-stat-number span,
.hero[data-banner-text-mode="dark"] .hero-stat-unit,
.hero[data-banner-text-mode="dark"] .hero-stat-label {
    text-shadow:
        0 1px 2px rgba(255, 255, 255, 0.98),
        0 0 24px rgba(255, 248, 240, 0.78),
        0 8px 22px rgba(92, 74, 58, 0.12);
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-60%);
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-visual-ring,
.hero-visual-cell {
    z-index: 1;
}

.hero-visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(197, 165, 90, 0.1);
}

.ring-1 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    animation: ringRotate 60s linear infinite;
}

.ring-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: ringRotate 45s linear infinite reverse;
}

.ring-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    animation: ringRotate 30s linear infinite;
}

@keyframes ringRotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.hero-visual-cell {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    opacity: 0.6;
    animation: cellPulse 8s ease-in-out infinite;
}

@keyframes cellPulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateY(-50%) scale(1.05); opacity: 0.8; }
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 12px;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.hero-scroll.hidden {
    opacity: 0;
}

.hero-scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--sand);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(197, 165, 90, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: rgba(197, 165, 90, 0.05);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Sections Common
   ======================================== */
.section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.bg-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.bg-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 237, 224, 0.5) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
}

.bg-shape-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg-shape-4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 237, 224, 0.4) 0%, transparent 70%);
    top: -100px;
    left: -150px;
}

.bg-shape-5 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.05) 0%, transparent 70%);
    bottom: -300px;
    right: -200px;
}

.bg-shape-6 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 237, 224, 0.4) 0%, transparent 70%);
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
}

.bg-shape-7 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.06) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(197, 165, 90, 0.06);
}

.orbit-1 {
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringRotate 80s linear infinite;
}

.orbit-2 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringRotate 60s linear infinite reverse;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Section More Link */
.section-more {
    text-align: center;
    margin-top: 48px;
}

.section-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: var(--gold-dark);
    font-size: 15px;
    font-weight: 500;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.section-more-link:hover {
    background: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.section-more-link svg {
    transition: transform var(--transition-fast);
}

.section-more-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--white);
}

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

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

.about-image-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    opacity: 0.2;
}

.about-image-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.about-image-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-placeholder svg {
    width: 100%;
    height: auto;
}

.about-content {
    padding: 20px 0;
}

.about-heading {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand);
    border-radius: var(--radius-sm);
    color: var(--gold);
}

.about-feature-icon svg {
    width: 22px;
    height: 22px;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* ========================================
   Services Section
   ======================================== */
.services {
    background: var(--ivory);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.service-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(197, 165, 90, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    color: var(--gold);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 500;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 10px;
}

.service-link svg {
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Team Section
   ======================================== */
.team {
    background: var(--white);
}

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

.team-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.team-card:hover {
    background: var(--ivory);
    transform: translateY(-4px);
}

.team-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.team-avatar-placeholder svg {
    width: 100%;
    height: 100%;
}

.team-avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: 0.3;
    transition: opacity var(--transition-normal);
}

.team-card:hover .team-avatar-ring {
    opacity: 0.6;
}

.team-card h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-title {
    display: block;
    font-size: 13px;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.team-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Technology Section
   ======================================== */
.technology {
    background: var(--ivory);
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
}

.tech-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 500px;
    margin: 0 auto;
}

.tech-visual-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.tech-visual-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tech-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.15;
}

.tech-orb:nth-child(1) {
    width: 20px;
    height: 20px;
    top: 20%;
    right: 10%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.tech-orb:nth-child(2) {
    width: 15px;
    height: 15px;
    bottom: 30%;
    left: 5%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.tech-orb:nth-child(3) {
    width: 12px;
    height: 12px;
    bottom: 10%;
    right: 20%;
    animation: orbFloat3 18s ease-in-out infinite;
}

.tech-visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
}

.tech-visual-center svg {
    width: 100%;
    height: 100%;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tech-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}



.tech-item:hover {
    background: rgba(197, 165, 90, 0.1);
    box-shadow: 0 2px 12px rgba(197, 165, 90, 0.12);
    border-radius: var(--radius-md);
}

.tech-item-active {
    background: rgba(197, 165, 90, 0.1);
    box-shadow: 0 2px 12px rgba(197, 165, 90, 0.12);
    border-radius: var(--radius-md);
}

.tech-item-active .tech-item-number {
    opacity: 0.6;
    color: var(--gold-dark);
}

.tech-item-active .tech-item-content h4 {
    color: var(--gold-dark);
}

.tech-item-number {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    min-width: 60px;
}

.tech-item-content h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tech-item-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.news-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.news-featured {
    grid-column: auto;
    grid-row: auto;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image-placeholder {
    overflow: hidden;
}

.news-card .news-image {
    height: auto;
}

.news-card .news-image-placeholder {
    height: 180px;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
}

.news-image-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

.news-date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.news-day {
    display: block;
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

.news-content {
    padding: 24px;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--sand);
    color: var(--gold-dark);
    font-size: 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.news-link:hover {
    color: var(--gold);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--ivory);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    font-family: var(--font-cn);
    color: var(--text-primary);
    background: var(--ivory);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(197, 165, 90, 0.1);
}

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

.form-group select {
    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='%239B8E82' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    position: relative;
    background: var(--brown);
    color: var(--ivory);
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-content {
    padding: 100px 0 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo svg {
    width: 40px;
    height: 40px;
    color: var(--gold);
}

.footer-logo span {
    font-size: 16px;
    font-weight: 500;
}

.footer-logo .logo-img {
    height: 54px;
    width: auto;
    opacity: 0.9;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 248, 240, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--ivory);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 248, 240, 0.7);
    margin-bottom: 16px;
}

.footer-contact svg {
    color: var(--gold);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 248, 240, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 248, 240, 0.5);
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 100;
}

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

.back-to-top:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-4px);
}

/* ========================================
   Consult Float Button
   ======================================== */
.consult-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.consult-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-normal);
}

.consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(197, 165, 90, 0.4);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-right"].animated {
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-left"].animated {
    transform: translateX(0);
}

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

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

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-visual {
        display: none;
    }

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

    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-visual {
        max-width: 300px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding-bottom: 110px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-stat-divider {
        display: none;
    }

    .banner-indicators {
        bottom: 20px;
    }

    .banner-dot {
        width: 6px;
        height: 6px;
    }

    .banner-dot.active {
        width: 22px;
    }

    .banner-gradient {
        height: 35%;
        min-height: 200px;
    }

    .hero-scroll {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .consult-btn span {
        display: none;
    }

    .consult-btn {
        padding: 14px;
        border-radius: 50%;
    }

    .section-more {
        margin-top: 32px;
    }

    .section-more-link {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-bottom: 90px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 16px;
    }

    .hero-stat-number {
        font-size: 28px;
    }

    .hero-stat-label {
        font-size: 12px;
    }

    .banner-gradient {
        height: 30%;
        min-height: 150px;
    }

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

/* ========================================
   Smooth Scroll & Selection
   ======================================== */
::selection {
    background: rgba(197, 165, 90, 0.2);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}
