/* === Design Tokens === */
:root {
    --bg-white: #ffffff;
    --bg-card: #f8f9fa;
    --bg-card-hover: #f1f3f4;
    --bg-dark: #0d1117;
    --bg-dark-card: #161b22;
    --text-main: #202124;
    --text-muted: #5f6368;
    --text-light: #9aa0a6;
    --accent-blue: #1a73e8;
    --accent-blue-light: #e8f0fe;
    --accent-green: #1e8e3e;
    --accent-green-light: #e6f4ea;
    --accent-orange: #fa7b17;
    --accent-orange-light: #fce8d8;
    --accent-purple: #7b1fa2;
    --accent-purple-light: #f3e5f5;
    --font-main: 'Inter', 'Noto Sans SC', sans-serif;
    --font-headline: 'Inter', 'Noto Sans SC', sans-serif;
    --radius-card: 28px;
    --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ==================== CANVAS ==================== */
#particle-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 120vh;
    z-index: 1;
    pointer-events: none;
}

/* ==================== HEADER ==================== */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 20px 5%; display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.brand-logo { display: flex; align-items: center; gap: 12px; }
.logo-box { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent-blue); }
.logo-box img { width: 32px; height: 32px; object-fit: contain; display: block; }
.brand-text { font-size: 20px; font-weight: 600; letter-spacing: -0.5px; color: var(--text-main); }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { font-size: 14px; color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--text-main); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.btn-header { background: var(--text-main); color: var(--bg-white); padding: 10px 24px; border-radius: 100px; font-weight: 500; font-size: 14px; transition: all 0.2s; }
.btn-header:hover { background: #000; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-1px); }

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 6px;
    background: none; border: 1px solid rgba(0,0,0,0.12); border-radius: 100px;
    padding: 8px 14px; cursor: pointer; font-size: 13px; font-weight: 500;
    color: var(--text-muted); transition: all 0.2s; font-family: var(--font-main);
    white-space: nowrap;
}
.lang-btn:hover { border-color: rgba(0,0,0,0.25); color: var(--text-main); }
.lang-btn .fa-globe { font-size: 13px; }
.lang-chevron { font-size: 10px; transition: transform 0.2s; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }
.lang-switcher.open .lang-btn { border-color: rgba(0,0,0,0.25); color: var(--text-main); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--bg-white); border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    min-width: 140px; padding: 6px; display: none; flex-direction: column; z-index: 200;
}
.lang-switcher.open .lang-dropdown { display: flex; }
.lang-option {
    display: block; width: 100%; text-align: left; background: none; border: none;
    padding: 9px 14px; border-radius: 10px; font-size: 13px; font-weight: 500;
    color: var(--text-muted); cursor: pointer; transition: all 0.15s;
    font-family: var(--font-main);
}
.lang-option:hover { background: var(--bg-card); color: var(--text-main); }
.lang-option.active { color: var(--accent-blue); background: var(--accent-blue-light); }

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    padding: 180px 5% 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    max-width: 1600px;
    margin: 0 auto;
}
.hero-content { flex: 0 0 58%; max-width: 760px; position: relative; z-index: 20; padding-bottom: 120px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-blue-light); color: var(--accent-blue);
    padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
    margin-bottom: 28px; letter-spacing: 0.3px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--accent-blue); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero-headline {
    font-size: clamp(52px, 5.5vw, 76px);
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 28px;
    line-height: 1.08;
    letter-spacing: -2.5px;
}
.hero-headline .accent-word { color: var(--accent-blue); }
.hero-desc { font-size: 18px; color: var(--text-muted); line-height: 1.7; margin-bottom: 44px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 56px; align-items: center; flex-wrap: wrap; }
.btn-primary {
    background: var(--text-main); color: var(--bg-white);
    padding: 16px 32px; border-radius: 100px;
    font-weight: 600; font-size: 15px; transition: all 0.22s ease;
    border: 1px solid transparent;
}
.btn-primary:hover { background: #000; box-shadow: 0 6px 18px rgba(0,0,0,0.18); transform: translateY(-2px); }
.btn-secondary {
    background: var(--bg-card); color: var(--text-main);
    padding: 16px 32px; border-radius: 100px;
    font-weight: 600; font-size: 15px; transition: all 0.22s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.btn-secondary:hover { background: var(--bg-card-hover); transform: translateY(-2px); }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.trust-avatars { display: flex; align-items: center; }
.trust-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2.5px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
    margin-right: -9px;
    transition: transform 0.2s;
}
.trust-avatar:hover { transform: translateY(-2px); z-index: 1; }
.trust-avatar:last-child { margin-right: 0; }
.trust-meta { margin-left: 12px; display: flex; flex-direction: column; gap: 4px; }
.trust-rating { display: flex; align-items: center; gap: 5px; }
.trust-rating .stars { color: #fbbc04; font-size: 12px; letter-spacing: 1px; line-height: 1; }
.trust-rating .score { font-size: 13px; font-weight: 700; color: var(--text-main); }
.trust-rating .sep { color: rgba(0,0,0,0.15); font-size: 12px; }
.trust-rating .count { font-size: 12px; color: var(--text-muted); }
.trust-text { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.trust-text strong { color: var(--text-main); font-weight: 600; }

/* ==================== STATS ==================== */
.stats-band {
    display: flex; justify-content: center; gap: 0;
    padding: 0;
    background: var(--bg-white);
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative; z-index: 10;
    overflow: hidden;
}
.stat-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 52px 64px; flex: 1; border-right: 1px solid rgba(0,0,0,0.06); transition: background 0.2s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-card); }
.stat-num { font-size: 52px; font-weight: 500; color: var(--text-main); line-height: 1; margin-bottom: 10px; letter-spacing: -2px; white-space: nowrap; }
.stat-suffix { font-size: 0.58em; font-weight: 500; vertical-align: middle; letter-spacing: -1px; }
.stat-label { color: var(--text-muted); font-size: 14px; font-weight: 500; }

/* ==================== SECTION COMMON ==================== */
.content-section {
    padding: 110px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative; z-index: 10;
    background: var(--bg-white);
}
.content-section.full-bleed { max-width: 100%; }
.section-eyebrow {
    display: inline-block;
    background: var(--accent-blue-light); color: var(--accent-blue);
    padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px;
}
.section-eyebrow.green { background: var(--accent-green-light); color: var(--accent-green); }
.section-eyebrow.orange { background: var(--accent-orange-light); color: var(--accent-orange); }
.section-eyebrow.purple { background: var(--accent-purple-light); color: var(--accent-purple); }
.section-title { font-size: clamp(32px, 3.5vw, 48px); font-weight: 500; margin-bottom: 18px; letter-spacing: -1.5px; color: var(--text-main); line-height: 1.15; }
.section-desc { color: var(--text-muted); font-size: 17px; max-width: 580px; line-height: 1.65; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ==================== FEATURES — asymmetric three-column ==================== */
.features-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.feat-card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 44px;
    transition: background 0.25s;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.feat-card:hover { background: var(--bg-card-hover); }
.feat-card.hero-card { background: var(--text-main); }
.feat-card.hero-card:hover { background: #111; }
.feat-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 28px;
    background: var(--accent-blue-light); color: var(--accent-blue);
}
.feat-card.hero-card .feat-icon { background: rgba(255,255,255,0.12); color: white; }
.feat-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.5px; }
.feat-card.hero-card h3 { font-size: 28px; color: white; }
.feat-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.feat-card.hero-card p { color: rgba(255,255,255,0.65); font-size: 16px; }
.feat-card-footer { margin-top: auto; padding-top: 36px; display: flex; align-items: center; gap: 12px; }
.feat-tag {
    background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
    padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
}
.feat-tag.blue { background: var(--accent-blue-light); color: var(--accent-blue); }
.feat-tag.green { background: var(--accent-green-light); color: var(--accent-green); }
.feat-tag.orange { background: var(--accent-orange-light); color: var(--accent-orange); }

/* ==================== PLATFORM DOWNLOAD — tabbed all-platform ==================== */
.platform-section-wrap {
    background: var(--bg-card);
    position: relative; z-index: 10;
}
.platform-section { padding: 110px 5%; max-width: 1400px; margin: 0 auto; }
.platform-tabs-nav {
    display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.ptab-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 22px; border-radius: 100px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    background: white; color: var(--text-muted);
    border: 1.5px solid rgba(0,0,0,0.08);
    transition: all 0.2s;
}
.ptab-btn:hover { border-color: var(--accent-blue); color: var(--text-main); }
.ptab-btn.active { background: var(--text-main); color: white; border-color: var(--text-main); }
.ptab-btn i { font-size: 16px; }
.platform-content { display: none; }
.platform-content.active { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.plat-main-card {
    background: white; border-radius: var(--radius-card);
    padding: 52px; border: 1px solid rgba(0,0,0,0.05);
}
.plat-main-card h3 { font-size: 30px; font-weight: 500; letter-spacing: -1px; margin-bottom: 12px; }
.plat-main-card .version-badge {
    display: inline-block; background: var(--accent-green-light); color: var(--accent-green);
    padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; margin-bottom: 24px;
}
.plat-main-card p { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin-bottom: 36px; }
.plat-dl-btns { display: flex; flex-direction: column; gap: 12px; }
.plat-dl-btn {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-radius: 16px; font-weight: 600; font-size: 15px;
    transition: all 0.2s; cursor: pointer;
}
.plat-dl-btn.primary-dl { background: var(--text-main); color: white; }
.plat-dl-btn.primary-dl:hover { background: #000; transform: translateY(-1px); }
.plat-dl-btn.secondary-dl { background: var(--bg-card); color: var(--text-main); }
.plat-dl-btn.secondary-dl:hover { background: var(--bg-card-hover); transform: translateY(-1px); }
.plat-dl-btn .dl-info { font-size: 12px; font-weight: 400; opacity: 0.7; margin-top: 2px; }
.plat-side-cards { display: flex; flex-direction: column; gap: 16px; }
.plat-side-card {
    background: white; border-radius: 20px; padding: 28px 32px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex; align-items: center; gap: 20px;
}
.plat-side-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--bg-card); display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.plat-side-text h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.plat-side-text p { font-size: 13px; color: var(--text-muted); }
.plat-side-text .req-tag { color: var(--accent-blue); font-size: 12px; font-weight: 600; }

/* ==================== PROTOCOL SUPPORT — dark contrast section ==================== */
.protocol-section-wrap {
    background: var(--bg-dark);
    position: relative; z-index: 10;
    overflow: hidden;
}
.protocol-section-wrap::before {
    content: ''; position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,115,232,0.12) 0%, transparent 70%);
    top: -100px; right: -100px; pointer-events: none;
}
.protocol-section { padding: 110px 5%; max-width: 1400px; margin: 0 auto; }
.protocol-section .section-title { color: white; }
.protocol-section .section-desc { color: rgba(255,255,255,0.55); }
.protocol-section .section-eyebrow { background: rgba(26,115,232,0.2); color: #8ab4f8; }
.proto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border-radius: 20px; overflow: hidden; margin-top: 60px; }
.proto-cell {
    background: var(--bg-dark); padding: 36px 40px;
    transition: background 0.2s;
}
.proto-cell:hover { background: var(--bg-dark-card); }
.proto-name { font-size: 20px; font-weight: 500; color: white; margin-bottom: 8px; }
.proto-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; }
.proto-badge {
    display: inline-block; margin-top: 16px;
    padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700;
    background: rgba(30,142,62,0.2); color: #34a853;
}
.proto-badge.new { background: rgba(250,123,23,0.2); color: #fa7b17; }

/* protocol compatibility tag cloud */
.proto-tags-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 52px; }
.proto-cloud-tag {
    padding: 10px 20px; border-radius: 100px;
    font-size: 14px; font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    transition: all 0.2s; cursor: default;
}
.proto-cloud-tag:hover { border-color: rgba(26,115,232,0.6); color: #8ab4f8; background: rgba(26,115,232,0.08); }
.proto-cloud-tag.featured { border-color: rgba(26,115,232,0.5); color: #8ab4f8; background: rgba(26,115,232,0.1); }

/* ==================== QUICK START — step guide ==================== */
.steps-layout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-layout::before {
    content: ''; position: absolute;
    top: 26px; left: calc(12.5% + 30px); right: calc(12.5% + 30px);
    height: 0; border-top: 2px dashed rgba(26,115,232,0.25);
    z-index: 0;
}
.step-item { text-align: center; padding: 0 28px; position: relative; z-index: 1; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--text-main); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; margin: 0 auto 28px;
    position: relative; z-index: 2;
}
.step-num::after {
    content: ''; position: absolute; inset: -4px;
    border-radius: 50%; border: 2px dashed rgba(26,115,232,0.3);
}
.step-item h4 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--text-main); }
.step-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-item a { color: var(--accent-blue); font-weight: 600; }

