/* ===========================================================
   Ozzie — heyozzie.ai  |  marketing site styles
   Brand: indigo #6366f1 / orange #f97316 / cyan #22d3ee on dark
   =========================================================== */

:root {
  --bg: #0b0b10;
  --bg-2: #101017;
  --surface: #16161f;
  --surface-2: #1c1c28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #ececf1;
  --text-dim: #a8a8b8;
  --text-faint: #76768a;

  --indigo: #6366f1;
  --indigo-300: #a5b4fc;
  --indigo-600: #4f46e5;
  --violet: #7c3aed;
  --orange: #f97316;
  --cyan: #22d3ee;

  --grad: linear-gradient(135deg, #818cf8 0%, #6366f1 45%, #7c3aed 100%);
  --grad-text: linear-gradient(120deg, #a5b4fc 0%, #818cf8 40%, #c4b5fd 100%);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px var(--border), 0 24px 70px -24px rgba(99, 102, 241, 0.5);

  --container: 1160px;
  --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: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand__word {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 780px; }

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(120px); opacity: 0.5; pointer-events: none;
}
.bg-glow--1 { top: -180px; left: 50%; transform: translateX(-50%); width: 760px; height: 520px;
  background: radial-gradient(circle, rgba(99,102,241,0.55), transparent 70%); }
.bg-glow--2 { top: 900px; right: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.32), transparent 70%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 0.88rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(99,102,241,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(99,102,241,0.75), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--ghost {
  background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.is-stuck {
  background: rgba(11,11,16,0.72);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; }
.brand__word { font-size: 1.35rem; color: var(--text); letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--text-dim); font-size: 0.94rem; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; color: var(--indigo-300);
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.25);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 26px;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.topbar { display: flex; justify-content: center; padding: 5px 16px 0; }
.topbar .eyebrow { margin-bottom: 0; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--indigo-300); margin-bottom: 16px;
}
.kicker--center { display: block; text-align: center; }

.grad {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Hero ---------- */
/* Kept deliberately short so the spot video sits high, right under the robot. */
.hero { padding: 14px 0 0; position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas: "head visual" "body visual";
  column-gap: 40px; row-gap: 0; align-items: center;
}
.hero__head { grid-area: head; align-self: end; }
.hero__visual { grid-area: visual; align-self: center; }
.hero__body { grid-area: body; align-self: start; }
.hero__title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 10px; }
.hero__sub { font-size: 1.04rem; color: var(--text-dim); max-width: 540px; margin-bottom: 0; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__micro { font-size: 0.85rem; color: var(--text-faint); }

.hero__visual { position: relative; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.hero__glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.45), rgba(34,211,238,0.12) 55%, transparent 72%);
  filter: blur(20px);
}
.hero__ozzie {
  position: relative; width: 100%; max-width: 180px;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.55)) drop-shadow(0 0 34px rgba(99,102,241,0.28));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Spot (hero video) ---------- */
/* Sits immediately under the hero robot. The frame width is capped by viewport
   HEIGHT (calc) so the whole 16:9 video stays above the fold; on wide screens the
   940px / 92vw caps win instead. */
.spot { padding: 2px 0 44px; }
.spot__frame {
  position: relative; margin: 0 auto;
  width: min(940px, 92vw, calc(46vh * 16 / 9));
  max-width: 100%;
}
.spot__video {
  display: block; width: 100%;
  aspect-ratio: 16 / 9; border-radius: 18px; background: #0a0b14;
  border: 1px solid var(--border-strong);
  box-shadow: 0 34px 90px rgba(0,0,0,0.55), 0 0 60px rgba(99,102,241,0.16);
}
/* Tap-to-play badge — only surfaced on mobile, where the tap opens fullscreen. */
.spot__play {
  display: none; position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%; border: 0;
  align-items: center; justify-content: center; cursor: pointer;
  color: #fff; background: rgba(99,102,241,0.92);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 8px rgba(99,102,241,0.18);
}
.spot__play svg { width: 34px; height: 34px; margin-left: 4px; }
.spot__cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 16px; text-align: center; }
.spot.is-touch .spot__play { display: flex; }
.spot.is-touch .spot__video { cursor: pointer; }
@media (max-width: 760px) {
  .spot { padding: 4px 0 36px; }
  .spot__video { border-radius: 14px; }
}

