/* #7D3C98, #784212, #D4AC0D, #F8F2FF */
:root {
    --color-primary: #7D3C98;
    --color-secondary: #784212;
    --color-accent: #D4AC0D;
    --bg-tint: #F8F2FF;
    --color-light: #F8F2FF;
    --color-dark: #1F122B;
    --color-text-dark: #2C1A3D;
    --color-text-light: #F8F2FF;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(28px, 6vw, 56px);
}

h2 {
    font-size: clamp(22px, 4vw, 36px);
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
}

p {
    margin-bottom: 16px;
    font-size: clamp(14px, 4vw, 18px);
}

/* Containers & Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 80px 24px;
    }
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-dark);
    border-bottom: 2px solid var(--color-primary);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-text-light) !important;
    text-decoration: none;
    z-index: 100;
}

.logo:hover {
    color: var(--color-accent) !important;
}

/* Hamburger */
.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-accent);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

/* Desktop Navigation */
.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);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

/* Mobile Navigation */
.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);
}

.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: var(--color-text-light);
    text-decoration: none;
    font-size: 18px;
    display: block;
}

/* Responsive Menu */
@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);
    }
}

/* Color Modes & Design Style (Dynamic Tech) */
.section-light {
    background-color: var(--bg-tint);
    color: var(--color-text-dark);
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    position: relative;
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
    padding: 40px 0;
}

/* Buttons (Pill) */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(125, 60, 152, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(125, 60, 152, 0.45);
    background-color: var(--color-accent);
    color: var(--color-dark);
}

.btn-secondary-outline {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: #fff;
}

.btn-secondary-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Hero Section: Floating Card Layout */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 40px 16px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(31, 18, 43, 0.75);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
}

.floating-card {
    background: rgba(31, 18, 43, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 36px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    color: var(--color-text-light);
    text-align: center;
}

.badge {
    background-color: var(--color-accent);
    color: var(--color-dark);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

/* Card Dramatic Styles */
.card-dramatic {
    background: #ffffff;
    border-radius: 36px;
    box-shadow: 0 24px 64px rgba(125, 60, 152, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(125, 60, 152, 0.05);
    padding: 20px;
}

.card-dramatic:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(125, 60, 152, 0.2);
}

.section-dark .card-dramatic {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.section-dark .card-dramatic:hover {
    box-shadow: 0 32px 80px rgba(212, 172, 13, 0.2);
}

/* Section Header & Tags */
.section-header {
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.text-center {
    text-align: center;
}

.section-tag {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.section-dark .section-tag {
    color: var(--color-accent);
}

/* Benefits Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 20px;
    width: 4px;
    background: var(--color-primary);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-badge {
    position: absolute;
    left: 0; top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    z-index: 2;
}

.timeline-content {
    padding: 30px;
}

@media (min-width: 768px) {
    .timeline-container::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 40px;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 40px;
    }

    .timeline-badge {
        left: auto;
        right: -22px;
    }

    .timeline-item:nth-child(even) .timeline-badge {
        right: auto;
        left: -22px;
    }
}

/* Two Column Grid */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-two-col {
        grid-template-columns: 1fr 1fr;
    }
}

.rounded-img {
    border-radius: 36px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.styled-list {
    list-style: none;
    margin: 24px 0;
}

.styled-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 20px;
}

/* FAQ Accordions */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    margin-bottom: 16px;
    padding: 10px 20px;
}

.faq-card summary {
    font-weight: 700;
    font-size: 18px;
    padding: 15px 0;
    cursor: pointer;
    outline: none;
    color: var(--color-primary);
}

.faq-card summary::-webkit-details-marker {
    color: var(--color-accent);
}

.faq-answer {
    padding: 15px 0;
    border-top: 1px solid rgba(125, 60, 152, 0.1);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--color-accent);
    font-size: 20px;
    margin-bottom: 15px;
}

.user-info {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.user-name {
    display: block;
    font-weight: 700;
}

.user-role {
    font-size: 13px;
    opacity: 0.7;
}

/* CTA Banner & Forms */
.cta-wrapper {
    padding: 40px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: #fff;
}

.cta-form {
    margin-top: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-group:nth-child(4) {
        grid-column: span 2;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    padding: 14px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    font-family: var(--font-family);
}

.form-group textarea {
    border-radius: 28px;
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.15);
}

.form-submit {
    margin-top: 30px;
}

/* Horizontal Tabs (Pure CSS) */
.tabs {
    display: flex;
    flex-direction: column;
}

input[name="tabs"] {
    display: none;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.tabs-nav label {
    padding: 12px 24px;
    background-color: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.tabs-nav label:hover {
    background-color: var(--bg-tint);
}

.tab-panel {
    display: none;
    padding: 40px;
}

#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(--color-primary);
    color: #fff;
}

#t1:checked ~ #p1,
#t2:checked ~ #p2,
#t3:checked ~ #p3,
#t4:checked ~ #p4 {
    display: block;
}

/* Stats Progress Bars */
.progress-bar-group {
    margin-top: 30px;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.progress-bg {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    height: 24px;
    overflow: hidden;
}

.progress-fill {
    background-color: var(--color-accent);
    color: var(--color-dark);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    font-weight: bold;
    font-size: 12px;
    border-radius: 999px;
}

/* Timeline Dates Layout */
.dates-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.date-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .date-item {
        flex-direction: row;
        align-items: flex-start;
    }
}

.date-year {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-accent);
    min-width: 120px;
    margin-bottom: 10px;
}

.date-content {
    padding: 30px;
    flex: 1;
}

/* Contact Grid */
.grid-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .grid-contact {
        grid-template-columns: 3fr 2fr;
    }
}

.main-contact-form .form-group {
    margin-bottom: 20px;
}

.main-contact-form label {
    color: var(--color-text-dark);
}

.main-contact-form input, .main-contact-form textarea {
    background-color: #fff;
    border: 1px solid rgba(125, 60, 152, 0.2);
    color: var(--color-text-dark);
}

.main-contact-form input:focus, .main-contact-form textarea:focus {
    border-color: var(--color-primary);
    background-color: #fff;
    color: var(--color-text-dark);
}

.info-block {
    padding: 30px;
    margin-bottom: 20px;
}

/* Legal Pages */
.legal-wrapper {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 30px;
}

.legal-section {
    margin-bottom: 40px;
}

.alert-box {
    background-color: #FFF9E6;
    border-left: 5px solid var(--color-accent);
    padding: 24px;
    border-radius: 12px;
}

/* Thank You Page */
.thank-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.next-steps {
    margin: 30px 0;
    padding: 30px;
}

.text-left {
    text-align: left;
}

/* Footer (Strictly styled to avoid translation breaking) */
.site-footer {
    background-color: var(--color-dark) !important;
    color: #ffffff !important;
    padding: 60px 20px 20px 20px !important;
    border-top: 3px solid var(--color-primary) !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.8;
}

.site-footer h4 {
    color: var(--color-accent) !important;
    margin-bottom: 20px;
    font-size: 18px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer li {
    margin-bottom: 12px;
}

.site-footer a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: var(--color-accent) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
}

/* Cookie Banner styling */
.cookie-banner-box {
    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);
    border-top: 2px solid var(--color-accent);
    color: #fff;
}

.cookie-banner-box.hidden {
    transform: translateY(110%);
}

.cookie-banner-box p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

.cookie-banner-box a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    background-color: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 600px) {
    .cookie-banner-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}