:root {
  --bg: #f6f8fb;
  --ink: #111827;
  --muted: #5b677a;
  --line: #d9e1ec;
  --surface: #ffffff;
  --teal: #0f766e;
  --blue: #2563eb;
  --amber: #d97706;
  --shadow: 0 22px 48px -34px rgba(17, 24, 39, 0.55);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid rgba(217, 225, 236, 0.9);
  backdrop-filter: blur(14px);
}

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #111827;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

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

.hero {
  min-height: calc(100vh - 68px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f6f8fb 0%, #f6f8fb 48%, #eef3f8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0), var(--bg));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  width: clamp(120px, 15vw, 190px);
  aspect-ratio: 9 / 18;
  object-fit: contain;
  padding: 0.35rem;
  border-radius: 24px;
  border: 1px solid rgba(217, 225, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-phone--one {
  right: 28%;
  top: 17%;
}

.hero-phone--two {
  right: 13%;
  top: 25%;
}

.hero-phone--three {
  right: 23%;
  bottom: 10%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 5.5rem 6rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  line-height: 0.94;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.hero-copy {
  max-width: 58ch;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border-radius: 10px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: #111827;
  box-shadow: 0 18px 30px -24px rgba(17, 24, 39, 0.9);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.btn--muted {
  color: #fff;
  background: #61706f;
  pointer-events: none;
}

.product-index {
  padding: 4.5rem 0 3rem;
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  max-width: 720px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.product-cards {
  display: grid;
  gap: 0.9rem;
}

.product-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  column-gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 34px -32px rgba(17, 24, 39, 0.5);
}

.product-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
}

.product-card span {
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.product-card small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 700;
}

.app-section {
  padding: 5.2rem 0;
  border-top: 1px solid var(--line);
}

.app-section--dinario {
  background: #f7fbf9;
}

.app-section--cypher {
  background: #f7f8ff;
}

.app-section--figus {
  background: #fffaf2;
}

.app-layout {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.app-copy {
  max-width: 520px;
}

.app-icon {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  margin-bottom: 1rem;
  box-shadow: 0 16px 30px -24px rgba(17, 24, 39, 0.8);
}

.app-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.feature-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #344255;
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.app-copy .btn {
  margin-top: 1.3rem;
}

.showcase {
  position: relative;
  min-width: 0;
  padding: 1rem 2.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.showcase-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(112px, 16vw, 160px);
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 0.2rem 0;
}

.showcase-track img {
  width: 100%;
  aspect-ratio: 9 / 18;
  object-fit: contain;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: zoom-in;
  scroll-snap-align: start;
  box-shadow: 0 16px 28px -26px rgba(17, 24, 39, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.showcase-track img:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -24px rgba(17, 24, 39, 0.65);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #111827;
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 1.35rem;
  line-height: 1;
}

.prev {
  left: 0.55rem;
}

.next {
  right: 0.55rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(8, 12, 18, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: min(92vw, 920px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 60px -28px #000;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

@media (min-width: 720px) {
  .product-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .app-layout {
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.35fr);
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    opacity: 0.5;
  }

  .hero-phone {
    width: clamp(84px, 25vw, 106px);
    border-radius: 18px;
    padding: 0.25rem;
  }

  .hero-phone--one {
    left: 13%;
    right: auto;
    top: auto;
    bottom: 2.5rem;
    z-index: 1;
  }

  .hero-phone--two {
    left: 61%;
    right: auto;
    top: auto;
    bottom: 2.8rem;
    z-index: 2;
  }

  .hero-phone--three {
    left: 37%;
    right: auto;
    top: auto;
    bottom: 1.2rem;
    z-index: 3;
  }

  .hero-content {
    padding-top: 3.4rem;
    padding-bottom: 17rem;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  h2 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .hero-copy {
    width: min(100%, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .product-index,
  .app-section {
    padding-block: 3.2rem;
  }

  .showcase {
    padding: 0.8rem 1.9rem;
  }

  .showcase-track {
    grid-auto-columns: clamp(92px, 33vw, 124px);
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
