:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #aebbd0;
  --deep: #03051d;
  --panel: #07152f;
  --panel-soft: #0d2240;
  --cyan: #6de0e8;
  --teal: #2fb7bd;
  --gold: #ffc65d;
  --orange: #ff9f36;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(109, 224, 232, 0.18), transparent 31rem),
    radial-gradient(circle at 82% 0%, rgba(255, 198, 93, 0.14), transparent 28rem),
    linear-gradient(145deg, #030417 0%, #070526 46%, #021827 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 5, 29, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.use-case-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
}

.nav-links {
  gap: clamp(1rem, 3vw, 2.25rem);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.primary-button {
  color: #11182a;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 16px 40px rgba(255, 166, 62, 0.26);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(84vh - 5rem);
  padding: clamp(2rem, 4.5vw, 4rem) clamp(1rem, 5vw, 5rem) clamp(1.25rem, 3vw, 2.25rem);
  overflow: hidden;
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.8rem, 9.2vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 42rem;
  color: #dce7f7;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-stats span {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats strong {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 28rem;
}

.phone {
  position: absolute;
  width: min(46vw, 18rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.phone-main {
  right: 11%;
  top: 0;
  z-index: 2;
}

.phone-side {
  right: 45%;
  top: 5.5rem;
  width: min(34vw, 14rem);
  opacity: 0.92;
}

.intro-band {
  margin: 0 clamp(1rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(47, 183, 189, 0.16), rgba(255, 198, 93, 0.12));
}

.intro-band p {
  max-width: 70rem;
  margin: 0 auto;
  color: #d9e7f6;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.45;
  text-align: center;
}

.section,
.split-section,
.gallery-section,
.use-cases,
.download,
.privacy-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 45rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-grid article {
  min-height: 18rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(13, 34, 64, 0.92), rgba(5, 13, 35, 0.86));
}

.feature-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  border-radius: 0.5rem;
  color: #07152f;
  font-weight: 900;
  background: var(--cyan);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.feature-grid p,
.download p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  background: rgba(255, 255, 255, 0.03);
}

.workflow-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow-list li {
  counter-increment: workflow;
  position: relative;
  min-height: 7rem;
  padding: 1.35rem 1.35rem 1.35rem 5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--muted);
  background: rgba(7, 21, 47, 0.78);
}

.workflow-list li::before {
  content: counter(workflow, decimal-leading-zero);
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;
  color: var(--gold);
  font-weight: 900;
}

.workflow-list strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 1.15rem;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  margin-top: 2.5rem;
}

.screen-gallery figure {
  margin: 0;
}

.screen-gallery img {
  width: 100%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.screen-gallery figcaption {
  margin-top: 0.9rem;
  color: #dce7f7;
  font-weight: 800;
}

.use-cases {
  background: linear-gradient(135deg, rgba(109, 224, 232, 0.1), rgba(255, 159, 54, 0.08));
}

.use-case-row {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.use-case-row span {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  color: #eaf3ff;
  font-weight: 800;
}

.download {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin: clamp(1rem, 5vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(7, 21, 47, 0.95), rgba(3, 5, 29, 0.84));
}

.download-icon {
  width: clamp(4.5rem, 9vw, 7rem);
  border-radius: 1.5rem;
}

.download h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.privacy-section {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.privacy-page {
  min-height: calc(100vh - 9rem);
}

.privacy-header {
  max-width: 54rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.privacy-header h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
}

.privacy-header p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.policy-content {
  display: grid;
  gap: 1rem;
  max-width: 62rem;
  margin: 0 auto;
}

.policy-content article {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(7, 21, 47, 0.72);
}

.policy-content h3 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.policy-content h4 {
  margin: 1.3rem 0 0.6rem;
  color: #dce7f7;
  font-size: 1.05rem;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-content p:last-child,
.policy-content ul:last-child {
  margin-bottom: 0;
}

.policy-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.policy-content a {
  color: var(--cyan);
  font-weight: 800;
}

.partner-list {
  columns: 2;
  column-gap: 2rem;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

.site-footer span {
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 980px) {
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 22rem;
  }

  .phone-main {
    right: 7%;
  }

  .phone-side {
    right: auto;
    left: 4%;
  }

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

  .split-section,
  .download {
    grid-template-columns: 1fr;
  }

  .download .primary-button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 2.6rem;
    padding-inline: 1rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 14rem;
  }

  .phone {
    width: 48vw;
    border-radius: 1.5rem;
  }

  .phone-main {
    right: 0;
  }

  .phone-side {
    top: 4rem;
    width: 38vw;
  }

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

  .feature-grid article {
    min-height: 14rem;
  }

  .screen-gallery {
    max-width: 25rem;
    margin-inline: auto;
  }

  .workflow-list li {
    padding-left: 1.35rem;
    padding-top: 3.5rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .partner-list {
    columns: 1;
  }
}
