/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #4F46E5;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4F46E5;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    background: #4F46E5;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-icon {
    width: 50px;
    height: 50px;
    color: #4F46E5;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.service-card h3 a {
    text-decoration: none;
    color: #4F46E5;
    font-size: 1.3rem;
}

.service-card h3 a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #4F46E5;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-info {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}

/* Newsletter Section */
#newsletter {
    background: #4F46E5;
    color: white;
}

#newsletter .section-header h2 {
    color: white;
}

#newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

#newsletter-form button {
    background: #06B6D4;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

#newsletter-form button:hover {
    background: #0891b2;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #4F46E5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4F46E5;
}

.social-links {
    display: flex;
    gap: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    #newsletter-form {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Legal Pages Styling */
.legal-content {
    padding: 60px 0;
    background: white;
}

.legal-content h1 {
    color: #4F46E5;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.legal-content .last-updated {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 40px;
}

.legal-content h2 {
    color: #1f2937;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.legal-content h3 {
    color: #374151;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h4 {
    color: #4b5563;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul, .legal-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid #4F46E5;
}

/* Service Pages Styling */
.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.service-header {
    max-width: 800px;
    margin: 0 auto;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    color: white;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.service-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.service-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content h2 {
    color: #1f2937;
    font-size: 2rem;
    margin-bottom: 25px;
}

.main-content h3 {
    color: #374151;
    font-size: 1.5rem;
    margin: 35px 0 20px;
}

.main-content h4 {
    color: #4b5563;
    font-size: 1.2rem;
    margin: 25px 0 15px;
}

.feature-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item svg {
    width: 24px;
    height: 24px;
    color: #4F46E5;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item h4 {
    margin: 0 0 8px 0;
    color: #1f2937;
}

.feature-item p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

.sidebar {
    background: white;
    padding: 0;
    height: fit-content;
}

.info-box {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-box.highlight {
    border-color: #4F46E5;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.info-box.urgent {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.info-box h4 {
    color: #1f2937;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #4b5563;
}

/* Thank You Page Styling */
.thank-you-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 70vh;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.success-message h3 {
    color: #1f2937;
    margin: 30px 0 20px;
}

.newsletter-benefits, .next-steps, .contact-offer, .additional-info {
    text-align: left;
    margin: 30px 0;
    padding: 25px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #4F46E5;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 25px 0;
}

.secondary-button {
    display: inline-block;
    background: #6b7280;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.secondary-button:hover {
    background: #4b5563;
}

/* Cookie Management Styling */
.cookie-category {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #4F46E5;
}

.browser-instructions {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #e5e7eb;
}

.browser-instructions h4 {
    color: #1f2937;
    margin: 20px 0 10px;
}

.cookie-controls {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #4F46E5;
    margin: 30px 0;
}

.cookie-toggle-section {
    margin: 20px 0;
}

.cookie-toggle-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.cookie-toggle-item label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
}

.cookie-toggle-item input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.toggle-note {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: normal;
    margin-left: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0 0;
}

.cookie-accept, .cookie-necessary, .cookie-custom {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: #4F46E5;
    color: white;
}

.cookie-accept:hover {
    background: #4338ca;
}

.cookie-necessary {
    background: #6b7280;
    color: white;
}

.cookie-necessary:hover {
    background: #4b5563;
}

.cookie-custom {
    background: #06B6D4;
    color: white;
}

.cookie-custom:hover {
    background: #0891b2;
}

/* Process Steps and Timelines */
.process-steps, .process-timeline {
    margin: 30px 0;
}

.step-item, .timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number, .timeline-marker, .step-icon {
    width: 40px;
    height: 40px;
    background: #4F46E5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content, .timeline-content {
    flex: 1;
}

.timeline-note {
    color: #dc2626;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
    display: block;
}

/* Case Examples and Success Stories */
.case-examples, .success-stories, .scenario-examples {
    margin: 30px 0;
}

.case-item, .story-item, .scenario {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #06B6D4;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.story-result {
    background: #10b981;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.scenario-details {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.scenario-details p {
    margin: 8px 0;
    line-height: 1.6;
}

/* Statistics and Calculations */
.success-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #4F46E5;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 10px;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

.financial-impact {
    margin: 30px 0;
}

.impact-example {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.calculation {
    margin-top: 15px;
}

.calc-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.calc-line.highlight {
    background: #fef3c7;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    border-bottom: none;
    margin: 10px 0;
}

.calc-line.result {
    background: #d1fae5;
    padding: 12px;
    border-radius: 5px;
    font-weight: 700;
    color: #065f46;
    border-bottom: none;
    margin: 10px 0;
}

/* Warning Boxes and Special Content */
.warning-box {
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.warning-box h4 {
    color: #dc2626;
    margin: 0 0 10px 0;
}

.warning-signs, .benefit-list {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #f59e0b;
}

.cta-section {
    background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h3 {
    color: white;
    margin-bottom: 15px;
}

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

.cta-section.urgent {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.cta-button.urgent {
    background: white;
    color: #dc2626;
    font-weight: 700;
}

.cta-button.urgent:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Planning Categories */
.planning-services {
    margin: 30px 0;
}

.planning-category {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #10b981;
}

.planning-category h4 {
    color: #1f2937;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.planning-process {
    margin: 30px 0;
}

.process-step {
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    left: 19px;
    top: 65px;
    width: 2px;
    height: 30px;
    background: #e5e7eb;
}

.cost-benefit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.cost-section, .benefit-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cost-section {
    border-left: 4px solid #f59e0b;
}

.benefit-section {
    border-left: 4px solid #10b981;
}

/* Responsive adjustments for service pages */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cost-benefit {
        grid-template-columns: 1fr;
    }
    
    .success-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.2rem;
    }
    
    .service-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-content {
        padding: 30px 20px;
    }
    
    .calc-line {
        flex-direction: column;
        gap: 5px;
    }
}