/* ============================================================
   Gabe Protection & Rights Commission
   Concept A+C Hybrid — "The Institution" meets "The Regulatory Body"
   Designed by BERGAI / S.W.A.R.M. — June 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
    --ink: #1a1a1a;
    --bg: #fafaf8;
    --accent: #c0392b;
    --accent-hover: #a93226;
    --muted: #6b6b6b;
    --border: #e0ded8;
    --card-bg: #ffffff;
    --nav-bg: #141414;
    --overlay: rgba(0,0,0,0.55);
    --serif: 'Crimson Text', Georgia, serif;
    --sans: 'Source Sans 3', system-ui, sans-serif;
}

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

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
.section-label {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* ---- NAVIGATION ---- */
nav {
    background: var(--nav-bg);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 3px;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* ---- HERO ---- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #fff;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(192,57,43,0.15) 0%, transparent 60%);
}
.hero-inner { position: relative; z-index: 1; max-width: 750px; }
.hero h1 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}
.hero p {
    font-family: var(--sans);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 2.5rem;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 3px;
    transition: background 0.2s;
}
.hero-cta:hover { background: var(--accent-hover); }

/* ---- SECTION LAYOUT ---- */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }

/* ---- CRISIS STATS ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
}
.stat-number {
    font-family: var(--serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.5;
}
.stat-source {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 0.75rem;
    font-style: italic;
}

/* ---- TIER COMPARISON TABLE (Concept C) ---- */
.tier-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 0.9rem;
}
.tier-table th {
    background: var(--ink);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tier-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--card-bg);
}
.tier-table tr:nth-child(even) td { background: #f8f8f6; }
.tier-check { color: var(--accent); font-weight: 700; }
.tier-dash { color: var(--muted); }

/* ---- PRODUCT CARDS ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}
.product-card.featured { border-color: var(--accent); border-width: 2px; }
.product-card h3 { margin-bottom: 1rem; }
.product-price {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.product-frequency {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.product-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; flex: 1; }
.product-desc ul { margin: 0.5rem 0 0 1.25rem; }
.product-desc li { margin-bottom: 0.35rem; }
.product-fineprint {
    font-size: 0.75rem;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.btn-enrol {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.85rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 3px;
    transition: background 0.2s;
}
.btn-enrol:hover { background: var(--accent-hover); }

/* ---- DATA VIZ (Concept C) ---- */
.chart-bar-group { margin-top: 2rem; }
.chart-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.chart-label {
    width: 120px;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    flex-shrink: 0;
}
.chart-fill {
    height: 28px;
    background: var(--accent);
    opacity: 0.85;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    min-width: 40px;
}
.chart-caption {
    font-size: 0.7rem;
    color: var(--muted);
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
}

/* ---- TESTIMONIAL ---- */
.testimonial {
    background: var(--nav-bg);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
}
.testimonial blockquote {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.5;
}
.testimonial cite {
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---- RICHBERG TIMELINE ---- */
.timeline { margin-top: 2rem; }
.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.timeline-year {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 80px;
    flex-shrink: 0;
}
.timeline-content h4 { margin-bottom: 0.25rem; }
.timeline-content p { color: var(--muted); font-size: 0.9rem; }

/* ---- CONTACT ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border);
    font-family: var(--sans);
    font-size: 0.9rem;
    background: var(--card-bg);
    border-radius: 3px;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.btn-submit {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s;
}
.btn-submit:hover { background: var(--accent); }

/* ---- FOOTER ---- */
footer {
    background: var(--nav-bg);
    color: #888;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 2;
}
footer a { color: #ccc; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    nav { padding: 0 1rem; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.7rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; gap: 0.25rem; }
}
@media (max-width: 500px) {
    .nav-links a.nav-hide { display: none; }
    section { padding: 3rem 1rem; }
}
