/* ================================
   APERTIUM PRIME
   World-Class Crypto.com-Style Design
   ================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Core Background Colors */
    --primary-bg: #0A0F1E;           /* Deep cosmic black */
    --secondary-bg: #0D122B;         /* Tech-dark blue, for elements like footer */
    --card-bg: #121832;              /* Card background */
    --glass-bg: rgba(18, 24, 50, 0.4); /* Glass morphism */
    
    /* Brand Colors */
    --cognitive-gold: #FFD700;       /* Primary brand gold */
    --cognitive-gold-dark: #B8860B;  /* Darker gold */
    --cognitive-gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --insight-blue: #4A90E2;         /* Secondary brand blue */
    --insight-blue-dark: #2C5D9A;    /* Darker blue */
    
    /* Text Hierarchy */
    --text-light: #E0E0E0;           /* Primary light text color */
    --text-primary: #FFFFFF;         /* For very prominent text */
    --text-secondary: #E0E0E0;       /* Light gray */
    --text-nav: #C0C0C0;             /* Navigation text */
    --text-muted: #A0A0A0;           /* For less important text, subtitles */
    --text-accent: #FFD700;          /* Gold accent text */
    
    /* Borders and Subtle Elements */
    --border-color: rgba(255, 255, 255, 0.1); /* Subtle borders */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-secondary: linear-gradient(135deg, #4A90E2 0%, #2C5D9A 100%);
    --gradient-cosmic: linear-gradient(135deg, #0A0F1E 0%, #0D122B 50%, #121832 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%);
    
    /* Shadows & Glows */
    --shadow-cosmic: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
    --glow-gold: 0 0 30px rgba(255, 215, 0, 0.4);
    --glow-blue: 0 0 30px rgba(74, 144, 226, 0.4);
    --glow-subtle: 0 0 20px rgba(255, 215, 0, 0.1);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-slide: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Typography - Enhanced Chinese Font Support */
    --font-sans-chinese: '思源黑体 CN', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --font-serif-chinese-headline: '思源宋体 CN', 'Source Han Serif CN', serif; /* Optional for impactful headlines */
    --font-primary: '思源黑体 CN', 'Source Han Sans CN', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: '思源黑体 CN', 'Source Han Sans CN', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Consolas', monospace;
    
    /* Spacing with Base Unit System */
    --spacing-unit: 8px; /* Base unit for margins/paddings */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Z-Index */
    --z-modal: 9999;
    --z-overlay: 9998;
    --z-header: 1000;
    --z-tooltip: 1001;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-light);
    font-family: var(--font-sans-chinese);
    font-size: 16px; /* Base for rem */
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-weight: 400;
    position: relative;
    min-height: 100vh;
}

/* Remove default button and input styles for better control */
button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

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

/* Cosmic Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

h1 { 
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

h2 { 
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: var(--space-sm);
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

h4 { 
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

h5 { 
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

h6 { 
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    color: var(--cognitive-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

a:hover {
    color: var(--text-primary);
}

a:focus {
    outline: 2px solid var(--cognitive-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

.section {
    padding: var(--space-3xl) 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.text-glow {
    text-shadow: var(--glow-gold);
    animation: textGlow 2s ease-in-out infinite alternate;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.aperture-logo {
    position: relative;
    width: 60px;
    height: 60px;
}

.aperture-ring {
    position: relative;
    width: 100%;
    height: 100%;
    animation: apertureOpen 2s ease-in-out infinite;
}

.aperture-blade {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 4px;
    background: var(--cognitive-gold);
    transform-origin: center;
    opacity: 0.8;
    border-radius: 2px;
}

.aperture-blade:nth-child(1) { 
    transform: translate(-50%, -50%) rotate(0deg);
}

.aperture-blade:nth-child(2) { 
    transform: translate(-50%, -50%) rotate(60deg);
}

.aperture-blade:nth-child(3) { 
    transform: translate(-50%, -50%) rotate(120deg);
}

.aperture-blade:nth-child(4) { 
    transform: translate(-50%, -50%) rotate(180deg);
}

.aperture-blade:nth-child(5) { 
    transform: translate(-50%, -50%) rotate(240deg);
}

.aperture-blade:nth-child(6) { 
    transform: translate(-50%, -50%) rotate(300deg);
}

.aperture-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--cognitive-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: centerPulse 1s ease-in-out infinite alternate;
}

@keyframes apertureOpen {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

@keyframes centerPulse {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px var(--cognitive-gold);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 0 0 30px var(--cognitive-gold);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3); /* 96px 24px 80px 24px */
    text-align: center;
    min-height: 80vh; /* Ensure it takes significant viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-cosmic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-cosmic);
    overflow: hidden;
    padding-top: 80px; /* Account for fixed header */
}

