:root {
    --primary: #10b981;
    --secondary: #34d399;
    --accent: #6ee7b7;
    --bg-dark: #fcfcfc;
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --radius-lg: 24px;
    --radius-md: 16px;
}

/* Base adjustment for light theme for "Liangxinyun/良心云" (Hearty/Conscience Cloud) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0fdf4, #ccfbf1);
    opacity: 0.8;
    z-index: -1;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism Utility */
.content-glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

header {
    position: fixed;
    top: 20px;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 70px;
    max-width: 1000px !important;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 1.5rem;
}

.brand-text {
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #111827;
}

.brand-text span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--secondary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

.cta-pill {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

/* Hero Centered */
.hero-center {
    padding: 220px 0 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text-wrap h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    color: #111827;
}

.accent-glow {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.btn-main {
    background: var(--primary);
    color: #fff;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-main:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.btn-sub {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 16px 40px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-sub:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Latency Hub */
.latency-hub {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
}

.hub-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    align-items: center;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.latency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.lat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lat-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.lat-item b {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Common Section Header */
.section-head {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -1px;
    color: #111827;
}

/* Features */
.features-wrap {
    padding: 100px 0;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feat-card {
    padding: 3rem 2rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.feat-card:hover {
    transform: translateY(-10px);
}

.feat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feat-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feat-card p {
    color: var(--text-secondary);
}

/* Pricing - The HTML Table */
.pricing-wrap {
    padding: 100px 0;
}

.pricing-table-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-table th, .pricing-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-table th {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-table td {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-table .highlight-row {
    background: rgba(16, 185, 129, 0.05);
}

.pricing-table tr:hover {
    background: rgba(0,0,0,0.02);
}

.pricing-action {
    text-align: center;
    margin-top: 2rem;
}

/* FAQ */
.faq-wrap {
    padding: 100px 0;
}

.faq-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-box {
    padding: 2rem;
}

.faq-box h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.faq-box p {
    color: var(--text-secondary);
}

/* Articles */
.articles-wrap {
    padding: 100px 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.article-card-glass {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.article-card-glass:hover {
    background: #fafafa;
    border-color: var(--primary);
    transform: translateY(-5px);
}

.art-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-card-glass h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.article-card-glass p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: #f8fafc;
}

.footer-grid {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.white {
    color: #111827;
    font-size: 1.5rem !important;
}

.footer-copy {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero-text-wrap h1 { font-size: 3rem; }
    .section-head { font-size: 2.25rem; }
    .feat-grid { grid-template-columns: 1fr; }
    .latency-grid { grid-template-columns: 1fr 1fr; }
    .pricing-table-container { padding: 1.5rem; }
    .pricing-table th, .pricing-table td { padding: 0.8rem 0.5rem; font-size: 0.9rem; }
}
