/**
 * Waywave 渡澜 - 首页样式（全新世界级设计）
 * 海洋主题 · 波浪动效 · 全屏板块 · 滚动吸附
 */

/* ========================================
   字体定义
   ======================================== */
:root {
    --font-display: 'Sora', 'Noto Sans SC', system-ui, sans-serif;
    --font-body: 'Noto Sans SC', 'Sora', system-ui, sans-serif;
    --header-height: 72px;
}

/* ========================================
   页面整体布局 - 滚动吸附
   ======================================== */
html {
    scroll-behavior: smooth;
}

.landing-page {
    font-family: var(--font-body);
    background: #f8fafc;
    overflow-x: hidden;
    /* 滚动吸附 */
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: 100vh;
    height: 100dvh;
}

.theme-dark .landing-page {
    background: #020617;
}

/* ========================================
   顶部导航
   ======================================== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    transition: all 0.3s ease;
}

.landing-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-header.scrolled::before {
    opacity: 1;
}

.theme-dark .landing-header::before {
    background: rgba(2, 6, 23, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 品牌 Logo */
.brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand-en {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -1px;
}

.brand-zh {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-primary);
}

/* 头部右侧区域 */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 辅助导航链接 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-link-text:hover {
    color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

.theme-dark .nav-link-text:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-link-text .iconify {
    font-size: 16px;
    opacity: 0.7;
}

/* 分隔线 */
.header-divider {
    width: 1px;
    height: 24px;
    background: var(--color-border);
    margin: 0 8px;
}

/* 主题切换按钮 */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-elevated);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
}

.theme-toggle:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.15);
}

/* ========================================
   英雄区域
   ======================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 24px 60px;
    text-align: center;
    overflow: hidden;
    /* 滚动吸附 */
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Hero 背景 */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ocean-gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 40%, #f0fdf4 100%),
        radial-gradient(ellipse 120% 80% at 50% 120%, rgba(20, 184, 166, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 100% 60% at 80% 0%, rgba(163, 230, 53, 0.1) 0%, transparent 50%);
}

.theme-dark .ocean-gradient {
    background: 
        linear-gradient(180deg, #020617 0%, #0c1426 40%, #041c14 100%),
        radial-gradient(ellipse 120% 80% at 50% 120%, rgba(20, 184, 166, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 100% 60% at 80% 0%, rgba(163, 230, 53, 0.08) 0%, transparent 50%);
}

/* 光晕效果 */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: glow-drift 20s ease-in-out infinite;
}

.glow-1 {
    width: 500px;
    height: 500px;
    top: -15%;
    right: -8%;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.25) 0%, transparent 70%);
}

.glow-2 {
    width: 400px;
    height: 400px;
    bottom: 15%;
    left: -8%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    animation-delay: -7s;
}

.glow-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    animation-delay: -14s;
}

.theme-dark .glow-1 {
    background: radial-gradient(circle, rgba(163, 230, 53, 0.15) 0%, transparent 70%);
}

.theme-dark .glow-2 {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
}

.theme-dark .glow-3 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

@keyframes glow-drift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    33% { transform: translate(30px, -20px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-20px, 30px) scale(0.95); opacity: 0.9; }
}

/* 波浪效果 */
.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wave-layer {
    position: absolute;
    left: -100%;
    width: 300%;
    overflow: visible;
}

.wave-layer svg {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
}

.wave-layer-1 {
    bottom: 0;
    height: 70%;
    animation: wave-drift-right 22s linear infinite;
}

.wave-layer-1 svg path {
    fill: rgba(163, 230, 53, 0.06);
}

.wave-layer-2 {
    bottom: 0;
    height: 55%;
    animation: wave-drift-left 18s linear infinite;
}

.wave-layer-2 svg path {
    fill: rgba(20, 184, 166, 0.08);
}

.wave-layer-3 {
    bottom: 0;
    height: 40%;
    animation: wave-drift-right 26s linear infinite;
}

.wave-layer-3 svg path {
    fill: rgba(34, 197, 94, 0.05);
}

.wave-layer-top {
    top: 0;
    height: 25%;
    transform: scaleY(-1);
    animation: wave-drift-left 30s linear infinite;
}

