/* ============================================================
   Auri Spectrum — Landing Stylesheet
   Theme matched to aurispectrum.com: light, royal blue, calm
   ============================================================ */

:root {
  --bg: #fcfcfc;
  --bg-soft: #f2f5fc;
  --ink: #29303d;
  --ink-soft: #5b6474;
  --blue: #1147bb;
  --blue-dark: #0d3690;
  --blue-tint: #e8eefb;
  --periwinkle: #a8bdf0;
  --white: #ffffff;
  --panel: #ffffff;
  --panel-edge: #e4e8f2;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 8px 30px rgba(17, 71, 187, 0.08);
  --shadow-lg: 0 16px 48px rgba(17, 71, 187, 0.14);
  --font-head: "Lato", "Segoe UI", sans-serif;
  --font-body: "Lato", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 1.03rem;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 900; line-height: 1.2; color: var(--ink); }

a { color: var(--blue); }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-edge);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-logo { height: 42px; width: auto; display: block; border-radius: 10px; }
.brand-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.brand-name span { color: var(--blue); }

.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--ink); }

.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 0.55rem 1.4rem; border-radius: 16px; font-weight: 700 !important;
  box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; margin: 5px auto; background: var(--blue); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 6rem 0 5rem; overflow: hidden; text-align: center; }

.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; pointer-events: none;
}
.hero::before { width: 460px; height: 460px; background: var(--periwinkle); top: -180px; left: -140px; }
.hero::after { width: 400px; height: 400px; background: #c9d8f7; bottom: -200px; right: -120px; }

.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.pill {
  display: inline-block; background: var(--blue-tint); border: 1px solid #c9d8f7;
  color: var(--blue); padding: 0.35rem 1.1rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.3rem; }
.hero h1 em { font-style: normal; color: var(--blue); }

.hero p { font-size: 1.18rem; color: var(--ink-soft); max-width: 620px; margin: 0 auto 2.4rem; }

/* ---------- Waitlist form ---------- */
.waitlist-form {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: 460px; margin: 0 auto; text-align: left;
  background: var(--panel); border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 1.8rem 1.7rem;
}
.waitlist-form .field { display: flex; flex-direction: column; gap: 0.4rem; }
.waitlist-form label { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.waitlist-form label .opt { font-weight: 400; color: var(--ink-soft); }
.waitlist-form input,
.waitlist-form select {
  width: 100%; padding: 0.85rem 1.1rem; border-radius: 14px;
  border: 1.5px solid var(--panel-edge); background: var(--white);
  color: var(--ink); font-size: 1rem; font-family: var(--font-body); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form select { cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6474' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.6rem;
}
.waitlist-form input::placeholder { color: #9aa3b5; }
.waitlist-form input:focus,
.waitlist-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(17,71,187,0.12); }
.waitlist-form button {
  margin-top: 0.3rem; width: 100%;
  border: none; cursor: pointer; font-family: var(--font-body);
  background: var(--blue); color: var(--white); font-weight: 700; font-size: 1rem;
  padding: 0.95rem 2rem; border-radius: 14px; box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.2s;
}
.waitlist-form button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.waitlist-form button:disabled { opacity: 0.65; cursor: default; transform: none; }
/* Bottom CTA jump-to-form button */
.cta-button {
  display: inline-block; text-decoration: none;
  background: var(--blue); color: var(--white); font-weight: 700; font-size: 1rem;
  padding: 0.95rem 2.4rem; border-radius: 14px; box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.2s;
}
.cta-button:hover { background: var(--blue-dark); transform: translateY(-2px); }
/* Honeypot: hidden from users, catches bots. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { font-size: 0.95rem; font-weight: 700; margin-top: 1rem; min-height: 1.2em; }
.form-status.is-success { color: var(--blue); }
.form-status.is-error { color: #c0392b; }
.waitlist-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; position: relative; }

.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.9rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.kicker {
  display: block; color: var(--blue); font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; font-size: 0.75rem; margin-bottom: 0.9rem;
}

/* ---------- Empathy panel ---------- */
.empathy {
  background: linear-gradient(140deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-lg); padding: 3rem 2.6rem; max-width: 820px; margin: 0 auto;
  text-align: center; box-shadow: var(--shadow-lg);
}
.empathy .kicker { color: var(--periwinkle); }
.empathy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; color: var(--white); }
.empathy p { color: #dbe4fa; font-size: 1.1rem; }

/* ---------- Split (image + panel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: stretch; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.empathy-split { max-width: none; text-align: left; margin: 0; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Section images ---------- */
.section-img { max-width: 780px; width: 100%; margin: 2.5rem auto 0; border-radius: var(--radius-lg); }

/* ---------- Feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }

.feature-card {
  background: var(--panel); border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg); padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.feature-card .icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--blue-tint);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Tag cloud ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; max-width: 760px; margin: 2.5rem auto 0; }
.tag {
  background: var(--blue-tint); border: 1px solid #d5e0f7; color: var(--blue);
  padding: 0.4rem 1.1rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-soft); border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg); padding: 3.4rem 2.5rem; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.8rem; }
.cta-band p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Prose (terms/privacy) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin-bottom: 1.3rem; color: var(--ink-soft); }
.prose h3 { margin: 2rem 0 0.8rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--panel-edge); padding: 3.4rem 0 2rem; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2.4rem; }
.site-footer h4 { font-size: 1rem; margin-bottom: 0.9rem; color: var(--ink); }
.site-footer p { color: var(--ink-soft); font-size: 0.95rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid var(--panel-edge); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.85rem; color: var(--ink-soft);
}
.footer-bottom a { margin-left: 1.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 1.3rem 6%; gap: 1rem; display: none;
    border-bottom: 1px solid var(--panel-edge); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .waitlist-form { flex-direction: column; }
  .split { grid-template-columns: 1fr; }
  .split .media img { max-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 4.5rem 0 4rem; }
}
