:root {
  --bg: #000;
  --card: #0a0a0a;
  --elevated: #16181c;
  --border: #2f3336;
  --text: #fff;
  --muted: #71767b;
  --link: #1d9bf0;
  --hold: #ffd400;
  --go: #00ba7c;
  --radius: 16px;
  --max: 1120px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
  animation: float 14s ease-in-out infinite;
}

.orb-a {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(29, 155, 240, 0.45), transparent 70%);
  top: -100px;
  right: -40px;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  bottom: 15%;
  left: -80px;
  animation-delay: -5s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(16px, -24px) scale(1.04);
  }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid #fff;
  background: linear-gradient(145deg, #111 0%, #000 100%);
  box-shadow: inset 0 0 0 4px #000;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 3px;
  background: #fff;
  animation: blink 2.8s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.nav-cta {
  color: #000 !important;
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--elevated);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
}

.mobile-nav {
  position: sticky;
  top: 70px;
  z-index: 40;
  display: none;
  width: 100%;
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 16px;
}

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

main,
footer {
  position: relative;
  z-index: 1;
}

/* ========== HERO (phones first / large) ========== */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px 40px;
  align-items: center;
}

.hero-visual {
  order: 0;
}

.hero-copy {
  order: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--go);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 186, 124, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 186, 124, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 186, 124, 0);
  }
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.grad {
  background: linear-gradient(90deg, #fff 0%, #9a9a9a 45%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 5s linear infinite;
}

@keyframes sheen {
  to {
    background-position: 200% center;
  }
}

.lede,
.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
  margin: 0 0 22px;
  line-height: 1.45;
}

/* Large dual phones */
.phone-bezel {
  border-radius: 32px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #050505;
  padding: 9px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.phone-bezel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #000;
}

.phones-cluster {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  min-height: 540px;
  perspective: 1000px;
}

.phone {
  position: relative;
  animation: phoneIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.phone-back {
  position: absolute;
  left: 0;
  top: 48px;
  width: 52%;
  max-width: 240px;
  z-index: 1;
  animation-name: phoneInBack;
}

.phone-front {
  position: relative;
  z-index: 2;
  width: 62%;
  max-width: 300px;
  margin-left: auto;
  margin-right: 4%;
}

.phone-glow {
  position: absolute;
  inset: 8% -15% -12%;
  background: radial-gradient(circle, rgba(29, 155, 240, 0.22), transparent 55%);
  z-index: 0;
  filter: blur(28px);
  pointer-events: none;
}

@keyframes phoneIn {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(2deg);
  }
}

@keyframes phoneInBack {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: rotate(-8deg) translateX(-6px);
  }
}

/* ========== SHOWCASE ========== */
.showcase-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 48px;
}

.section-head {
  max-width: 520px;
  margin-bottom: 28px;
}

.center-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2,
.cta-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  font-weight: 900;
  line-height: 1.15;
}

.showcase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
  align-items: start;
  margin-bottom: 36px;
}

.showcase-item {
  margin: 0;
  text-align: center;
}

.showcase-phone {
  max-width: 220px;
  margin: 0 auto 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover .showcase-phone {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 36px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.showcase-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}

.showcase-item strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.showcase-item span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* CTA band after screens */
.cta-band {
  text-align: center;
  padding: 28px 20px;
  border-radius: 20px;
  border: 1.5px solid #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(29, 155, 240, 0.12), transparent 50%),
    #050505;
}

.cta-band-title {
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ========== SECTIONS ========== */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(22, 24, 28, 0.45), transparent);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.compare-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--card);
}

.compare-card.pro {
  border-color: #fff;
  background: #050505;
}

.compare-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 900;
}

.compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  position: relative;
  padding: 7px 0 7px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(47, 51, 54, 0.5);
}

.compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
}

.feature-shot {
  background: #050505;
  border-bottom: 1px solid var(--border);
  padding: 18px 14px 0;
  display: flex;
  justify-content: center;
  max-height: 240px;
  overflow: hidden;
}

.feature-shot img {
  width: min(132px, 58%);
  height: auto;
  border-radius: 16px 16px 0 0;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-bottom: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  display: block;
}

.feature-body {
  padding: 14px 14px 16px;
}

.feature-body h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 800;
}

.feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--card);
}

