/* base.css — Clean light hero + glass overlays (no zoom issues) */

:root{
  /* Typography */
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --base: 16px;                 /* IMPORTANT: prevents “over-zoomed” feel */
  --radius: 18px;

  /* Colors (light UI like Image 2) */
  --text: #1f2a3a;
  --muted: rgba(31,42,58,.72);
  --soft: rgba(31,42,58,.10);
  --soft2: rgba(31,42,58,.14);

  --primary: #2f6fe7;
  --primary2: #1f5fda;

  /* Glass */
  --glass: rgba(255,255,255,.72);
  --glass2: rgba(255,255,255,.58);
  --glassStroke: rgba(255,255,255,.55);

  /* Dark glass (for results section) */
  --darkGlass: rgba(18, 26, 38, .70);
  --darkGlass2: rgba(18, 26, 38, .55);
  --darkStroke: rgba(255,255,255,.10);

  /* Shadows */
  --shadow: 0 22px 55px rgba(0,0,0,.14);
  --shadow2: 0 12px 30px rgba(0,0,0,.10);

  /* Background image path (ONE image for full page) */
  --bg-image: url("/assets/images/bg.png");
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

html{
  font-size: var(--base);       /* IMPORTANT */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: #eef3fb;          /* fallback while bg loads */
}

/* Full-page background (ONE image) */
body.app-bg{
  background-image: var(--bg-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
}

/* Gentle readability layer (very light, not a box) */
/* Make the background visible (remove white wash) */
body.app-bg::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;

  /* darker tint + soft vignette */
  background:
    radial-gradient(1100px 700px at 20% 15%, rgba(40,120,255,.18), transparent 62%),
    radial-gradient(900px 650px at 80% 18%, rgba(90,240,220,.14), transparent 60%),
    radial-gradient(1200px 900px at 50% 60%, rgba(0,0,0,.22), transparent 70%),
    linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,.18));
  opacity: 1;
}

/* optional extra vignette for depth (matches Image-1 feel) */
body.app-bg::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  background: radial-gradient(1200px 800px at 50% 40%, rgba(0,0,0,0), rgba(0,0,0,.28));
}


/* Ensure content sits above overlay */
body > *{ position: relative; z-index: 1; }

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration: underline; }

.muted{ color: var(--muted); }

/* Headings (match Image 2 scale) */
.h2{
  font-size: 22px;
  font-weight: 900;
  margin:0;
  letter-spacing: -0.02em;
}

/* Inputs */
.input,.textarea,.select{
  width:100%;
  border: 1px solid rgba(31,42,58,.14);
  background: rgba(255,255,255,.85);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.textarea{ resize: vertical; }
.textarea-xl{ font-size: 18px; line-height: 1.4; }

.input:focus,.textarea:focus,.select:focus{
  border-color: rgba(47,111,231,.45);
  box-shadow: 0 0 0 4px rgba(47,111,231,.14), 0 12px 24px rgba(0,0,0,.08);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(31,42,58,.14);
  background: rgba(255,255,255,.76);
  color: var(--text);
  cursor:pointer;
  min-height: 48px;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.btn:hover{
  background: rgba(255,255,255,.92);
  border-color: rgba(31,42,58,.20);
}

.btn:active{ transform: translateY(1px); }
.btn:disabled{ opacity:.55; cursor:not-allowed; box-shadow:none; }

.btn-primary{
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  border-color: rgba(47,111,231,.40);
  color: #fff;
  box-shadow: 0 16px 30px rgba(47,111,231,.22);
}

.btn-primary:hover{
  box-shadow: 0 18px 34px rgba(47,111,231,.28);
}

.btn-wide{ width: 280px; max-width: 100%; }

.icon{ font-size: 16px; line-height: 1; }

/* Pills */
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31,42,58,.12);
  background: rgba(255,255,255,.72);
  color: rgba(31,42,58,.78);
  font-size: 14px;
}

/* Divider */
.divider{
  height:1px;
  background: rgba(255,255,255,.18);
  margin: 18px 0;
}

.hp-site-footer {
  margin: 28px auto 20px;
  padding: 0 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(31, 42, 58, 0.78);
}

body.app-bg .hp-site-footer {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}