/* heidongvpn.shop - V3 Linear/Stripe Enterprise SaaS */
:root {
    --bg-dark: #080718;
    --bg-card: rgba(18, 16, 42, 0.7);
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-glow: rgba(139, 92, 246, 0.28);
    --indigo: #6366f1;
    --border-purple: rgba(139, 92, 246, 0.35);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle 1000px at 50% -150px, rgba(139, 92, 246, 0.2), transparent 70%),
        radial-gradient(circle 800px at 90% 70%, rgba(99, 102, 241, 0.1), transparent 60%);
    color: #e2e8f0;
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* Enterprise SaaS Header */
.saas-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 7, 24, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.saas-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.saas-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--purple-light);
}
.saas-title {
    font-size: 1.2rem;
    font-weight: 850;
    color: #fff;
    letter-spacing: -0.5px;
}
.saas-title span { color: var(--purple-light); }
.saas-nav {
    display: flex;
    gap: 32px;
    list-style: none;
}
.saas-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}
.saas-nav a:hover, .saas-nav a.active {
    color: #fff;
}
.saas-cta-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--indigo) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--purple-glow);
    transition: all 0.2s;
}
.saas-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(139, 92, 246, 0.5);
}

/* Centered Modern SaaS Hero */
.saas-hero {
    max-width: 1040px;
    margin: 90px auto 70px;
    padding: 0 24px;
    text-align: center;
}
.saas-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid var(--border-purple);
    border-radius: 30px;
    font-size: 0.84rem;
    color: var(--purple-light);
    font-weight: 600;
    margin-bottom: 24px;
}
.saas-h1 {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 24px;
}
.saas-h1 span {
    background: linear-gradient(135deg, #fff 30%, var(--purple-light) 70%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.saas-lead {
    font-size: 1.18rem;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.saas-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}
.btn-saas-purple {
    padding: 14px 34px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--indigo) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 25px var(--purple-glow);
    transition: all 0.2s;
}
.btn-saas-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.55);
}
.btn-saas-glass {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}
.btn-saas-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-purple);
}

/* 3 Core Interactive Solution Tabs */
.solutions-section {
    max-width: 1140px;
    margin: 0 auto 90px;
    padding: 0 24px;
}
.solutions-header {
    text-align: center;
    margin-bottom: 40px;
}
.solutions-header h2 { font-size: 2.3rem; font-weight: 850; color: #fff; margin-bottom: 10px; }
.solutions-header p { color: var(--text-muted); font-size: 1.05rem; }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sol-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sol-card:hover {
    transform: translateY(-6px);
    border-color: var(--purple-light);
    box-shadow: 0 16px 40px var(--purple-glow);
}
.sol-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.sol-title { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.sol-desc { font-size: 0.94rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.sol-list { list-style: none; font-size: 0.86rem; color: #cbd5e1; margin-bottom: 24px; }
.sol-list li { padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.sol-list li::before { content: "✦"; color: var(--purple-light); }

/* Dynamic ROI Calculator Slider */
.calc-section {
    max-width: 1040px;
    margin: 0 auto 90px;
    padding: 0 24px;
}
.calc-card {
    background: linear-gradient(135deg, rgba(20, 16, 48, 0.8) 0%, rgba(12, 10, 30, 0.9) 100%);
    border: 1px solid var(--border-purple);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px var(--purple-glow);
}
.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.calc-h3 { font-size: 1.6rem; font-weight: 850; color: #fff; margin-bottom: 12px; }
.calc-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.calc-slider-box { margin-bottom: 20px; }
.slider-labels { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.calc-slider {
    width: 100%;
    accent-color: var(--purple);
}
.roi-metric-box {
    background: rgba(8, 7, 24, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
}
.roi-mega-num { font-size: 2.8rem; font-weight: 900; color: var(--purple-light); line-height: 1; margin-bottom: 8px; }
.roi-label { font-size: 0.86rem; color: var(--text-muted); }

/* Enterprise Testimonials */
.testimonials-section {
    max-width: 1140px;
    margin: 0 auto 90px;
    padding: 0 24px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 26px;
}
.testi-quote { font-size: 0.95rem; color: #cbd5e1; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { font-size: 0.9rem; font-weight: 750; color: #fff; }
.testi-role { font-size: 0.8rem; color: var(--purple-light); }

/* Enterprise SaaS FAQ */
.saas-faq-section {
    max-width: 1040px;
    margin: 0 auto 90px;
    padding: 0 24px;
}
.saas-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.saas-faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
}
.saas-faq-card h3 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.saas-faq-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }

/* Enterprise Cluster Ecosystem Bar */
.ecosystem-saas {
    max-width: 1140px;
    margin: 0 auto 70px;
    padding: 0 24px;
}
.eco-box-saas {
    background: rgba(18, 16, 42, 0.6);
    border: 1px solid var(--border-purple);
    border-radius: 16px;
    padding: 30px;
}
.eco-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}
.eco-top h3 { font-size: 1.2rem; font-weight: 800; color: #fff; }
.eco-nodes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.eco-node-link {
    background: rgba(8, 7, 24, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s;
}
.eco-node-link:hover {
    border-color: var(--purple-light);
    transform: translateY(-2px);
}
.node-domain { font-weight: 750; font-size: 0.94rem; color: #fff; margin-bottom: 4px; }
.node-sub { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.node-tag { font-size: 0.72rem; color: var(--purple-light); font-weight: 600; }

/* 5-Column SaaS Deep Footer */
.deep-footer {
    border-top: 1px solid var(--border-subtle);
    background: #060513;
    padding: 60px 24px 30px;
}
.footer-cols {
    max-width: 1140px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
}
.fcol h4 { font-size: 0.92rem; font-weight: 800; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.fcol ul { list-style: none; font-size: 0.88rem; }
.fcol ul li { margin-bottom: 10px; }
.fcol ul li a { color: var(--text-muted); transition: color 0.2s; }
.fcol ul li a:hover { color: var(--purple-light); }
.fcol p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.footer-bottom {
    max-width: 1140px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 900px) {
    .saas-nav { display: none; }
    .solutions-grid { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .saas-faq-grid { grid-template-columns: 1fr; }
    .eco-nodes-grid { grid-template-columns: 1fr 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
