/* HiTechIQ — shared styles. Mobile first; no external fonts or scripts for speed. */

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --text: #121826;
  --muted: #4b5568;
  --border: #dde2ec;
  --brand-top: #1363d4;     /* logo badge gradient (top) */
  --brand-bottom: #0f8bef;  /* logo badge gradient (bottom) */
  --brand: #1374db;         /* button background, always with white text */
  --accent: #1366cc;        /* links / accent text on this background */
  --accent-ink: #ffffff;
  --accent-soft: #e5f0fd;
  --glow: none;
  --highlight: #00b894;     /* success / "free" green */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 24, 38, .06), 0 8px 24px rgba(18, 24, 38, .06);
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;            /* logo background */
    --surface: #1a1b1e;
    --surface-2: #161719;
    --text: #f2f4f7;
    --muted: #a7adb8;
    --border: #2b2d33;
    --accent: #4da3ff;
    --accent-soft: #10243d;
    --glow: 0 0 14px rgba(19, 116, 219, .55);
    --highlight: #2ee6b5;
    --shadow: none;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 60px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px;
}
/* Wordmark recreated from the HiTechIQ logo: "HiTech" + blue "iQ" badge. */
.logo {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 1.4rem; line-height: 1; color: var(--text); text-decoration: none;
  font-family: "Segoe UI", "Helvetica Neue", Arial, var(--font);
}
.logo-word { font-weight: 600; letter-spacing: -.01em; }
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--brand-top), var(--brand-bottom));
  color: #fff; font-weight: 600; border-radius: 8px;
  padding: 4px 7px 5px; box-shadow: var(--glow);
}
.nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* ---------- Sections ---------- */
section { padding: 48px 0; }
.section-alt { background: var(--surface-2); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero h1 .hl { color: var(--accent); }
.hero-points { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 8px; }
.hero-points li::before { content: "✓"; color: var(--highlight); font-weight: 800; margin-right: 8px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { width: 100%; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.icon { font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  section { padding: 72px 0; }
  .hero { padding: 88px 0 64px; }
}

/* ---------- Free prompts sign-up ---------- */
.signup {
  background: var(--surface); border: 2px solid var(--brand);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.signup .note { font-size: .9rem; color: var(--muted); margin-top: 12px; }

/* ---------- Price / product ---------- */
.price { font-size: 2.6rem; font-weight: 800; line-height: 1; margin: 6px 0; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.badge {
  display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}
.badge-green { background: color-mix(in srgb, var(--highlight) 18%, transparent); color: var(--highlight); }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--highlight); font-weight: 800; }

/* ---------- FAQ ---------- */
details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
}
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.summary-box {
  background: var(--accent-soft); border-radius: var(--radius);
  padding: 16px 18px; margin: 18px 0 8px;
}
.summary-box p:last-child { margin-bottom: 0; }

/* ---------- Owner details not filled yet (see site-details.txt) ---------- */
/* Links with no URL yet (e.g. WhatsApp) are hidden so the live site has no dead buttons. */
a[data-missing] { display: none !important; }
[data-missing] {
  background: #fff3a0 !important; color: #3a2e00 !important;
  outline: 2px dashed #e0a800; outline-offset: 1px; border-radius: 4px; padding: 0 4px;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 40px; font-size: .92rem; color: var(--muted); }
.footer-links, .social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.footer-links a, .social a { color: var(--muted); }
.footer-links a:hover, .social a:hover { color: var(--text); }
