/* ============================================================
   GEO免费体验活动 - 前台落地页样式
   风格：极光深蓝 + 玻璃态 + 霓虹科技风
   ============================================================ */

/* ---------- 全局基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #060b14;
    color: #c8d0e0;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0f1e; }
::-webkit-scrollbar-thumb { background: #00d4ff33; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00d4ff55; }

/* ---------- 通用工具类 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section {
    padding: 100px 0;
}

.section-dark {
    background: #080d1a;
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(124,58,237,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #00d4ff;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #f0f4ff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.4);
    margin-top: 12px;
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(6, 11, 20, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(6, 11, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00d4ff;
    transform: scaleX(0);
    transition: transform 0.3s;
    border-radius: 1px;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
    padding: 8px 20px;
    background: linear-gradient(135deg, #00d4ff, #0080ff) !important;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 6px 20px rgba(0,212,255,0.35); transform: translateY(-1px); }

@media (max-width: 768px) {
    .nav-links { gap: 16px; }
    .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero Banner ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #060b14;
    padding-top: 64px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(124,58,237,0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 20% 60%, rgba(0,212,255,0.06) 0%, transparent 50%);
}

/* 极光光球 */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 10s ease-in-out infinite;
    pointer-events: none;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,212,255,0.15), transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124,58,237,0.12), transparent 70%);
    bottom: -100px;
    right: -50px;
    animation-delay: -3s;
}

.orb3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,180,255,0.08), transparent 70%);
    top: 40%;
    left: 60%;
    animation-delay: -6s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* 网格背景线 */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 100px;
    color: #00d4ff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 28px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(0,212,255,0); }
}

.hero-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 0 60px rgba(0,212,255,0.3);
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255,255,255,0.5);
    margin-bottom: 48px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* 倒计时 */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

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

.stat-val {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: #00d4ff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 30px rgba(0,212,255,0.5);
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-sep {
    font-size: 36px;
    font-weight: 900;
    color: rgba(0,212,255,0.3);
    margin-bottom: 16px;
}

/* 剩余名额 */
.hero-slots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 100px;
    color: #c4b5fd;
    font-size: 15px;
    margin-bottom: 36px;
}

.hero-slots strong {
    color: #a78bfa;
    font-size: 20px;
    font-weight: 900;
}

.slots-icon { font-size: 18px; }

/* CTA按钮 */
.hero-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #00d4ff, #0066ff, #7c3aed);
    background-size: 200% 200%;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(0,212,255,0.3);
    animation: ctaGradient 4s ease infinite;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(0,212,255,0.4);
}

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

/* ---------- 优势区 ---------- */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.adv-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.adv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(124,58,237,0.04));
    opacity: 0;
    transition: opacity 0.4s;
}

.adv-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,212,255,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,255,0.08);
}

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

.adv-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    position: relative;
    z-index: 1;
}

.adv-title {
    font-size: 18px;
    font-weight: 700;
    color: #e8eaf0;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.adv-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ---------- 服务内容区 ---------- */
.service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .service-layout { grid-template-columns: 1fr; }
}

.service-list ul {
    list-style: none;
    margin-bottom: 36px;
}

.service-list li {
    padding: 14px 20px;
    border-left: 3px solid #00d4ff;
    background: rgba(0,212,255,0.04);
    margin-bottom: 12px;
    border-radius: 0 10px 10px 0;
    color: #c8d0e0;
    font-size: 15px;
    transition: all 0.3s;
}

.service-list li:hover {
    background: rgba(0,212,255,0.1);
    transform: translateX(4px);
}

.service-cta {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #00d4ff, #0080ff);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(0,212,255,0.25);
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0,212,255,0.35);
}

.service-visual {
    display: grid;
    gap: 16px;
}

.visual-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.visual-card:hover {
    border-color: rgba(124,58,237,0.3);
    transform: translateX(6px);
    background: rgba(124,58,237,0.04);
}

.visual-icon { font-size: 40px; flex-shrink: 0; }

.visual-title {
    font-size: 16px;
    font-weight: 700;
    color: #e8eaf0;
    margin-bottom: 4px;
}

