/* ============================================================
   RobinsFire — Landing Page
   Design system: matches the Operations Hub dashboard
   Deep navy base · warm amber flame accent · glass panels
   ============================================================ */

:root {
  /* Base surfaces — deep near-black navy with a blue undertone */
  --bg:        #080c16;
  --bg-2:      #0b1120;
  --bg-3:      #0e1426;

  /* Glass panels */
  --panel:        rgba(255, 255, 255, 0.035);
  --panel-2:      rgba(255, 255, 255, 0.055);
  --panel-border: rgba(255, 255, 255, 0.085);
  --panel-border-2: rgba(255, 255, 255, 0.14);

  /* Ink */
  --ink:       #eef2f9;
  --ink-dim:   #9aa6bd;
  --ink-faint: #69748b;

  /* Brand flame — warm amber/orange */
  --amber:        #f0913e;
  --amber-soft:   #f4a85f;
  --amber-bright: #ffb15c;   /* the lit CTA */
  --amber-deep:   #d9772a;
  --amber-glow:   rgba(240, 145, 62, 0.22);

  /* Functional secondary accents (used sparingly) */
  --green:  #43c08a;
  --green-dim: rgba(67, 192, 138, 0.14);
  --blue:   #6aa6e0;
  --violet: #9a87e6;
  --red:    #e8705c;

  /* Quote tool — deliberate light, high-contrast exception */
  --q-surface:   #f7f9fd;
  --q-surface-2: #ffffff;
  --q-ink:       #15192a;
  --q-ink-dim:   #5a6376;
  --q-border:    #d3dae6;
  --q-border-2:  #b9c3d3;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --maxw: 1140px;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmospheric base — subtle navy gradient + amber glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 80% at 78% -8%, rgba(240,145,62,0.16), transparent 52%),
    radial-gradient(90% 60% at 10% 4%, rgba(70,110,180,0.10), transparent 55%),
    linear-gradient(180deg, #0a0f1d 0%, var(--bg) 42%, #070a12 100%);
  z-index: -2;
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  position: relative;
  padding: clamp(64px, 9vw, 124px) 0;
}

.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--amber);
  opacity: 0.7;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600;
  margin-top: 18px;
  max-width: 18ch;
}

.section-lead {
  color: var(--ink-dim);
  font-size: clamp(17px, 1.9vw, 19px);
  max-width: 54ch;
  margin-top: 18px;
}

.center { text-align: center; }
.center .section-title { margin-left: auto; margin-right: auto; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Glass panel ---------- */
.glass {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  padding: 16px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  text-align: center;
}

.btn-amber {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  color: #2a1605;
  box-shadow: 0 10px 32px -8px var(--amber-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(240,145,62,0.5), inset 0 1px 0 rgba(255,255,255,0.45); }

.btn-ghost {
  background: var(--panel-2);
  color: var(--ink);
  border: 1px solid var(--panel-border-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

.btn-lg { padding: 19px 38px; font-size: 17.5px; }
.btn-block { width: 100%; }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--ink-dim);
}

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
