/* ========== Base / Tokens (LIGHT) ========== */
:root{
  /* Surfaces */
  --bg: #f6f8fb;
  --bg-soft:#ffffff;
  --card:#ffffff;
  --card-2:#f3f6fb;

  /* Text */
  --text:#0f172a;         /* slate-900 */
  --muted:#475569;        /* slate-600 */

  /* Brand */
  --brand:#3aa6ff;        /* blue */
  --accent:#16a34a;       /* green accent */
  --danger:#dc2626;

  /* Effects */
  --shadow: 0 10px 30px rgba(15,23,42,.10);
  --radius: 16px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(58,166,255,.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(22,163,74,.08), transparent 55%),
    var(--bg);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{max-width:100%; display:block}
.container{width:min(1100px,92%); margin-inline:auto}

/* ========== Header (light glass) ========== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid #e5e9f2;
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.logo-container{display:flex; align-items:center; gap:10px}
.site-logo{height:80px; width:auto}
.brand-lockup{font-weight:800; letter-spacing:.2px; color:#0b1324}

.main-nav{display:flex; align-items:center; gap:20px}
.nav-link{color:#334155; text-decoration:none; font-weight:600}
.nav-link:hover{color:#0b1324}

/* ========== Hero (light with dark overlay & readable text) ========== */
.hero{
  position:relative; isolation:isolate;
  padding:80px 0 36px;
}
.hero-media{position:absolute; inset:0; z-index:0; pointer-events:none}
.hero-media img{width:100%; height:100%; object-fit:cover; object-position:center}

/* stronger overlay for contrast */
.hero::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(58,166,255,.30), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.58) 70%, rgba(0,0,0,.62) 100%);
}
.hero-inner{position:relative; z-index:1}
.hero-copy{max-width:720px; margin-inline:auto}

