/*
 * Design System: Bold Editorial
 * Border Style: Pill
 * Shadow Style: Dramatic
 * Color Mode: Dark
 * Color Palette: Graphite & Copper
*/

:root {
    --color-background: #121212;
    --color-surface: #1E1E1E;
    --color-text: #EAEAEA;
    --color-text-muted: #999999;
    --color-primary: #D97706; /* Amber/Copper */
    --color-secondary: #FBBF24; /* Lighter Amber */
    --color-border: #333333;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
    --font-family-headings: 'Georgia', serif;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    background-color: var(--color-background);
    color: var(--color-text);
}

h1, h2, h3, h4 {
    font-family: var(--font-family-headings);
    color: var(--color-text);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

.section {
    padding: 48px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-dark {
    background-color: var(--color-background);
}

.section-light {
    background-color: var(--color-surface);
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: clamp(24px, 4vw, 28px);
    font-weight: bold;
    z-index: 100;
    color: var(--color-text);
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-size: 16px;
    font-weight: 500;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; /* Header height + border */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--color-surface);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.mobile-nav a {
    font-size: 18px;
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    #menu-toggle:checked ~ .mobile-nav { max-height: 400px; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px; /* pill */
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-background);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.btn-full-width {
    width: 100%;
}

/* --- Hero Section (Grid Overlap) --- */
.hero-section-overlap {
    padding: 60px 0;
    overflow: hidden;
}

.hero-overlap-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-overlap {
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.hero-content-overlap {
    z-index: 2;
}

.hero-title-giant {
    font-size: clamp(46px, 9vw, 60px);
    margin-bottom: 24px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 32px;
}

@media (min-width: 992px) {
    .hero-overlap-container {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .hero-content-overlap {
        padding-left: 40px;
        transform: translateX(-120px);
        background: var(--color-surface);
        padding: 40px;
        border-radius: 28px;
        box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    }
}

/* --- Section Titles (Bold Editorial) --- */
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    text-align: center;
}

.section-title-huge {
    font-size: clamp(40px, 7vw, 72px);
    margin-bottom: 24px;
    text-align: center;
}

.section-intro {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 48px auto;
    text-align: center;
}

/* --- Benefits Horizontal Scroll --- */
.hscroll-container {
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.hscroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.benefits-hscroll {
    display: flex;
    gap: 24px;
    padding: 0 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.benefit-card-hscroll {
    background-color: var(--color-surface);
    padding: 32px;
    border-radius: 28px;
    width: 320px;
    flex-shrink: 0;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card-hscroll:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.30);
}
.benefit-card-hscroll .card-title {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .benefits-hscroll { padding: 0 24px; }
    .benefit-card-hscroll { width: 360px; }
}

/* --- Two Column Image & Text --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.feature-image {
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 24px;
}
.feature-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}
.feature-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-primary);
}
@media (min-width: 768px) {
    .two-col-container { grid-template-columns: 1fr 1fr; }
    .two-col-container.reverse .two-col-image { order: 2; }
}

/* --- CTA Banner --- */
.cta-banner-section {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    padding: 60px 0;
}
.cta-banner-content {
    text-align: center;
}
.cta-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--color-background);
}
.cta-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-background);
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 32px auto;
}
.cta-banner-section .btn-secondary {
    background: var(--color-background);
    color: var(--color-primary);
    border-color: var(--color-background);
}
.cta-banner-section .btn-secondary:hover {
    background: transparent;
    color: var(--color-background);
}

/* --- Stats Bar --- */
.stats-bar-section {
    background-color: var(--color-surface);
    padding: 40px 0;
}
.stats-bar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: clamp(36px, 6vw, 64px);
    font-family: var(--font-family-headings);
    color: var(--color-primary);
    display: block;
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
    display: block;
}
@media (min-width: 768px) {
    .stats-bar-container { grid-template-columns: repeat(4, 1fr); }
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
    overflow-x: auto;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}
.comparison-table thead th {
    font-size: 18px;
    font-family: var(--font-family-headings);
    color: var(--color-primary);
    border-bottom-width: 2px;
}
.comparison-table tbody tr:hover {
    background-color: var(--color-surface);
}
.comparison-table td:nth-child(3) {
    font-weight: bold;
    color: var(--color-secondary);
}

/* --- Page Hero --- */
.page-hero {
    padding: 60px 0;
    text-align: center;
}
.page-title {
    font-size: clamp(40px, 7vw, 72px);
}
.page-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Accordion (Program) --- */
.accordion-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
}
.accordion-item {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    margin-bottom: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.accordion-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* For Safari */
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header h3 {
    margin: 0;
    font-size: clamp(18px, 2.5vw, 22px);
}
.accordion-header::after {
    content: '+';
    font-size: 28px;
    font-weight: bold;
    color: var(--color-primary);
    transition: transform 0.3s;
}
.accordion-item[open] .accordion-header::after {
    transform: rotate(45deg);
}
.accordion-content {
    padding: 0 24px 24px 24px;
}

/* --- Section with Background Image --- */
.with-bg-image {
    background-size: cover;
    background-position: center;
    position: relative;
}
.with-bg-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(18, 18, 18, 0.8);
    z-index: 1;
}
.with-bg-image .container {
    position: relative;
    z-index: 2;
}
.text-focus-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* --- Timeline (Mission) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 3px solid var(--color-surface);
    top: 15px;
    left: 11.5px;
    z-index: 1;
}
.timeline-date {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.timeline-content h3 {
    font-size: 22px;
}
@media (max-width: 768px) {
    .timeline::after { left: 10px; }
    .timeline-item { padding-left: 40px; }
    .timeline-dot { left: 1.5px; }
}

/* --- Manifesto Section --- */
.manifesto-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.manifesto-image {
    border-radius: 28px;
}
@media (min-width: 992px) {
    .manifesto-container { grid-template-columns: 1fr 1.2fr; }
}

/* --- Contact Page --- */
.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-muted);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text);
    font-size: 16px;
}
.contact-form textarea {
    border-radius: 28px;
    resize: vertical;
}
.contact-info-item {
    margin-bottom: 24px;
}
.contact-info-title {
    font-size: 16px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (min-width: 992px) {
    .contact-layout-split { grid-template-columns: 1.5fr 1fr; }
}

/* --- Text Container (Legal Pages) --- */
.text-container {
    max-width: 800px;
}
.text-container h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-top: 2em;
    margin-bottom: 1em;
}
.text-container p, .text-container li {
    color: var(--color-text-muted);
}

/* --- Thank You Page --- */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-separator {
    height: 2px;
    width: 80px;
    background-color: var(--color-primary);
    margin: 40px auto;
}
.thank-you-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-surface) !important;
    color: var(--color-text-muted) !important;
    padding: 60px 0 0 0;
    border-top: 1px solid var(--color-border);
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-heading {
    font-size: 18px;
    color: var(--color-text) !important;
    margin-bottom: 16px;
}
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav li {
    margin-bottom: 10px;
}
.footer-nav a, .footer-column a {
    color: var(--color-text-muted) !important;
}
.footer-nav a:hover, .footer-column a:hover {
    color: var(--color-primary) !important;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid var(--color-border);
}
.footer-bottom p {
    margin: 0;
    font-size: 14px;
}
@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    background-color: var(--color-surface);
    color: var(--color-text);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--color-background);
}
.cookie-btn-decline {
    background-color: var(--color-border);
    color: var(--color-text);
}
@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}