/* =========================================
   CSS Variables - Premium Dark Mode
   ========================================= */
html {
    scrollbar-gutter: stable;
}

:root {
    --bg-base: #05050A;
    --bg-glass: rgba(20, 20, 30, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);
    --neon-cyan: #00E5FF;
    --neon-cyan-dim: rgba(0, 229, 255, 0.2);
    --neon-pink: #FF007A;
    --neon-purple: #9D00FF;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --font-tech: 'Montserrat', sans-serif;
    --font-zh: 'Noto Sans SC', sans-serif;
    --font-code: 'Space Mono', monospace;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-zh);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-base) 100%);
    z-index: -1; pointer-events: none;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================
   Premium Typography
   ========================================= */
.cyber-title {
    font-family: var(--font-tech); font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.15em;
}
.text-gradient-cyan { background: linear-gradient(to right, #fff, var(--neon-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-pink { background: linear-gradient(to right, #fff, var(--neon-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* =========================================
   Logo SVG Styles
   ========================================= */
.brand-logo-svg {
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
}

.nav-logo-svg { width: 32px; height: 32px; }
.footer-logo-svg { width: 40px; height: 40px; }

.hero-logo-wrapper {
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
    position: relative;
}
.hero-logo-svg {
    width: 140px;
    height: 140px;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.6));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   Glassmorphism Navigation
   ========================================= */
nav {
    position: fixed; top: 0; width: 100%;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 15px 5%; background: rgba(5, 5, 10, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass); z-index: 100; transition: var(--transition-smooth);
}
.logo { font-size: 22px; letter-spacing: 4px; display: flex; align-items: center; gap: 12px; color: #fff; justify-self: start; }
.logo span {
    font-size: 10px; background: rgba(0, 229, 255, 0.1); color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan-dim); padding: 3px 8px; border-radius: 4px; letter-spacing: 1px; font-weight: 700;
}
.nav-links { display: flex; gap: 40px; }
.nav-links li a { font-size: 13px; font-weight: 400; letter-spacing: 2px; color: var(--text-muted); transition: var(--transition-smooth); position: relative; }
.nav-links li a:hover { color: #fff; }
.nav-links li a::after {
    content: ''; position: absolute; width: 0; height: 1px; bottom: -5px; left: 0; background-color: var(--neon-cyan); transition: var(--transition-smooth);
}
.nav-links li a:hover::after { width: 100%; }
.nav-link-active { color: #fff !important; }
.nav-link-active::after { width: 100% !important; }
.mobile-menu-btn {
    display: none; width: 36px; height: 36px;
    align-items: center; justify-content: center;
    color: #fff; font-size: 22px; cursor: pointer; flex-shrink: 0;
    transition: opacity 0.2s;
}
.mobile-menu-btn:hover { opacity: 0.7; }

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 120px 20px 40px; position: relative; overflow: hidden;
}
.hero-grid-3d {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 60%;
    background-image: linear-gradient(rgba(157, 0, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px; transform: perspective(600px) rotateX(75deg); transform-origin: bottom;
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%); z-index: -1;
}
.hero::before {
    content: ''; position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%); z-index: -1; pointer-events: none;
}
.hero h1 {
    margin-bottom: 24px; line-height: 1.15; text-align: center;
}
.hero-title-main {
    display: block;
    font-family: var(--font-tech); font-weight: 900;
    font-size: 7rem; letter-spacing: 0.22em;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title-sub {
    display: block;
    font-family: var(--font-zh); font-weight: 300;
    font-size: 1.35rem; letter-spacing: 0.38em;
    color: var(--neon-cyan); -webkit-text-fill-color: var(--neon-cyan);
    opacity: 0.85; margin-top: 14px;
}
.hero p {
    font-size: 1.1rem; max-width: 650px; width: 100%; margin: 0 auto 50px; color: var(--text-muted); font-weight: 300; letter-spacing: 1px; line-height: 1.8;
    word-break: break-word; box-sizing: border-box;
}
.btn-group { display: flex; gap: 24px; z-index: 10; }
.btn {
    position: relative; padding: 16px 48px; font-family: var(--font-tech); font-weight: 700; font-size: 0.9rem;
    letter-spacing: 2px; text-transform: uppercase; cursor: pointer; outline: none; border: none;
    background: transparent; color: #fff; transition: var(--transition-smooth); overflow: hidden;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}
.btn-primary { background: rgba(0, 229, 255, 0.1); border: 1px solid var(--neon-cyan); box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.05); }
.btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transform: skewX(-20deg); transition: 0.5s;
}
.btn:hover::after { left: 150%; }
.btn-primary:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 0 30px rgba(0, 229, 255, 0.3); }
.btn-secondary { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-glass); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* =========================================
   Stats Bar 
   ========================================= */
.stats-bar {
    display: flex; justify-content: center; gap: 100px; padding: 50px 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
    border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass);
}
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-tech); font-size: 2.2rem; font-weight: 300; color: #fff; margin-bottom: 5px; letter-spacing: 2px; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 3px; font-weight: 700; }

