/* Imperial Jade Shield & Glossary Funnel Theme */
:root {
    --jade-green: #059669;
    --jade-green-hover: #047857;
    --jade-light: #ecfdf5;
    --navy-deep: #062b1b;
    --bg-slate: #f8fafc;
    --card-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #526071;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --gold-star: #f59e0b;
    --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05);
    --shadow-btn: 0 4px 14px rgba(5, 150, 105, 0.32);
    --radius-card: 14px;
    --radius-btn: 8px;
    --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.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--jade-green);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--jade-green-hover);
}

.wrap {
    width: min(1200px, 100% - 32px);
    margin: 0 auto;
}

/* Header */
.site-header {
    height: 72px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.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: var(--navy-deep);
    letter-spacing: -0.02em;
}

.site-brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.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;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--jade-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: var(--radius-btn);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--jade-green);
    color: #ffffff !important;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    background: var(--jade-green-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--bg-slate);
}

.btn-sm {
    padding: 7px 18px;
    font-size: 13.5px;
}

/* Hero Section */
.hero-section {
    padding: 72px 0 54px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-slate) 100%);
    text-align: center;
}

.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-deep);
    background: var(--jade-light);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
    border: 1px solid #a7f3d0;
}

.hero-title {
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 900;
    line-height: 1.18;
    color: var(--navy-deep);
    max-width: 940px;
    margin: 0 auto 20px auto;
    letter-spacing: -0.025em;
}

.hero-title span {
    color: var(--jade-green);
}

.hero-lede {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 32px auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* 4 Core Pillars */
.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: var(--navy-deep);
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16.5px;
    color: var(--text-muted);
}

.pillars-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 22px;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.pillar-card:hover {
    border-color: var(--jade-green);
    transform: translateY(-2px);
}

.pillar-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.pillar-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 3 Comparison Cards (Tier Cards) */
.comparison-section {
    background: var(--bg-slate);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
}

.tier-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.tier-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.tier-card:hover {
    border-color: var(--jade-green);
    transform: translateY(-2px);
}

.tier-card.featured {
    border: 2px solid var(--jade-green);
    position: relative;
}

.tier-badge {
    background: var(--jade-green);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 12px;
}

.tier-card h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.tier-card p.tier-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tier-bullets {
    list-style: none;
    margin-bottom: 24px;
}

.tier-bullets li {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.tier-bullets li strong {
    color: var(--jade-green);
    font-family: var(--font-mono);
}

/* 6 Cutting-Edge Features Grid */
.features-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 36px;
}

.feat-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.feat-item h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.feat-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 3-Step Setup Pipeline */
.pipeline-section {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.pipe-card {
    background: var(--bg-slate);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 24px;
}

.pipe-step-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--jade-green);
    margin-bottom: 10px;
}

.pipe-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.pipe-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Educational Deep Dive Prose */
.prose-section {
    padding: 80px 0;
    max-width: 860px;
    margin: 0 auto;
}

.prose-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.prose-section p {
    font-size: 15.5px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 18px;
}

/* FAQ Accordion */
.faq-box {
    max-width: 820px;
    margin: 36px auto 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-deep);
    cursor: pointer;
    user-select: none;
    outline: none;
}

.faq-item summary:hover {
    color: var(--jade-green);
}

.faq-answer {
    padding: 0 24px 18px 24px;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Closing CTA */
.closing-box {
    background: var(--navy-deep);
    color: #ffffff;
    border-radius: 18px;
    padding: 64px 32px;
    text-align: center;
    margin: 64px 0;
}

.closing-box h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.closing-box p {
    font-size: 16.5px;
    color: #a7f3d0;
    max-width: 580px;
    margin: 0 auto 28px 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: var(--shadow-card);
}

.download-card h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy-deep);
    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: #021a10;
    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: #34d399;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
}

/* Responsive */
@media (max-width: 860px) {
    .pillars-grid-4, .tier-cards-grid, .features-grid-6, .pipeline-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;
    }
}
