/* ============================================================
   AARVAS Technologies — aarvastech.com
   Palette: Dark Blue / Royal Blue / White (cyan support accent)
   Type: Sora (display) + Inter (body)
   ============================================================ */

:root {
  --navy: #0a1a3c;
  --navy-2: #122a5c;
  --royal: #1e56d6;
  --royal-soft: #e8effd;
  --cyan: #12b5cb;
  --paper: #ffffff;
  --mist: #f3f7fd;
  --ink: #122042;
  --slate: #4e5d7a;
  --line: #dde6f3;
  --ok: #22c07a;
  --warn: #f5a623;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(10, 26, 60, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 26, 60, 0.14);
  --font-display: "Sora", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration: none; }

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

/* ---------- Eyebrow + headings (brand signature from the deck) ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--royal);
  display: block;
  margin-bottom: 0.9rem;
}
.rule {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--cyan));
  border-radius: 2px;
  margin: 1.1rem 0 1.4rem;
}
.rule.center { margin-left: auto; margin-right: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
.lead { font-size: 1.13rem; color: var(--slate); max-width: 62ch; }
.center-text { text-align: center; }
.center-text .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--royal); color: #fff;
  box-shadow: 0 10px 24px rgba(30, 86, 214, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); background: #1747b8; }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 3px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 48px; width: 48px; object-fit: cover; border-radius: 10px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.02rem; color: var(--navy);
  letter-spacing: 0.04em; line-height: 1.2;
}
.brand-name small {
  display: block; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.22em; color: var(--royal); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  padding: 0.3rem 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--cyan);
  transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--royal); }
.nav-cta { margin-left: 0.4rem; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 5px auto;
  background: var(--navy); transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 88% -10%, rgba(30, 86, 214, 0.10), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(18, 181, 203, 0.08), transparent 60%),
    var(--paper);
  padding: 5.2rem 0 5.8rem;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3.4rem; align-items: center;
}
.hero h1 .accent { color: var(--royal); }
.hero .lead { margin: 1.3rem 0 2rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 1.6rem; margin-top: 2.4rem; flex-wrap: wrap;
}
.hero-trust span {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.hero-trust span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
}

/* circuit traces behind hero (brand motif) */
.circuit {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
}

/* ---------- Dashboard mock card (signature element) ---------- */
.dash {
  background: linear-gradient(160deg, var(--navy) 0%, #0d2150 70%, #10306e 100%);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.5rem 1.3rem;
  color: #dbe6ff;
  font-size: 0.85rem;
  position: relative;
}
.dash-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.1rem;
}
.dash-title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1rem; }
.dash-title small { display: block; font-weight: 400; color: #9fb4e3; font-size: 0.75rem; margin-top: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(34, 192, 122, 0.16); color: #5fe3a8;
  border: 1px solid rgba(34, 192, 122, 0.45);
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; padding: 0.3rem 0.75rem; border-radius: 999px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fdd8e;
  animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 0.9rem; }
.stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px; padding: 0.75rem 0.85rem;
}
.stat label {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #8fa6d9; display: block; margin-bottom: 0.25rem;
}
.stat strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.stat em { display: block; font-style: normal; font-size: 0.68rem; margin-top: 0.2rem; }
.stat em.ok { color: #5fe3a8; } .stat em.warn { color: #ffce6b; }
.dash-alerts { display: grid; gap: 0.5rem; }
.alert {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--cyan);
  border-radius: 8px; padding: 0.55rem 0.8rem; font-size: 0.78rem;
}
.alert.ok { border-left-color: #2fdd8e; }
.alert.warn { border-left-color: var(--warn); }
.alert time { color: #8fa6d9; font-size: 0.68rem; }

/* ---------- Sections ---------- */
.section { padding: 5.2rem 0; }
.section.mist { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center-text { margin-left: auto; margin-right: auto; }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin: 1rem 0 0.5rem; }
.card p { color: var(--slate); font-size: 0.95rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--royal-soft);
  display: flex; align-items: center; justify-content: center;
}
.icon svg { width: 24px; height: 24px; stroke: var(--royal); }

/* steps (how it works) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  position: relative; padding: 1.8rem 1.5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 2rem;
  color: var(--royal-soft);
  -webkit-text-stroke: 1px var(--royal);
  display: block; margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--slate); font-size: 0.92rem; }

/* checklist (daily wellness) */
.checklist { display: grid; gap: 0.8rem; }
.check {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.95rem 1.2rem;
  font-weight: 500; box-shadow: 0 4px 14px rgba(10,26,60,0.04);
}
.check::before {
  content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: rgba(34, 192, 122, 0.14); color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4rem; align-items: center; }

/* dark band CTA */
.band {
  background: linear-gradient(120deg, var(--navy), #133066 60%, var(--royal));
  color: #eaf1ff; border-radius: 20px;
  padding: 3.4rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.band h2 { color: #fff; }
.band p { color: #c6d6f7; max-width: 52ch; margin-top: 0.6rem; }

/* quote */
.quote {
  border-left: 4px solid var(--cyan);
  background: var(--mist);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.8rem 2rem;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 500; color: var(--navy);
  font-style: italic;
}
.quote footer {
  margin-top: 0.9rem; font-family: var(--font-body);
  font-size: 0.88rem; font-style: normal; color: var(--slate); font-weight: 400;
}

/* privacy tiles */
.tile { display: flex; gap: 1rem; align-items: flex-start; }
.tile .icon { flex: 0 0 48px; }
.tile h3 { margin: 0 0 0.3rem; font-size: 1.02rem; }
.tile p { font-size: 0.92rem; color: var(--slate); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.75rem 0.9rem; background: #fbfdff;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(30, 86, 214, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }

/* contact info list */
.contact-list { display: grid; gap: 1.3rem; }
.contact-list .tile p a { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: #b9c8ea;
  padding: 3.6rem 0 2rem; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.6rem;
  padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: #b9c8ea; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 52px; width: 52px; border-radius: 10px; margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.92rem; max-width: 38ch; }
.footer-tag {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan);
  margin-top: 0.8rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.6rem; font-size: 0.82rem; color: #8fa3cf;
}

/* page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(30, 86, 214, 0.10), transparent 60%),
    var(--mist);
  padding: 4.4rem 0 3.8rem;
}
.page-hero .lead { margin-top: 1rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start;
    padding: 1.2rem 6%; gap: 1.1rem;
    transform: translateY(-130%); transition: transform 0.25s ease;
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .band { padding: 2.4rem 1.6rem; }
  .section { padding: 3.6rem 0; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}
