/* ==================================== */
/* 1. Global Reset & Utilities */
/* ==================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #007bff; /* Primary Brand Blue (EscrowLock uses a strong primary color) */
    --color-accent: #ff5722;  /* Call to Action Orange */
    --color-text: #333;
    --color-light: #f4f7f9; /* Light background for alternating sections */
    --font-sans: 'Helvetica Neue', Arial, sans-serif; 
}

body {
    font-family: var(--font-sans);
    line-height: 1.7; /* Increased line height for readability */
    color: var(--color-text);
    background-color: white;
}

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

/* Consistent Spacing */
.section {
    padding: 80px 0;
    text-align: center;
}
.section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--color-primary); /* Use brand color for titles */
}
.bg-light {
    background-color: var(--color-light);
}
.bg-primary {
    background-color: var(--color-primary);
}
.text-white {
    color: white !important;
}

/* --- Responsive Images --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Subtle rounding helps professionalism */
}

/* --- Buttons/CTAs --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600; /* Slightly bolder */
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
}
.primary-btn {
    background: var(--color-accent);
    color: white;
    border: 2px solid var(--color-accent);
}
.primary-btn:hover {
    background-color: #e64a19;
    border-color: #e64a19;
}
.ghost {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.ghost:hover {
    background-color: var(--color-primary);
    color: white;
}
.large-btn {
    font-size: 1.15em;
    padding: 15px 40px;
}
.final-cta-section .final-cta-btn {
    background: white; /* Invert color for high contrast */
    color: var(--color-primary);
    border-color: white;
    margin-top: 20px;
}
.final-cta-section .final-cta-btn:hover {
    background: var(--color-light);
    color: var(--color-primary);
}

/* ==================================== */
/* 2. Header & Hero Layout (Flexbox) */
/* ==================================== */

.main-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.brand {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-primary);
}
.hero {
    /* Large space at top/bottom for impact */
    padding: 120px 0; 
    background-image: linear-gradient(180deg, var(--color-light) 0%, white 100%);
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
}
.hero-content .col {
    flex: 1;
}
.hero-content h1 {
    font-size: 3em;
    margin: 20px 0 15px;
    line-height: 1.2;
}
.hero-content .badge {
    background: var(--color-accent);
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
}


/* ==================================== */
/* 3. Simple Steps Section (CSS Grid) */
/* ==================================== */

.steps-grid {
    display: grid;
    /* 4 columns on desktop, adapts to smaller screens */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.step-item {
    position: relative;
    padding-top: 40px; /* Space for the number */
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-primary);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
}

.step-item h3 {
    margin-bottom: 10px;
    color: var(--color-primary);
}


/* ==================================== */
/* 4. Who Can Use Section (CSS Grid) */
/* ==================================== */

.audiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.audience-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-accent); /* Accent stripe */
    text-align: left;
}
.audience-card h3 {
    color: var(--color-accent);
    margin-bottom: 10px;
}


/* ==================================== */
/* 5. FAQ & ABOUT Sections */
/* ==================================== */
.about-section {
    max-width: 800px;
    text-align: center;
}
.about-content {
    margin-top: 30px;
    text-align: left;
    line-height: 1.8;
}
.about-footer-cta {
    padding: 50px 0;
}
.about-footer-cta h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--color-primary);
}
.about-footer-cta p {
    max-width: 700px;
    margin: 0 auto 25px;
}

/* FAQ Details Styling (Improved professionalism) */
.faq-section {
    max-width: 800px;
}
details {
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s;
}
summary {
    font-weight: bold;
    outline: none;
    color: var(--color-primary);
    list-style: none;
}
summary::before {
    content: "▸"; /* Custom arrow */
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.2s;
}
details[open] summary::before {
    content: "▾";
}
details p {
    padding: 10px 0 0 25px;
    color: #555;
    line-height: 1.6;
}


/* ==================================== */
/* 6. Mobile Responsiveness (Media Query) */
/* ==================================== */

@media (max-width: 850px) {
    .section {
        padding: 60px 0;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
    }
    .hero-content .media-col {
        order: -1; 
        margin-bottom: 30px;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    
    /* Ensure actions stack nicely */
    .hero-content .actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content .actions a {
        width: 100%;
        max-width: 300px;
    }

    /* Stack Header Nav */
    .nav-bar {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==================================== */
/* 7. Footer Styles */
/* ==================================== */

.main-footer {
    background-color: #222;
    color: #ccc;
    padding: 30px 0;
    font-size: 0.9em;
}
.main-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: white;
}
@media (max-width: 600px) {
    .main-footer .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-links a {
        margin: 5px 10px;
    }
}