/* =========================================
   Shared Layout Containers
   ========================================= */
.section-container { padding: 120px 5%; max-width: 1300px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 70px; color: #fff; letter-spacing: 0.1em; }
.section-title span { color: var(--text-muted); font-weight: 300; }
.glass-card {
    background: linear-gradient(145deg, rgba(30, 30, 40, 0.6) 0%, rgba(15, 15, 20, 0.4) 100%);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass); border-radius: 16px; padding: 40px;
    transition: var(--transition-smooth); position: relative; overflow: hidden;
}
.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); opacity: 0; transition: var(--transition-smooth);
}
.glass-card:hover {
    transform: translateY(-5px); border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(0, 229, 255, 0.05);
}
.glass-card:hover::before { opacity: 1; }

/* =========================================
   Scenarios Section
   ========================================= */
.scenarios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.scenario-icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--neon-cyan); }
.scenario-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; color: #fff; }
.scenario-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* =========================================
   Features Section
   ========================================= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.feature-icon { font-size: 2rem; margin-bottom: 25px; opacity: 0.8; }
.feature-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; color: #fff; letter-spacing: 1px; }
.feature-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }

/* =========================================
   Routing Engine Section
   ========================================= */
.routing-container { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.routing-text { flex: 1; min-width: 300px; }
.routing-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: #fff; }
.routing-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; line-height: 1.8; }
.routing-code {
    flex: 1; min-width: 350px; background: #0A0A0F; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 30px; position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.routing-code::before {
    content: 'config.yaml'; position: absolute; top: -12px; left: 20px;
    background: var(--bg-base); padding: 0 10px; font-family: var(--font-code);
    font-size: 0.8rem; color: var(--neon-cyan); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
}
.code-line { font-family: var(--font-code); font-size: 0.9rem; color: #D1D5DB; line-height: 1.6; display: block; }
.code-keyword { color: var(--neon-pink); }
.code-string { color: #10B981; }
.code-comment { color: #6B7280; font-style: italic; }

/* =========================================
   Protocol Matrix
   ========================================= */
.protocol-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; max-width: 800px; margin: 0 auto; }
.protocol-badge {
    padding: 10px 24px; font-family: var(--font-code); font-size: 0.85rem; color: var(--text-muted); letter-spacing: 2px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass); border-radius: 30px; transition: var(--transition-smooth); cursor: default;
}
.protocol-badge:hover { color: #fff; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

/* =========================================
   Download Platforms
   ========================================= */
.platform-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.platform-card {
    width: 160px; padding: 35px 20px; text-align: center; background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass); border-radius: 12px; cursor: pointer; transition: var(--transition-smooth);
}
.platform-card svg { width: 40px; height: 40px; fill: var(--text-muted); margin-bottom: 20px; transition: var(--transition-smooth); }
.platform-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); transform: translateY(-5px); }
.platform-card:hover svg { fill: #fff; }
.platform-name { font-family: var(--font-tech); font-size: 0.8rem; letter-spacing: 2px; color: var(--text-main); font-weight: 700; }

/* =========================================
   FAQ / Diagnostics Section
   ========================================= */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-glass); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; padding: 25px 0;
    font-size: 1.1rem; color: #fff; font-weight: 700; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; transition: var(--transition-smooth);
}
.faq-question:hover { color: var(--neon-cyan); }
.faq-icon { font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; color: var(--neon-cyan); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;
    color: var(--text-muted); font-size: 0.95rem; line-height: 1.8;
}
.faq-answer p { padding-bottom: 25px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-answer { max-height: 500px; }

/* =========================================
   Terminal Console (Mini)
   ========================================= */
.terminal-box {
    background: #09090E; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 25px;
    font-family: var(--font-code); font-size: 0.85rem; color: #A5B4FC; max-width: 700px; margin: 40px auto;
    text-align: left; box-shadow: 0 20px 40px rgba(0,0,0,0.5); position: relative;
}
.terminal-box::after {
    content: ''; position: absolute; top: 12px; left: 15px; width: 10px; height: 10px; border-radius: 50%;
    background: #EF4444; box-shadow: 16px 0 0 #F59E0B, 32px 0 0 #10B981;
}
.terminal-box::before { content: 'root@core-matrix:~#'; color: #10B981; display: block; margin-top: 15px; margin-bottom: 10px; }
.cursor { display: inline-block; width: 8px; height: 14px; background: #A5B4FC; animation: blink 1s step-end infinite; vertical-align: middle; }

/* =========================================
   Timeline
   ========================================= */
.timeline-container { max-width: 700px; margin: 0 auto; }
.timeline { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 40px; position: relative; }
.timeline-item { margin-bottom: 50px; position: relative; }
.timeline-item::before {
    content: ''; position: absolute; left: -44px; top: 4px; width: 7px; height: 7px; border-radius: 50%;
    background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan);
}
.timeline-date { font-family: var(--font-code); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 1px; }
.timeline-version { font-family: var(--font-tech); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 15px; letter-spacing: 1px; }
.timeline-content {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-glass); padding: 20px; border-radius: 8px;
    font-size: 0.85rem; color: var(--text-muted);
}
.timeline-content ul { padding-left: 15px; list-style-type: disc; }
.timeline-content li { margin-bottom: 8px; }

/* =========================================
   Blog Preview Section
   ========================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card {
    background: linear-gradient(145deg, rgba(30, 30, 40, 0.6) 0%, rgba(15, 15, 20, 0.4) 100%);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass); border-radius: 16px; padding: 36px;
    transition: var(--transition-smooth); position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 14px;
    text-decoration: none; color: inherit; cursor: pointer;
}
.blog-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent); opacity: 0; transition: var(--transition-smooth);
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(0, 229, 255, 0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(0, 229, 255, 0.05); }
.blog-card:hover::before { opacity: 1; }
.blog-tag {
    align-self: flex-start; font-family: var(--font-code); font-size: 0.7rem; letter-spacing: 0.05em;
    padding: 4px 12px; border-radius: 20px; background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2); color: var(--neon-cyan); text-transform: uppercase;
}
.blog-card-title { font-size: 1.15rem; font-weight: 700; color: #fff; line-height: 1.5; }
.blog-card-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.blog-card-meta { font-family: var(--font-code); font-size: 0.72rem; color: #555; letter-spacing: 1px; }
.blog-card-link {
    display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-tech);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; color: var(--neon-cyan);
    text-transform: uppercase; transition: var(--transition-smooth);
}
.blog-card-link:hover { gap: 12px; }
.blog-cta-wrap { text-align: center; margin-top: 60px; }

/* =========================================
   Footer
   ========================================= */
footer { border-top: 1px solid var(--border-glass); background: #020205; padding: 80px 5% 40px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; max-width: 1300px; margin: 0 auto; }
.footer-col h3 { font-family: var(--font-tech); font-size: 0.9rem; color: #fff; letter-spacing: 2px; margin-bottom: 25px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.85rem; transition: var(--transition-smooth); }
.footer-col ul li a:hover { color: #fff; }
.copyright { text-align: center; margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: #666; font-size: 0.75rem; font-family: var(--font-code); }

/* =========================================
   Language Switcher
   ========================================= */
.lang-switcher { position: relative; }
.lang-btn {
    height: 36px; padding: 0 14px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-glass);
    color: var(--text-muted); font-family: var(--font-zh); font-size: 13px;
    border-radius: 6px; cursor: pointer; display: flex; align-items: center; gap: 6px;
    transition: var(--transition-smooth); white-space: nowrap; flex-shrink: 0;
}
.lang-btn:hover { color: #fff; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.lang-btn .lang-arrow { font-size: 10px; transition: transform 0.3s; display: inline-block; line-height: 1; }
.lang-btn.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: rgba(10, 10, 18, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass); border-radius: 10px; overflow: hidden;
    min-width: 160px; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.25s ease; z-index: 200;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; font-size: 13px; color: var(--text-muted); transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { color: #fff; background: rgba(255,255,255,0.06); padding-left: 22px; }
.lang-option.active { color: var(--neon-cyan); background: rgba(0,229,255,0.04); }
.lang-option .lang-code {
    font-family: var(--font-code); font-size: 10px; color: inherit; opacity: 0.5;
    background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 3px; letter-spacing: 0.5px;
}

/* =========================================
   Nav Right Group
   ========================================= */
.nav-right { display: flex; align-items: center; gap: 12px; justify-self: end; }

/* Responsive */
@media (max-width: 900px) {
    nav { display: flex; justify-content: space-between; }
    .hero-title-main { font-size: 4.5rem; }
    .hero-title-sub { font-size: 1.05rem; letter-spacing: 0.25em; }
    .stats-bar { gap: 40px; flex-wrap: wrap; }
    .nav-links {
        display: none;
        flex-direction: column; gap: 0;
        position: fixed; top: 65px; left: 0; right: 0;
        background: rgba(5, 5, 10, 0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-glass); z-index: 99; padding: 10px 0;
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links li a {
        display: block; padding: 16px 5%; font-size: 15px; letter-spacing: 1px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-links li:last-child a { border-bottom: none; }
    .mobile-menu-btn { display: flex; }
    .routing-container { flex-direction: column; }
    .section-container { padding: 80px 5%; }
    .scenarios-grid, .features-grid, .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    /* Nav — fix overflow without shrinking too aggressively */
    nav { padding: 14px 4%; }
    .logo { font-size: 19px; letter-spacing: 3px; gap: 10px; }
    .logo span { display: none; }
    .nav-right { gap: 12px; }
    .lang-btn { padding: 7px 10px; font-size: 13px; gap: 4px; }
    .lang-btn-text { display: none; }
    .lang-arrow { display: none; }
    .mobile-menu-btn { width: 34px; height: 34px; font-size: 18px; }

    /* Hero — comfortable reading size */
    .hero { padding: 110px 24px 50px; }
    .hero-logo-svg { width: 110px; height: 110px; }
    .hero-title-main { font-size: 3.2rem; }
    .hero-title-sub { font-size: 1rem; letter-spacing: 0.2em; }
    .hero p { font-size: 1.05rem; letter-spacing: 0.3px; padding: 0 4px; }
    .terminal-box { font-size: 0.83rem; padding: 22px 20px; }
    .btn-group { flex-direction: column; width: 100%; max-width: 320px; }
    .btn { padding: 15px 32px; font-size: 0.85rem; }

    /* Stats */
    .stats-bar { padding: 40px 5%; gap: 28px; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.7rem; }

    /* Cards & layout */
    .section-container { padding: 70px 5%; }
    .glass-card { padding: 30px 26px; }
    .scenario-title, .feature-title { font-size: 1.2rem; }
    .scenario-desc, .feature-desc { font-size: 0.95rem; }
    .routing-code { min-width: 100%; padding: 24px 16px; overflow-x: auto; }

    /* Platform download grid — 2 columns on mobile */
    .platform-grid { gap: 14px; }
    .platform-card { width: calc(50% - 7px); padding: 28px 16px; }
    .platform-card svg { width: 36px; height: 36px; }
    .platform-name { font-size: 0.78rem; }

    /* Blog / timeline */
    .blog-card { padding: 28px 24px; }
    .timeline-version { font-size: 1.1rem; }
}
@media (max-width: 380px) {
    .logo { font-size: 17px; letter-spacing: 2px; }
    .hero-title-main { font-size: 2.8rem; }
    .hero-title-sub { font-size: 0.92rem; }
}