.callcard {
  position: absolute; left: -8px; bottom: 6px; width: 310px;
  background: rgba(20,20,30,0.86); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); border-radius: 16px; padding: 14px 15px;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite 0.6s;
}
.callcard__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.callcard__live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 700; color: #fb7185; text-transform: uppercase; letter-spacing: 0.06em; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fb7185; box-shadow: 0 0 0 0 rgba(251,113,133,0.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(251,113,133,0); } 100% { box-shadow: 0 0 0 0 rgba(251,113,133,0); } }
.callcard__timer { font-size: 0.74rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.callcard__line { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 9px; line-height: 1.45; }
.callcard__who { display: block; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.callcard__line--bot .callcard__who { color: var(--indigo-300); }
.callcard__line--them .callcard__who { color: var(--text-faint); }
.callcard__type { display: inline-flex; gap: 4px; padding: 6px 2px; }
.callcard__type span { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo-300); opacity: 0.5; animation: blink 1.4s infinite; }
.callcard__type span:nth-child(2) { animation-delay: 0.2s; }
.callcard__type span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.floatchip {
  position: absolute; top: 8px; right: -6px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.4); color: #6ee7b7;
  font-size: 0.8rem; padding: 9px 14px; border-radius: 12px; backdrop-filter: blur(10px);
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite 1.1s;
}
.floatchip strong { color: #a7f3d0; font-weight: 700; }

/* ---------- Built-on strip ---------- */
.builton { margin-top: 56px; text-align: center; }
.builton__label { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.builton__logos { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; color: var(--text-dim); font-weight: 600; font-size: 1.02rem; }
.builton__logos .dot { color: var(--text-faint); }
.builton--foot { margin: 30px auto 0; }
.builton--foot .builton__label { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.018) 12%, rgba(255,255,255,0.018) 88%, transparent); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.section__lede { font-size: 1.08rem; color: var(--text-dim); }
.section__lede strong { color: var(--text); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.feature__icon {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25); border-radius: 14px; margin-bottom: 18px;
}
.feature h3 { font-size: 1.22rem; margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 0.96rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  position: relative; padding: 30px 22px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.step__num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.2rem; color: #fff;
  background: var(--grad); box-shadow: 0 8px 20px -6px rgba(99,102,241,0.7); margin-bottom: 18px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- Story ---------- */
.story {
  position: relative; max-width: 860px; margin: 0 auto; text-align: center;
  padding: 56px 40px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(99,102,241,0.08), rgba(124,58,237,0.04));
  border: 1px solid rgba(99,102,241,0.2); overflow: hidden;
}
.story__glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(99,102,241,0.3), transparent 60%); pointer-events: none; }
.story__title { position: relative; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 22px; }
.story__body { position: relative; font-size: 1.12rem; color: var(--text-dim); max-width: 620px; margin: 0 auto 18px; }
.story__body em { color: var(--text); font-style: italic; }
.story__tag { position: relative; font-size: 0.9rem; color: var(--indigo-300); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px; transition: transform 0.3s var(--ease), border-color 0.3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.plan--featured {
  background: linear-gradient(180deg, rgba(99,102,241,0.14), var(--surface) 60%);
  border-color: rgba(99,102,241,0.5); box-shadow: var(--shadow-glow);
}
.plan--featured:hover { transform: translateY(-8px); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 16px; border-radius: 100px; box-shadow: 0 8px 20px -6px rgba(99,102,241,0.7);
}
.plan__name { font-size: 1.4rem; margin-bottom: 4px; }
.plan__for { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 20px; }
.plan__price { font-family: 'Space Grotesk'; font-size: 3.1rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan__cur { font-size: 1.5rem; vertical-align: super; color: var(--text-dim); margin-right: 2px; }
.plan__per { font-size: 1rem; font-weight: 500; color: var(--text-faint); font-family: 'Inter'; }
.plan__meta { font-size: 0.9rem; color: var(--text-dim); margin: 12px 0 22px; }
.plan__meta strong { color: var(--indigo-300); }
.plan__list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.plan__list li { position: relative; padding-left: 28px; font-size: 0.93rem; color: var(--text-dim); }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(99,102,241,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5b4fc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pricing__foot { text-align: center; color: var(--text-faint); font-size: 0.92rem; margin-top: 34px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 22px; transition: border-color 0.25s, background 0.25s;
}
.faq__item[open] { border-color: rgba(99,102,241,0.35); background: var(--surface-2); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.04rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--indigo-300); transition: transform 0.25s; line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-dim); padding: 0 0 20px; font-size: 0.97rem; }
.faq__item em { color: var(--text); font-style: italic; }

/* ---------- Final CTA ---------- */
.cta { padding: 100px 0; }
.cta__inner {
  text-align: center; max-width: 740px; margin: 0 auto; padding: 64px 40px;
  background: linear-gradient(180deg, rgba(99,102,241,0.16), rgba(124,58,237,0.06));
  border: 1px solid rgba(99,102,241,0.3); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow); position: relative; overflow: hidden;
}
.cta__mark { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 24px; box-shadow: var(--shadow); }
.cta__title { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 16px; }
.cta__sub { font-size: 1.1rem; color: var(--text-dim); max-width: 520px; margin: 0 auto 30px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__tag { color: var(--text-dim); font-size: 0.92rem; max-width: 300px; margin-bottom: 14px; }
.footer__dom { color: var(--indigo-300); font-weight: 600; }
.footer__col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-dim); font-size: 0.93rem; margin-bottom: 10px; transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 0.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
.hide-mobile { display: inline; }
@media (max-width: 940px) {
  /* Compact mobile hero: headline + robot side-by-side, CTAs below — keeps the
     fold tight so the buttons show without scrolling. */
  .hero { padding: 12px 0 14px; }
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-areas: "head visual" "body body";
    column-gap: 12px; row-gap: 12px; align-items: center; text-align: left;
  }
  .spot { padding: 2px 0 28px; }
  .spot__frame { width: min(94vw, calc(42vh * 16 / 9)); }
  .hero__head { align-self: center; }
  .hero__title { font-size: 1.7rem; }
  .hero__visual { min-height: auto; align-self: center; }
  .hero__ozzie { max-width: 100%; animation-duration: 7s; }
  .hero__body { align-self: auto; }
  .hero__sub { margin: 0; font-size: 0.95rem; }
  .hero__actions { justify-content: flex-start; }
  .callcard, .floatchip { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan--featured { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none; }
}
@media (max-width: 600px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .story, .cta__inner { padding: 40px 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
