@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary: #1E3A8A;
    --primary-light: #2563EB;
    --secondary: #D97706;
    --bg-main: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --border-color: #E2E8F0;
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary);
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.2s;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Base Styles & Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}
h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary); }
h2 { font-size: 2rem; margin-bottom: 1.5rem; text-align: center; }
p { margin-bottom: 1.25rem; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Header & Nav */
header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-img {
    width: 40px;
    height: 40px;
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}
nav a {
    font-weight: 500;
    color: var(--text-muted);
}
nav a:hover, nav a.active {
    color: var(--primary);
}
.btn-cta {
    background-color: var(--secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-block;
}
.btn-cta:hover {
    background-color: #B45309;
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Sections Grid Layout */
section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
.hero-sec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-content {
    padding-right: 1rem;
}
.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Stats */
.stats-sec {
    background-color: var(--primary);
    color: white;
    text-align: center;
    border-radius: 12px;
    padding: 3rem;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Steps - How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.step-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary);
    text-align: center;
}
.step-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Features Block */
.features-sec {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}
.features-list {
    list-style: none;
}
.features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
}
.features-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.service-card-body {
    padding: 1.5rem;
}
.service-card img {
    border-radius: 8px 8px 0 0;
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card.recommended {
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.15);
}
.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}
.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1.5rem 0;
}
.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}
.pricing-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}
.pricing-features li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Lead Form Section */
.form-container {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
}
input:focus, textarea:focus {
    outline: 2px solid var(--primary-light);
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

/* Trust Elements & Trust Layer */
.trust-principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.principle-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--secondary);
}
.trust-layer {
    background-color: #F1F5F9;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    text-align: center;
}
.trust-layer-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: #94A3B8;
    padding: 4rem 1.5rem 2rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.footer-column h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.75rem;
}
.footer-column a {
    color: #94A3B8;
}
.footer-column a:hover {
    color: white;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -300px;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: bottom 0.5s ease-out;
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.cookie-text {
    font-size: 0.95rem;
    line-height: 1.5;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.btn-cookie-accept {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}
.btn-cookie-reject {
    background: transparent;
    color: #94A3B8;
    border: 1px solid #475569;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

/* Custom Accordion */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
}
.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}
.accordion-content {
    display: none;
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
    background: #F8FAFC;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-sec, .features-sec {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stats-sec {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid, .pricing-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        width: 100%;
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        gap: 1rem;
    }
    .header-container {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}