:root {
  color-scheme: dark;
  --bg: #07090b;
  --surface: #101418;
  --surface-soft: #151b20;
  --ink: #f7faf9;
  --text: #eef4f2;
  --muted: #98a6ad;
  --line: #27313a;
  --accent: #d6a84f;
  --accent-dark: #f1c76c;
  --gold: #d89b2b;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -12%, rgba(214, 168, 79, 0.18), transparent 34%),
    var(--bg);
  color: var(--text);
}

body,
button {
  font: inherit;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  min-height: 64px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: rgba(7, 9, 11, 0.9);
  border-bottom: 1px solid rgba(214, 168, 79, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(214, 168, 79, 0.45);
  background: linear-gradient(145deg, #d6a84f, #7a5a20);
  color: #11100d;
  font-size: 0.84rem;
}

.top-nav {
  display: none;
}

.header-cta,
.primary-action,
.secondary-action,
.plan-button {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 900;
}

.header-cta {
  padding: 0 14px;
  background: linear-gradient(145deg, #f1c76c, #b9822c);
  color: #15100a;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 112px 18px 104px;
  color: #ffffff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 9, 11, 0.28), rgba(7, 9, 11, 0.95)),
    rgba(7, 9, 11, 0.28);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 17vw, 8rem);
  line-height: 0.88;
}

.hero-text {
  max-width: 630px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 4.5vw, 1.35rem);
  line-height: 1.45;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.primary-action {
  padding: 0 18px;
  background: linear-gradient(145deg, #f1c76c, #b9822c);
  color: #15100a;
  box-shadow: 0 16px 30px rgba(214, 168, 79, 0.2);
}

.secondary-action {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(100% - 28px, 1120px);
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-bar div {
  min-width: 0;
  padding: 14px 10px;
  background: var(--surface);
  text-align: center;
}

.proof-bar strong,
.proof-bar span {
  display: block;
}

.proof-bar strong {
  font-size: clamp(1.08rem, 5vw, 1.55rem);
  line-height: 1;
}

.proof-bar span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.section,
.product-preview,
.final-cta {
  width: min(100% - 28px, 1120px);
  margin: 0 auto;
}

.section {
  padding: 72px 0 0;
}

.section-heading {
  max-width: 740px;
}

.section-heading .eyebrow,
.preview-copy .eyebrow {
  color: var(--accent-dark);
}

.section-heading h2,
.preview-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 8vw, 3.6rem);
  line-height: 1.02;
}

.feature-grid,
.pricing-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature-card,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card {
  padding: 18px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(214, 168, 79, 0.13);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

.feature-card p,
.preview-copy p,
.final-cta p,
.plan-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-preview {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 72px 0 0;
}

.preview-copy p {
  margin-top: 14px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 900;
}

.phone-frame {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(214, 168, 79, 0.24);
  border-radius: 32px;
  background: #111b22;
  box-shadow: var(--shadow);
}

.phone-topbar {
  width: 88px;
  height: 7px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #33424b;
}

.phone-cover {
  height: 126px;
  border-radius: 20px 20px 8px 8px;
  background-image: url("https://images.unsplash.com/photo-1542362567-b07e54358753?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
}

.phone-store {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 4px 10px;
  color: #ffffff;
}

.phone-store span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f1c76c, #b9822c);
  color: #15100a;
  font-weight: 900;
}

.phone-store strong,
.phone-store small {
  display: block;
}

.phone-store small {
  margin-top: 3px;
  color: #a9b6bd;
}

.phone-tabs {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 7px;
  padding: 0 4px 10px;
}

.phone-tabs span {
  height: 30px;
  border-radius: 999px;
  background: #26343c;
}

.phone-tabs span:first-child {
  background: #ffffff;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 4px 4px;
}

.phone-grid div {
  height: 118px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}

.phone-grid div:nth-child(1) {
  background-image: url("https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&w=600&q=80");
}

.phone-grid div:nth-child(2) {
  background-image: url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=600&q=80");
}

.phone-grid div:nth-child(3) {
  background-image: url("https://images.unsplash.com/photo-1519641471654-76ce0107ad1b?auto=format&fit=crop&w=600&q=80");
}

.phone-grid div:nth-child(4) {
  background-image: url("https://images.unsplash.com/photo-1552519507-da3b142c6e3d?auto=format&fit=crop&w=600&q=80");
}

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
  padding: 20px;
}

.pricing-card.is-featured {
  border-color: rgba(214, 168, 79, 0.45);
  background:
    linear-gradient(180deg, rgba(214, 168, 79, 0.11), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow);
}

.plan-badge {
  align-self: flex-start;
  margin: -4px 0 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f1c76c, #b9822c);
  color: #17110a;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-name {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 12px 0 6px;
  font-size: 2.15rem;
  line-height: 1;
}

.pricing-card small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  color: #d7dfdc;
  font-weight: 700;
}

.pricing-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.plan-button {
  width: 100%;
  margin-top: auto;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.plan-button.primary {
  border-color: var(--accent);
  background: linear-gradient(145deg, #f1c76c, #b9822c);
  color: #15100a;
}

.final-cta {
  display: grid;
  gap: 16px;
  margin-top: 72px;
  margin-bottom: 32px;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  color: #ffffff;
}

.final-cta p {
  color: #b8c3c8;
}

.final-cta .primary-action {
  width: 100%;
}

.brand:focus-visible,
.top-nav a:focus-visible,
.header-cta:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.text-link:focus-visible,
.plan-button:focus-visible {
  outline: 3px solid rgba(214, 168, 79, 0.32);
  outline-offset: 3px;
}

.landing-tabbar {
  position: fixed;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(214, 168, 79, 0.18);
  border-radius: 20px;
  background: rgba(13, 17, 20, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.landing-tabbar a {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 56px;
  border-radius: 15px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
}

.landing-tabbar span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.landing-tabbar a.is-active {
  background: linear-gradient(145deg, rgba(241, 199, 108, 0.22), rgba(214, 168, 79, 0.1));
  color: var(--accent-dark);
}

.landing-view,
.home-extra {
  display: grid;
}

.hero.landing-view {
  display: flex;
}

@media (max-width: 759px) {
  .site-header {
    min-height: 58px;
  }

  .section,
  .final-cta {
    width: min(100% - 28px, 1120px);
    scroll-margin-top: 72px;
    padding-top: 64px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .hero {
    min-height: 88svh;
    scroll-margin-top: 0;
    padding: 104px 18px 126px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .proof-bar {
    margin-top: -72px;
    margin-bottom: 8px;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .product-preview {
    gap: 18px;
  }

  .phone-frame {
    width: min(100%, 312px);
  }
}

@media (min-width: 760px) {
  .site-header {
    padding-right: 28px;
    padding-left: 28px;
  }

  .top-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #d7dfdc;
    font-size: 0.92rem;
    font-weight: 800;
  }

  .hero {
    min-height: 88vh;
    padding-right: 28px;
    padding-left: 28px;
  }

  .landing-tabbar {
    display: none;
  }

  .section.landing-view,
  .section.landing-view.is-active {
    display: block;
  }

  .product-preview.landing-view,
  .product-preview.landing-view.is-active,
  .final-cta.landing-view,
  .final-cta.landing-view.is-active,
  .home-extra,
  .home-extra.is-active {
    display: grid;
  }

  .hero.landing-view,
  .hero.landing-view.is-active {
    display: flex;
  }

  .hero-actions {
    display: flex;
  }

  .primary-action,
  .secondary-action {
    min-width: 160px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .product-preview {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .final-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 34px;
  }

  .final-cta h2,
  .final-cta p {
    grid-column: 1;
  }

  .final-cta .primary-action {
    grid-row: 1 / span 2;
    grid-column: 2;
    width: 180px;
  }
}
