/* 
  Palette: Purple/Grey/Charcoal (Cold/Contrast)
  Primary: #5E35B1 (Deep Purple)
  Secondary: #9575CD (Soft Purple)
  Dark: #212121 (Charcoal)
  Light: #FAFAFA (Off-white)
  Accent: #FFB300 (Amber - safe, no green/blue)
*/

:root {
    --primary: #5E35B1;
    --secondary: #9575CD;
    --dark: #212121;
    --light: #FAFAFA;
    --accent: #FFB300;
    --text: #333333;
    --border: #E0E0E0;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: #FFFFFF;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.center-text {
    text-align: center;
}

.bg-light {
    background-color: var(--light);
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 16px; font-size: 1.1rem; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--dark);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-full { width: 100%; }
.btn-large { padding: 18px 36px; font-size: 1.2rem; }

/* Header Layout (Strict Template) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark);
    color: #FFFFFF;
}

.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: #FFFFFF;
}

.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: #FFFFFF;
    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 {
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--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(--dark);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a {
    color: #FFFFFF;
    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); }
}

/* UNIQUE LAYOUT: Diagonal Hero */
.hero-diagonal {
    display: flex;
    min-height: 80vh;
    background-color: var(--light);
    overflow: hidden;
    position: relative;
}

.hero-content-left {
    flex: 1;
    padding: 10% 5% 10% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.badge {
    background-color: var(--secondary);
    color: #FFF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-right {
    flex: 1;
    position: relative;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .hero-diagonal { flex-direction: column; }
    .hero-content-left { padding: 40px 20px; }
    .hero-image-right { clip-path: none; height: 400px; }
}

/* UNIQUE LAYOUT: Stats Bar */
.stats-bar {
    background-color: var(--primary);
    color: #FFF;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* UNIQUE LAYOUT: 2x2 Grid */
.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.benefit-card-v2 {
    background: #FFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s;
}

.benefit-card-v2:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .grid-2x2 { grid-template-columns: 1fr 1fr; }
}

/* UNIQUE LAYOUT: Overlap Section */
.overlap-section {
    padding: 100px 0;
    background-color: var(--dark);
    color: #FFF;
}

.overlap-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.overlap-image-box {
    width: 100%;
    height: 400px;
}

.overlap-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlap-content-box {
    background: var(--primary);
    padding: 50px;
    margin-top: -100px;
    margin-left: auto;
    width: 90%;
    position: relative;
    z-index: 2;
}

.overlap-content-box h2 { color: #FFF; }

.custom-list {
    list-style: none;
    margin-top: 20px;
}

.custom-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

@media (min-width: 992px) {
    .overlap-image-box { width: 70%; height: 500px; }
    .overlap-content-box { width: 50%; margin-top: -300px; }
}

/* UNIQUE LAYOUT: Accordion FAQ */
.accordion-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    margin-bottom: 15px;
    background: #FFF;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-toggle {
    display: none;
}

.accordion-header {
    display: block;
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: var(--dark);
}

.accordion-header::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-toggle:checked ~ .accordion-content {
    max-height: 300px;
    padding-bottom: 20px;
}

.accordion-toggle:checked ~ .accordion-header::after {
    content: "-";
    transform: rotate(180deg);
}

/* Page Headers */
.page-header {
    background-color: var(--primary);
    color: #FFF;
    padding: 80px 0;
}

.page-header h1 { color: #FFF; margin-bottom: 10px; }
.page-subtitle { font-size: 1.2rem; opacity: 0.9; }

/* UNIQUE LAYOUT: Numbered Modules */
.module-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px;
}

.module-number {
    font-size: 6rem;
    font-weight: bold;
    color: var(--secondary);
    opacity: 0.2;
    line-height: 1;
}

.module-content {
    flex: 1;
}

@media (min-width: 768px) {
    .module-row { flex-direction: row; }
    .module-row.reverse { flex-direction: row-reverse; }
    .module-number { font-size: 10rem; width: 30%; text-align: center; }
    .module-content { width: 70%; }
}

/* Image Banner */
.image-banner { width: 100%; height: 400px; overflow: hidden; }
.full-width-img { width: 100%; height: 100%; object-fit: cover; }

/* CTA Sidebar Layout */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-grid { grid-template-columns: 2fr 1fr; }
}

/* UNIQUE LAYOUT: Vertical Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--secondary);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    padding: 20px 0 40px 60px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary);
    border-radius: 50%;
    left: 13px;
    top: 25px;
    z-index: 1;
}

.timeline-date {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .timeline-container::after { left: 50%; }
    .timeline-item { width: 50%; padding: 20px 40px; }
    .timeline-item:nth-child(odd) { left: 0; text-align: right; }
    .timeline-item:nth-child(even) { left: 50%; }
    .timeline-dot { left: auto; right: -8px; }
    .timeline-item:nth-child(even) .timeline-dot { left: -8px; }
}

/* UNIQUE LAYOUT: Asymmetric Grid */
.asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.value-box {
    background: #FFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.value-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .asymmetric-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .large-box {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
}

/* Contact Layout */
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-info-card {
    background: var(--primary);
    color: #FFF;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
}

.contact-info-card h3 { color: var(--accent); }

@media (min-width: 768px) {
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Form */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #FFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom-form input, .custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}

.custom-form input:focus, .custom-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
}
.legal-container h2 { margin-top: 40px; }

/* Thank You Page */
.thank-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
}
.thank-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer (Strict Protection) */
.site-footer {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #FFFFFF !important;
    margin-bottom: 20px;
}

.footer-links, .footer-contact {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
    color: #CCCCCC !important;
}

.footer-links a, .footer-contact a {
    color: #CCCCCC !important;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--accent) !important;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333333 !important;
    color: #999999 !important;
}

@media (min-width: 768px) {
    .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(--dark);
    color: #FFF;
    transform: translateY(0);
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 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: 0.9rem; }
#cookie-banner a { color: var(--accent); text-decoration: underline; }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept { background: var(--primary); color: #FFF; border: none; padding: 8px 16px; cursor: pointer; border-radius: 4px; }
.cookie-btn-decline { background: transparent; color: #FFF; border: 1px solid #FFF; padding: 8px 16px; cursor: pointer; border-radius: 4px; }

@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; }
}