/*
 * Design System: Dynamic Tech
 * Border Style: Pill
 * Shadow Style: Subtle
 * Color Mode: Mixed
 * Palette: Graphite & Amber
 *   - Dark: #1A1D2E
 *   - Light: #F9F9F9
 *   - Accent: #FFA726
 *   - Text Dark: #1A1D2E
 *   - Text Light: #EAEAEA
 */

:root {
    --color-dark-bg: #1A1D2E;
    --color-light-bg: #F9F9F9;
    --color-accent: #FFA726;
    --color-accent-darker: #F57C00;
    --color-text-dark: #1A1D2E;
    --color-text-light: #EAEAEA;
    --color-border: rgba(255, 255, 255, 0.1);
    --border-radius-card: 32px;
    --border-radius-btn: 50px;
    --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.08);
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- General & Reset --- */
body {
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--color-light-bg);
    color: var(--color-text-dark);
    line-height: 1.7;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-darker);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.dark-section {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
}

.dark-section h1, .dark-section h2, .dark-section h3 {
    color: var(--color-text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(28px, 5vw, 42px);
    margin: 0 0 16px;
}

.section-header p {
    font-size: 18px;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.dark-section .section-header p {
    color: rgba(234, 234, 234, 0.7);
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul {
    padding-left: 20px;
}

/* --- Header & Navigation --- */
.site-header {
    position: absolute;
    width: 100%;
    padding: 15px 10px;
    z-index: 1000;
    background: transparent;
    background: #1A1D2E;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--color-text-light);
}

.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;
    margin: 5px 0;
    transition: 0.3s;
    background-color: var(--color-text-light);
}

.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 .nav-list a {
    color: var(--color-text-light);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--color-dark-bg);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}

.mobile-nav a {
    color: var(--color-text-light);
    font-size: 18px;
    width: 100%;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-radius: var(--border-radius-btn);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-dark-bg);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-darker);
    border-color: var(--color-accent-darker);
    color: var(--color-dark-bg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark-bg);
    border-color: var(--color-dark-bg);
}

.btn-secondary:hover {
    background-color: var(--color-dark-bg);
    color: var(--color-light-bg);
}

.dark-section .btn-secondary, .cta-banner-section .btn-secondary {
    color: var(--color-light-bg);
    border-color: var(--color-light-bg);
}

.dark-section .btn-secondary:hover, .cta-banner-section .btn-secondary:hover {
    background-color: var(--color-light-bg);
    color: var(--color-dark-bg);
}

/* --- Hero Section (Asymmetric) --- */
.hero-section {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-asymmetric {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content-container {
    position: relative;
    z-index: 2;
}

.hero-text-content {
    max-width: 55%;
}

.hero-asymmetric h1 {
    font-size: clamp(36px, 6vw, 64px);
    margin-bottom: 24px;
}

.hero-asymmetric .subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

/* --- Benefits Section (3-col) --- */
.benefits-grid-3col {
    display: grid;
    gap: 32px;
}

.benefit-card {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius-card);
    text-align: center;
    box-shadow: var(--shadow-subtle);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    background-color: var(--color-accent);
    color: var(--color-dark-bg);
    border-radius: var(--border-radius-btn);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-icon svg {
    width: 32px;
    height: 32px;
}
.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

/* --- Two-Col Section --- */
.two-col-grid {
    display: grid;
    align-items: center;
    gap: 60px;
}

.two-col-image img {
    border-radius: var(--border-radius-card);
}

.two-col-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.two-col-text ul {
    list-style: none;
    padding: 0;
}

.two-col-text ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.two-col-text ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* --- Checklist Block --- */
.checklist-grid {
    display: grid;
    gap: 16px 32px;
}

.check-item {
    font-size: 18px;
    font-weight: 500;
    padding-left: 40px;
    position: relative;
}

.check-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--color-accent);
    border-radius: var(--border-radius-btn);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A1D2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* --- 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 {
    background-color: rgba(0,0,0,0.2);
}

.comparison-table th {
    font-size: 18px;
}

.comparison-table td {
    vertical-align: middle;
}

.check-mark {
    color: #4CAF50;
    font-size: 24px;
    font-weight: bold;
}

.cross-mark {
    color: #F44336;
    font-size: 24px;
    font-weight: bold;
}

/* --- CTA Banner --- */
.cta-banner-section {
    background-color: var(--color-accent);
    color: var(--color-dark-bg);
    padding: 60px 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}
.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
}

