/* Imperial Naval Blue & Solar Gold Privacy Manifesto Theme */
:root {
    --navy-main: #0c1a2c;
    --navy-deep: #081220;
    --navy-card: #122238;
    --accent-gold: #f59e0b;
    --accent-gold-hover: #fbbf24;
    --accent-gold-dark: #d97706;
    --card-bg: #ffffff;
    --bg-sand: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #546577;
    --text-pure: #ffffff;
    --border: #e2e8f0;
    --border-dark: #1e324c;
    --radius-card: 18px;
    --radius-pill: 999px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--accent-gold-hover);
}

.wrap {
    width: min(1180px, 100% - 32px);
    margin: 0 auto;
}

/* Header */
.site-header {
    height: 72px;
    background: var(--navy-main);
    border-bottom: 1px solid var(--border-dark);
    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: 19px;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none !important;
}

.site-brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    font-size: 14.5px;
    color: #cbd5e1;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-gold {
    background: var(--accent-gold);
    color: #0c1a2c !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13.5px;
}

/* Hero Section (Deep Navy Manifesto) */
.hero-manifesto {
    background: var(--navy-main);
    color: #ffffff;
    padding: 80px 0 72px 0;
    text-align: center;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(34px, 4.8vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 940px;
    margin: 0 auto 24px auto;
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-lede {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 760px;
    margin: 0 auto 36px auto;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Warning Callout Band */
.warning-band {
    background: var(--bg-sand);
    border-bottom: 1px solid var(--border);
    padding: 64px 0;
}

.band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.band-heading h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.3;
}

.band-desc p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* Two-Step Defense Model */
.section {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px auto;
}

.section-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16.5px;
    color: var(--text-muted);
}

.two-step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.step-card {
    background: var(--bg-sand);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.step-badge {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 4px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy-main);
    display: inline-block;
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.step-bullets {
    list-style: none;
}

.step-bullets li {
    font-size: 14.5px;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-bullets li::before {
    content: "✓";
    color: var(--accent-gold-dark);
    font-weight: 800;
}

/* Three Routing Modes (Config / Proxy / Direct) */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.mode-card {
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    transition: all 0.2s ease;
}

.mode-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.mode-card.mode-recommended {
    border-color: var(--navy-main);
    background: var(--bg-sand);
}

.mode-tag {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-gold-dark);
    margin-bottom: 8px;
}

.mode-card h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 10px;
}

.mode-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Code Syntax Box */
.code-container {
    background: var(--navy-main);
    color: #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 1.65;
    overflow-x: auto;
    margin: 28px 0;
}

/* Closing CTA */
.closing-section {
    background: var(--navy-main);
    color: #ffffff;
    border-radius: 20px;
    padding: 64px 32px;
    text-align: center;
    margin: 64px 0;
}

.closing-section h2 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 14px;
}

.closing-section p {
    font-size: 17px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 32px auto;
}

/* Download Page */
.download-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 48px;
    max-width: 820px;
    margin: 48px auto;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.download-card h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 12px;
}

.spec-table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    text-align: left;
}

.spec-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}

.spec-table td:first-child {
    font-weight: 700;
    color: var(--text-muted);
    width: 130px;
}

/* Footer */
.site-footer {
    background: var(--navy-deep);
    color: #94a3b8;
    padding: 56px 0 36px 0;
    font-size: 13.5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col a {
    color: #94a3b8;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
}

/* Responsive */
@media (max-width: 860px) {
    .band-grid, .two-step-grid, .modes-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
@media (max-width: 880px) {
    .nav-links, .nav-menu {
        display: none !important;
    }
}
