/* Floosy landing — brand tokens from floosy_mobile */
:root {
  color-scheme: light;
  --teal: #0f766e;
  --teal-deep: #134e4a;
  --teal-glow: #14b8a6;
  --indigo: #6366f1;
  --indigo-soft: #a5b4fc;
  --surface: #f8faf9;
  --surface-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(15, 118, 110, 0.12);
  --shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 32px 64px -16px rgba(15, 118, 110, 0.22);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --nav-h: 4.25rem;
  --max: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --surface: #0f1419;
    --surface-elevated: #1a2332;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(45, 212, 191, 0.14);
    --shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 32px 64px -16px rgba(0, 0, 0, 0.55);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-glow);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Background atmosphere */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-mesh::before,
.bg-mesh::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.bg-mesh::before {
  width: min(90vw, 36rem);
  height: min(90vw, 36rem);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
}

.bg-mesh::after {
  width: min(70vw, 28rem);
  height: min(70vw, 28rem);
  bottom: 10%;
  left: -12%;
  background: radial-gradient(circle, var(--indigo), transparent 70%);
  opacity: 0.28;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.logo img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface-elevated);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.125rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--text);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .site-nav.is-open .nav-links {
    display: flex;
  }

  .nav-links li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-top: 0.85rem;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(15, 118, 110, 0.45);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem 0.65rem 0.85rem;
  background: #0f172a;
  color: #ffffff;
  border-radius: 0.75rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.play-badge:hover {
  color: #ffffff;
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.play-badge small {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.play-badge strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.play-badge svg {
  flex-shrink: 0;
  color: #ffffff;
}

/* White badge on teal CTA band */
.play-badge--on-dark,
.cta-band .play-badge {
  background: #ffffff;
  color: #0f172a;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.play-badge--on-dark:hover,
.cta-band .play-badge:hover {
  color: #0f172a;
  background: #f8fafc;
}

.play-badge--on-dark small,
.cta-band .play-badge small {
  color: #64748b;
}

.play-badge--on-dark strong,
.cta-band .play-badge strong {
  color: #0f172a;
}

.play-badge--on-dark svg,
.cta-band .play-badge svg {
  color: #0f172a;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-copy h1 .gradient {
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stats dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.15rem;
}

.hero-stats dd {
  margin: 0;
  font-weight: 700;
  font-size: 0.9375rem;
}

/* Phone mock — hero */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.phone {
  width: min(100%, 17.5rem);
  aspect-ratio: 9 / 19.5;
  border-radius: 2.25rem;
  padding: 0.55rem;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 1.25rem;
  background: #0f172a;
  border-radius: 0 0 1rem 1rem;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 1.85rem;
  overflow: hidden;
  background: #0f1419;
  position: relative;
}

.phone--hero {
  width: min(100%, 19rem);
}

.phone-screen picture {
  display: block;
  width: 100%;
  height: 100%;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-float {
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.phone-float.ai {
  top: 8%;
  right: 0;
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  color: #fff;
  border: none;
}

.phone-float.voice {
  bottom: 18%;
  left: -4%;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .phone-stage {
    order: -1;
    max-width: 20rem;
    margin-inline: auto;
  }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-icon.teal {
  background: color-mix(in srgb, var(--teal) 15%, transparent);
}

.feature-icon.indigo {
  background: color-mix(in srgb, var(--indigo) 15%, transparent);
}

.feature-icon.amber {
  background: color-mix(in srgb, #f59e0b 15%, transparent);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Screens carousel */
.screens-wrap {
  overflow: hidden;
}

.screens-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.screen-card {
  flex: 0 0 min(78%, 15.5rem);
  scroll-snap-align: center;
  text-align: center;
}

.screen-card .phone {
  width: 15.5rem;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}

.screen-card h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.screen-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  margin: 0 1rem;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-deep), var(--teal), #115e59);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  opacity: 0.92;
  font-size: 1.0625rem;
}

/* Pricing note */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 40rem;
  margin: 0 auto;
}

.pricing-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow);
}

.pricing-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

.pricing-card .tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card p {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-benefits {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pricing-benefits li + li {
  margin-top: 0.35rem;
}

.pricing-note {
  font-size: 0.8125rem !important;
}

@media (max-width: 600px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  max-width: 18rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
