/* =========================================
   ABOUT US PAGE COLOR SYSTEM
   ========================================= */

:root {
    /* Brand Accent Colors */
    --primary: #1e40af;          /* Trustworthy Slate/Royal Blue */
    --primary-dark: #1e3a8a;     /* Deep Abyssal Blue */
    --primary-light: #eff6ff;    /* Sky tint for background panels */
    --accent-green: #065f46;     /* Valley Forest Green for growth & directory */
    --accent-green-bg: #d1fae5;  /* Soft green background tint for badges */
    
    /* Text Tone System */
    --text-main: #0f172a;        /* Deep slate charcoal (softer than pure black) */
    --text-muted: #334155;       /* Visible, rich mid-tone charcoal for reading readability */
    
    /* Structural Surface Colors */
    --bg-light: #f8fafc;         /* Bright cool gray tint */
    --bg-tint-warm: #f4f4f5;     /* Soft warm stone tint to break monotony */
    --bg-white: #ffffff;
    --border: #cbd5e1;           /* Crisper border line contrast */
    --radius: 18px;
    --shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Core Layout */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* =========================================
   HERO SECTION (Rich Deep Gradient)
   ========================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 10vw, 8rem) 0;
    text-align: center;
    color: #fff;
    /* Deep multi-tone palette based on local landscape and technology hues */
    background: linear-gradient(-45deg, #0b1329, #1e3a8a, #1d4ed8, #0f766e);
    background-size: 400% 400%;
    animation: heroGradient 18s ease infinite;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: #93c5fd; /* Soft sky color contrast text */
    display: block;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 0.75rem;
}

.hero p {
    max-width: 650px;
    margin: 1.5rem auto;
    color: #f1f5f9;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
}

.hero-price {
    display: inline-block;
    max-width: 600px;
    margin-top: 1.5rem;
    padding: 16px 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

/* =========================================
   MAIN CONTENT COLOR PLAY
   ========================================= */

main {
    padding: clamp(4rem, 8vw, 6rem) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 8vw, 6rem);
}

section {
    max-width: 800px;
    margin-inline: auto;
    width: 92%;
}

section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* Bright distinct color strip directly below titles */
section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 0.6rem;
}

section p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    text-wrap: pretty;
}

section p:last-of-type {
    margin-bottom: 0;
}

/* Alternate color block background accentuation */
.about-content:nth-of-type(2) {
    background-color: var(--primary-light);
    padding: 3rem;
    border-radius: var(--radius);
    border-left: 6px solid var(--primary);
}

.about-content:nth-of-type(2) h2::after {
    display: none; /* Strip not needed with left-side solid border layout */
}

/* Local Focus highlights section styling */
.how-it-works {
    background: var(--bg-tint-warm);
    padding: 3rem;
    border-radius: var(--radius);
    border-top: 4px solid var(--text-main);
}

.how-it-works h2::after {
    background: var(--text-main);
}

/* =========================================
   DIRECTORY PANEL PROMO (Contrasting Green Theme)
   ========================================= */

.business-directory-promo {
    background: #f0fdf4; /* Pale mint field overlay */
    border: 1px solid #bbf7d0;
    padding: clamp(2.5rem, 5vw, 4rem);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.business-directory-promo h2 {
    color: #064e3b;
}

.business-directory-promo h2::after {
    background: var(--accent-green);
    margin-inline: auto;
}

.audit-badge {
    display: inline-block;
    background: var(--accent-green-bg);
    color: var(--accent-green);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #a7f3d0;
}

.business-directory-promo p {
    max-width: 650px;
    margin-inline: auto;
    color: #047857;
}

/* Color matched Call-to-action Button styles */
.btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    background: linear-gradient(135deg, var(--accent-green), #047857);
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.5);
    background: linear-gradient(135deg, #047857, #065f46);
}

/* =========================================
   ANIMATIONS & SYSTEMS LOOP
   ========================================= */

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .about-content:nth-of-type(2),
    .how-it-works {
        padding: 1.75rem;
    }
    
    .business-directory-promo {
        padding: 2.5rem 1.25rem;
    }
}
