/* ===== 0066 紫金奢华风 ===== */
:root {
    --violet-50: #f5f3ff;
    --violet-100: #ede9fe;
    --violet-500: #8b5cf6;
    --violet-600: #7c3aed;
    --violet-700: #6d28d9;
    --violet-800: #5b21b6;
    --violet-900: #4c1d95;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --dark: #1e1b2e;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--gray-800); background: #fafafa; overflow-x: hidden; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: all 0.4s ease;
    background: transparent;
}
.navbar.scrolled {
    background: linear-gradient(135deg, var(--violet-800), var(--violet-600));
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.35);
}
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none;
}
.nav-logo .diamond {
    display: inline-block; font-size: 1.8rem;
    animation: diamondSpin 4s linear infinite;
    color: var(--amber-400); filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}
@keyframes diamondSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.9); text-decoration: none;
    font-weight: 500; font-size: 0.95rem; position: relative;
    transition: color 0.3s; letter-spacing: 0.5px;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--amber-400);
    transition: width 0.3s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--amber-400); }
.nav-links a:hover::after { width: 100%; }
.nav-cta-btn {
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    color: var(--violet-900) !important; padding: 10px 22px;
    border-radius: 50px; font-weight: 700 !important;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
    transition: all 0.3s !important;
}
.nav-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(251, 191, 36, 0.55); }
.nav-cta-btn::after { display: none !important; }

/* Mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 3px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(76,29,149,0.98), rgba(109,40,217,0.98));
    z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
    backdrop-filter: blur(10px);
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: #fff; font-size: 1.2rem; font-weight: 600; text-decoration: none; }

/* Hero */
.hero {
    position: relative; min-height: 100vh;
    background: url('https://picsum.photos/1920/1080?random=6601') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(76,29,149,0.88), rgba(30,27,46,0.85));
}
.hero-content { position: relative; text-align: center; max-width: 800px; padding: 20px; }
.hero-badge {
    display: inline-block; background: rgba(251,191,36,0.2);
    border: 1px solid var(--amber-400); color: var(--amber-400);
    padding: 8px 20px; border-radius: 50px; font-size: 0.9rem;
    font-weight: 600; margin-bottom: 24px; letter-spacing: 2px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: #fff;
    margin-bottom: 20px; line-height: 1.2;
}
.hero h1 span { color: var(--amber-400); }
.hero p {
    font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 36px;
    line-height: 1.8; max-width: 620px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
    color: #fff; padding: 14px 36px; border-radius: 50px;
    font-weight: 700; text-decoration: none; transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(124,58,237,0.55); }
.btn-gold {
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    color: var(--violet-900); padding: 14px 36px; border-radius: 50px;
    font-weight: 700; text-decoration: none; transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(251,191,36,0.4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(251,191,36,0.55); }

/* Floating badges */
.floating-badges { position: absolute; top: 20%; right: 8%; }
.floating-badge {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2); color: #fff;
    padding: 10px 18px; border-radius: 12px; font-size: 0.85rem;
    font-weight: 600; margin-bottom: 12px; animation: floatBadge 3s ease-in-out infinite;
}
.floating-badge:nth-child(2) { animation-delay: 0.5s; }
.floating-badge:nth-child(3) { animation-delay: 1s; }
.floating-badge i { color: var(--amber-400); margin-right: 6px; }
@keyframes floatBadge {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Sections */
section { padding: 100px 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; background: var(--violet-100); color: var(--violet-700);
    padding: 6px 18px; border-radius: 50px; font-weight: 700;
    font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.container { max-width: 1280px; margin: 0 auto; }

/* Features */
#features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
    background: #fff; border-radius: 16px; padding: 36px 28px 32px;
    position: relative; overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease; cursor: default;
}
.feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--violet-600), var(--amber-400));
    transform: translateY(3px); transition: transform 0.4s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(124,58,237,0.12); }