/* force readable text on darkened photo */
.hero-copy h1{
  font-size:clamp(32px,5vw,56px); margin:0 0 10px; color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
/* use brand blue for accent in hero for better contrast with overlay */
.hero-copy .accent{color:var(--brand)}
.subtitle{
  color:#e5edf6; margin:8px 0 18px; line-height:1.6;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}

.cta{
  appearance:none; border:0; cursor:pointer;
  padding:14px 20px; border-radius:12px; font-weight:700; letter-spacing:.3px;
  background:linear-gradient(135deg,var(--brand),#6bd5ff);
  color:#04233a; box-shadow:var(--shadow);
  transition:transform .08s ease, filter .2s ease;
}
.cta:hover{transform:translateY(-1px); filter:saturate(110%)}
.cta:active{transform:translateY(0)}

/* chips readable on photo */
.cred-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px; color:#0b1324}
.cred-item{
  padding:6px 10px; border-radius:999px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(219,234,254,.9);
  font-size:13px;
  backdrop-filter:saturate(120%) blur(2px);
}

/* ========== How It Works (cards) ========== */
.how-it-works{padding:40px 0 16px}
.how-it-works h3{margin:0 0 14px; font-size:24px; color:#0b1324}
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.step{
  background:var(--card);
  border:1px solid #e6eaf2;
  border-radius:14px; padding:16px; min-height:92px;
  display:flex; gap:12px; align-items:center; box-shadow:var(--shadow);
}
.step-number{
  height:32px; width:32px; border-radius:50%;
  background:#e6f2ff; border:1px solid #cfe6ff;
  display:grid; place-items:center; font-weight:800; color:#0b1324
}

/* ========== Trust Strip ========== */
.trust-strip{padding:18px 0 12px}
.trust-inner{
  display:flex; align-items:center; gap:12px; justify-content:center;
  color:#334155
}
.trust-inner .dot{height:6px; width:6px; background:#94a3b8; border-radius:50%}

/* ========== Survey Modal (light) ========== */
.survey-modal.hidden{display:none}
.survey-modal{position:fixed; inset:0; z-index:1000; display:grid; place-items:center}
.survey-overlay{position:absolute; inset:0; background:rgba(15,23,42,.35); backdrop-filter:blur(4px)}
.survey-card{
  position:relative; z-index:1; width:min(680px,94vw);
  background:var(--bg-soft); border:1px solid #e6eaf2; box-shadow:var(--shadow);
  border-radius:18px; padding:18px; animation:pop .15s ease-out
}
@keyframes pop{from{transform:scale(.985); opacity:0} to{transform:scale(1); opacity:1}}

.close-modal{
  position:absolute; top:10px; right:12px; height:36px; width:36px;
  border-radius:10px; border:1px solid #e6eaf2; background:#f3f6fb; color:#0b1324; cursor:pointer; font-size:22px; line-height:0;
}

.survey-progress{height:6px; background:#eef2f7; border-radius:999px; overflow:hidden; margin-bottom:12px}
.progress-bar{height:100%; width:0; background:linear-gradient(90deg,var(--brand),#6bd5ff)}

.survey-head{display:flex; align-items:center; gap:10px; margin-bottom:10px}
.survey-icon{font-size:20px}
.survey-title{font-size:18px; font-weight:700; color:#0b1324}

.survey-options{display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:8px}
.survey-option{
  background:var(--card-2);
  border:1px solid #e6eaf2;
  border-radius:12px; padding:12px 14px; cursor:pointer; user-select:none;
  transition:transform .08s ease, border-color .2s ease, background .2s ease;
  color:#0b1324;
}
.survey-option:hover{transform:translateY(-1px); border-color:#93caff; background:#eef7ff}
.survey-option:active{transform:translateY(0)}

.survey-address-form,.survey-contact-form{margin-top:10px}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:10px}
.form-row input{
  background:#ffffff; color:#0b1324; border:1px solid #e2e8f0;
  border-radius:10px; padding:12px 12px; outline:none;
}
.form-row input:focus{border-color:#60a5fa; box-shadow:0 0 0 3px rgba(96,165,250,.25)}

.cta.small{padding:10px 14px; border-radius:10px; font-weight:700}

.consent-line{display:flex; gap:10px; align-items:flex-start; color:#475569; font-size:12px; line-height:1.5; margin:4px 0 8px}
.error-line{color:var(--danger); min-height:18px; font-size:13px; margin-bottom:6px}

/* ========== Chat (light) ========== */
.chat-box-wrapper{padding:28px 0 60px}
.chat-box{
  background:var(--card);
  border:1px solid #e6eaf2; border-radius:16px; box-shadow:var(--shadow); overflow:hidden;
}
.chat-header{
  display:flex; align-items:center; gap:12px; padding:12px 14px;
  background:linear-gradient(180deg,#ffffff,#f6f9ff);
  border-bottom:1px solid #e6eaf2;
}
.agent-chip{display:flex; gap:10px; align-items:center}
.agent-avatar{height:36px; width:36px; border-radius:50%; display:grid; place-items:center; background:#e6f2ff; border:1px solid #cfe6ff; color:#0b1324}
.agent-meta{display:flex; flex-direction:column}
.agent-name{font-weight:800; color:#0b1324}
.agent-sub{font-size:12px; color:#64748b}

.chat-messages{max-height:52vh; overflow:auto; padding:12px}
.chat-bubble{max-width:76%; padding:10px 12px; border-radius:14px; margin:8px 0; line-height:1.45}
.chat-bubble.Agent,.chat-bubble.bot{background:#eaf5ff; border:1px solid #cfe6ff; color:#0b1324}
.chat-bubble.User,.chat-bubble.user{background:#f1f5f9; border:1px solid #e2e8f0; margin-left:auto; color:#0b1324}

.chat-form{display:flex; gap:10px; border-top:1px solid #e6eaf2; padding:10px}
.chat-form input{flex:1; border-radius:12px; border:1px solid #e2e8f0; background:#ffffff; padding:12px; color:#0b1324}
.send-btn{min-width:92px}

/* ========== Footer (light) ========== */
.site-footer{
  border-top:1px solid #e6eaf2; padding:22px 0 34px; background:#ffffff; margin-top:96px;
}
.footer-inner{display:flex; justify-content:space-between; gap:20px; align-items:flex-start}
.footer-logo{display:flex; align-items:center; gap:10px; font-weight:800; color:#0b1324}
.footer-logo img{height:28px}
.footer-link{display:block; color:#334155; text-decoration:none; margin:6px 0}
.footer-link:hover{text-decoration:underline}
.fine-print{color:#64748b; margin:8px 0 0; font-size:12px}

/* ========== Responsive ========== */
@media (max-width:980px){
  .hero{padding:48px 0 24px}
  .hero-copy{max-width:unset; margin-inline:0}
  .steps{grid-template-columns:1fr}
  .survey-options{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
}
