/* WebAnalyticsInc marketing site - dark modern - v20260822 */

:root {
  --bg: #0b1120;
  --bg-2: #111827;
  --bg-3: #1f2937;
  --border: #1f2a3d;
  --text: #e5edf5;
  --text-dim: #94a3b8;
  --text-mid: #cbd5e1;
  --accent-teal: #22d3ee;
  --accent-violet: #a78bfa;
  --accent-warm: #f97316;
  --accent-green: #34d399;
  --grad: linear-gradient(120deg, #22d3ee 0%, #a78bfa 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--accent-teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: #fff; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; color: var(--text-mid); }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 40;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent-teal); display: inline-flex; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text-mid); font-size: 0.95rem; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav .cta-lite {
  background: var(--grad);
  color: #0b1120;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.site-nav .cta-lite:hover { opacity: 0.9; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 32px 60px;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(900px 400px at 90% 10%, rgba(167, 139, 250, 0.16), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-teal);
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  background: var(--grad);
  background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.lede { font-size: 1.15rem; color: var(--text-mid); max-width: 720px; margin: 18px auto 30px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, opacity 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--grad); color: #0b1120; }
.btn.primary:hover { transform: translateY(-1px); opacity: 0.94; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
.hero-badges { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 0.9rem; color: var(--text-dim); }

/* ---------- Sections ---------- */
.section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Products ---------- */
.products { padding: 80px 32px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.product-card {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  color: var(--text);
  transition: transform 0.12s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, var(--accent-teal));
}
.product-card:hover {
  text-decoration: none;
  border-color: var(--accent, var(--accent-teal));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.02);
}
.card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.card-icon { font-size: 1.8rem; line-height: 1; }
.card-head h3 { margin: 0 0 3px; color: #fff; }
.card-tag { font-size: 0.82rem; color: var(--accent, var(--accent-teal)); font-weight: 600; }
.product-card p { color: var(--text-mid); font-size: 0.94rem; margin-bottom: 14px; }
.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.card-features li {
  color: var(--text-dim);
  font-size: 0.87rem;
  padding: 3px 0 3px 20px;
  position: relative;
}
.card-features li::before {
  content: '\2713';
  position: absolute; left: 0; top: 3px;
  color: var(--accent, var(--accent-teal));
  font-weight: 700;
}
.card-price {
  font-size: 0.9rem;
  color: var(--text);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 12px;
}
.card-price strong { color: #fff; }
.card-cta {
  color: var(--accent, var(--accent-teal));
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Why ---------- */
.why {
  padding: 80px 32px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.why-inner h2 { margin-bottom: 36px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}
.why-icon { font-size: 1.6rem; margin-bottom: 12px; }
.why-card h3 { color: #fff; margin-bottom: 6px; }
.why-card p { font-size: 0.9rem; color: var(--text-mid); margin: 0; }

/* ---------- Pricing ---------- */
.pricing { padding: 80px 32px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.p-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.p-head strong { color: #fff; font-size: 1.05rem; }
.p-head span { color: var(--text-dim); font-size: 0.8rem; }
.p-tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.p-tiers span {
  background: var(--bg-3);
  color: var(--text-mid);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
}
.pricing-cta { text-align: center; margin-top: 34px; }

/* ---------- About strip ---------- */
.about-strip {
  padding: 80px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.about-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.about-inner h2 { margin-bottom: 16px; }
.about-inner p { font-size: 1.05rem; color: var(--text-mid); }

/* ---------- Footer ---------- */
.site-footer {
  background: #060a15;
  padding: 60px 32px 24px;
  border-top: 1px solid var(--border);
}
.foot-inner {
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 42px;
  max-width: 1240px;
  margin: 0 auto;
}
.foot-brand .tag { color: var(--text-dim); font-size: 0.9rem; margin-top: 10px; }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
}
.foot-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.foot-col a { display: block; color: var(--text-mid); font-size: 0.9rem; padding: 4px 0; }
.foot-col a:hover { color: var(--accent-teal); text-decoration: none; }
.foot-legal {
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .site-header { padding: 14px 18px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.cta-lite) { display: none; }
  .hero { padding: 50px 20px; }
  .products, .why, .pricing, .about-strip { padding: 60px 18px; }
  .foot-inner { grid-template-columns: 1fr; }
}

/* Product-back pill (used on subdomains) */
.wai-back-pill {
  position: fixed;
  top: 14px; left: 14px;
  z-index: 9999;
  background: rgba(11,17,32,0.85);
  color: #22d3ee;
  border: 1px solid rgba(34,211,238,0.4);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-family: -apple-system, "Segoe UI", sans-serif;
  text-decoration: none;
  backdrop-filter: blur(6px);
}
.wai-back-pill:hover { background: rgba(11,17,32,0.95); color: #fff; text-decoration: none; }