.cosmic-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.12) 0%, transparent 50%);
    animation: cosmicFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cosmicFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(-20px) rotate(0.5deg); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 6rem 0;
}

.hero-content .container {
    text-align: center;
}

/* Hero Typography */
.hero .main-headline, .hero-title { /* H1: 智穹：执掌认知权杖... */
    font-family: var(--font-serif-chinese-headline, var(--font-sans-chinese)); /* Use Serif if defined and looks good */
    font-size: clamp(3rem, 7vw, 5rem); /* Responsive and large */
    font-weight: 700;
    color: var(--cognitive-gold);
    line-height: 1.25;
    margin: 0 auto calc(var(--spacing-unit) * 3) auto; /* 0 auto 24px auto */
    max-width: 900px; /* Prevent overly long lines */
    letter-spacing: 0.05em; /* Spacing for Chinese */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .slogan, .hero-tagline { /* P: 在信息断层中铸造权杖 */
    font-size: clamp(1.25rem, 3.5vw, 1.9rem);
    color: var(--text-light);
    opacity: 0.9;
    margin: 0 auto calc(var(--spacing-unit) * 5) auto; /* 0 auto 40px auto */
    max-width: 700px;
    line-height: 1.6;
}

.hero .cta-buttons-container, .hero-actions {
    margin-bottom: calc(var(--spacing-unit) * 8); /* 64px */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero .cta-button, .hero-actions .btn {
    display: inline-block;
    margin: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 4); /* 14px 32px */
    font-size: 1.05rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: 2px solid transparent; /* For consistent sizing with secondary */
}

.hero .cta-button.primary, .btn-primary { /* e.g., 探索认知领域 */
    background: var(--cognitive-gold-gradient);
    color: #101010; /* Dark text for contrast */
    border-color: var(--cognitive-gold); /* Ensure border takes color from gradient */
}

.hero .cta-button.primary:hover, .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.3);
}

.hero .cta-button.secondary, .btn-secondary { /* e.g., 了解项目起源 */
    border: 2px solid var(--cognitive-gold);
    color: var(--cognitive-gold);
    background: transparent;
}

.hero .cta-button.secondary:hover, .btn-secondary:hover {
    background-color: var(--cognitive-gold);
    color: #101010;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.hero .stats-container, .hero-stats {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items at their top */
    gap: clamp(2rem, 7vw, 5rem); /* Responsive gap */
    margin-top: calc(var(--spacing-unit) * 6); /* 48px, adjust as needed */
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero .stat-item {
    text-align: center;
    min-width: 120px;
}

.hero .stat-item .stat-number { /* e.g., 847% */
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--cognitive-gold);
    display: block;
    margin-bottom: calc(var(--spacing-unit) * 0.75); /* 6px */
    line-height: 1;
    font-family: var(--font-heading);
}

.hero .stat-item .stat-label { /* e.g., 投资回报提升 */
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: none; /* No uppercase for Chinese */
    letter-spacing: 0.02em;
    line-height: 1.4;
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--cognitive-gold);
    border-bottom: 2px solid var(--cognitive-gold);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(-10px); }
    60% { transform: rotate(45deg) translateY(-5px); }
}

/* Hero Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 2); /* Smaller padding on mobile */
    }
    
    .hero-content {
        padding: 4rem 0;
    }
    
    .hero-actions, .hero .cta-buttons-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats, .hero .stats-container {
        gap: 2rem;
    }
    
    .stat-item {
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .hero-stats, .hero .stats-container {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-description, .hero .slogan {
        margin-bottom: 2rem;
    }
}

/* ===== THREE PILLARS SECTION ===== */
.pillars-section, .capabilities-preview {
    padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 3); /* 80px 24px 96px 24px */
    max-width: 1200px;
    margin: 0 auto;
    background: var(--primary-bg);
    position: relative;
}

.pillars-section .section-title, .section-header .section-title { /* H2: 三大认知支柱 */
    text-align: center;
    font-size: clamp(2.5rem, 5.5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: calc(var(--spacing-unit) * 2); /* 16px */
    letter-spacing: 0.03em;
}

.pillars-section .section-subtitle, .section-header .section-description { /* P: Explanatory sentence */
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto calc(var(--spacing-unit) * 6) auto; /* 0 auto 48px auto */
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pillars-section .cards-container, .capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 4); /* 32px */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pillars-section .pillar-card, .capability-card {
    background-color: var(--card-bg);
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 3.5); /* 32px 28px */
    border-radius: 16px; /* More pronounced rounding */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); /* Softer, larger shadow */
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

.pillars-section .pillar-card:hover, .capability-card:hover {
    transform: translateY(-10px); /* More noticeable lift */
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 215, 0, 0.3);
}

