:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --accent: #b45309;
    --accent-hover: #92400e;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #475569;
    --white: #ffffff;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 1.1rem;
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: var(--primary);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--white);
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

header {
    background-color: var(--primary);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo-link {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Lora', serif;
}

.logo-link img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a:focus {
    color: var(--accent);
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30,41,59,0.95), rgba(15,23,42,0.9)), url('images/hero.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 6rem 5%;
    text-align: center;
    position: relative;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover, .btn:focus {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    outline: 2px solid var(--white);
}

/* Stats Section */
.stats {
    background-color: var(--bg-light);
    padding: 3rem 5%;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
}

/* How It Works */
.how-it-works {
    padding: 4rem 5%;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--accent);
}

.step-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Features Block (Asymmetric) */
.features-asym {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--bg-light);
    padding: 4rem 5%;
}

.features-img {
    flex: 1 1 450px;
    padding: 1rem;
}

.features-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.features-text {
    flex: 1 1 450px;
    padding: 2rem;
}

.features-text h2 {
    margin-bottom: 1.5rem;
}

.features-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.features-text ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.features-text ul li::before {
    content: "✓";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Services section in index */
.services-section {
    padding: 4rem 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

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

.service-card-body {
    padding: 1.5rem;
}

.service-card-body h3 {
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-light);
    padding: 4rem 5%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--accent);
    box-shadow: 0 10px 20px rgba(180,83,9,0.15);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 0.3rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.pricing-price {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 1.5rem 0;
    font-weight: bold;
}

/* Contact Form Section */
.contact-section {
    padding: 4rem 5%;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

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

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: 2px solid var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Q&A Section */
.faq-section {
    padding: 4rem 5%;
}

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

details {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent);
}

summary {
    font-family: 'Lora', serif;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

/* Trust Layer and Legal footer */
.trust-layer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 3rem 5%;
    border-bottom: 1px solid var(--primary-light);
}

.trust-layer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.trust-block h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 2rem 5%;
    text-align: center;
    font-size: 0.95rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: var(--accent);
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 2rem 5%;
    z-index: 10000;
    display: none;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
}

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

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

.cookie-btn-alt {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
}

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

/* Responsiveness */
@media (max-width: 768px) {
    .burger {
        display: block;
    }
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    nav ul li {
        margin: 10px 5%;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .features-asym {
        flex-direction: column;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}