/* Palette: Vibrant Violet/Tech */
:root {
    --dark-bg: #110F1A;
    --dark-card: #1D1B26;
    --primary-accent: #A020F0; /* Purple */
    --secondary-accent: #DA70D6; /* Orchid */
    --light-text: #F0F0F0;
    --gray-text: #B2B3B1;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.07);
    --pill-radius-card: 32px;
    --pill-radius-btn: 50px;
}

/* --- GLOBAL STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--gray-text);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-text);
}

h1, h2, h3, h4 {
    color: var(--light-text);
    line-height: 1.2;
    margin-top: 0;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.section:nth-of-type(odd) {
    background-color: var(--dark-card);
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
}

.section-title-left {
    text-align: left;
    margin-bottom: 24px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.text-center {
    text-align: center;
}

/* --- HEADER --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.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;
    color: var(--light-text);
    z-index: 100;
}

.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(--light-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 .nav-list a {
    color: var(--gray-text);
    font-weight: 500;
}

.desktop-nav .nav-list a:hover {
    color: var(--primary-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--dark-card);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav li a {
    display: block;
    width: 100%;
    color: var(--light-text);
}

@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); }
    .tabs-nav label {
        width: 100%;
        text-align: center;
    }
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--pill-radius-btn);
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-accent);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.btn-secondary:hover {
    background-color: var(--primary-accent);
    color: var(--light-text);
}

/* --- HERO (Vertical Stack) --- */
.hero-vertical-stack {
    display: flex;
    flex-direction: column;
}
.hero-image-container {
    height: 55vh;
    width: 100%;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-container {
    padding: 64px 0;
    background-color: var(--dark-card);
}
.hero-title {
    margin-bottom: 16px;
}
.hero-subtitle {
    max-width: 800px;
    margin-bottom: 32px;
}

/* --- BENEFITS (3 Columns) --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card {
    background: rgba(29, 27, 38, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--pill-radius-card);
    box-shadow: 0 2px 12px var(--shadow-color);
}
.card-title {
    color: var(--secondary-accent);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- ACCORDION FAQ --- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion details {
    background-color: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--pill-radius-card);
    margin-bottom: 16px;
    padding: 16px 24px;
}
.accordion summary {
    font-weight: bold;
    color: var(--light-text);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 24px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5em;
    color: var(--primary-accent);
    transition: transform 0.2s;
}
.accordion details[open] summary::after {
    transform: rotate(45deg);
}
.accordion p {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* --- SPLIT SECTION (Two Columns Image) --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.split-image {
    border-radius: var(--pill-radius-card);
}
.feature-list {
    list-style: none;
    padding-left: 0;
}
.feature-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
    font-weight: bold;
}

@media (min-width: 768px) {
    .split-container { grid-template-columns: 1fr 1fr; }
}

/* --- STATS BAR --- */
.stats-bar-section {
    background-color: var(--primary-accent);
}
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 24px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: bold;
    color: var(--light-text);
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    color: var(--light-text);
    max-width: 200px;
}

/* --- ICON FEATURES --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.icon-feature-item {
    text-align: center;
    padding: 24px;
    background-color: var(--dark-card);
    border-radius: var(--pill-radius-card);
}
.icon-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

@media (min-width: 500px) {
    .icon-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .icon-features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- PAGE HERO (generic) --- */
.page-hero {
    padding: 48px 0;
    text-align: center;
    background-color: var(--dark-card);
}
.page-title { margin-bottom: 16px; }
.page-subtitle { max-width: 800px; margin: 0 auto; }

/* --- TABS (Program) --- */
.tabs {
    position: relative;
}
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.tabs-nav label {
    padding: 12px 24px;
    cursor: pointer;
    border-radius: var(--pill-radius-btn) var(--pill-radius-btn) 0 0;
    transition: all 0.3s ease;
    color: var(--gray-text);
}
.tabs-nav label:hover {
    background-color: var(--dark-card);
}
.tab-panel {
    display: none;
    padding: 24px;
    background-color: var(--dark-card);
    border-radius: var(--pill-radius-card);
}
.tab-title { margin-bottom: 16px; color: var(--secondary-accent); }
.tab-image {
    margin-top: 24px;
    border-radius: var(--pill-radius-card);
}
input[name="tabs"] { display: none; }
#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"] {
    background-color: var(--dark-card);
    color: var(--primary-accent);
    font-weight: bold;
}
#t1:checked ~ #p1,
#t2:checked ~ #p2,
#t3:checked ~ #p3,
#t4:checked ~ #p4 {
    display: block;
}

/* --- TIMELINE (Mission) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--dark-bg);
    border: 4px solid var(--primary-accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--dark-card);
    border-radius: var(--pill-radius-card);
}
.timeline-date {
    font-weight: bold;
    color: var(--secondary-accent);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.timeline-image { border-radius: 16px; margin-top: 16px; }
@media (max-width: 768px) {
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 15px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 10px; }
}

/* --- CONTACT FORM & CARDS --- */
.contact-form-centered {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark-card);
    padding: 32px;
    border-radius: var(--pill-radius-card);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-text);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    border-radius: var(--pill-radius-btn);
}
.form-group textarea {
    border-radius: var(--pill-radius-card);
    resize: vertical;
}
.contact-details-section {
    padding-top: 0;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}
.contact-card {
    background-color: var(--dark-card);
    padding: 32px;
    border-radius: var(--pill-radius-card);
    text-align: center;
}
.contact-card-icon { font-size: 2.5rem; }
.contact-card-title { margin: 16px 0 8px 0; }
@media (min-width: 768px) {
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- LEGAL & THANK YOU PAGES --- */
.legal-content h1, .legal-content h2, .legal-content h3 {
    margin-top: 2em;
    margin-bottom: 1em;
}
.legal-content ul {
    padding-left: 20px;
}
.thank-you-section {
    padding: 80px 0;
}
.thank-you-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 24px;
}
.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.quick-link-card {
    background-color: var(--dark-card);
    padding: 24px;
    border-radius: var(--pill-radius-card);
}
.quick-link-card a {
    font-weight: bold;
}
@media (min-width: 768px) {
    .quick-links-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--dark-card) !important;
    color: var(--gray-text) !important;
    padding: 48px 0 0 0;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.footer-column h4 {
    color: var(--light-text);
    margin-bottom: 16px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column li {
    margin-bottom: 10px;
}
.footer-column a, .footer-column p, .footer-column li {
    color: var(--gray-text) !important;
}
.footer-column a:hover {
    color: var(--primary-accent) !important;
}
.footer-bottom {
    text-align: center;
    padding: 24px;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
}
@media (min-width: 600px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr 2fr; }
}

/* --- 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: rgba(29, 27, 38, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
}
#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: none;
    border-radius: var(--pill-radius-btn);
    cursor: pointer;
    font-weight: 500;
}
.cookie-btn-accept { background-color: var(--primary-accent); color: var(--light-text); }
.cookie-btn-decline { background-color: var(--dark-bg); color: var(--gray-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; }
}