/**
 * Enterprise Website - Main Stylesheet
 * Theme: Deep Blue
 * Reference: 灯塔网络科技（甘肃）有限公司
 */

/* ==================== CSS Variables ==================== */
:root {
    /* Primary Colors - Deep Blue Theme */
    --primary-dark: #0a0e1a;
    --primary-deep: #0d1429;
    --primary-blue: #1a3a5c;
    --primary-light: #2d5a8a;
    --accent-cyan: #00d4ff;
    --accent-blue: #4a9eff;
    --accent-purple: #8b5cf6;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-accent: #00d4ff;
    
    /* Background Colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0d1429;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-border: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a3a5c 50%, #0d1429 100%);
    --gradient-text: linear-gradient(135deg, #00d4ff 0%, #4a9eff 50%, #8b5cf6 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max-width: 1200px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Push footer to bottom when content is short */
.page-content {
    flex: 1;
}

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

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

ul, ol {
    list-style: none;
}

/* ==================== Utility Classes ==================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Header - Apple-style Glassmorphism ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0);
    backdrop-filter: blur(0px) saturate(0%);
    -webkit-backdrop-filter: blur(0px) saturate(0%);
    border-bottom: 1px solid transparent;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.header.scrolled::before {
    background: rgba(10, 14, 26, 0.72);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
    padding: 12px 0;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* Sliding glass indicator behind active/hovered nav link */
.nav-indicator {
    position: absolute;
    height: 42px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    outline: none;
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.06),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
                0 4px 16px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-full);
    pointer-events: none;
    transition: left 0.4s cubic-bezier(0.32, 0.72, 0, 1),
                width 0.4s cubic-bezier(0.32, 0.72, 0, 1),
                opacity 0.3s ease;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
}

.nav-link {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Force remove any pseudo-element underlines on nav links */
.nav-link::before,
.nav-link::after {
    display: none !important;
    content: none !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: transparent;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-border);
    padding: 60px 0 30px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

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

.footer-brand-text {
    font-size: 18px;
    font-weight: 600;
}

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

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-info-item i {
    color: var(--accent-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--bg-border);
}

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(74, 158, 255, 0.1) 0%, transparent 50%);
    animation: heroBreath 3s ease-in-out infinite;
}

@keyframes heroBreath {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

/* Secondary breathing orb - offset timing */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, rgba(74, 158, 255, 0.12) 30%, rgba(138, 92, 246, 0.06) 50%, transparent 70%);
    border-radius: 50%;
    animation: heroOrb 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroOrb {
    0%, 100% {
        opacity: 0.2;
        transform: translate(0, 0) scale(1);
    }
    33% {
        opacity: 0.9;
        transform: translate(50px, -30px) scale(1.2);
    }
    66% {
        opacity: 0.4;
        transform: translate(-30px, 25px) scale(0.85);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

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

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

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

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

/* ==================== Services Section ==================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(0, 212, 255, 0.1),
                0 0 40px rgba(0, 212, 255, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(74, 158, 255, 0.2));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--accent-cyan);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tag {
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--accent-cyan);
}

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

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

/* ==================== Ecosystem Section ==================== */
.ecosystem {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.ecosystem-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    overflow: hidden;
}

.ecosystem-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.ecosystem-card:hover::after {
    left: 100%;
}

.ecosystem-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(0, 212, 255, 0.1),
                0 0 40px rgba(0, 212, 255, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ecosystem-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(138, 92, 246, 0.15));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--accent-cyan);
}

.ecosystem-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ecosystem-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== Process Section ==================== */
.process {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.3;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(74, 158, 255, 0.2));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== Advantages Section ==================== */
.advantages {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.advantage-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    overflow: hidden;
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.advantage-card:hover::after {
    left: 100%;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(0, 212, 255, 0.1),
                0 0 40px rgba(0, 212, 255, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(138, 92, 246, 0.15));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-cyan);
}

.advantage-content {
    flex: 1;
}

