/* Palette: Deep Purple, Gold, Dark Grey, Off-White */
:root {
    --primary: #4A235A;
    --primary-light: #6C3483;
    --secondary: #D4AC0D;
    --secondary-hover: #B9770E;
    --dark: #2C3E50;
    --light: #F4F6F6;
    --white: #FFFFFF;
    --text-main: #34495E;
    --text-muted: #7F8C8D;
    --border: #E5E8E8;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    background-color: var(--light);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    z-index: 100;
    letter-spacing: 1px;
}

.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(--primary);
    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-weight: 600;
    color: var(--dark);
}

.desktop-nav a:hover {
    color: var(--secondary);
}

.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(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a {
    color: var(--dark);
    font-weight: 600;
    display: block;
}

@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);
    }
}

/* V2 Unique: Diagonal Hero */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content-left {
    padding: 60px 20px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    color: var(--white);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-image-right {
    width: 100%;
    height: 300px;
}

.hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-diagonal {
        flex-direction: row;
        min-height: 600px;
    }
    .hero-content-left {
        width: 50%;
        padding: 100px 5% 100px 10%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .hero-image-right {
        width: 50%;
        height: auto;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* V2 Unique: 2x2 Grid Section */
.core-concepts-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 36px;
    color: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-2x2 {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.concept-card {
    background-color: var(--light);
    padding: 40px;
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 15px;
    line-height: 1;
}

.concept-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* V2 Unique: Overlap Section */
.overlap-section {
    padding: 80px 0;
    background-color: var(--light);
}

.overlap-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.overlap-image {
    width: 100%;
    height: 300px;
}

.overlap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlap-content {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 20px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.overlap-content h2 {
    color: var(--secondary);
}

@media (min-width: 992px) {
    .overlap-wrapper {
        flex-direction: row;
        align-items: center;
    }
    .overlap-image {
        width: 60%;
        height: 500px;
    }
    .overlap-content {
        width: 50%;
        margin-top: 0;
        margin-left: -10%;
        padding: 60px;
        box-shadow: -10px 10px 30px rgba(0,0,0,0.1);
    }
}

/* V2 Unique: Accordion Section */
.habits-accordion-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header-left {
    margin-bottom: 40px;
    max-width: 600px;
}

.accordion-container {
    max-width: 800px;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.accordion-toggle {
    display: none;
}

.accordion-header {
    display: block;
    padding: 20px;
    background-color: var(--light);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    color: var(--dark);
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #e9ecec;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: var(--white);
    padding: 0 20px;
}

.accordion-toggle:checked ~ .accordion-content {
    max-height: 500px;
    padding: 20px;
}

.accordion-toggle:checked ~ .accordion-header::after {
    content: '-';
}

/* CTA Banner */
.cta-banner {
    background-color: var(--secondary);
    padding: 60px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 32px;
}

.cta-content p {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 30px;
}

/* Page Headers */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-title {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* V2 Unique: Numbered Modules (Program) */
.numbered-modules {
    padding: 80px 0;
    background-color: var(--white);
}

.module-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    position: relative;
}

.module-number {
    font-size: 80px;
    font-weight: 900;
    color: var(--secondary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.module-content {
    background-color: var(--light);
    padding: 40px;
    border-left: 4px solid var(--primary);
}

.module-content h2 {
    color: var(--primary);
    font-size: 28px;
}

.module-inline-img {
    margin-top: 20px;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .module-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }
    .module-row.reverse {
        flex-direction: row-reverse;
    }
    .module-number {
        font-size: 120px;
        width: 20%;
        text-align: center;
    }
    .module-content {
        width: 80%;
    }
    .module-row.reverse .module-content {
        border-left: none;
        border-right: 4px solid var(--primary);
    }
}

.program-cta {
    padding: 60px 0;
    background-color: var(--light);
}

.cta-box {
    background-color: var(--primary);
    padding: 50px;
    text-align: center;
    color: var(--white);
}

.cta-box h2 {
    color: var(--secondary);
}

/* V2 Unique: Vertical Timeline (Mission) */
.timeline-section {
    padding: 80px 0;
    background-color: var(--white);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 0 40px 50px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--secondary);
    border: 4px solid var(--white);
    border-radius: 50%;
    left: 10px;
    top: 25px;
    z-index: 2;
}

.timeline-content {
    background-color: var(--light);
    padding: 30px;
    position: relative;
}

.timeline-date {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.timeline-image {
    margin-top: 20px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .timeline-container::after {
        left: 50%;
    }
    .timeline-item {
        width: 50%;
        padding: 20px 40px 40px 0;
        left: 0;
    }
    .timeline-item:nth-child(even) {
        left: 50%;
        padding: 20px 0 40px 40px;
    }
    .timeline-dot {
        left: auto;
        right: -10px;
    }
    .timeline-item:nth-child(even) .timeline-dot {
        left: -10px;
        right: auto;
    }
}

.manifesto-section {
    padding: 60px 0 80px;
    background-color: var(--white);
}

.manifesto-box {
    background-color: var(--secondary);
    padding: 50px;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-box h2 {
    color: var(--primary);
}

.manifesto-box p {
    font-size: 20px;
    font-style: italic;
}

/* V2 Unique: Contact Layout */
.contact-cards-section {
    padding: 60px 0 20px;
    background-color: var(--light);
}

.contact-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .contact-cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-info-card {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-form-section {
    padding: 60px 0 80px;
    background-color: var(--light);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-wrapper h2 {
    text-align: center;
    color: var(--primary);
}

.form-wrapper > p {
    text-align: center;
    margin-bottom: 30px;
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    background-color: var(--light);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 10px;
}

/* Legal Pages */
.legal-section {
    padding: 80px 0;
    background-color: var(--white);
}

.legal-section h1 {
    color: var(--primary);
    margin-bottom: 10px;
}

.legal-section h2 {
    color: var(--dark);
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 24px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    background-color: var(--light);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--white);
    padding: 50px;
    border-top: 5px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.thank-you-box h1 {
    color: var(--primary);
}

.next-steps {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.thank-you-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

@media (min-width: 500px) {
    .thank-you-links {
        flex-direction: row;
        justify-content: center;
    }
}

/* Footer (Strict Rules) */
.site-footer {
    background-color: var(--dark) !important;
    color: var(--white) !important;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    font-size: 28px;
    color: var(--secondary) !important;
    margin-bottom: 20px;
}

.footer-info p {
    color: #bdc3c7 !important;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white) !important;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a, .footer-contact p {
    color: #bdc3c7 !important;
    text-decoration: none;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--secondary) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-legal a {
    color: #bdc3c7 !important;
    margin: 0 10px;
    font-size: 14px;
}

.footer-bottom p {
    color: #bdc3c7 !important;
    font-size: 14px;
    margin: 0;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* 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(--primary);
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.cookie-btn-accept {
    background-color: var(--secondary);
    color: var(--white);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

@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;
    }
}