:root {
    --primary-color: #1E2022;
    --secondary-color: #F5F2EB;
    --accent-color: #C5A059;
    --accent-hover: #A3803B;
    --text-color: #3A3F47;
    --bg-white: #FFFFFF;
    --border-color: #E2DDD3;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 10px 20px;
    z-index: 9999;
    transition: top 0.2s ease;
}

.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;
}

:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

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

/* Header & Nav */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--accent-color);
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Base Sections */
section {
    padding: 80px 20px;
}

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

/* Custom Grid Pattern Background */
.hero-section {
    background: linear-gradient(135deg, #F5F2EB 0%, #EADECA 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    object-fit: cover;
    height: 450px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

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

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

/* Statistics */
.stats-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

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

.stat-item p {
    font-size: 1rem;
    color: var(--border-color);
}

/* Steps (How it works) */
.steps-section {
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(197, 160, 89, 0.2);
    position: absolute;
    top: 15px;
    right: 20px;
    font-weight: bold;
}

.step-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
}

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

.service-body {
    padding: 30px;
}

.service-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 15px;
    display: block;
}

/* Features Block */
.features-section {
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-img img {
    width: 100%;
    border-radius: 8px;
    height: 400px;
    object-fit: cover;
}

.features-content ul {
    list-style: none;
    margin-top: 20px;
}

.features-content li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
}

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

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.price-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.featured-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
    display: block;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
}

.price-features li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Form Section */
.form-section {
    background-color: var(--bg-white);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
}

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

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

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

/* FAQ Accordion */
.faq-section {
    background-color: var(--secondary-color);
}

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

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1rem;
    color: var(--text-color);
    background-color: #FAF9F6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px 25px;
}

/* Trust Layer & Legal Info */
.trust-layer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 40px 20px;
    border-top: 1px solid #2A2E33;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.trust-left h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.trust-right {
    text-align: right;
}

.trust-right a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #121416;
    color: #8E949D;
    padding: 40px 20px;
    font-size: 0.85rem;
    border-top: 1px solid #1D2124;
}

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

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: #8E949D;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 25px;
    z-index: 9999;
    display: none;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
}

/* Media Queries */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .price-card.featured {
        transform: none;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid, .services-grid, .features-grid, .trust-container {
        grid-template-columns: 1fr;
    }
    .hero-image img, .features-img img {
        height: 300px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 71px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.nav-active {
        display: flex;
    }
    .burger {
        display: flex;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .trust-right {
        text-align: left;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}