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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
    font-size: 16px;
}

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

a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a5a8a;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.8rem;
}

li {
    margin-bottom: 0.6rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie.accept {
    background-color: #27ae60;
    color: #ffffff;
}

.btn-cookie.accept:hover {
    background-color: #229954;
}

.btn-cookie.reject {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-cookie.reject:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Navigation */
.main-nav {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #2980b9;
}

.hamburger {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

.nav-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1rem;
}

.nav-menu li {
    margin-bottom: 0;
}

.nav-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: #2c3e50;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: #f8f9fa;
    color: #2980b9;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-sticky {
    background-color: #e74c3c;
    color: #ffffff;
    padding: 1rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(231,76,60,0.4);
    transition: all 0.3s ease;
}

.btn-sticky:hover {
    background-color: #c0392b;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(231,76,60,0.5);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44,62,80,0.95), rgba(52,73,94,0.9)), url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?w=1600&h=900&fit=crop') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 3rem 1.5rem;
}

.hero-overlay {
    max-width: 900px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-hero {
    display: inline-block;
    background-color: #e74c3c;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231,76,60,0.4);
}

/* Content Sections */
.content-section {
    padding: 4rem 1.5rem;
}

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.intro-section {
    background-color: #f8f9fa;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
}

.problem-section {
    background-color: #ffffff;
}

.problem-highlight {
    background-color: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 2rem;
    margin: 2.5rem 0;
}

.large-text {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
    color: #2c3e50;
}

/* Image Break */
.image-break {
    margin: 0;
    padding: 0;
}

.image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

/* Insight Section */
.insight-section {
    background-color: #ecf0f1;
}

.insight-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.insight-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.insight-item h3 {
    color: #2980b9;
    margin-bottom: 1rem;
}

/* CTA Inline */
.cta-inline {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.btn-primary {
    display: inline-block;
    background-color: #e74c3c;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231,76,60,0.3);
}

/* Testimonial Section */
.testimonial-section {
    background-color: #34495e;
    padding: 4rem 1.5rem;
    color: #ffffff;
}

.testimonial-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
    color: #ecf0f1;
}

.testimonial-author {
    font-weight: 600;
    color: #ffffff;
}

/* Trust Section */
.trust-section {
    background-color: #ffffff;
}

.trust-highlight {
    background-color: #d5f4e6;
    border-left: 4px solid #27ae60;
    padding: 2rem;
    margin: 2.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Benefits Section */
.benefits-section {
    background-color: #f8f9fa;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.3rem;
}

.emphasis-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2rem;
}

/* Urgency Section */
.urgency-section {
    background-color: #fef5e7;
}

.urgency-math {
    background-color: #ffffff;
    border: 2px solid #f39c12;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.math-line {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #d35400;
}

.math-text {
    font-size: 1rem;
    margin-top: 1.5rem;
    color: #2c3e50;
}

/* Services Pricing Section */
.services-pricing-section {
    background-color: #ecf0f1;
    padding: 4rem 1.5rem;
}

.services-pricing-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card.featured {
    border: 3px solid #e74c3c;
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e74c3c;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-description {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.service-features li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.8rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2980b9;
    margin-top: 1.5rem;
}

/* Form Section */
.form-section {
    background-color: #2c3e50;
    padding: 4rem 1.5rem;
    color: #ffffff;
}

.form-section h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

.form-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #ecf0f1;
}

.application-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ecf0f1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #ffffff;
    color: #2c3e50;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background-color: #e74c3c;
    color: #ffffff;
    padding: 1.1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background-color: #1a1a1a;
    color: #ecf0f1;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #34495e;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.page-hero h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 1.5rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
}

.thanks-content h1 {
    color: #27ae60;
    margin-bottom: 1.5rem;
}

.thanks-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.thanks-details {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.next-steps {
    text-align: left;
    margin: 3rem 0;
}

.steps-list {
    margin-top: 1.5rem;
}

.steps-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.thanks-cta {
    margin-top: 2.5rem;
}

/* Services Detail */
.services-detail-section {
    padding: 3rem 1.5rem;
}

.service-detail-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.featured-service {
    border: 3px solid #e74c3c;
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.service-price-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2980b9;
}

.service-detail-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.service-detail-list {
    margin: 1.5rem 0;
}

.service-detail-list li {
    margin-bottom: 0.8rem;
}

/* Comparison Section */
.comparison-section {
    background-color: #f8f9fa;
    padding: 4rem 1.5rem;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.comparison-table th {
    background-color: #2c3e50;
    color: #ffffff;
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* FAQ Section */
.faq-section {
    background-color: #ffffff;
    padding: 4rem 1.5rem;
}

.faq-item {
    margin-bottom: 2.5rem;
}

.faq-item h3 {
    color: #2980b9;
    margin-bottom: 0.8rem;
}

/* CTA Section */
.cta-section {
    background-color: #e74c3c;
    color: #ffffff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.cta-section .btn-primary {
    background-color: #ffffff;
    color: #e74c3c;
}

.cta-section .btn-primary:hover {
    background-color: #ecf0f1;
    color: #c0392b;
}

/* Stats Section */
.stats-section {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 4rem 1.5rem;
}

.stats-section h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #ecf0f1;
}

/* Methodology Grid */
.methodology-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.method-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2980b9;
}

.method-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 1.5rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 2rem;
}

.contact-detail h3 {
    color: #2980b9;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-note {
    background-color: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
    margin-top: 2rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 1.5rem;
    background-color: #ffffff;
}

.last-updated {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.legal-page h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.legal-page h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #34495e;
}

/* Tablet Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }

    .hamburger {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        padding: 0;
        gap: 0.5rem;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
    }

    .insight-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .insight-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .testimonial-wrapper {
        flex-direction: row;
    }

    .services-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .service-card.featured {
        flex: 1 1 100%;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-column {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .stats-grid {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }

    .methodology-grid {
        flex-direction: row;
    }

    .method-card {
        flex: 1;
    }

    .contact-grid {
        flex-direction: row;
    }

    .contact-info,
    .contact-map {
        flex: 1;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-subtext {
        font-size: 1.25rem;
    }

    .content-section {
        padding: 5rem 1.5rem;
    }

    .image-container {
        height: 500px;
    }

    .services-grid {
        flex-wrap: nowrap;
    }

    .service-card {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

    .service-card.featured {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

    .insight-item {
        flex: 1 1 calc(33.333% - 1.5rem);
    }
}
