:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #0ea5e9;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    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: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 500;
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

/* Hero */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    color: var(--white);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 18px;
    color: #e0f2fe;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.hero .btn-primary:hover {
    background: #f8fafc;
}

.hero .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

/* Cards */
.feature-card, .pricing-card, .audience-card, .review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover, .pricing-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Pricing */
.pricing-card {
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.price {
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
}

.price span {
    font-size: 16px;
    color: var(--text-light);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Tutorial Box */
.tutorial-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}

.tutorial-box h3 {
    margin-bottom: 20px;
}

.tutorial-box ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tutorial-box li {
    margin-bottom: 10px;
}

/* FAQ */
.faq-item {
    background: var(--white);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto 15px;
}

.faq-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: var(--text-light);
}

/* Article List */
.article-list ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.article-list li {
    margin-bottom: 10px;
    padding: 15px;
    background: var(--white);
    border-radius: 5px;
    border: 1px solid var(--border);
}

/* Footer */
footer {
    background: #111827;
    color: #9ca3af;
    padding: 60px 0 20px;
}

footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: #9ca3af;
}

footer a:hover {
    color: var(--white);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

/* ========================================================
   Interactive Speedtest Section Styles
   ======================================================== */
.speedtest-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: #0f172a;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

.speedtest-status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.live-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.speedtest-toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.speedtest-time-tag {
    font-size: 13px;
    color: #94a3b8;
}

.speedtest-refresh-btn {
    background: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.speedtest-refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.45);
}

.speedtest-refresh-btn:active {
    transform: translateY(0);
}

.speedtest-refresh-btn.is-testing .refresh-icon {
    animation: rotateIcon 1s linear infinite;
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.speedtest-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.speedtest-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.speedtest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.speedtest-card.testing-active {
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.gauge-visual {
    background: linear-gradient(180deg, #0b1120 0%, #1e293b 100%);
    padding: 30px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gauge-glow-ambient {
    position: absolute;
    top: -50px;
    width: 200px;
    height: 200px;
    filter: blur(50px);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

.gauge-metrics-top {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 240px;
    margin-bottom: 15px;
    z-index: 2;
}

.metric-pill {
    text-align: center;
}

.metric-pill .label {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 2px;
}

.metric-pill .value {
    font-size: 18px;
    font-weight: 700;
}

.gauge-dial-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gauge-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8;
}

.gauge-fill-circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 60;
    transition: stroke-dashoffset 0.8s ease-out, stroke 0.4s ease;
}

.dial-center-content {
    text-align: center;
    z-index: 3;
}

.dial-center-content .dial-tag {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 2px;
}

.dial-center-content .speed-num {
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

.dial-center-content .speed-unit {
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

.speedtest-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.node-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.node-title-row h3 {
    font-size: 17px;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.node-status-tag {
    font-size: 12px;
    background: #ecfdf5;
    color: #059669;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.node-desc {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.node-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.node-features-pill {
    font-size: 11px;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-card-retest {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-card-retest:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8fafc;
}

/* ========================================================
   Customer Experience & Verified Cases Styles
   ======================================================== */
.experience-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.experience-stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.experience-stat-card:hover {
    transform: translateY(-3px);
}

.stat-card-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-card-desc {
    font-size: 13px;
    color: var(--text-light);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 45px;
}

.case-study-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.case-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.case-scenario-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.case-time-tag {
    font-size: 12px;
    color: #94a3b8;
}

.case-study-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.case-metrics-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
    border-left: 4px solid var(--secondary-color);
}

.case-metrics-box .metric-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 3px;
}

.case-metrics-box .metric-data {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.case-quote-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic;
    position: relative;
    padding-left: 18px;
}

.case-quote-text::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 28px;
    color: #cbd5e1;
    font-family: Georgia, serif;
}

.case-user-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.user-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.user-info-text .user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-verified-badge {
    color: #0284c7;
    font-size: 12px;
}

.user-info-text .user-role {
    font-size: 12px;
    color: var(--text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.testimonial-card-pro {
    background: var(--white);
    padding: 22px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-stars {
    color: #f59e0b;
    font-size: 15px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.testi-comment {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.testi-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f8fafc;
    padding-top: 10px;
}

.testi-author-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.testi-plan-tag {
    font-size: 11px;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Mobile Adaptation */
@media (max-width: 992px) {
    .experience-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    nav ul {
        margin: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }

    .speedtest-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-stats-grid {
        grid-template-columns: 1fr;
    }
}