.feature-card:hover::after { transform: translateY(0); }
.ribbon {
    position: absolute; top: 14px; right: -32px; background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff; padding: 4px 40px; font-size: 0.7rem; font-weight: 800;
    transform: rotate(45deg); letter-spacing: 1px;
}
.ribbon.new { background: linear-gradient(135deg, var(--violet-600), var(--violet-700)); }
.ribbon.hot { background: linear-gradient(135deg, #f97316, #ea580c); }
.feature-card .icon-wrap {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--violet-100), var(--violet-50));
}
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.feature-card p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.7; }

/* Stats */
#stats {
    background: linear-gradient(135deg, var(--violet-50), #faf5ff);
    position: relative; overflow: hidden;
}
#stats::before {
    content: ''; position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.1), transparent);
    top: -100px; right: -100px; border-radius: 50%;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat-item { text-align: center; padding: 32px 16px; }
.stat-number { font-size: 3rem; font-weight: 900; color: var(--violet-700); margin-bottom: 8px; }
.stat-number .plus { color: var(--amber-500); }
.stat-label { color: var(--gray-600); font-size: 1rem; font-weight: 600; }

/* Testimonials */
#testimonials { background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--gray-100); border-radius: 20px;
    padding: 48px 28px 28px; position: relative; margin-top: 32px;
    transition: all 0.3s;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.testimonial-avatar {
    position: absolute; top: -32px; left: 28px;
    width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
    border: 3px solid var(--violet-600); box-shadow: 0 4px 16px rgba(124,58,237,0.2);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-icon {
    font-size: 2.4rem; color: var(--violet-200); line-height: 1;
    margin-bottom: 12px;
}
.testimonial-card blockquote {
    font-size: 0.95rem; color: var(--gray-700); line-height: 1.8;
    font-style: italic; margin-bottom: 16px; border: none;
}
.testimonial-card .author { font-weight: 700; color: var(--gray-900); }
.testimonial-card .role { font-size: 0.82rem; color: var(--gray-600); }

/* FAQ */
#faq { background: var(--gray-100); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff; border-radius: 12px; margin-bottom: 12px;
    overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.faq-item details { }
.faq-item summary {
    padding: 20px 24px; font-weight: 700; font-size: 1.05rem;
    cursor: pointer; list-style: none; display: flex;
    justify-content: space-between; align-items: center;
    color: var(--gray-900); transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-700); }
.faq-arrow {
    display: inline-block; transition: transform 0.35s ease;
    font-size: 0.75rem; color: var(--violet-600);
}
.faq-item details[open] .faq-arrow { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 24px 20px; color: var(--gray-600); line-height: 1.8; font-size: 0.95rem; }

/* CTA */
#cta {
    background: linear-gradient(135deg, var(--violet-700), var(--violet-900));
    position: relative; overflow: hidden;
}
#cta::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-card {
    background: #fff; border-radius: 24px; padding: 56px 40px;
    text-align: center; max-width: 700px; margin: 0 auto; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.cta-card h2 { font-size: 2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }
.cta-card p { color: var(--gray-600); margin-bottom: 32px; font-size: 1.05rem; line-height: 1.7; }
.btn-pulse {
    background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
    color: #fff; padding: 16px 44px; border-radius: 50px;
    font-weight: 700; font-size: 1.1rem; text-decoration: none;
    display: inline-block; animation: pulseGlow 2s infinite;
    box-shadow: 0 0 0 0 rgba(124,58,237,0.6);
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(124,58,237,0.6); }
    70% { box-shadow: 0 0 0 20px rgba(124,58,237,0); }
    100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
}

/* Footer */
footer {
    background: var(--violet-900); color: rgba(255,255,255,0.8);
    padding: 60px 24px 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1280px; margin: 0 auto 40px; }
.footer-col h4 { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--amber-400); }
.footer-col a i { color: var(--amber-400); margin-right: 6px; font-size: 0.8rem; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; max-width: 1280px; margin: 0 auto; }

/* Responsive */
@media (max-width: 1024px) {
    .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .floating-badges { display: none; }
    .cta-card { padding: 36px 20px; }
    section { padding: 64px 16px; }
    .hero h1 { font-size: 1.8rem; }
}