.wave-layer-top svg path {
    fill: rgba(163, 230, 53, 0.04);
}

.theme-dark .wave-layer-1 svg path { fill: rgba(163, 230, 53, 0.04); }
.theme-dark .wave-layer-2 svg path { fill: rgba(20, 184, 166, 0.06); }
.theme-dark .wave-layer-3 svg path { fill: rgba(99, 102, 241, 0.04); }
.theme-dark .wave-layer-top svg path { fill: rgba(163, 230, 53, 0.02); }

@keyframes wave-drift-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

@keyframes wave-drift-left {
    0% { transform: translateX(-33.333%); }
    100% { transform: translateX(0); }
}

/* 漂浮粒子 */
.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: particle-float 15s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 60%; animation-delay: -3s; animation-duration: 18s; }
.particle:nth-child(3) { left: 50%; top: 30%; animation-delay: -6s; animation-duration: 12s; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: -9s; animation-duration: 20s; }
.particle:nth-child(5) { left: 85%; top: 40%; animation-delay: -12s; animation-duration: 16s; }
.particle:nth-child(6) { left: 20%; top: 80%; animation-delay: -15s; animation-duration: 22s; }

@keyframes particle-float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
    25% { transform: translateY(-30px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-50px) translateX(-5px); opacity: 0.3; }
    75% { transform: translateY(-20px) translateX(-15px); opacity: 0.5; }
}

/* Hero 内容 */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(163, 230, 53, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-secondary);
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(163, 230, 53, 0.15);
    animation: badge-appear 0.8s ease-out;
}