.capability-card:hover::before {
    opacity: 1;
}

.card-content {
    padding: 0; /* Remove padding since we set it on card */
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}

.pillars-section .pillar-card .icon-placeholder, .capability-card .icon-placeholder { /* Current: 智, 穿, 尊 */
    width: 64px; /* Slightly larger */
    height: 64px;
    background-color: rgba(255, 215, 0, 0.1); /* Gold accent bg */
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 12px; /* Rounded square, more modern than circle for this */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 3); /* 24px */
    font-size: 2.25rem; /* Larger character */
    font-weight: 600; /* Bolder character */
    color: var(--cognitive-gold);
    transition: var(--transition-smooth);
}

.pillars-section .pillar-card:hover .icon-placeholder, .capability-card:hover .icon-placeholder {
    background-color: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
    box-shadow: var(--glow-subtle);
}

.pillars-section .pillar-card .card-title, .capability-card .capability-title { /* H3: e.g., 认知套利 */
    font-size: 1.8rem; /* Larger */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: calc(var(--spacing-unit) * 1); /* 8px */
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.pillars-section .pillar-card .card-sublabel, .capability-card .capability-subtitle { /* P: e.g., 核心优势一 */
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: calc(var(--spacing-unit) * 2); /* 16px */
    font-style: italic;
    opacity: 0.9;
    font-weight: 500;
}

.pillars-section .pillar-card .card-description, .capability-card .capability-description {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.85; /* Slightly less transparent */
    line-height: 1.75;
    margin-bottom: calc(var(--spacing-unit) * 3); /* 24px */
    flex-grow: 1; /* Important for aligning buttons if text length varies */
}

.pillars-section .pillar-card .card-cta-link, .capability-card .capability-link {
    font-size: 1rem;
    color: var(--cognitive-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start; /* Align to the start of the flex item (card) */
    padding: calc(var(--spacing-unit) * 0.5) 0; /* Add some vertical padding for click area */
    position: relative;
    margin-top: auto;
    transition: var(--transition-smooth);
}

.capability-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.pillars-section .pillar-card .card-cta-link .arrow, .capability-link .arrow-right { /* e.g., <span>→</span> */
    margin-left: calc(var(--spacing-unit) * 0.75); /* 6px */
    transition: transform 0.3s ease;
    display: inline-block;
    width: 16px;
    height: 16px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.pillars-section .pillar-card .card-cta-link:hover .arrow, .capability-link:hover .arrow-right {
    transform: translateX(6px) rotate(-45deg);
}

.capability-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.capability-link:hover::after {
    width: calc(100% - 1.5rem);
}

/* Responsive Design for Cards */
@media (max-width: 768px) {
    .pillars-section, .capabilities-preview {
        padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 2); /* Smaller padding on mobile */
    }
    
    .pillars-section .cards-container, .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .pillars-section .pillar-card, .capability-card {
        min-height: 350px;
        padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2.5); /* Smaller padding on mobile */
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .pillars-section .cards-container, .capabilities-grid {
        grid-template-columns: minmax(280px, 1fr);
        padding: 0 0.5rem;
    }
    
    .pillars-section .pillar-card, .capability-card {
        padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2); /* Even smaller padding */
    }
    
    .pillars-section .pillar-card .icon-placeholder, .capability-card .icon-placeholder {
        width: 50px;
        height: 50px;
        margin-bottom: var(--space-md);
        font-size: 1.5rem;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent; /* For consistent sizing */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #101010; /* Dark text for contrast */
    border-color: var(--cognitive-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--cognitive-gold);
    border: 2px solid var(--cognitive-gold);
}

.btn-secondary:hover {
    background: var(--cognitive-gold);
    color: #101010;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.btn-glow {
    box-shadow: var(--glow-subtle);
}

.btn-glow:hover {
    box-shadow: var(--glow-gold);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
    min-width: 200px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cognitive-gold);
    color: var(--cognitive-gold);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-stats {
        gap: var(--space-lg);
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
*:focus {
    outline: 2px solid var(--cognitive-gold);
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

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

/* ===== SELECTION STYLING ===== */
::selection {
    background: var(--cognitive-gold);
    color: var(--primary-bg);
}

::-moz-selection {
    background: var(--cognitive-gold);
    color: var(--primary-bg);
}

/* ===== NAVIGATION BAR ===== */
.site-header {
    background-color: rgba(13, 18, 43, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.site-nav {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
    }
}

/* Brand/Logo Section */
.nav-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.brand-link:hover {
    transform: translateY(-1px);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.brand-link:hover .logo-image {
    transform: scale(1.05);
}

.brand-text .brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cognitive-gold);
    text-decoration: none;
    letter-spacing: 0.03em;
    font-family: var(--font-heading);
}

/* Navigation Menu */
.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item:not(:last-child) {
    margin-right: calc(var(--spacing-unit) * 3);
}

.nav-link {
    color: var(--text-nav);
    text-decoration: none;
    font-size: 1rem;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 0.5);
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
    position: relative;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease, left 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
    left: 10%;
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-nav);
    border-radius: 1px;
    transition: var(--transition-smooth);
    margin: 2px 0;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: var(--cognitive-gold);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .site-header {
        padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
    }
    
    .nav-container {
        padding: 0;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 18, 43, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        visibility: hidden;
        opacity: 0;
        transition: var(--transition-smooth);
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: var(--space-lg) var(--space-md);
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
        margin-right: 0;
    }
    
    .nav-link {
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .brand-text .brand-name {
        font-size: 1.5rem;
    }
}

/* ===== FOOTER SECTION ===== */
.site-footer {
    background-color: var(--secondary-bg);
    padding: calc(var(--spacing-unit) * 7) calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 3); /* 56px 24px 32px 24px */
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 12); /* 96px, more separation */
    border-top: 1px solid var(--border-color);
    position: relative;
}

.site-footer .footer-title { /* H3/H4: 战略合作咨询 */
    font-size: 2rem; /* Larger */
    color: var(--text-primary);
    margin-bottom: calc(var(--spacing-unit) * 1.5); /* 12px */
    font-weight: 600;
}

.site-footer .footer-email a, .contact-email {
    font-size: 1.2rem; /* Slightly larger */
    color: var(--cognitive-gold);
    text-decoration: none;
    display: block;
    margin-bottom: calc(var(--spacing-unit) * 1); /* 8px */
    transition: color 0.3s ease;
    font-weight: 500;
}

.site-footer .footer-email a:hover, .contact-email:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.site-footer .footer-notice, .contact-note { /* P: 仅限合格领袖 */
    font-size: 0.95rem; /* Slightly larger */
    color: var(--text-muted);
    margin-bottom: calc(var(--spacing-unit) * 5); /* 40px, more space before copyright */
    font-style: italic;
    margin: 0;
}

.site-footer .copyright-text, .footer-copyright {
    font-size: 0.85rem;
    color: #888; /* Darker grey for less emphasis */
    margin-bottom: calc(var(--spacing-unit) * 1.5); /* 12px */
}

.site-footer .legal-links a, .legal-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 calc(var(--spacing-unit) * 1); /* 8px */
    transition: color 0.3s ease;
}

