/* --- 核心配置 --- */
:root {
    --color-black: #050505;
    --color-dark: #0f0f0f;
    --color-amber: #FFC107; /* Logo 黄 */
    --color-amber-dim: rgba(255, 193, 7, 0.1);
    --color-amber-glow: rgba(255, 193, 7, 0.6);
    --font-cn: 'Noto Sans SC', sans-serif;
    --font-en: 'Inter', sans-serif;
}

body {
    font-family: var(--font-cn);
    background-color: #ffffff;
    color: var(--color-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 14px; 
}

body.lang-en {
    font-family: var(--font-en);
}

/* --- 动效定义 --- */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes border-glow {
    0%, 100% { border-color: rgba(255, 193, 7, 0.2); box-shadow: 0 0 0 rgba(255, 193, 7, 0); }
    50% { border-color: rgba(255, 193, 7, 0.8); box-shadow: 0 0 20px rgba(255, 193, 7, 0.2); }
}
@keyframes text-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes scan-vertical {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
@keyframes line-flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
/* 首页动效背景 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33% { transform: translate(30px, -50px) scale(1.1); opacity: 0.6; }
    66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.4; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
}

/* --- 通用类 --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.text-gradient-gold {
    background: linear-gradient(135deg, #FFD54F 0%, #FF8F00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-shimmer {
    background: linear-gradient(90deg, #fff, #999, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 3s linear infinite;
}

/* --- Logo 组件 --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.logo-q {
    width: 26px;
    height: 26px;
    border: 5px solid var(--color-black);
    border-radius: 50%;
    position: relative;
}
.logo-q::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    background-color: var(--color-amber);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.8);
}
.logo-text {
    font-size: 18px;
    color: var(--color-black);
    margin-left: 2px;
}
.logo-highlight {
    color: var(--color-amber);
}

/* --- 导航栏 --- */
nav {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* --- Hero Section --- */
.hero {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #1a1a2e 0%, #000000 60%);
    z-index: 0;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: orb-float 10s infinite ease-in-out;
}
.hero-orb-1 {
    top: 20%;
    left: 30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 193, 7, 0.08); /* Amber */
    animation-duration: 15s;
}
.hero-orb-2 {
    bottom: 20%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.05); /* Blue */
    animation-duration: 20s;
    animation-delay: -5s;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    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: 40px 40px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    z-index: 2;
}
.hero-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    z-index: 10;
}
.hero-bottom-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-amber), transparent);
    animation: line-flow 3s ease-in-out infinite;
}

/* --- 卡片样式 --- */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: var(--color-amber);
}

/* --- 按钮 --- */
.btn-amber {
    background: var(--color-amber);
    color: #000;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}
.btn-amber:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}
.btn-amber::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s;
}
.btn-amber:hover::after {
    transform: rotate(45deg) translateY(-100%);
}

.step-number {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    font-size: 80px;
    line-height: 1;
    position: absolute;
    z-index: 0;
    user-select: none;
}
body.lang-en .step-number {
    font-family: 'Inter', sans-serif;
}

.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-amber), transparent);
    animation: scan-vertical 3s linear infinite;
    z-index: 10;
    pointer-events: none;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.testimonial-card {
    width: 320px;
    flex-shrink: 0;
    margin-right: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s;
}
.testimonial-card:hover {
    border-color: var(--color-amber);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 16px;
    margin-bottom: 12px;
    background: #fff;
    transition: all 0.3s;
    overflow: hidden;
}
.faq-item:hover {
    border-color: var(--color-amber);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.faq-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #111;
}
.faq-icon {
    transition: transform 0.3s;
    color: var(--color-amber);
}
.faq-item.open .faq-icon {
    transform: rotate(180deg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
}
.faq-content {
    padding: 0 24px 24px 24px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}
.faq-item.open .faq-body {
    max-height: 300px;
}

.lang-switch {
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}
.lang-switch:hover {
    background: #f5f5f5;
    border-color: #ddd;
}
.lang-option {
    color: #aaa;
    transition: color 0.3s;
}
.lang-option.active {
    color: var(--color-black);
}

/* --- 模态对话框样式 --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.show {
    display: flex;
    opacity: 1;
}
.modal-dialog {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.show .modal-dialog {
    transform: scale(1);
}
.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover {
    background: #eee;
}
.modal-body {
    padding: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}
.form-label .required {
    color: #ef4444;
    margin-left: 2px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}
.form-input:focus {
    outline: none;
    border-color: var(--color-amber);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}
.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}
.form-submit:active {
    transform: translateY(0);
}

