
:root {
  --bg: #080a0f;
  --surface: #11141b;
  --surface-2: #171b24;
  --border: rgba(255,255,255,.09);
  --text: #f7f8fb;
  --muted: #a2a8b5;
  --red: #ff1738;
  --red-dark: #d60b2d;
  --cyan: #00c8f3;
  --shadow: 0 28px 90px rgba(0,0,0,.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(255,23,56,.16), transparent 32rem),
    radial-gradient(circle at 12% 35%, rgba(0,200,243,.07), transparent 28rem),
    var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(8,10,15,.74);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 850;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.brand span {
  color: var(--red);
  font-size: .92rem;
  letter-spacing: .19em;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: #c4c9d3;
  font-size: .95rem;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255,255,255,.04);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 72px 0 92px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  top: -160px;
  right: -120px;
  background: rgba(255,23,56,.15);
}

.hero-glow-two {
  width: 380px;
  height: 380px;
  bottom: -180px;
  left: -140px;
  background: rgba(0,200,243,.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(255,23,56,.3);
  border-radius: 999px;
  color: #ff95a7;
  background: rgba(255,23,56,.08);
  font-size: .84rem;
  font-weight: 800;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255,23,56,.12);
}

h1 {
  max-width: 720px;
  margin: 22px 0;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.065em;
}

.hero-text {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 42px rgba(255,23,56,.28);
}

.button-secondary {
  color: #e1e4ea;
  border-color: var(--border);
  background: rgba(255,255,255,.045);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
  color: #858c99;
  font-size: .9rem;
}

.stats div {
  min-width: 115px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: #fff;
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.phone-shadow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,23,56,.28), rgba(255,23,56,.04) 55%, transparent 72%);
  filter: blur(10px);
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(360px, 80vw);
  padding: 9px;
  border-radius: 52px;
  background: linear-gradient(150deg, #3c3f47, #12141a 48%, #51545d);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.dynamic-island {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 50%;
  width: 112px;
  height: 29px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #030405;
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 44px;
}

.floating-icon {
  position: absolute;
  z-index: 3;
  top: 11%;
  left: 3%;
  width: 118px;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0,0,0,.48);
  transform: rotate(-7deg);
}

.section {
  padding: 105px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-label {
  color: var(--red);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  transition: transform .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,23,56,.32);
}

.feature-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--red);
  background: rgba(255,23,56,.12);
  font-weight: 900;
}

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

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.screenshots-section {
  background: #0c0f15;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.screenshot-card {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: linear-gradient(145deg, #242832, #0e1015);
  box-shadow: 0 25px 75px rgba(0,0,0,.35);
  transition: transform .25s ease;
}

.screenshot-card:hover {
  transform: translateY(-8px);
}

.screenshot-card.offset {
  margin-top: 55px;
}

.screenshot-card img {
  display: block;
  width: 100%;
  border-radius: 26px;
}

.screenshot-card figcaption {
  padding: 15px 8px 7px;
  color: #c8ccd5;
  text-align: center;
  font-weight: 700;
}

.download-section {
  padding-top: 90px;
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 60px;
  overflow: hidden;
  border: 1px solid rgba(255,23,56,.25);
  border-radius: 38px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,23,56,.26), transparent 20rem),
    linear-gradient(140deg, #17131a, #0d0f15);
}

.download-card img {
  width: 108px;
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(0,0,0,.42);
}

.download-card h2 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.download-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--border);
  color: #858b97;
  font-size: .9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions,
  .stats {
    justify-content: center;
  }

  .hero-visual {
    min-height: 610px;
  }

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

  .screenshot-grid {
    max-width: 720px;
    margin: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-card.offset {
    margin-top: 0;
  }

  .download-card {
    grid-template-columns: auto 1fr;
  }

  .download-card .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 13px;
    right: 13px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(17,20,27,.98);
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
  }

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

  .nav-links a {
    padding: 13px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .hero-visual {
    min-height: 530px;
  }

  .phone-frame {
    width: 285px;
    border-radius: 43px;
  }

  .phone-frame img {
    border-radius: 36px;
  }

  .floating-icon {
    width: 88px;
    left: 0;
  }

  .section {
    padding: 78px 0;
  }

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

  .screenshot-card {
    max-width: 330px;
    margin-inline: auto !important;
  }

  .download-card {
    grid-template-columns: 1fr;
    padding: 34px 24px;
    text-align: center;
  }

  .download-card img {
    margin: auto;
  }

  .download-card .button {
    grid-column: auto;
  }
}
