/* hide.me Architecture & Cyber Ocean Cyan / Emerald Accent Palette */
:root {
    --color-primary: #0284c7;
    --color-primary-hover: #0369a1;
    --color-emerald: #10b981;
    --color-teal: #0d9488;
    --color-amber: #f59e0b;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-dark: #0b1329;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-dark: #1e293b;
    --radius-btn: 10px;
    --radius-card: 16px;
    --shadow-soft: 0 8px 24px -4px 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-primary-hover);
}

.wrap {
    width: min(1160px, 100% - 32px);
    margin: 0 auto;
}

/* Top Notification Bar (hide.me Style) */
.top-notice-bar {
    background: #0b1329;
    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: #0b1329;
}

.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: 26px;
}

.nav-link {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    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-outline {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13.5px;
}

/* 1. HeroSection (hide.me Hero) */
.hero-section {
    padding: 72px 0 60px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, var(--bg-page) 100%);
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.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: #0b1329;
    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;
}

/* Quick Platform Pills (hide.me Style) */
.hero-pills-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-pill-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hero-actions-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* 2. Why Section (3-Cards: Version Integrity, Protocol Support, Smooth Update) */
.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: #0b1329;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16.5px;
    color: var(--text-muted);
}

.why-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

.why-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* 3. What we protect (3-Columns Transparency) */
.protect-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 0;
}

.protect-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.protect-card {
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
}

.protect-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.protect-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 4. Version Check Methods (4 Steps Grid) */
.methods-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.method-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 24px 20px;
    box-shadow: var(--shadow-soft);
}

.method-step-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--color-primary);
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.method-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.method-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 5. Signature Power-User Controls (hide.me Tabs Deck) */
.controls-section {
    background: #0b1329;
    color: #ffffff;
    padding: 84px 0;
}

.controls-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px auto;
}

.controls-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.controls-head p {
    font-size: 16px;
    color: #94a3b8;
}

.controls-deck-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 36px;
    align-items: center;
    background: #111a33;
    border: 1px solid #1e293b;
    border-radius: var(--radius-card);
    padding: 36px;
}

.controls-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #cbd5e1;
}

.control-tab-btn.active, .control-tab-btn:hover {
    background: rgba(2, 132, 199, 0.15);
    border-color: #0284c7;
    color: #ffffff;
}

.control-tab-btn strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.control-tab-btn small {
    font-size: 12.5px;
    color: #94a3b8;
}

.control-display-card {
    background: #090e1c;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 28px;
}

.display-title {
    font-size: 18px;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 12px;
}

.display-desc {
    font-size: 14.5px;
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.65;
}

.rule-code-preview {
    background: #050811;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #38bdf8;
    line-height: 1.6;
}

/* 6. FAQ Accordion */
.faq-box {
    max-width: 820px;
    margin: 36px auto 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-item summary {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
    outline: none;
}

.faq-item summary:hover {
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 24px 18px 24px;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 7. Closing CTA Banner */
.closing-section {
    background: linear-gradient(135deg, #0b1329 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;
}

/* 8. Mega Footer (5-Columns) */
.site-footer {
    background: #060a14;
    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) {
    .why-grid-3, .protect-grid-3, .methods-grid-4, .controls-deck-grid, .footer-grid-5 {
        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;
    }
}
