/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    line-height: 1.6; 
    color: #e2e8f0; 
    background-color: #050810;
    /* Cyber network grid background to create spatial depth (看见感/空间感) */
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    background-attachment: fixed;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Typography */
h1, h2, h3 { color: #ffffff; }
h2 { 
    text-align: center; 
    margin-bottom: 3.5rem; 
    font-size: 2.4rem; 
    text-shadow: 0 0 15px rgba(0,240,255,0.4); 
    letter-spacing: 2px; 
    position: relative;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
}

/* Buttons */
.btn { 
    display: inline-block; 
    background: linear-gradient(90deg, #0044cc, #00c3ff);
    color: #fff !important; 
    padding: 12px 36px; 
    border-radius: 8px; 
    font-weight: 600; 
    text-align: center; 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    min-height: 48px; 
    line-height: 24px; 
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 195, 255, 0.4);
    letter-spacing: 1px;
}
.btn:hover { 
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.6); 
    background: linear-gradient(90deg, #0055ff, #33f5ff);
    border-color: #00f0ff;
}

/* Header */
header { 
    background: rgba(5, 8, 16, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}
header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 1.6rem; font-weight: 900; color: #00f0ff; text-shadow: 0 0 12px rgba(0,240,255,0.6); letter-spacing: 1px;}
.main-nav { display: flex; gap: 25px; font-weight: 500; }
.main-nav a { color: #cbd5e1; transition: all 0.3s; font-size: 0.95rem; letter-spacing: 1px;}
.main-nav a:hover { color: #00f0ff; text-shadow: 0 0 8px rgba(0,240,255,0.6); }
.header-btn { padding: 8px 24px; min-height: 40px; line-height: 24px; }

/* Hero */
.hero { padding: 120px 0; text-align: center; position: relative; overflow: hidden; background: none; }
/* Adding a glowing network orb behind hero for visual impact */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, rgba(0,240,255,0.05) 40%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}
.hero h1 { font-size: 3.2rem; margin-bottom: 25px; color: #fff; text-shadow: 0 0 20px rgba(0,195,255,0.5); }
.hero p { font-size: 1.15rem; color: #94a3b8; margin-bottom: 45px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.8; }
/* Force dark theme for the secondary white button */
.hero .btn[style*="background: #ffffff"] {
    background: rgba(0, 240, 255, 0.05) !important;
    color: #00f0ff !important;
    border: 1px solid #00f0ff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15) !important;
}
.hero .btn[style*="background: #ffffff"]:hover {
    background: rgba(0, 240, 255, 0.15) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4) !important;
}

/* Sections */
section { padding: 90px 0; }
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Cyberpunk Glassmorphism Cards */
.card { 
    background: rgba(15, 23, 42, 0.6); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.1);
    padding: 40px 30px; 
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
    text-align: center; 
    transition: all 0.4s ease; 
    position: relative;
    overflow: hidden;
}
/* Cyber tech glow line on hover */
.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #00f0ff, transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 40px rgba(0, 195, 255, 0.15); 
    border-color: rgba(0, 240, 255, 0.3); 
    background: rgba(15, 23, 42, 0.8);
}
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 20px; font-size: 1.4rem; color: #00f0ff; text-shadow: 0 0 10px rgba(0,240,255,0.2); }
.card p { color: #94a3b8; }

/* Override inline background for specific sections */
.media-ai, .reviews { 
    background: rgba(10, 15, 30, 0.5) !important; 
    border-top: 1px solid rgba(0,240,255,0.05); 
    border-bottom: 1px solid rgba(0,240,255,0.05);
}

/* Pricing Section */
.pricing .card { display: flex; flex-direction: column; }
.pricing .price { font-size: 2.8rem; font-weight: bold; color: #fff; margin: 25px 0; text-shadow: 0 0 15px rgba(0,240,255,0.4); }
.pricing ul { list-style: none; margin-bottom: 35px; text-align: left; flex-grow: 1; }
.pricing ul li { margin-bottom: 15px; padding-left: 28px; position: relative; color: #cbd5e1; }
.pricing ul li::before { content: '⬢'; position: absolute; left: 0; color: #00f0ff; font-size: 0.9rem; line-height: 1.5; text-shadow: 0 0 5px rgba(0,240,255,0.6); }
/* Highlighted pricing card */
.pricing .card[style*="border: 2px solid"] {
    background: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, rgba(0,102,255,0.15) 100%);
    border: 1px solid #00f0ff !important;
    box-shadow: 0 0 30px rgba(0, 195, 255, 0.2);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { 
    background: rgba(15, 23, 42, 0.5); 
    border: 1px solid rgba(0, 240, 255, 0.08);
    margin-bottom: 20px; 
    padding: 25px 30px; 
    border-radius: 12px; 
    transition: all 0.3s;
}
.faq-item:hover { 
    border-color: rgba(0, 240, 255, 0.3); 
    background: rgba(15, 23, 42, 0.9); 
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}
.faq-item h3 { font-size: 1.2rem; margin-bottom: 12px; color: #e2e8f0; }
.faq-item p { color: #94a3b8; }

/* Reviews */
.review-item { text-align: left; }
.review-item p { font-style: italic; margin-bottom: 25px; color: #cbd5e1; font-size: 1.05rem; }
.review-author { font-weight: bold; color: #00f0ff; text-align: right; }

/* Subpages */
.page-header { 
    background: linear-gradient(135deg, rgba(5,8,16,1) 0%, rgba(15,23,42,1) 100%); 
    border-bottom: 1px solid rgba(0,240,255,0.15); 
    padding: 80px 0; 
    text-align: center; 
}
.page-header h1 { color: #fff; text-shadow: 0 0 20px rgba(0,240,255,0.5); font-size: 2.8rem; }
.page-content { 
    padding: 50px; 
    max-width: 800px; 
    margin: 40px auto; 
    background: rgba(15, 23, 42, 0.7); 
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,240,255,0.1);
    border-radius: 16px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.6); 
}
.page-content h2 { text-align: left; margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; color: #00f0ff; letter-spacing: 1px; }
.page-content p, .page-content ul { margin-bottom: 20px; color: #cbd5e1; font-size: 1.1rem; line-height: 1.8; }
.page-content ul { padding-left: 25px; }
.page-content li { margin-bottom: 10px; }

/* Footer */
footer { 
    background: #03050a; 
    border-top: 1px solid rgba(0, 240, 255, 0.15); 
    color: #64748b; 
    padding: 60px 0 40px; 
    text-align: center; 
}
footer .footer-links { display: flex; justify-content: center; gap: 40px; margin-bottom: 30px; flex-wrap: wrap; }
footer .footer-links a { color: #94a3b8; transition: all 0.3s; font-weight: 500; letter-spacing: 1px; }
footer .footer-links a:hover { color: #00f0ff; text-shadow: 0 0 10px rgba(0,240,255,0.5); }

/* Responsive Media Queries */
@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; padding: 0 10px; }
    .btn { display: block; width: 100%; box-sizing: border-box; }
    header .header-btn { display: none; }
    header .container { justify-content: center; gap: 12px; }
    .main-nav { width: 100%; justify-content: center; gap: 15px; font-size: 0.9rem; flex-wrap: wrap; }
    section { padding: 60px 0; }
    h2 { font-size: 2rem; }
    .page-content { padding: 30px 20px; margin: 20px; border-radius: 12px; }
    .pricing .card { transform: none !important; }
}

/* Floating Tech Particles (Pure CSS) */
.particles { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; z-index: -2; margin: 0; padding: 0; pointer-events: none; }
.particles li { position: absolute; display: block; list-style: none; width: 20px; height: 20px; background: rgba(0, 240, 255, 0.05); box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); border: 1px solid rgba(0, 240, 255, 0.15); border-radius: 4px; animation: floatUp 25s linear infinite; bottom: -150px; }
.particles li:nth-child(1) { left: 25%; width: 30px; height: 30px; animation-delay: 0s; animation-duration: 15s; }
.particles li:nth-child(2) { left: 10%; width: 10px; height: 10px; animation-delay: 2s; animation-duration: 20s; }
.particles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; animation-duration: 25s; }
.particles li:nth-child(4) { left: 40%; width: 30px; height: 30px; animation-delay: 0s; animation-duration: 18s; }
.particles li:nth-child(5) { left: 65%; width: 15px; height: 15px; animation-delay: 0s; animation-duration: 22s; }
.particles li:nth-child(6) { left: 75%; width: 40px; height: 40px; animation-delay: 3s; animation-duration: 20s; }
.particles li:nth-child(7) { left: 35%; width: 25px; height: 25px; animation-delay: 7s; animation-duration: 25s; }
.particles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.particles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.particles li:nth-child(10) { left: 85%; width: 35px; height: 35px; animation-delay: 0s; animation-duration: 11s; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; } }

/* Accessibility & Focus */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #00f0ff;
    color: #050810;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }
:focus-visible {
    outline: 3px solid #00f0ff;
    outline-offset: 2px;
}
section, h1, h2, h3, h4, h5, h6 { scroll-margin-top: 100px; }

/* FAQ details/summary styling */
details.faq-item {
    background: rgba(15, 23, 42, 0.5); 
    border: 1px solid rgba(0, 240, 255, 0.08);
    margin-bottom: 20px; 
    padding: 25px 30px; 
    border-radius: 12px; 
    transition: all 0.3s;
}
details.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.3); 
    background: rgba(15, 23, 42, 0.9); 
}
details.faq-item summary {
    cursor: pointer;
    font-size: 1.2rem;
    color: #e2e8f0;
    font-weight: bold;
    list-style: none;
    outline: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { color: #00f0ff; margin-bottom: 12px; }
details.faq-item p { margin-top: 10px; color: #94a3b8; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .particles { display: none !important; }
}