.advantage-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.advantage-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== FAQ Section ==================== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.faq-item.active {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question-text {
    font-size: 16px;
    font-weight: 500;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== Page Content ==================== */
.page-content {
    padding: 140px 0 80px;
    min-height: 60vh;
    position: relative;
}

/* Subtle ambient glow behind page header */
.page-content::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* ==================== Page Transition Animation ==================== */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: var(--bg-primary);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Transition Logo */
.transition-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.page-transition-overlay.active .transition-logo {
    opacity: 1;
    transform: scale(1);
}

/* Cloudflare-style Progress Bar */
.transition-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.page-transition-overlay.active .transition-progress {
    opacity: 1;
}

.transition-progress-bar {
    width: 40%;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #00d4ff, #4a9eff, #8b5cf6);
    animation: progressSlide 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes progressSlide {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(250%);
    }
    100% {
        transform: translateX(450%);
    }
}

/* Page content entrance animation */
.page-enter {
    animation: pageEnter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

/* Sub-page section background override */
.page-content .services {
    background: transparent;
    padding: 0;
}

.page-content .ecosystem {
    background: transparent;
    padding: 60px 0 0;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-orb {
        width: 300px;
        height: 300px;
    }
    
    .services-grid,
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 15px);
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .nav {
        display: none;
    }
    
    .services-grid,
    .ecosystem-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* ==================== Global Scroll Reveal Animation ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==================== Enhanced Card Glass Effects ==================== */
.service-card,
.ecosystem-card,
.advantage-card,
.process-step,
.about-value-card,
.announcement-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.service-card::after,
.ecosystem-card::after,
.advantage-card::after,
.about-value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.service-card:hover::after,
.ecosystem-card:hover::after,
.advantage-card:hover::after,
.about-value-card:hover::after {
    left: 100%;
}

.service-card:hover,
.ecosystem-card:hover,
.advantage-card:hover,
.about-value-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(0, 212, 255, 0.1),
                0 0 40px rgba(0, 212, 255, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.process-step {
    border-radius: 24px;
    padding: 32px 20px;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(0, 212, 255, 0.05);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

.step-number {
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.announcement-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(0, 212, 255, 0.12),
                0 0 30px rgba(0, 212, 255, 0.05);
}

/* ==================== Service Icon Glow Pulse ==================== */
.service-icon,
.ecosystem-icon,
.about-value-icon {
    transition: all 0.4s ease;
}

.service-card:hover .service-icon,
.about-value-card:hover .about-value-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
}

.ecosystem-card:hover .ecosystem-icon {
    transform: scale(1.1);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.2);
}

/* ==================== Section Title Gradient Animation ==================== */
.section-title,
.page-title {
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ==================== Floating Ambient Particles ==================== */
.ambient-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ==================== Glass Glow on Section Headers ==================== */
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #8b5cf6);
    border-radius: 2px;
    margin: 16px auto 0;
    opacity: 0.6;
    transition: width 0.4s ease, opacity 0.4s ease;
}

.section-title:hover::after {
    width: 80px;
    opacity: 1;
}

/* ==================== Subtle Background Grid Pattern ==================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content sits above grid */
.header,
.page-content,
.footer {
    position: relative;
    z-index: 1;
}

/* ==================== Smooth Link Hover Underline ==================== */
.footer-info-item,
.footer-icp,
.footer-copyright a {
    transition: color 0.3s ease;
}

/* ==================== Page Content Fade In ==================== */
.page-content > .container > * {
    animation: contentFadeIn 0.6s ease both;
}

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

/* ==================== Announcement Page ==================== */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.announcement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg, 16px);
    padding: 24px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.announcement-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-text, linear-gradient(135deg, #00d4ff, #4a9eff, #8b5cf6));
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.announcement-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.announcement-card:hover::before {
    opacity: 1;
}
.announcement-card.pinned {
    border-color: rgba(0, 212, 255, 0.12);
}
.announcement-card.pinned::before {
    opacity: 1;
}
.announcement-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.announcement-date {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    font-variant-numeric: tabular-nums;
}
.announcement-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-full, 9999px);
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    font-weight: 500;
}
.announcement-badge.important {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}
.announcement-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 8px;
    line-height: 1.5;
}
.announcement-summary {
    font-size: 14px;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.announcement-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 13px;
    color: #00d4ff;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}
.announcement-card:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}
.announcement-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted, #94a3b8);
}

/* Detail Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--bg-secondary, #1e293b);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl, 20px);
    max-width: 680px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}
.modal-header {
    padding: 28px 28px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary, #94a3b8);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #f1f5f9);
}
.modal-body {
    padding: 20px 28px 28px;
}
.modal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
    line-height: 1.5;
    margin-bottom: 20px;
}
.modal-text {
    font-size: 15px;
    color: var(--text-secondary, #cbd5e1);
    line-height: 1.9;
}
.modal-text p {
    margin-bottom: 16px;
}
.modal-text p:last-child {
    margin-bottom: 0;
}

/* ==================== About Page ==================== */
.about-hero {
    text-align: center;
    padding: 60px 0 40px;
}
.about-hero .company-slogan {
    font-size: 20px;
    color: var(--text-secondary, #94a3b8);
    margin-top: 16px;
    font-weight: 300;
    letter-spacing: 2px;
}
.about-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}
.about-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.about-section p {
    font-size: 15px;
    color: var(--text-secondary, #cbd5e1);
    line-height: 1.9;
    margin-bottom: 16px;
}
.about-section p:last-child {
    margin-bottom: 0;
}
.about-section strong {
    color: var(--text-primary, #f1f5f9);
}
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.about-value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg, 16px);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.about-value-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}
.about-value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}
.about-value-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 8px;
}
.about-value-card p {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.6;
    margin-bottom: 0;
}
.about-timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 24px;
}
.about-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(to bottom, #00d4ff, #4a9eff, #8b5cf6);
    border-radius: 1px;
}
.about-timeline-item {
    position: relative;
    padding-bottom: 28px;
}
.about-timeline-item:last-child {
    padding-bottom: 0;
}
.about-timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}
.about-timeline-date {
    font-size: 13px;
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 4px;
}
.about-timeline-text {
    font-size: 14px;
    color: var(--text-secondary, #cbd5e1);
    line-height: 1.7;
}