/* ==================== USE CASES — irregular card grid ==================== */
.usecase-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.usecase-card {
    border-radius: var(--radius-card);
    padding: 52px;
    position: relative; overflow: hidden;
}
.usecase-card.big { grid-row: span 2; background: #f0f4ff; }
.usecase-card.mid { background: var(--bg-card); }
.usecase-card.accent { background: var(--text-main); }
.usecase-card.accent h3 { color: white; }
.usecase-card.accent p { color: rgba(255,255,255,0.6); }
.usecase-card.accent .uc-tag { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }
.usecase-card::after {
    content: ''; position: absolute;
    bottom: -40px; right: -40px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(26,115,232,0.06);
}
.uc-tag {
    display: inline-block;
    background: var(--accent-blue-light); color: var(--accent-blue);
    padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 700;
    margin-bottom: 20px;
}
.usecase-card h3 { font-size: 26px; font-weight: 500; margin-bottom: 14px; letter-spacing: -0.5px; }
.usecase-card.big h3 { font-size: 34px; font-weight: 500; }
.usecase-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.usecase-big-icon { font-size: 56px; margin-bottom: 28px; }
.usecase-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.usecase-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-muted); }
.usecase-list li::before { content: '✓'; color: var(--accent-green); font-weight: 600; flex-shrink: 0; margin-top: 1px; }

