/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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: #1E293B;
    background-color: #F8FAFC;
}

/* Color Palette */
:root {
    --primary: #6B46C1;
    --secondary: #EC4899;
    --tertiary: #10B981;
    --bg-main: #F8FAFC;
    --bg-section: #FFFFFF;
    --bg-alt: #F1F5F9;
    --text-main: #1E293B;
    --text-secondary: #64748B;
    --border: #E2E8F0;
}

/* Header */
.main-header {
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    background: linear-gradient(135deg, #6B46C1 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s;
    border-radius: 3px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6B46C1 0%, #EC4899 100%);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 16px rgba(107, 70, 193, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .menu-toggle:checked ~ .main-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    background-image: url('./img/CSlmeX.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.8) 0%, rgba(236, 72, 153, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.4);
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: var(--bg-section);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Services Section */
.services {
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-section);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.1);
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
    background: linear-gradient(180deg, rgba(107, 70, 193, 0.05) 0%, rgba(236, 72, 153, 0.02) 100%);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    background: var(--bg-section);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-card:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.15);
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Process Section */
.process {
    background: var(--bg-alt);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #6B46C1 0%, #EC4899 100%);
}

.process-step {
    position: relative;
    background: var(--bg-section);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }

.process-step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: -3rem;
    top: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #6B46C1 0%, #EC4899 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.2rem;
}

.process-steps {
    counter-reset: step-counter;
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-section);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
}

.testimonial-company {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-alt);
    padding: 5rem 2rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-section);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #6B46C1 0%, #EC4899 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.3s;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--bg-section);
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-group a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #6B46C1 0%, #EC4899 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.4);
}

/* FAQ Preview Section */
.faq-preview {
    background: var(--bg-section);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-alt);
    border-radius: 12px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    list-style: none;
    position: relative;
    transition: background 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: rgba(107, 70, 193, 0.05);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.faq-link {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.main-footer {
    background: var(--text-main);
    color: #FFFFFF;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6B46C1 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #6B46C1 0%, #EC4899 100%);
    color: #FFFFFF;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 16px rgba(107, 70, 193, 0.3);
    z-index: 10000;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    background: #FFFFFF;
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-link {
    color: #FFFFFF;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.cookie-link:hover {
    opacity: 0.8;
}

/* Policy Pages */
.policy-page {
    padding: 3rem 2rem;
    min-height: calc(100vh - 200px);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-section);
    padding: 3rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.1);
}

.policy-container h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.policy-container h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.policy-container h3 {
    color: var(--text-main);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.policy-container p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.policy-container ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.policy-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.policy-contact h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.policy-back {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.policy-back:hover {
    color: var(--secondary);
}

/* Content Pages */
.content-page {
    padding: 3rem 2rem;
    min-height: calc(100vh - 200px);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-section);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.1);
}

.content-container h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.content-container h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-container p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-main);
    font-size: 1.1rem;
}

.content-container ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-container li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.content-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Thank You Page */
.thank-you-page {
    padding: 5rem 2rem;
    text-align: center;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-container {
    max-width: 600px;
    background: var(--bg-section);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.2);
}

.thank-you-container h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thank-you-container p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .policy-container,
    .content-container {
        padding: 2rem 1.5rem;
    }
}

