/* ==========================================================================
   MILLION-DOLLAR EMD TEMPLATE - AIRBNB-INSPIRED UI UPGRADE
   ========================================================================== */

:root {
    /* Airbnb Tokens */
    --primary: #ff385c;
    --primary-active: #e00b41;
    --ink: #222222;
    --body: #3f3f3f;
    --muted: #6a6a6a;
    --hairline: #dddddd;
    --hairline-soft: #ebebeb;
    --canvas: #ffffff;
    --surface-soft: #f7f7f7;
    
    /* Dynamic Theme Overrides (Optional) */
    --accent: var(--primary);
    
    /* Typography */
    --font-head: 'Outfit', -apple-system, system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
    
    /* Radii */
    --rounded-sm: 8px;
    --rounded-md: 14px;
    --rounded-lg: 20px;
    --rounded-full: 9999px;
    
    --transition: all 0.2s ease-in-out;
}

body.theme-biohazard { --accent: #008a62; }
body.theme-water { --accent: #007bb5; }
body.theme-fire { --accent: #e55c00; }
body.theme-industrial { --accent: #d88000; }

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background-color: var(--canvas); color: var(--ink); line-height: 1.5; overflow-x: hidden; }

/* Typography */
h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.5rem, 4vw, 3.5rem); letter-spacing: -1px; line-height: 1.1; margin-bottom: 1rem; color: var(--ink); }
h2 { font-family: var(--font-head); font-weight: 600; font-size: 2rem; letter-spacing: -0.5px; margin-bottom: 1.5rem; color: var(--ink); }
h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--ink); }
h4 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--ink); }
p { font-size: 1rem; color: var(--body); margin-bottom: 1.25rem; line-height: 1.7; }

/* ================== NAVBAR ================== */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: var(--canvas); border-bottom: 1px solid var(--hairline-soft); transition: var(--transition); height: 80px; display: flex; align-items: center; }
.nav-container { max-width: 1400px; width: 100%; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: baseline; gap: 4px; text-decoration: none; transition: var(--transition); font-family: var(--font-head); text-transform: uppercase; letter-spacing: -0.5px; }
.logo:hover { opacity: 0.85; transform: scale(0.98); }
.logo-city { color: var(--ink); font-weight: 900; font-size: 1.5rem; }
.logo-dot { color: var(--accent); font-weight: 900; font-size: 1.5rem; }
.logo-niche { color: var(--muted); font-weight: 600; font-size: 1.25rem; letter-spacing: 0; margin-left: 2px; }

/* Buttons */
.btn-primary { background: var(--accent); color: #fff; padding: 14px 24px; border-radius: var(--rounded-full); text-decoration: none; font-weight: 600; font-family: var(--font-body); font-size: 1rem; transition: var(--transition); display: inline-block; text-align: center; border: none; cursor: pointer; }
.btn-primary:hover { filter: brightness(0.9); transform: scale(0.98); }

/* ================== HERO ================== */
.hero { min-height: 80vh; display: flex; align-items: center; padding: 120px 2rem 4rem; background: var(--canvas); }
.hero-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; }
.badge { display: inline-block; padding: 6px 12px; background: var(--surface-soft); border: 1px solid var(--hairline); border-radius: var(--rounded-full); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1.5rem; color: var(--ink); }
.hero-subtext { font-size: 1.25rem; color: var(--muted); margin-bottom: 2.5rem; max-width: 90%; line-height: 1.4; }

.hero-image-wrapper { width: 100%; height: 600px; border-radius: var(--rounded-lg); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.08); position: relative; background: var(--surface-soft); }
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.hero-form-container { position: absolute; bottom: 24px; right: 24px; left: 24px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-radius: var(--rounded-md); padding: 24px; box-shadow: 0 12px 28px rgba(0,0,0,0.12); border: 1px solid rgba(255,255,255,0.5); }
.hero-form-container h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.lead-form input { width: 100%; background: var(--canvas); border: 1px solid var(--hairline); padding: 14px 16px; border-radius: var(--rounded-sm); color: var(--ink); font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--transition); }
.lead-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 56, 92, 0.1); }
.lead-form .btn-submit { padding: 14px 32px; background: var(--accent); color: #fff; border-radius: var(--rounded-sm); font-weight: 600; cursor: pointer; border: none; font-size: 1rem; }

/* ================== STATS ================== */
.social-proof { background: var(--surface-soft); padding: 3rem 2rem; border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }
.proof-stats { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 2rem; }
.stat-box h2 { font-size: 3rem; color: var(--ink); margin-bottom: 0.25rem; display: inline-block; font-family: var(--font-head); letter-spacing: -1px; }
.stat-box span { font-size: 3rem; color: var(--accent); font-weight: 700; }
.stat-box p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ================== UI COMPONENTS ================== */
.container { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--muted); font-size: 1.125rem; max-width: 600px; margin: 0 auto 4rem; }

/* Grid Cards with Icons */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.process-card { background: var(--canvas); border: 1px solid var(--hairline); padding: 2.5rem 2rem; border-radius: var(--rounded-md); transition: var(--transition); display: flex; flex-direction: column; }
.process-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-4px); border-color: transparent; }
.card-icon { width: 56px; height: 56px; background: var(--surface-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--accent); font-size: 1.5rem; }
.process-card h4 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--ink); }

/* Pricing Card UI */
.pricing-card { background: var(--canvas); border: 2px solid var(--hairline-soft); border-radius: var(--rounded-lg); padding: 3rem; text-align: center; max-width: 600px; margin: 3rem auto; position: relative; overflow: hidden; }
.pricing-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: var(--accent); }
.pricing-card .price-tag { font-size: 3.5rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); letter-spacing: -1px; margin: 1.5rem 0; }
.pricing-card .price-label { color: var(--muted); font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* Geo Tag Cloud */
.geo-tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 2rem; }
.geo-tag { background: var(--canvas); border: 1px solid var(--hairline); color: var(--ink); padding: 10px 20px; border-radius: var(--rounded-full); font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.geo-tag:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Beautiful Bullet Points */
.ai-content-block ul { list-style: none; margin: 2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.ai-content-block li { padding: 0; color: var(--ink); display: flex; align-items: flex-start; gap: 1rem; font-size: 1.125rem; line-height: 1.5; background: var(--surface-soft); padding: 16px; border-radius: var(--rounded-sm); }
.ai-content-block li::before { content: "✓"; color: var(--accent); font-weight: bold; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* FAQ */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline); padding: 1.5rem 0; }
.faq-question { font-family: var(--font-head); font-size: 1.125rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.faq-question span { color: var(--muted); font-size: 1.5rem; transition: var(--transition); }
.faq-answer { color: var(--body); margin-top: 1rem; display: none; line-height: 1.6; font-size: 1rem; }

/* ================== FOOTER ================== */
.site-footer { background: var(--surface-soft); padding: 4rem 2rem 2rem; border-top: 1px solid var(--hairline); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-grid h3, .footer-grid h4 { font-size: 1rem; margin-bottom: 1.5rem; color: var(--ink); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.footer-grid p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 968px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .lead-form { grid-template-columns: 1fr; }
    .hero-image-wrapper { height: 400px; }
    .hero-form-container { position: relative; bottom: 0; right: 0; left: 0; box-shadow: none; border: 1px solid var(--hairline); margin-top: 1rem; }
    .process-grid { grid-template-columns: 1fr; }
    .proof-stats { grid-template-columns: 1fr; }
}