/* ==================== FAQ — two-column accordion ==================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 16px; }
details.faq-item {
    background: var(--bg-card); border-radius: 18px;
    padding: 0; overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: background 0.2s;
}
details.faq-item[open] { background: white; border-color: rgba(26,115,232,0.15); }
details.faq-item summary {
    padding: 24px 28px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
    list-style: none; font-size: 16px; font-weight: 600; color: var(--text-main);
    line-height: 1.45;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
    content: '+'; font-size: 22px; font-weight: 300; color: var(--text-muted);
    flex-shrink: 0; transition: transform 0.3s; line-height: 1;
}
details.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent-blue); }
.faq-answer { padding: 0 28px 28px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-answer a { color: var(--accent-blue); text-decoration: underline; }

/* ==================== COMPARISON ==================== */
.compare-section-wrap { background: var(--bg-card); position: relative; z-index: 10; }
.compare-section { padding: 110px 5%; max-width: 1400px; margin: 0 auto; }
.compare-table-wrap { overflow-x: auto; margin-top: 60px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead tr th { padding: 20px 28px; text-align: left; font-size: 14px; font-weight: 600; color: var(--text-main); background: white; }
.compare-table thead tr th:first-child { border-radius: 16px 0 0 0; }
.compare-table thead tr th:last-child { border-radius: 0 16px 0 0; }
.compare-table thead tr th.highlight { background: var(--text-main); color: white; }
.compare-table tbody tr td { padding: 18px 28px; font-size: 14px; color: var(--text-muted); border-top: 1px solid rgba(0,0,0,0.05); background: white; }
.compare-table tbody tr td.highlight { background: #f8f9fd; color: var(--text-main); font-weight: 600; }
.compare-table tbody tr:last-child td:first-child { border-radius: 0 0 0 16px; }
.compare-table tbody tr:last-child td:last-child { border-radius: 0 0 16px 0; }
.check-yes { color: var(--accent-green); font-size: 18px; }
.check-no { color: #d93025; font-size: 18px; }
.check-partial { color: var(--accent-orange); font-size: 14px; font-weight: 600; }

/* ==================== CONFIG GUIDE — dark code section ==================== */
.config-section-wrap { background: var(--bg-dark); position: relative; z-index: 10; overflow: hidden; }
.config-section-wrap::before {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,115,232,0.1) 0%, transparent 70%);
    bottom: -100px; left: -100px; pointer-events: none;
}
.config-section { padding: 110px 5%; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.config-text .section-title { color: white; }
.config-text .section-eyebrow { background: rgba(26,115,232,0.2); color: #8ab4f8; }
.config-text .section-desc { color: rgba(255,255,255,0.5); }
.config-text-points { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.config-point { display: flex; gap: 16px; align-items: flex-start; }
.config-point-num {
    width: 32px; height: 32px; border-radius: 10px;
    background: rgba(26,115,232,0.2); color: #8ab4f8;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.config-point h4 { font-size: 15px; font-weight: 600; color: white; margin-bottom: 4px; }
.config-point p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; }
.code-window {
    background: var(--bg-dark-card); border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08); overflow: hidden;
}
.code-window-header {
    padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex; align-items: center; gap: 8px;
}
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-filename { font-size: 13px; color: rgba(255,255,255,0.4); margin-left: 12px; font-family: 'Courier New', monospace; }
.code-body { padding: 28px 24px; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.8; overflow-x: auto; }
.code-line { display: block; }
.code-key { color: #8ab4f8; }
.code-val { color: #a8d8a8; }
.code-str { color: #f28b82; }
.code-comment { color: rgba(255,255,255,0.3); }
.code-num { color: #fdd663; }

/* ==================== DOWNLOAD CTA — full-width emphasis ==================== */
.downloads-section { padding: 110px 5%; max-width: 1400px; margin: 0 auto; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.dl-card {
    background: var(--bg-card); border-radius: var(--radius-card); padding: 48px;
    display: flex; flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04); transition: all 0.2s;
}
.dl-card:hover { background: #f0f2f5; transform: translateY(-2px); }
.dl-card.featured { background: var(--text-main); color: white; }
.dl-card.featured h3 { color: white; }
.dl-card.featured .price { color: rgba(255,255,255,0.55); }
.dl-card.featured p { color: rgba(255,255,255,0.65); }
.dl-plan-tag { font-size: 12px; font-weight: 700; color: var(--accent-blue); margin-bottom: 12px; letter-spacing: 0.5px; text-transform: uppercase; }
.dl-card.featured .dl-plan-tag { color: rgba(255,255,255,0.6); }
.dl-card h3 { font-size: 26px; font-weight: 500; margin-bottom: 6px; }
.dl-card .price { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.dl-card p { font-size: 15px; color: var(--text-muted); margin-bottom: auto; line-height: 1.65; padding-bottom: 36px; }
.dl-card-btn {
    display: block; text-align: center;
    background: var(--text-main); color: white;
    padding: 16px; border-radius: 14px;
    font-weight: 600; font-size: 15px; transition: all 0.2s;
}
.dl-card-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.dl-card.featured .dl-card-btn { background: white; color: var(--text-main); }
.dl-card-btn.outline { background: transparent; border: 1.5px solid rgba(0,0,0,0.12); color: var(--text-main); }

/* ==================== BIG CTA BAND ==================== */
.cta-band {
    background: var(--bg-dark); position: relative; z-index: 10; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-band::before {
    content: ''; position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,115,232,0.08) 0%, transparent 70%);
    top: -200px; left: 50%; transform: translateX(-50%);
    pointer-events: none;
}
.cta-inner {
    max-width: 1400px; margin: 0 auto; padding: 80px 5%;
    display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.cta-left h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 500; color: white; letter-spacing: -1px; margin-bottom: 12px; }
.cta-left p { font-size: 17px; color: rgba(255,255,255,0.5); }
.cta-btns { display: flex; gap: 14px; flex-shrink: 0; }
.cta-btn-white {
    display: inline-flex; align-items: center; justify-content: center;
    background: white; color: var(--text-main);
    padding: 16px 32px; border-radius: 100px;
    font-weight: 600; font-size: 15px; transition: all 0.2s;
}
.cta-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.cta-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
    padding: 16px 32px; border-radius: 100px;
    font-weight: 600; font-size: 15px; transition: all 0.2s;
    border: 1.5px solid rgba(255,255,255,0.15);
}
.cta-btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }

/* ==================== FOOTER ==================== */
footer { border-top: 1px solid rgba(0,0,0,0.06); padding: 80px 5% 48px; background: var(--bg-white); position: relative; z-index: 10; }
.footer-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; }
.footer-left p { color: var(--text-muted); margin-top: 14px; max-width: 300px; font-size: 14px; line-height: 1.65; }
.footer-copy { margin-top: 60px; padding-top: 32px; border-top: 1px solid rgba(0,0,0,0.06); max-width: 1400px; margin-left: auto; margin-right: auto; display: flex; justify-content: space-between; align-items: center; }
.footer-copy p { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 80px; }
.link-col h4 { margin-bottom: 22px; font-size: 13px; font-weight: 600; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.5px; }
.link-col ul { display: flex; flex-direction: column; gap: 14px; }
.link-col a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.link-col a:hover { color: var(--accent-blue); }

/* ==================== MOBILE NAV TOGGLE ==================== */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    padding: 9px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.nav-toggle:hover { background: var(--bg-card); }
.nav-toggle-bar {
    display: block;
    width: 18px; height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99;
    padding: 20px 5% 40px;
    gap: 4px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.mobile-nav > a {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 15px 18px;
    border-radius: 12px;
    transition: all 0.15s;
    display: block;
}
.mobile-nav > a:hover,
.mobile-nav > a.active { color: var(--text-main); background: var(--bg-card); }
.mobile-nav .mobile-dl-btn {
    margin-top: 12px;
    background: var(--text-main);
    color: white;
    text-align: center;
    border-radius: 100px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 17px 32px;
    font-size: 16px;
}
.mobile-nav .mobile-dl-btn:hover { background: #000; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-content { flex: 0 0 100%; max-width: 100%; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .features-layout { grid-template-columns: 1fr 1fr; }
    .feat-card.hero-card { grid-row: span 1; }
    .platform-content.active { grid-template-columns: 1fr; }
    .proto-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-layout { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .steps-layout::before { display: none; }
    .usecase-grid { grid-template-columns: 1fr; }
    .usecase-card.big { grid-row: auto; }
    .faq-grid { grid-template-columns: 1fr; gap: 12px 0; }
    .faq-col { gap: 12px; }
    .config-section { grid-template-columns: 1fr; gap: 48px; }
    .dl-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-btns { justify-content: center; }
    .footer-content { flex-direction: column; gap: 60px; }
    .footer-links { flex-wrap: wrap; gap: 40px; }
    .stats-band { flex-wrap: wrap; }
    .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .btn-header { display: none; }
    .lang-label { display: none; }
    .lang-btn { padding: 8px 10px; gap: 5px; }
    .nav-right { gap: 10px; }
}
@media (max-width: 768px) {
    .hero-headline { font-size: 40px; letter-spacing: -1.5px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    .features-layout { grid-template-columns: 1fr; }
    .proto-grid { grid-template-columns: 1fr; }
    .steps-layout { grid-template-columns: 1fr; }
    .compare-table { font-size: 13px; }
    .stat-item { flex: 0 0 100%; }
}