/* --- Page Header --- */
.page-header-section {
    padding: 140px 0 80px;
    text-align: center;
}
.page-header-section h1 {
    font-size: clamp(36px, 6vw, 56px);
}
.page-header-section .subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 16px auto 0;
    opacity: 0.9;
}
.page-header-section + .section {
    position: relative;
    z-index: 2;
}

/* --- Horizontal Tabs (Program Page) --- */
.tabs {
    max-width: 900px;
    margin: 0 auto;
}
input[name="tabs"] { 
    display: none; 
}
.tabs-nav {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #ddd;
    margin-bottom: 32px;
}
.tabs-nav label {
    padding: 16px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.tabs-nav label:hover {
    color: var(--color-text-dark);
}
.tab-panel { 
    display: none; 
    background: #fff;
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}
#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    color: var(--color-accent-darker);
    border-bottom-color: var(--color-accent-darker);
}
#t1:checked ~ #p1,
#t2:checked ~ #p2,
#t3:checked ~ #p3,
#t4:checked ~ #p4 { 
    display: block; 
}
.tab-content-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}
.tab-image img {
    border-radius: calc(var(--border-radius-card) - 16px);
}

/* --- Mission Page --- */
.story-container {
    display: grid;
    gap: 40px;
    align-items: center;
}
.story-image img {
    border-radius: var(--border-radius-card);
}
.story-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
}
.values-grid {
    display: grid;
    gap: 32px;
}
.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: var(--border-radius-card);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}
.value-card h3 {
    color: var(--color-accent);
    margin-bottom: 12px;
}
.legal-page {
    padding: 160px 0 80px;
}
/* --- Contact Page --- */
.contact-layout {
    display: grid;
    gap: 60px;
}
.contact-form-wrapper h2, .contact-info-wrapper h2 {
    font-size: 28px;
    margin-bottom: 16px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-btn);
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.contact-info-item {
    margin-bottom: 24px;
}
.contact-info-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.contact-info-item p {
    margin: 0;
}

/* --- Legal & Thank You Pages --- */
.legal-page h1, .thank-you-section h1 {
    margin-bottom: 24px;
}
.legal-page h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}
.text-center { text-align: center; }
.thank-you-icon {
    color: var(--color-accent);
    margin: 0 auto 24px;
}
.next-steps {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-dark-bg) !important;
    color: var(--color-text-light) !important;
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h4 {
    color: var(--color-accent) !important;
    margin-bottom: 20px;
}
.site-footer p, .site-footer a {
    color: rgba(234, 234, 234, 0.8) !important;
}
.site-footer a:hover {
    color: #fff !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-copyright {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    text-align: center;
}
.footer-copyright p {
    margin: 0;
    font-size: 14px;
}

/* --- 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;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}
#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 20px;
    border: none;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-dark-bg);
}
.cookie-btn-decline {
    background-color: #4A4A4A;
    color: var(--color-text-light);
}

/* --- Responsive Design (Mobile-First) --- */
@media (max-width: 992px) {
    .hero-text-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-image-container {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        opacity: 0.2;
        clip-path: none;
    }
    .hero-asymmetric {
        padding-bottom: 80px;
        padding-top: 140px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .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);
    }
    .site-header {
        background-color: var(--color-dark-bg);
        position: fixed;
        top: 0;
        padding: 10px;
    }
    main {
        padding-top: 60px; /* Adjust for fixed header */
    }
    .hero-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    .tabs-nav label {
        width: 100%;
        text-align: center;
    }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* Desktop Grid Layouts */
@media (min-width: 768px) {
    .benefits-grid-3col { grid-template-columns: repeat(3, 1fr); }
    .two-col-grid { grid-template-columns: 1fr 1fr; }
    .checklist-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 60% 1fr; }
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .tab-content-grid { grid-template-columns: 1fr 1fr; }
    .story-container { grid-template-columns: 1fr 1.2fr; }
}