.step-num {
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.1;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--card);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid #fff;
  background: #000;
  transform: scale(1.04);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.badge {
  display: inline-block;
  color: var(--hold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.price-card h3 {
  margin: 0 0 6px;
}

.price {
  font-size: 1.9rem;
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.price span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  position: relative;
  padding: 7px 0 7px 14px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(47, 51, 54, 0.5);
}

.price-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 900;
}

.pricing-cta {
  margin-top: 28px;
  text-align: center;
}

.pricing-cta .store-row {
  margin-bottom: 12px;
}

.center {
  text-align: center;
}

/* ========== STORE BUTTONS (high contrast) ========== */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-stores {
  justify-content: flex-start;
}

.store-btn {
  min-width: 200px;
  border-radius: 14px;
  border: 2px solid #fff;
  background: #fff;
  color: #000;
  padding: 12px 18px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.15);
}

.store-btn-lg {
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 16px;
  gap: 14px;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.18);
}

.store-btn:active {
  transform: translateY(0);
}

.store-btn.ghost {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.08);
}

.store-btn.ghost:hover {
  background: #111;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}

.store-icon {
  flex-shrink: 0;
}

.store-label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.72;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.store-name {
  display: block;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.store-btn-lg .store-name {
  font-size: 1.22rem;
}

/* Final CTA */
.cta-section {
  padding-bottom: 72px;
}

.cta-panel {
  border: 2px solid #fff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(circle at 80% 0%, rgba(29, 155, 240, 0.16), transparent 42%),
    #050505;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.cta-phones {
  position: relative;
  min-height: 300px;
  max-width: 300px;
  margin: 0 auto;
}

.cta-phone {
  position: absolute;
  width: 150px;
  left: 0;
  top: 28px;
  transform: rotate(-8deg);
}

.cta-phone-main {
  left: auto;
  right: 0;
  top: 0;
  width: 172px;
  transform: rotate(4deg);
  z-index: 2;
}

.cta-copy {
  text-align: left;
}

.cta-copy .section-lede {
  max-width: 26rem;
}

.cta-copy .store-row {
  justify-content: flex-start;
  margin: 16px 0 0;
}

.fine {
  color: var(--muted);
  font-size: 0.85rem;
}

.disclaimer-footer {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 20px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.footer h4 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer a:hover {
  color: #fff;
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0;
  font-size: 0.8rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.14s;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 12px;
    gap: 20px;
  }

  .hero-visual {
    order: -1;
  }

  .phones-cluster {
    min-height: 420px;
    max-width: 360px;
  }

  .phone-front {
    max-width: 250px;
    width: 58%;
  }

  .phone-back {
    max-width: 200px;
    width: 48%;
  }

  .hero-stores {
    justify-content: stretch;
  }

  .hero-stores .store-btn {
    flex: 1 1 160px;
  }

  .showcase-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

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

  .compare,
  .pricing,
  .footer-grid,
  .steps-row,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .cta-phones {
    min-height: 250px;
    order: -1;
  }

  .cta-copy {
    text-align: center;
  }

  .cta-copy .section-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-copy .store-row {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav.open {
    display: block;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 40px 16px;
  }

  .phones-cluster {
    min-height: 380px;
  }

  .phone-front {
    max-width: 220px;
  }

  .phone-back {
    max-width: 175px;
    top: 36px;
  }

  .showcase-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    padding: 4px 4px 12px;
    -webkit-overflow-scrolling: touch;
  }

  .showcase-item {
    flex: 0 0 48%;
    scroll-snap-align: start;
  }

  .showcase-phone {
    max-width: none;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-shot {
    max-height: 190px;
  }

  .store-btn-lg {
    min-width: 0;
    width: 100%;
  }

  .store-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stores .store-btn {
    flex: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .orb,
  .grad,
  .pulse-dot,
  .brand-mark::after,
  .phone,
  .phone-back {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Legal pages */
#app {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  position: relative;
  z-index: 1;
}

#app h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

#app h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

#app .card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

#app .muted {
  color: var(--muted);
  font-size: 0.9rem;
}

#app .foot {
  margin-top: 28px;
  font-size: 0.85rem;
}

#app a {
  color: var(--link);
}

#app ul {
  margin: 0;
  padding-left: 1.2em;
}

#app li {
  margin-bottom: 8px;
}
