/* ===================================================
   Field Forge AI — styles.css (v4 — bulletproof)
   =================================================== */

/* Font loaded via <link> in HTML for non-blocking render */

/* ---- Variables ---- */
:root {
  --navy: #06111f;
  --navy-mid: #0b1f36;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --off-white: #fafbfc;
  --orange: #f97316;
  --orange-hover: #ea6c0f;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --teal: #06b6d4;
  --green: #22c55e;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --t: .22s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Branded text selection */
::selection {
  background: rgba(249,115,22,.22);
  color: inherit;
}

::-moz-selection {
  background: rgba(249,115,22,.22);
  color: inherit;
}

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

svg {
  flex-shrink: 0;
}

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

/* Focus-visible for keyboard accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--t);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 16px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(249,115,22,.4);
}

.btn-primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 6px 28px rgba(249,115,22,.55);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--slate-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-light {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--slate-900);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--slate-900);
  background: var(--slate-100);
}

/* ====================================================
   HEADER
   ==================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--t), box-shadow var(--t);
}

.site-header.scrolled {
  background: rgba(6,17,31,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,.07), 0 4px 24px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 36px;
  width: auto;
  max-height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  color: rgba(255,255,255,.72);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color var(--t), background var(--t);
}

.header-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(6,17,31,.97);
  backdrop-filter: blur(24px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}

.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-drawer a {
  color: rgba(255,255,255,.8);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mobile-drawer a:hover { color: var(--white); }
.mobile-drawer .btn { margin-top: 16px; justify-content: center; }

/* ====================================================
   HERO
   ==================================================== */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  animation: orbFloat 9s ease-in-out infinite;
}

.orb-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
  top: -120px;
  left: -140px;
}

.orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: 40%;
  right: -100px;
  animation-delay: -3s;
  animation-duration: 11s;
}

.orb-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #f97316 0%, transparent 70%);
  bottom: -80px;
  left: 38%;
  opacity: 0.3;
  animation-delay: -6s;
  animation-duration: 7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-22px) scale(1.04); }
  66% { transform: translateY(10px) scale(.97); }
}

/* Hero grid layout */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Hero copy */
.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.14);
  border: 1px solid rgba(249,115,22,.28);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

