/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #6B4E9E;
    --primary-dark: #553D7D;
    --primary-light: #9B7BC7;
    --accent-color: #FFD700;
    --text-color: #333333;
    --text-light: #666666;
    --background: #FAFAFA;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

/* Header and Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo:hover {
    color: var(--primary-dark);
}

.logo-icon {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    position: relative;
    transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    left: 0;
    transition: transform var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background: #e6c200;
    border-color: #e6c200;
    color: var(--text-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 280px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    background: var(--white);
    padding: 60px 20px;
}

.features .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-card {
    background: var(--background);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card svg {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Intro Section */
.intro-section {
    padding: 60px 20px;
    background: var(--background);
}

.intro-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.intro-section p {
    max-width: 800px;
    margin: 0 auto 15px;
    color: var(--text-light);
    text-align: center;
}

/* Testimonials */
.testimonials {
    background: var(--white);
    padding: 60px 20px;
}

.testimonials h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.testimonial-card {
    background: var(--background);
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    border-left: 4px solid var(--accent-color);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 15px;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Page */
.about-intro {
    padding: 60px 20px;
    background: var(--white);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-visual {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

/* Philosophy Section */
.philosophy {
    padding: 60px 20px;
    background: var(--background);
}

.philosophy h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.philosophy-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.philosophy-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.philosophy-item svg {
    margin-bottom: 15px;
}

.philosophy-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.philosophy-item p {
    color: var(--text-light);
}

/* Expertise Section */
.expertise {
    padding: 60px 20px;
    background: var(--white);
}

.expertise h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.expertise > .container > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.expertise-list {
    max-width: 700px;
}

.expertise-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.expertise-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* Values Section */
.values {
    padding: 60px 20px;
    background: var(--background);
    text-align: center;
}

.values h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.values p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--text-light);
}

.values .btn {
    margin-top: 20px;
}

/* Services Page */
.services-intro {
    padding: 40px 20px;
    background: var(--white);
    text-align: center;
}

.services-intro p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

.services-list {
    padding: 40px 20px;
    background: var(--background);
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
}

.service-icon {
    flex-shrink: 0;
}

.service-content {
    flex: 1;
    min-width: 250px;
}

.service-content h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-price {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
}

.services-note {
    padding: 60px 20px;
    background: var(--white);
    text-align: center;
}

.services-note h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.services-note p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page */
.contact-section {
    padding: 60px 20px;
    background: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.contact-item p {
    color: var(--text-color);
}

.contact-visual {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

/* Consultation Info */
.consultation-info {
    padding: 60px 20px;
    background: var(--background);
}

.consultation-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.process-step {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    box-shadow: var(--shadow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-step h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
    background: var(--white);
}

.faq-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-light);
}

/* Thank You Page */
.thank-you-section {
    padding: 60px 20px;
    background: var(--white);
}

.thank-you-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

.thank-you-icon {
    margin-bottom: 30px;
}

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

.thank-you-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.thank-you-visual {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

/* What Next Section */
.what-next {
    padding: 60px 20px;
    background: var(--background);
}

.what-next h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
}

.next-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.next-step {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: var(--shadow);
}

.next-step-icon {
    display: inline-block;
    margin-bottom: 15px;
}

.next-step h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.next-step p {
    color: var(--text-light);
}

/* Legal Pages */
.legal-content {
    padding: 40px 20px;
    background: var(--white);
}

.legal-article {
    max-width: 800px;
    margin: 0 auto 40px;
}

.legal-article h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.legal-article h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.legal-article p {
    color: var(--text-color);
    margin-bottom: 12px;
}

.legal-article ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-article li {
    color: var(--text-color);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.legal-article li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-nav,
.footer-legal {
    flex: 1;
    min-width: 150px;
}

.footer-nav h4,
.footer-legal h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-nav a,
.footer-legal a {
    display: block;
    color: var(--white);
    opacity: 0.8;
    padding: 5px 0;
    transition: opacity var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 2000;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    color: var(--text-color);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.cookie-modal.visible {
    display: flex;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.cookie-option {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-of-type {
    border-bottom: none;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.cookie-option p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 28px;
}

.cookie-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .nav-menu a::after {
        display: none;
    }

    .hero {
        padding: 40px 20px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-visual svg {
        width: 250px;
        height: 250px;
    }

    .page-hero {
        padding: 40px 20px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .features,
    .testimonials,
    .intro-section,
    .cta-section,
    .about-intro,
    .philosophy,
    .expertise,
    .values,
    .services-list,
    .services-note,
    .contact-section,
    .consultation-info,
    .faq-section,
    .thank-you-section,
    .what-next,
    .legal-content {
        padding: 40px 20px;
    }

    .feature-card,
    .testimonial-card,
    .service-card {
        min-width: 100%;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .cookie-modal-buttons {
        flex-direction: column;
    }

    .cookie-modal-buttons .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 0;
}
