/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2B2E63;
    --accent: #FF5C5C;
    --secondary: #3FFFD8;
    --bg-light: #F6F7FB;
    --text-dark: #1F1F1F;
    --gradient: linear-gradient(135deg, #2B2E63 0%, #FF5C5C 100%);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link-cta {
    background: var(--gradient);
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
}

.nav-link-cta:hover {
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-open {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-link {
        font-size: 18px;
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(43, 46, 99, 0.85) 0%, rgba(255, 92, 92, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-text {
        font-size: 16px;
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-submit {
    width: 100%;
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.section-about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-text {
    font-size: 17px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   TYPES SECTION
   =================================== */
.section-types {
    background: #fff;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.type-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent);
}

.type-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.type-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.type-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.type-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.type-features {
    margin-top: 20px;
}

.type-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
}

.type-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.section-benefits {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent);
}

.benefit-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.benefit-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PROCESS SECTION
   =================================== */
.section-process {
    background: #fff;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% - 30px);
    background: linear-gradient(180deg, var(--secondary) 0%, transparent 100%);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(255, 92, 92, 0.3);
}

.process-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.process-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.process-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .process-icon {
        width: 60px;
        height: 60px;
    }

    .process-icon svg {
        width: 30px;
        height: 30px;
    }

    .process-step:not(:last-child)::after {
        left: 30px;
    }
}

/* ===================================
   COMPLIANCE SECTION
   =================================== */
.section-compliance {
    background: var(--primary);
    color: #fff;
}

.compliance-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.compliance-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #fff;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.compliance-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.compliance-image {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.compliance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compliance-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--secondary);
}

.compliance-item p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .compliance-title {
        font-size: 28px;
    }
}

/* ===================================
   FAQ SECTION
   =================================== */
.section-faq {
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-checkbox {
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-checkbox:checked + .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .faq-checkbox:checked ~ .faq-answer {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.section-contact {
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info img {
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-details h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-details p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item span {
    font-size: 15px;
    color: #555;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group select {
    cursor: pointer;
    background: #fff;
}

.form-group select option {
    color: black;
    background-color: white;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--accent);
    text-decoration: underline;
}

.form-checkbox label a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===================================
   COOKIE POPUP
   =================================== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
    max-width: 600px;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    min-width: 200px;
}

.cookie-content p a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-content button {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-content button {
        width: 100%;
    }
}

/* ===================================
   LEGAL PAGES STYLES
   =================================== */
.legal-hero {
    background: var(--gradient);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.legal-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.legal-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.legal-content {
    max-width: 900px;
    margin: 60px auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 2px solid var(--bg-light);
}

.legal-content h2 {
    font-size: 28px;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 22px;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content ul li {
    list-style: disc;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.legal-contact {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.legal-contact h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
}

.legal-contact p {
    font-size: 15px;
    margin-bottom: 10px;
}

.legal-contact strong {
    color: var(--primary);
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0 40px;
    }

    .legal-hero h1 {
        font-size: 32px;
    }

    .legal-content {
        margin: 40px 20px;
        padding: 30px 20px;
    }

    .legal-content h2 {
        font-size: 24px;
    }

    .legal-content h3 {
        font-size: 20px;
    }
}

/* ===================================
   THANK YOU PAGE
   =================================== */
.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.thank-you-content {
    max-width: 700px;
    width: 100%;
}

.thank-you-box {
    background: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid var(--bg-light);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thank-you-icon svg {
    width: 50px;
    height: 50px;
    color: #fff;
}

.thank-you-content h1 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.thank-you-content .btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .thank-you-box {
        padding: 40px 30px;
    }

    .thank-you-content h1 {
        font-size: 32px;
    }

    .thank-you-content p {
        font-size: 16px;
    }
}

/* Extra content pages */
.page-hero {
    background: var(--gradient);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-content-block {
    max-width: 900px;
    margin: 60px auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 2px solid var(--bg-light);
}

.page-content-block h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 25px;
}

.page-content-block p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.page-content-block ul {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content-block ul li {
    list-style: disc;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-content-block {
        margin: 40px 20px;
        padding: 30px 20px;
    }

    .page-content-block h2 {
        font-size: 26px;
    }
}