.hero-h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero proof badges */
.hero-proof {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.proof-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.badge-text span {
  display: block;
  color: rgba(255,255,255,.45);
  font-size: 0.76rem;
}

/* Command Card */
.hero-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.command-card {
  width: 100%;
  max-width: 480px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.card-title svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.28);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4ade80;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.command-card .metric {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-val.orange { color: var(--orange); }
.metric-val.blue { color: #60a5fa; }
.metric-val.green { color: #4ade80; }

.metric-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  gap: 10px;
}

.row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.row-avatar {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.row-avatar.blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.row-avatar.purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.row-avatar.orange { background: linear-gradient(135deg, #f97316, #c2410c); }

.row-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,.42);
  margin-top: 1px;
}

.row-status {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 99px;
  flex-shrink: 0;
  white-space: nowrap;
}

.status-dispatched { background: rgba(59,130,246,.2); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }
.status-quoted { background: rgba(249,115,22,.2); color: #fdba74; border: 1px solid rgba(249,115,22,.3); }
.status-paid { background: rgba(34,197,94,.2); color: #86efac; border: 1px solid rgba(34,197,94,.3); }

.card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-footer-stat { text-align: center; }
.card-footer-stat .val { color: var(--white); font-size: 0.92rem; font-weight: 700; }
.card-footer-stat .lbl { color: rgba(255,255,255,.38); font-size: 0.68rem; margin-top: 2px; }

/* ====================================================
   SECTION TRANSITIONS
   ==================================================== */
.dark-to-light { height: 72px; background: linear-gradient(to bottom, var(--navy), var(--off-white)); }
.light-to-dark { height: 72px; background: linear-gradient(to bottom, var(--off-white), var(--navy)); }
.dark-to-white { height: 72px; background: linear-gradient(to bottom, var(--navy), var(--white)); }
.white-to-dark { height: 72px; background: linear-gradient(to bottom, var(--white), var(--navy)); }

/* ====================================================
   SECTION SHARED STYLES
   ==================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-tag::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--slate-900);
  margin-bottom: 14px;
}

.section-heading-light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 520px;
  line-height: 1.7;
}

.section-sub-light { color: rgba(255,255,255,.55); }

.section-header {
  margin-bottom: 60px;
}

/* Dark section bg with grid */
.dark-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ====================================================
   PLATFORM FEATURES (light bg)
   ==================================================== */
.platform {
  background: var(--off-white);
  padding: 100px 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  opacity: 0;
  transition: opacity var(--t);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.1), 0 0 0 1px rgba(59,130,246,.15);
  border-color: rgba(59,130,246,.2);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  max-width: 52px;
  max-height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  flex-shrink: 0;
}

.icon-blue { background: rgba(59,130,246,.1); color: var(--blue); }
.icon-purple { background: rgba(139,92,246,.1); color: var(--purple); }
.icon-orange { background: rgba(249,115,22,.1); color: var(--orange); }
.icon-teal { background: rgba(6,182,212,.1); color: var(--teal); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.91rem;
  color: var(--slate-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--slate-700);
  font-weight: 500;
}

.feature-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ====================================================
   WHY IT WINS (dark)
   ==================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #f59e0b);
  opacity: 0;
  transition: opacity var(--t);
}

.why-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  border-color: rgba(249,115,22,.22);
}

.why-card:hover::after { opacity: 1; }

.why-card-num {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,.06);
  line-height: 1;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.89rem;
  color: rgba(255,255,255,.52);
  line-height: 1.7;
}

.why-quote {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
}

.quote-mark {
  font-size: 4.5rem;
  line-height: .7;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  display: block;
}

.why-quote blockquote {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-style: normal;
}

.why-quote .quote-attr {
  margin-top: 18px;
  font-size: 0.83rem;
  color: rgba(255,255,255,.38);
  font-weight: 500;
}

/* ====================================================
   REVENUE LOOP (light)
   ==================================================== */
.revenue-loop {
  background: var(--white);
  padding: 100px 0;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.loop-grid::before {
  content: '';
  position: absolute;
  top: 54px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
  z-index: 0;
  border-radius: 2px;
}

.loop-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all var(--t);
}

.loop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59,130,246,.2);
}

.loop-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px rgba(0,0,0,.08);
}