.visual-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ---------- 案例区 ---------- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.case-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.case-item:hover::before { transform: scaleX(1); }

.case-item:hover {
    border-color: rgba(0,212,255,0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.case-name {
    font-size: 16px;
    font-weight: 700;
    color: #e8eaf0;
    margin-bottom: 8px;
}

.case-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
}

/* ---------- 关于我们 ---------- */
.section-about { background: #060b14; }

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

@media (max-width: 768px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-visual { display: none; }
}

.about-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    line-height: 1.9;
    margin-bottom: 36px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

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

.as-num {
    font-size: 36px;
    font-weight: 900;
    color: #00d4ff;
    line-height: 1;
    margin-bottom: 6px;
}

.as-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-graphic {
    font-size: 200px;
    opacity: 0.6;
    animation: globeRotate 20s linear infinite;
    filter: drop-shadow(0 0 40px rgba(0,212,255,0.3));
}

@keyframes globeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---------- 预约表单区 ---------- */
.section-form {
    background: linear-gradient(180deg, #060b14 0%, #080d1a 100%);
    position: relative;
}

.section-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.reserve-form {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .form-row-group { grid-template-columns: 1fr; }
    .reserve-form { padding: 24px 20px; }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-field:last-child { margin-bottom: 0; }

.form-field label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.required { color: #f87171; }

.form-field input,
.form-field textarea {
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #e8eaf0;
    font-size: 15px;
    font-family: 'Noto Sans SC', sans-serif;
    outline: none;
    transition: all 0.3s;
    width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255,255,255,0.2);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
    background: rgba(255,255,255,0.07);
}

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

.form-submit { margin-top: 24px; }

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00d4ff, #0066ff, #7c3aed);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Noto Sans SC', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    animation: ctaGradient 4s ease infinite;
    letter-spacing: 2px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,212,255,0.35);
}

.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-notice {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}

/* 成功提示 */
.form-success {
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 24px;
}

.success-icon { font-size: 72px; margin-bottom: 16px; }

.success-title {
    font-size: 18px;
    font-weight: 700;
    color: #86efac;
    margin-bottom: 24px;
    line-height: 1.6;
}

.success-btn {
    padding: 12px 28px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 10px;
    color: #4ade80;
    font-size: 14px;
    font-family: 'Noto Sans SC', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.success-btn:hover { background: rgba(34,197,94,0.2); }

/* ---------- 侧边悬浮客服 ---------- */
.float-kf {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 200;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    box-shadow: 0 8px 30px rgba(0,212,255,0.4);
    transition: all 0.3s;
}

.float-kf:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0,212,255,0.5);
}

.kf-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    animation: kfPulse 2s ease-out infinite;
}

@keyframes kfPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.kf-icon { font-size: 26px; position: relative; z-index: 1; }

/* 客服弹窗 */
.kf-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 300;
    align-items: center;
    justify-content: center;
}

.kf-modal-overlay.show { display: flex; }

.kf-modal {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px;
    width: 320px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    position: relative;
    animation: modalIn 0.3s ease;
}

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

.kf-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.kf-close:hover { color: #fff; }

.kf-title {
    font-size: 18px;
    font-weight: 700;
    color: #e8eaf0;
    margin-bottom: 20px;
}

.kf-content {
    margin-bottom: 16px;
}

.kf-qrcode-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    object-fit: cover;
}

.kf-no-qr {
    padding: 40px;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

.kf-tip {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

/* ---------- Toast通知 ---------- */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 400;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.4);
    color: #4ade80;
}

.toast.error {
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.4);
    color: #f87171;
}

/* ---------- 页脚 ---------- */
.footer {
    background: #040810;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 32px 0;
    text-align: center;
}

.footer-text {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
}

/* ---------- 响应式调整 ---------- */
@media (max-width: 768px) {
    .hero { min-height: 90vh; }
    .hero-stats { gap: 4px; }
    .stat-val { font-size: 32px; }
    .stat-sep { font-size: 24px; }
    .section { padding: 60px 0; }
    .adv-grid { grid-template-columns: 1fr 1fr; }
    .case-grid { grid-template-columns: 1fr; }
}