.site-footer .legal-links a:hover, .legal-link:hover {
    color: var(--cognitive-gold);
    text-decoration: underline;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* Remove default padding since we set it on footer */
}

@media (min-width: 1400px) {
    .footer-container {
        max-width: 1400px;
    }
}

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

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 1rem;
    justify-content: center;
}

.logo-image-footer {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.footer-logo .brand-text .brand-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--cognitive-gold);
    letter-spacing: -0.01em;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
}

.footer-links a:hover {
    color: var(--cognitive-gold);
    transform: translateX(4px);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

/* Footer Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2); /* Smaller padding on mobile */
    }
    
    .footer-container {
        padding: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .site-footer .footer-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 1.5); /* Even smaller padding */
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-nav-title,
    .footer-contact-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .site-footer .footer-title {
        font-size: 1.5rem;
    }
}

/* ===== ELITE CTA SECTION ===== */
.elite-cta {
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
    padding: var(--space-3xl) 0;
}

.elite-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, transparent 0%, rgba(74, 144, 226, 0.05) 50%, transparent 100%);
}

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

.cta-badge {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--cognitive-gold);
    color: var(--cognitive-gold);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(20px);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cognitive-gold);
}

/* Icon Styles */
.icon-shield::before {
    content: '🛡️';
    font-size: 16px;
}

.icon-network::before {
    content: '🔗';
    font-size: 16px;
}

.icon-crown::before {
    content: '👑';
    font-size: 16px;
}

/* Animation Classes */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

[data-animate="fadeInScale"] {
    transform: translateY(30px) scale(0.9);
}

[data-animate="fadeInScale"].animate-in {
    transform: translateY(0) scale(1);
}

/* Responsive Enhancements for CTA and Buttons */
@media (max-width: 768px) {
    .cta-actions {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .cta-features {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-actions, .hero .cta-buttons-container {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-stats, .hero .stats-container {
        gap: var(--space-lg);
    }
    
    .pillars-section .cards-container, .capabilities-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .btn-large {
        padding: var(--space-sm) var(--space-lg);
        min-width: 180px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
    }
}

/* Landing Page Specific Hero */
.landing-page .hero-section {
    padding-top: 80px; /* Account for fixed header */
} 