.loop-card:nth-child(1) .loop-step { background: var(--blue); }
.loop-card:nth-child(2) .loop-step { background: var(--purple); }
.loop-card:nth-child(3) .loop-step { background: var(--orange); }
.loop-card:nth-child(4) .loop-step { background: #16a34a; }

.loop-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.loop-card p {
  font-size: 0.84rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 12px;
}

.loop-tags {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loop-tag {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--slate-700);
  background: var(--slate-100);
  border-radius: 8px;
  padding: 4px 9px;
}

/* ====================================================
   PRICING
   ==================================================== */
.pricing {
  background: var(--off-white);
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.price-card:hover:not(.featured) {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  background: var(--slate-900);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(15,23,42,.35);
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.featured-badge {
  position: absolute;
  top: 0;
  right: 28px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 0 0 11px 11px;
}

.price-tier {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.price-card:not(.featured) .price-tier { color: var(--slate-500); }
.price-card.featured .price-tier { color: rgba(255,255,255,.45); }

.price-name {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.price-card:not(.featured) .price-name { color: var(--slate-900); }
.price-card.featured .price-name { color: var(--white); }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 8px;
}

.price-amount .dollar { font-size: 1.5rem; font-weight: 700; }
.price-amount .amount { font-size: 3.1rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.price-amount .period { font-size: 0.88rem; font-weight: 500; }
.price-card:not(.featured) .price-amount { color: var(--slate-900); }
.price-card:not(.featured) .price-amount .period { color: var(--slate-500); }
.price-card.featured .price-amount { color: var(--white); }
.price-card.featured .price-amount .period { color: rgba(255,255,255,.45); }
.price-custom .amount { font-size: 2rem; }

.price-desc {
  font-size: 0.87rem;
  line-height: 1.65;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid;
}

.price-card:not(.featured) .price-desc { color: var(--slate-500); border-color: rgba(0,0,0,.08); }
.price-card.featured .price-desc { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.1); }

.price-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 30px;
}

.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.87rem;
  font-weight: 500;
}

.price-card:not(.featured) .price-feature { color: var(--slate-700); }
.price-card.featured .price-feature { color: rgba(255,255,255,.78); }

.price-feature svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card:not(.featured) .price-feature svg { color: var(--blue); }
.price-card.featured .price-feature svg { color: var(--orange); }

.price-cta {
  display: block;
  text-align: center;
  width: 100%;
}

/* ====================================================
   TRUST
   ==================================================== */
.trust {
  background: var(--white);
  padding: 80px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trust-card {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--t);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59,130,246,.14);
}

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.trust-card a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trust-card a:hover { color: #2563eb; }

/* ====================================================
   CTA BAND
   ==================================================== */
.cta-band {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,.14) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-band h2 span {
  background: linear-gradient(135deg, #60a5fa, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.52);
  margin-bottom: 40px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-privacy {
  font-size: 0.82rem;
  color: rgba(255,255,255,.38);
  transition: color var(--t);
}

.cta-privacy:hover { color: rgba(255,255,255,.65); }

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer {
  background: #020c17;
  padding: 38px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,.28);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.38);
  transition: color var(--t);
}

.footer-links a:hover { color: rgba(255,255,255,.72); }

/* ====================================================
   ANIMATIONS
   ==================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(22px);
}

.stagger.visible > *:nth-child(1) { animation: fadeUp .55s .05s forwards cubic-bezier(.4,0,.2,1); }
.stagger.visible > *:nth-child(2) { animation: fadeUp .55s .15s forwards cubic-bezier(.4,0,.2,1); }
.stagger.visible > *:nth-child(3) { animation: fadeUp .55s .25s forwards cubic-bezier(.4,0,.2,1); }
.stagger.visible > *:nth-child(4) { animation: fadeUp .55s .35s forwards cubic-bezier(.4,0,.2,1); }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-card-wrap { justify-content: flex-start; }
  .command-card { max-width: 520px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .loop-grid { grid-template-columns: repeat(2, 1fr); }
  .loop-grid::before { display: none; }
}

@media (max-width: 768px) {
  .platform-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: scale(1); }
  .price-card.featured:hover { transform: translateY(-4px); }
  .trust-grid { grid-template-columns: 1fr; }
  .header-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .loop-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-direction: column; gap: 14px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-links { justify-content: center; }
  .why-quote { padding: 28px 20px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .hero { padding: 100px 0 60px; }
  .hero-h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .hero-sub { font-size: 1rem; }
  .command-card { padding: 20px; }
  .card-metrics { gap: 8px; }
  .metric-val { font-size: 1.15rem; }
  .row-name { max-width: 140px; }
  .section-heading { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .orb { opacity: 0.3; }
  .container { padding: 0 16px; }
}

@media (max-width: 380px) {
  .hero-h1 { font-size: 1.65rem; }
  .command-card { padding: 16px; }
  .card-row { padding: 8px 10px; }
  .row-avatar { width: 26px; height: 26px; min-width: 26px; font-size: 0.65rem; }
  .metric-val { font-size: 1rem; }
  .price-amount .amount { font-size: 2.4rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}

/* ====================================================
   REDUCED MOTION
   ==================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
