/* Speedify Architecture & Cyber Kinetic Blue / Polar Cyan Palette */
:root {
    --color-primary: #0284c7;
    --color-primary-hover: #0369a1;
    --color-cyan: #00b4d8;
    --color-emerald: #10b981;
    --color-danger: #ef4444;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-dark: #090e1a;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-dark: #1e293b;
    --radius-btn: 8px;
    --radius-card: 16px;
    --shadow-soft: 0 10px 25px -5px rgba(2, 132, 199, 0.08);
    --shadow-cta: 0 4px 16px rgba(2, 132, 199, 0.35);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--color-cyan);
}

.wrap {
    width: min(1160px, 100% - 32px);
    margin: 0 auto;
}

/* Top Notification Banner */
.top-notice-bar {
    background: #090e1a;
    color: #e2e8f0;
    font-size: 13.5px;
    padding: 9px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar a {
    color: #38bdf8;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 8px;
}

/* Header */
.site-header {
    height: 72px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    color: #090e1a;
}

.site-brand img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.site-brand span small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Buttons (Speedify Clean Sharp Style) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff !important;
    box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13.5px;
}

/* 1. HeroSection (Speedify Hero) */
.hero-section {
    padding: 76px 0 64px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, var(--bg-page) 100%);
    text-align: center;
}

.hero-content {
    max-width: 880px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 5px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid #bae6fd;
}

.hero-title {
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 900;
    line-height: 1.25;
    color: #090e1a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-lede {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* Platform Ticker Bar */
.platform-ticker {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.platform-ticker span {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 14px;
    font-weight: 600;
    color: #334155;
}

/* 2. Dual-Path Troubleshooting Cards (01/02/03/04 Numbered Cards) */
.section {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px auto;
}

.section-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: #090e1a;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16.5px;
    color: var(--text-muted);
}

.path-subhead {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.step-cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 28px 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: all 0.2s ease;
}

.step-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.step-num {
    font-size: 18px;
    font-weight: 900;
    color: var(--color-primary);
    font-family: var(--font-mono);
    margin-bottom: 12px;
    display: block;
}

.step-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 3. Live Channel & Routing Visualization (Speedify Graphic) */
.live-demo-section {
    background: #090e1a;
    color: #ffffff;
    padding: 84px 0;
}

.live-panel-card {
    background: #111a2e;
    border: 1px solid #1e293b;
    border-radius: var(--radius-card);
    padding: 40px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.session-header strong {
    font-size: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-live {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.routing-streams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stream-item {
    background: #090e1a;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 16px;
}

.stream-item small {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.stream-item strong {
    font-size: 16px;
    color: #38bdf8;
    font-family: var(--font-mono);
}

.session-summary-bar {
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid #0284c7;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 14.5px;
    color: #e0f2fe;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 4. Core Diagnostic Features (Speedify 6-Grid) */
.features-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diag-feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 28px 22px;
    box-shadow: var(--shadow-soft);
}

.diag-feat-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.diag-feat-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* 5. Stats by the Numbers Bar */
.stats-bar-section {
    background: #090e1a;
    color: #ffffff;
    padding: 64px 0;
    text-align: center;
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-val {
    font-size: 44px;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1.1;
    margin-bottom: 6px;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
}

/* 6. Closing CTA Banner */
.closing-section {
    background: linear-gradient(135deg, #090e1a 0%, #0369a1 100%);
    color: #ffffff;
    padding: 72px 0;
    text-align: center;
}

.closing-box h2 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 14px;
    color: #ffffff;
}

.closing-box p {
    font-size: 17px;
    color: #e0f2fe;
    max-width: 680px;
    margin: 0 auto 30px auto;
}

/* 7. Mega Footer (5 Columns) */
.site-footer {
    background: #050811;
    color: #94a3b8;
    padding: 64px 0 36px 0;
    font-size: 13.5px;
}

.footer-grid-5 {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 36px;
    margin-bottom: 44px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #94a3b8;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
}

/* Download Page Card */
.download-card-custom {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 48px;
    max-width: 820px;
    margin: 40px auto;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.spec-table-custom {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    text-align: left;
}

.spec-table-custom td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14.5px;
}

.spec-table-custom td:first-child {
    font-weight: 700;
    color: var(--text-muted);
    width: 150px;
}

/* Responsive */
@media (max-width: 860px) {
    .step-cards-grid-4, .routing-streams-grid, .features-grid-6, .stats-grid-4, .footer-grid-5 {
        grid-template-columns: 1fr;
    }
    .footer-bottom, .session-summary-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
@media (max-width: 880px) {
    .nav-links, .nav-menu {
        display: none !important;
    }
}