.theme-dark .hero-badge {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.3);
    color: var(--brand-primary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

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

.animate-float {
    animation: badge-appear 0.8s ease-out, gentle-float 4s ease-in-out infinite 0.8s;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: title-appear 1s ease-out 0.2s both;
}

.title-line {
    display: block;
}

.title-highlight {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #14b8a6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes title-appear {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    animation: title-appear 1s ease-out 0.4s both;
}

.hero-subtitle em {
    font-style: normal;
    font-weight: 600;
    color: var(--brand-primary);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    animation: title-appear 1s ease-out 0.5s both;
}

.hide-mobile {
    display: inline;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: title-appear 1s ease-out 0.6s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    text-decoration: none;
    transform: translateY(-3px);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #84cc16 100%);
    color: #0f172a;
    box-shadow: 0 8px 30px rgba(163, 230, 53, 0.35);
}

.btn-hero-primary:hover {
    box-shadow: 0 12px 40px rgba(163, 230, 53, 0.5);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.theme-dark .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-hero-secondary:hover {
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.theme-dark .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
    animation: scroll-hint-appear 1s ease-out 1s both;
    transition: color 0.2s ease;
}

.scroll-hint:hover {
    color: var(--brand-primary);
    text-decoration: none;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 20px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-hint-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 板块内的滚动提示按钮 */
.section-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    text-decoration: none;
    cursor: pointer;
    margin-top: 60px;
    transition: color 0.2s ease;
    animation: scroll-hint-appear 1s ease-out 0.8s both;
}

.section-scroll-hint:hover {
    color: var(--brand-primary);
    text-decoration: none;
}

.section-scroll-hint .scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-scroll-hint .scroll-arrow {
    font-size: 20px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

/* ========================================
   全屏板块通用样式
   ======================================== */
.fullscreen-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* 滚动吸附 */
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

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

.section-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* ========================================
   功能板块背景
   ======================================== */
.features-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.theme-dark .features-bg {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* 网格图案 */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(163, 230, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(163, 230, 53, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
}

.theme-dark .grid-pattern {
    background-image: 
        linear-gradient(rgba(163, 230, 53, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(163, 230, 53, 0.05) 1px, transparent 1px);
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(163, 230, 53, 0.05) 0%, transparent 70%);
}

.theme-dark .gradient-overlay {
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(163, 230, 53, 0.03) 0%, transparent 70%);
}

/* ========================================
   功能板块内容
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(163, 230, 53, 0.15);
    color: var(--brand-secondary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-dark .section-tag {
    color: var(--brand-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* 功能卡片网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}

.theme-dark .feature-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.15) 0%, rgba(20, 184, 166, 0.15) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--brand-secondary);
    transition: all 0.4s ease;
}

.theme-dark .feature-icon {
    color: var(--brand-primary);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.25) 0%, rgba(20, 184, 166, 0.25) 100%);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ========================================
   品牌理念板块背景
   ======================================== */
.philosophy-bg {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
}

.theme-dark .philosophy-bg {
    background: linear-gradient(180deg, #0f172a 0%, #0c1426 50%, #0f172a 100%);
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 50% at 20% 30%, rgba(163, 230, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 80% 70%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    animation: mesh-shift 20s ease-in-out infinite;
}

.theme-dark .mesh-gradient {
    background: 
        radial-gradient(ellipse 50% 50% at 20% 30%, rgba(163, 230, 53, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 80% 70%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(20, 184, 166, 0.04) 0%, transparent 50%);
}

@keyframes mesh-shift {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   品牌理念内容
   ======================================== */
.philosophy-content-wrapper {
    padding: 60px 24px;
}

.philosophy-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.philosophy-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.philosophy-quote {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    line-height: 1.5;
    margin: 24px 0;
    padding-left: 24px;
    border-left: 4px solid var(--brand-primary);
}

.philosophy-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-secondary);
}

/* 视觉元素 */
.philosophy-visual {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease 0.2s;
}

.philosophy-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.visual-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: ring-pulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(163, 230, 53, 0.3);
}

.ring-2 {
    width: 200px;
    height: 200px;
    border-color: rgba(20, 184, 166, 0.4);
    animation-delay: -1s;
}

.ring-3 {
    width: 120px;
    height: 120px;
    border-color: rgba(6, 182, 212, 0.5);
    animation-delay: -2s;
}

@keyframes ring-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.6; }
}

.visual-center {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #14b8a6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #0f172a;
    box-shadow: 0 10px 40px rgba(163, 230, 53, 0.4);
    animation: center-glow 3s ease-in-out infinite;
}

@keyframes center-glow {
    0%, 100% { box-shadow: 0 10px 40px rgba(163, 230, 53, 0.4); }
    50% { box-shadow: 0 15px 60px rgba(163, 230, 53, 0.6); }
}

/* ========================================
   CTA 区域（与页脚共享视口高度）
   ======================================== */
.cta-section {
    min-height: calc(100vh - 120px);
    min-height: calc(100dvh - 120px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* 滚动吸附 */
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cta-gradient {
    background: 
        linear-gradient(180deg, #f0fdf4 0%, #e0f2fe 50%, #f0f9ff 100%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
}

.theme-dark .cta-gradient {
    background: 
        linear-gradient(180deg, #0f172a 0%, #0c1426 50%, #020617 100%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(20, 184, 166, 0.1) 0%, transparent 60%);
}

.glow-cta-1 {
    width: 400px;
    height: 400px;
    bottom: -10%;
    right: 10%;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.2) 0%, transparent 70%);
}

.glow-cta-2 {
    width: 350px;
    height: 350px;
    bottom: 20%;
    left: 5%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    animation-delay: -10s;
}

.theme-dark .glow-cta-1 {
    background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, transparent 70%);
}

.theme-dark .glow-cta-2 {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
}

.wave-container-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-layer-cta-1 {
    bottom: 0;
    height: 50%;
    animation: wave-drift-right 24s linear infinite;
}

.wave-layer-cta-1 svg path {
    fill: rgba(163, 230, 53, 0.05);
}

.wave-layer-cta-2 {
    bottom: 0;
    height: 35%;
    animation: wave-drift-left 20s linear infinite;
}

.wave-layer-cta-2 svg path {
    fill: rgba(20, 184, 166, 0.06);
}

.theme-dark .wave-layer-cta-1 svg path {
    fill: rgba(163, 230, 53, 0.03);
}

.theme-dark .wave-layer-cta-2 svg path {
    fill: rgba(20, 184, 166, 0.04);
}

/* CTA 卡片 */
.cta-inner {
    position: relative;
    z-index: 10;
    max-width: 560px;
    margin: 0 auto;
    padding: 24px;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.theme-dark .cta-card {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #84cc16 100%);
    color: #0f172a;
    box-shadow: 0 6px 24px rgba(163, 230, 53, 0.3);
}

.btn-cta-primary:hover {
    box-shadow: 0 10px 32px rgba(163, 230, 53, 0.45);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-cta-secondary:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-text-muted);
}

/* 用户已登录状态 */
.user-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-bg-hover);
    border-radius: 16px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.user-info {
    text-align: left;
}

.user-greeting {
    display: block;
    font-size: 15px;
    color: var(--color-text-primary);
}

.user-hint {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.user-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.logout-btn:hover {
    color: var(--color-error);
}

/* ========================================
   页脚（与CTA共享视口）
   ======================================== */
.landing-footer {
    position: relative;
    z-index: 10;
    padding: 32px 24px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
    min-height: 120px;
    /* 页脚不吸附 */
    scroll-snap-align: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.footer-logo-en {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.footer-logo-zh {
    font-size: 13px;
    color: var(--brand-primary);
    font-weight: 500;
}

.footer-slogan {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid var(--color-border);
}

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

/* ========================================
   联系弹窗
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--color-bg-elevated);
    border-radius: 24px;
    padding: 48px 32px 32px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.show .contact-modal {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--color-text-muted);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 24px;
}

.modal-close-btn:hover {
    background: var(--color-bg-hover);
    color: var(--color-text-primary);
}

.contact-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.2) 0%, rgba(20, 184, 166, 0.2) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--brand-secondary);
}

.theme-dark .contact-icon {
    color: var(--brand-primary);
}

.contact-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-text {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #84cc16 100%);
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(163, 230, 53, 0.3);
}

.contact-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(163, 230, 53, 0.45);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .philosophy-quote {
        border-left: none;
        padding-left: 0;
        border-top: 4px solid var(--brand-primary);
        padding-top: 24px;
    }
    
    .philosophy-visual {
        height: 280px;
    }
}

@media (max-width: 768px) {
    /* 移动端禁用滚动吸附 */
    .landing-page {
        scroll-snap-type: none;
        height: auto;
        overflow-y: visible;
    }
    
    .hero,
    .fullscreen-section,
    .cta-section {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        min-height: auto;
    }
    
    .landing-header {
        padding: 12px 16px;
    }
    
    .brand-en {
        font-size: 20px;
    }
    
    .nav-link-text .link-text {
        display: none;
    }
    
    .nav-link-text {
        padding: 8px 10px;
    }
    
    .header-divider {
        margin: 0 4px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
    }
    
    .hero {
        padding: 100px 20px 60px;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hide-mobile {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .scroll-hint {
        bottom: 24px;
    }
    
    .fullscreen-section {
        padding: 80px 0;
    }
    
    .section-content {
        padding: 60px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 28px 24px;
    }
    
    .cta-section {
        min-height: calc(100vh - 120px);
        min-height: calc(100dvh - 120px);
        padding: 60px 0;
    }
    
    .cta-inner {
        padding: 16px;
    }
    
    .cta-card {
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .section-scroll-hint {
        margin-top: 40px;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-slogan {
        display: none;
    }
    
    .ring-1 { width: 200px; height: 200px; }
    .ring-2 { width: 140px; height: 140px; }
    .ring-3 { width: 80px; height: 80px; }
    .visual-center { width: 56px; height: 56px; font-size: 26px; }
}

@media (max-width: 480px) {
    .glow-1, .glow-2, .glow-3 {
        width: 250px;
        height: 250px;
    }
}

/* ========================================
   开发模式适配（使用 has-dev-banner 类）
   ======================================== */
body.has-dev-banner .landing-header {
    top: 40px !important;
}

body.has-dev-banner .hero {
    padding-top: calc(100px + 40px);
}

body.has-dev-banner .fullscreen-section,
body.has-dev-banner .cta-section {
    scroll-margin-top: 40px;
}

/* 开发模式下禁用滚动吸附，避免阻止用户滚动到页脚 */
body.has-dev-banner .landing-page {
    scroll-snap-type: none;
}
