@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --brand: #f6821f;
  --brand-deep: #e06a0a;
  --brand-soft: #fff1e4;
  --ink: #1a1410;
  --muted: #5c534c;
  --line: #eadfd4;
  --surface: #fffaf5;
  --white: #ffffff;
  --radius: 20px;
  --max: 1120px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 250, 245, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand span {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 180ms var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--brand-deep);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 49;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.25rem;
}

.mobile-panel.open {
  display: grid;
  gap: 0.85rem;
}

.mobile-panel a {
  font-weight: 600;
  color: var(--ink);
  padding: 0.5rem 0;
  cursor: pointer;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 70% 20%, rgba(246, 130, 31, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(246, 130, 31, 0.08), transparent 55%),
    linear-gradient(180deg, #fff7f0 0%, var(--surface) 55%, #fff 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-copy {
  max-width: 34rem;
}

.hero-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-brand-mark img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(246, 130, 31, 0.28);
}

.hero-brand-mark strong {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero p.lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 32rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border: 1px solid var(--brand);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: min(300px, 74vw);
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(160deg, #2a211c, #12100e);
  box-shadow:
    0 32px 64px rgba(26, 20, 16, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: rise 900ms var(--ease) both;
}

.phone-hero {
  width: min(320px, 78vw);
}

.phone img {
  width: 100%;
  border-radius: 30px;
  background: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Sections ── */
section {
  padding: 5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.features {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.25rem 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-free {
  background: #e8f7ee;
  color: #167a3a;
}

.badge-pro {
  background: #fff0e0;
  color: var(--brand-deep);
}

/* Showcase — one large phone per row */
.showcase {
  padding: 4.5rem 0 0;
  background: var(--surface);
}

.showcase > .container {
  margin-bottom: 2rem;
}

.showcase-row {
  padding: 3.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.showcase-row-alt {
  background:
    radial-gradient(ellipse 70% 80% at 85% 50%, rgba(246, 130, 31, 0.12), transparent 55%),
    #fff7f0;
}

.showcase-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .showcase-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .showcase-inner-flip .showcase-copy {
    order: 2;
  }

  .showcase-inner-flip .showcase-device {
    order: 1;
  }
}

.showcase-copy .eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.showcase-copy h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.15;
}

.showcase-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
  line-height: 1.6;
}

.showcase-device {
  width: min(300px, 78%);
  margin-inline: auto;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(165deg, #2c241f 0%, #0f0d0b 100%);
  box-shadow:
    0 28px 56px rgba(26, 20, 16, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.showcase-device img {
  width: 100%;
  border-radius: 30px;
  background: #fff;
}

/* Pricing strip */
.pricing {
  background:
    linear-gradient(135deg, rgba(246, 130, 31, 0.1), transparent 45%),
    var(--white);
}

.price-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.price-plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--surface);
}

.price-plan.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #fff7f0, var(--white));
}

.price-plan h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.price-plan .price {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.price-plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.price-plan li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.95rem;
}

.price-plan li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 0.15rem;
}

/* CTA band */
.cta-band {
  padding: 4.5rem 0;
  background: linear-gradient(120deg, #f6821f, #ff8a2b 45%, #e06a0a);
  color: var(--white);
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 800px) {
  .cta-band .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  opacity: 0.92;
  max-width: 34rem;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--brand-deep);
  border-color: var(--white);
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: #fff7f0;
}

/* Footer */
.footer {
  padding: 2.5rem 0 2rem;
  background: #1a1410;
  color: #f5ebe3;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: #d8c8ba;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 180ms var(--ease);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-copy {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #a89789;
}

/* Legal pages */
.legal-page {
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.04em;
}

.legal-meta {
  margin: 0 0 2.5rem;
  color: var(--muted);
}

.legal-section {
  margin-bottom: 1.75rem;
}

.legal-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
