/* ============================================
   数界探索（武汉）网络科技有限公司
   融合三角洲(战术军事) + 苹果(极简优雅) 设计语言
   ============================================ */

/* === CSS Variables === */
:root {
    /* Primary Colors - 科技蓝紫渐变 (三角洲的激进+苹果的精致) */
    --primary-dark: #0a0e1a;
    --primary: #1a1f35;
    --accent-1: #00d4ff;
    --accent-2: #7b2ff7;
    --accent-gradient: linear-gradient(135deg, #00d4ff, #7b2ff7);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    /* Surfaces */
    --bg-dark: #0a0e1a;
    --bg-section: #0d1225;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 212, 255, 0.3);

    /* Layout */
    --max-width: 1200px;
    --nav-height: 64px;
    --section-padding: 100px 0;

    /* Typography */
    --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-normal: 0.4s var(--ease-smooth);
    --transition-slow: 0.8s var(--ease-smooth);

    /* Delta Force inspired - tactical accents */
    --orange-accent: #ff6b35;
    --amber-accent: #ffb347;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-cn);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* === Navbar - Apple风格 === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 14, 26, 0.3);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: block;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    display: block;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent-1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    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);
}

/* === Hero Section - 三角洲风格沉浸式 === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 24px;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(123, 47, 247, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 107, 53, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent-1);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both;
}

.hero-title {
    margin-bottom: 16px;
}

.title-line {
    display: block;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.4s both;
}

.title-line.accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.6s both;
}

.hero-desc {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.8s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease-smooth) 1s both;
}

/* === Buttons - 融合风格 === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-cn);
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* === Hero Stats === */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s var(--ease-smooth) 1.2s both;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-en);
    line-height: 1;
}

.stat-plus, .stat-percent {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-1);
    vertical-align: super;
    font-family: var(--font-en);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 12px;
    letter-spacing: 2px;
    z-index: 2;
    animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--accent-1), transparent);
    border-radius: 2px;
}

/* === Section Shared Styles - 苹果风格干净留白 === */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: white;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-1);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    background: rgba(0, 212, 255, 0.05);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === About Section === */
.about {
    background: var(--bg-section);
    position: relative;
}

.about-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 0 24px;
}

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

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.about-feature:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-1);
    margin-bottom: 12px;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-feature p {
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* About Visual Card */
.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 320px;
    height: 400px;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.05), rgba(123, 47, 247, 0.05));
    border-radius: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.visual-card:hover {
    border-color: var(--border-accent);
    transform: scale(1.02);
}

.visual-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0, 212, 255, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

.visual-content {
    text-align: center;
    z-index: 1;
}

.visual-year {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.visual-number {
    display: block;
    font-size: 96px;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-en);
    line-height: 1;
    margin-bottom: 8px;
}

.visual-desc {
    display: block;
    font-size: 16px;
    color: var(--accent-1);
    letter-spacing: 4px;
}

/* === Services Section - 三角洲战术网格 === */
.services {
    background: var(--bg-dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.services-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
}

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

.card-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 12px;
    right: 20px;
    line-height: 1;
    transition: color var(--transition-fast);
}

.service-card:hover .card-number {
    color: rgba(0, 212, 255, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-1);
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
}

.card-tags li {
    padding: 4px 14px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 100px;
    font-size: 12px;
    color: var(--accent-1);
}

/* === Technology Section - 军事战术感 === */
.technology {
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}

.technology::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.05), transparent 70%);
    pointer-events: none;
}

.tech-showcase {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tech-main {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.tech-particle {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 700px;
}

.stack-layer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all var(--transition-normal);
    cursor: default;
}

.stack-layer:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateX(8px);
}

.stack-layer:nth-child(2):hover { transform: translateX(16px); }
.stack-layer:nth-child(3):hover { transform: translateX(24px); }
.stack-layer:nth-child(4):hover { transform: translateX(32px); }
.stack-layer:nth-child(5):hover { transform: translateX(40px); }

.layer-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-1);
    min-width: 72px;
    letter-spacing: 1px;
    font-family: var(--font-en);
}

.layer-techs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.layer-techs span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-family: var(--font-en);
    transition: all var(--transition-fast);
}

.layer-techs span:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: rgba(0, 212, 255, 0.08);
}

/* Tech Metrics */
.tech-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.metric-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.metric-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
}

.metric-value {
    font-size: 40px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-en);
    line-height: 1;
    display: inline-block;
}

.metric-unit {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-1);
    font-family: var(--font-en);
    margin-left: 2px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 8px;
}

/* === Cases Section === */
.cases {
    background: var(--bg-dark);
}

.cases-carousel {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
}

.case-image {
    height: 160px;
    background: var(--case-img);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.case-icon {
    width: 48px;
    height: 48px;
    z-index: 1;
}

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

.case-info {
    padding: 20px 24px;
}

.case-industry {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tag-color, var(--accent-1));
    background: color-mix(in srgb, var(--tag-color, var(--accent-1)) 15%, transparent);
    margin-bottom: 12px;
    font-family: var(--font-en);
    letter-spacing: 0.5px;
}

.case-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.case-results {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.result-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-1);
    font-family: var(--font-en);
}

.result-label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.cases-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.case-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.case-nav-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-1);
    color: var(--accent-1);
}

.cases-dots {
    display: flex;
    gap: 8px;
}

.cases-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.cases-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent-gradient);
}

/* === Contact Section === */
.contact {
    background: var(--bg-section);
    position: relative;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(123, 47, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 48px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all var(--transition-normal);
}

.contact-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
}

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

.contact-detail h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-detail p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--accent-1);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 20px;
    font-weight: 500;
    word-break: break-all;
}

.contact-detail a:hover {
    color: white;
    text-shadow: 0 0 16px rgba(0, 212, 255, 0.5);
}

/* === Footer - Apple风格 === */
.footer {
    background: var(--primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 24px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 40px;
}

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

.footer-logo span {
    font-size: 18px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: rgba(0, 212, 255, 0.05);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    line-height: 2.2;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-1);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-tertiary);
}

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

.footer-bottom a:hover {
    color: var(--accent-1);
}

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

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

/* === Scroll Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive - Apple风格的响应式 === */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

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

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-normal);
        pointer-events: none;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
    }

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

    .stat-number {
        font-size: 36px;
    }

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

    .cases-carousel {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

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

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

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

    .tech-stack {
        gap: 12px;
    }

    .stack-layer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }

    .stack-layer:hover,
    .stack-layer:nth-child(2):hover,
    .stack-layer:nth-child(3):hover,
    .stack-layer:nth-child(4):hover,
    .stack-layer:nth-child(5):hover {
        transform: translateX(0);
    }

    .case-results {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .tech-metrics {
        grid-template-columns: 1fr;
    }

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

/* === Loading animation for hero canvas === */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-1);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) translateX(100px);
    }
}

/* Selection color */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: white;
}

/* Scrollbar - 战术风格 */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* === 全屏翻页导航点 - Page Nav Dots === */
.page-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    pointer-events: none;
}

.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    pointer-events: all;
    text-decoration: none;
    display: block;
}

.page-dot:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.4);
}

.page-dot.active {
    background: var(--accent-1);
    border-color: var(--accent-1);
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.15);
    transform: scale(1.3);
}

.dot-tip {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-smooth);
    font-family: var(--font-cn);
}

.page-dot:hover .dot-tip {
    opacity: 1;
    right: 28px;
}

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