:root {
    --color-primary: #1a365d;
    --color-secondary: #2d6a4f;
    --color-accent: #48cae4;
    --color-dark: #0d1b2a;
    --color-light: #f8fafc;
    --color-muted: #64748b;
    --color-white: #ffffff;
    --color-bg-alt: #e2e8f0;
    --color-success: #059669;
    --color-warning: #d97706;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.7;
    background-color: var(--color-light);
}

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

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

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

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

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

.header-top {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ad-disclosure {
    background-color: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo span {
    color: var(--color-secondary);
}

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

.main-nav a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 700px;
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #245c43;
    color: var(--color-white);
}

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

.btn-secondary:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

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

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section-accent {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.section-dark .section-title,
.section-accent .section-title {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin-bottom: 50px;
    max-width: 600px;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* Problem Section */
.problem-section {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
}

.problem-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.problem-content {
    flex: 1;
}

.problem-image {
    flex: 1;
    background-color: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.problem-list {
    list-style: none;
    margin-top: 30px;
}

.problem-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.problem-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Solution Section */
.solution-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}

.solution-image {
    flex: 1;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.solution-content {
    flex: 1;
}

.solution-list {
    list-style: none;
    margin-top: 30px;
}

.solution-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Services/Pricing */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1 1 320px;
    max-width: 380px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-image {
    height: 180px;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

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

.service-card-content {
    padding: 25px;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.service-card-desc {
    color: var(--color-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-card-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.service-card-price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-muted);
}

/* Testimonials */
.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.testimonial {
    background-color: var(--color-white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 4rem;
    color: var(--color-secondary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-primary);
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-location {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Features */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    flex: 1 1 280px;
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--color-white);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.section-dark .feature-title {
    color: var(--color-white);
}

.feature-desc {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.section-dark .feature-desc {
    color: rgba(255,255,255,0.7);
}

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

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Form Styles */
.form-section {
    background-color: var(--color-light);
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-bg-alt);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

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

.about-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-sidebar {
    flex: 1;
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.stats-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-label {
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-grid {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1;
}

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

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.contact-item-content h4 {
    margin-bottom: 5px;
    color: var(--color-primary);
}

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

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

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

/* Thanks Page */
.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-white);
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--color-white);
}

.thanks-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thanks-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 30px;
}

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

.footer-col {
    flex: 1 1 200px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

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

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

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-white);
}

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

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* Disclaimer */
.disclaimer {
    background-color: var(--color-bg-alt);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.disclaimer-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-dark);
}

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

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

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

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

.cookie-text p {
    margin-bottom: 5px;
}

.cookie-text a {
    color: var(--color-accent);
}

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

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.cookie-accept:hover {
    background-color: #245c43;
}

.cookie-reject {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--color-white);
}

.cookie-reject:hover {
    border-color: var(--color-white);
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    position: relative;
}

.process-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 80px;
    width: 2px;
    height: calc(100% - 50px);
    background-color: var(--color-bg-alt);
}

.process-step:last-child::before {
    display: none;
}

.process-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.process-content p {
    color: var(--color-muted);
}

/* Benefits Grid */
.benefits-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.benefits-row:nth-child(even) {
    flex-direction: row-reverse;
}

.benefit-card {
    flex: 1;
    background-color: var(--color-white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

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

.benefit-card p {
    color: var(--color-muted);
}

/* Image Container Fallback */
.image-container {
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

/* References Section */
.references-section {
    background-color: var(--color-light);
    padding: 40px 0;
    border-top: 1px solid var(--color-bg-alt);
}

.references-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.references-list {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.references-list a {
    color: var(--color-primary);
    word-break: break-all;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .problem-grid,
    .solution-grid,
    .about-content,
    .contact-grid {
        flex-direction: column;
    }

    .benefits-row,
    .benefits-row:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: var(--shadow-md);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

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

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

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

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .stats-grid {
        flex-wrap: wrap;
    }

    .header-top .container {
        justify-content: center;
        text-align: center;
    }
}
