:root {
    --primary-color: #22C55E;
    --primary-hover: #16a34a;
    --text-main: #DCFCE7;
    --text-light: #86efac;
    --bg-main: #050805;
    --bg-light: rgba(34, 197, 94, 0.02);
    --border-color: rgba(34, 197, 94, 0.3);
    --card-bg: rgba(255, 255, 255, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 15px -3px rgba(34, 197, 94, 0.2), 0 4px 6px -2px rgba(34, 197, 94, 0.1);
    --mono-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.py {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    /* 优化手机端触控面积 */
    min-height: 48px; 
}

.btn-primary {
    background-color: var(--primary-color);
    color: #050805;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 102, 255, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 10px;
}

.btn-full {
    width: 100%;
}

/* Header */
header {
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 8, 5, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

nav a {
    margin: 0 15px;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 120px 20px;
    background: transparent;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    font-weight: 700;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card .icon {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
}

.card p {
    color: var(--text-light);
}

/* Support Card Special */
.support-card {
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(34, 197, 94, 0.02) 100%);
}

/* Pricing */
.pricing-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 102, 255, 0.2);
}

.pricing-card h3 {
    font-size: 24px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin: 20px 0 30px;
    font-family: var(--mono-font);
}

.pricing-card .price span {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
}
.pricing-card ul li:last-child {
    border-bottom: none;
}
.pricing-card ul li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Reviews */
.review-card p {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-light);
    line-height: 1.8;
}
.reviewer {
    font-weight: 700;
    color: var(--text-main);
}

/* Internal Sub-pages (About, Terms, Privacy) */
.page-header {
    background: var(--bg-light);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-light);
    font-size: 18px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.page-content h2 {
    margin: 40px 0 20px;
    font-size: 28px;
}
.page-content h3 {
    margin: 30px 0 15px;
    font-size: 22px;
}
.page-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}
.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}
.page-content li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #020302;
    color: #ffffff;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-links {
    margin-bottom: 40px;
}

.footer-links a {
    color: #94a3b8;
    margin: 0 20px;
    transition: color 0.3s ease;
    /* 优化手机端触控 */
    padding: 10px;
    display: inline-block;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copyright {
    color: #64748b;
    font-size: 14px;
    border-top: 1px solid #1e293b;
    padding-top: 30px;
}

/* Responsive (Media Queries) */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 单栏显示强制适配 */
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    /* 解决手机端表单/按钮适合手指点击 */
    .btn {
        min-height: 54px; 
        width: 100%;
        display: flex;
        font-size: 18px;
    }
    
    /* 导航栏自适应调整 */
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    nav {
        margin: 15px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    nav a {
        padding: 10px 15px;
    }
    
    .header-container > .btn {
        width: auto;
        padding: 8px 30px;
        min-height: 40px;
        font-size: 16px;
    }

    .hero h1 {
        font-size: 38px;
    }
    
    .hero {
        padding: 60px 20px;
    }

    .py {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
    }
    
    .footer-links a {
        margin: 8px 0;
        font-size: 16px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

/* Matrix Background Decorator */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -999;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg-main);
}

.matrix-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glow-breathe 10s ease-in-out infinite alternate;
}

@keyframes glow-breathe {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.matrix-col {
    position: absolute;
    top: -100%;
    width: 1ch;
    word-break: break-all;
    font-family: var(--mono-font);
    font-size: 14px; /* 调大字号，让代码字符更清晰 */
    line-height: 1.2;
    color: var(--primary-color);
    opacity: 0.45; /* 大幅调高透明度，增强视觉存在感 */
    text-shadow: 0 0 8px var(--primary-color); /* 增加辉光投影，呈现老式 CRT 显示器的高亮感 */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.col-1 { left: 10%; animation: rain 8s linear infinite; animation-delay: 0s; }
.col-2 { left: 30%; animation: rain 11s linear infinite; animation-delay: -2s; }
.col-3 { left: 50%; animation: rain 9s linear infinite; animation-delay: -4s; }
.col-4 { left: 70%; animation: rain 12s linear infinite; animation-delay: -1s; }
.col-5 { left: 90%; animation: rain 10s linear infinite; animation-delay: -5s; }

@keyframes rain {
    0% { transform: translateY(0); }
    100% { transform: translateY(200vh); }
}

@media (prefers-reduced-motion: reduce) {
    .matrix-glow { animation: none; opacity: 0.5; }
    .matrix-col { animation: none; transform: translateY(50vh); }
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #050805;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}

/* FAQ Details/Summary Styles */
details.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
details.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none; /* Hide default triangle */
}
details.faq-item summary::-webkit-details-marker {
    display: none; /* Hide default triangle in Safari */
}
details.faq-item p {
    margin-top: 15px;
}
