:root {
  --bg: #060b10;
  --bg-soft: #0d151b;
  --surface: rgba(19, 25, 31, 0.84);
  --surface-strong: rgba(22, 28, 35, 0.94);
  --surface-highlight: rgba(20, 57, 58, 0.42);
  --line: rgba(161, 186, 198, 0.12);
  --line-strong: rgba(161, 186, 198, 0.18);
  --text: #eef6f7;
  --text-secondary: #8ea0b2;
  --brand: #1dcfd0;
  --brand-strong: #19b9cb;
  --brand-soft: rgba(29, 207, 208, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1280px, calc(100vw - 88px));
  --sans: "Noto Sans SC", sans-serif;
  --display: "Space Grotesk", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(28, 148, 132, 0.28), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(14, 84, 98, 0.25), transparent 24%),
    linear-gradient(180deg, #05090d 0%, #060b10 100%);
  overflow-x: hidden;
}

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

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

.page-shell {
  position: relative;
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.45));
  opacity: 0.28;
}

.bg-glow {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.55;
}

.bg-glow-left {
  top: 7rem;
  left: 12vw;
  background: rgba(34, 193, 140, 0.18);
}

.bg-glow-right {
  right: -10vw;
  bottom: 10vh;
  background: rgba(20, 108, 122, 0.22);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 9, 13, 0.86);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 16px 28px rgba(25, 185, 203, 0.18);
}

.nav-links {
  display: flex;
  gap: 48px;
}

.nav-links a {
  color: #b9c7d9;
  font-size: 18px;
  font-weight: 700;
}

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

.section {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 54px 0 72px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 390px);
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 104px - 54px);
}

.hero-copy {
  max-width: 620px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(19, 34, 37, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  color: #8daab8;
  font-size: 16px;
  font-weight: 700;
}

.pill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(29, 207, 208, 0.75);
}

.hero-copy h1 {
  margin: 34px 0 22px;
  font-size: clamp(56px, 7vw, 86px);
  line-height: 1.01;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-copy h1 span {
  display: block;
  margin-top: 10px;
  color: var(--brand);
  text-shadow: 0 0 30px rgba(29, 207, 208, 0.18);
}

.hero-summary {
  margin: 0 0 34px;
  color: #93a9ba;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 210px;
  padding: 15px 20px;
  border-radius: 18px;
  background: rgba(20, 24, 29, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.download-button:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 207, 208, 0.32);
}

.download-button.apple {
  background: #030507;
}

.download-button.android {
  background: rgba(22, 27, 33, 0.94);
}

.button-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.download-button span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.download-button small {
  color: #95a5b1;
  font-size: 12px;
  font-weight: 700;
}

.hero-device {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: min(100%, 332px);
  padding: 14px;
  border-radius: 40px;
  background: linear-gradient(180deg, #232935 0%, #171c23 100%);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.device-screen {
  min-height: 650px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 33, 41, 0.98) 0%, rgba(16, 20, 26, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.device-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--display);
  font-size: 18px;
}

.device-app-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, #27dfd4 0%, #1498ca 100%);
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.device-card {
  min-height: 220px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.device-card p {
  margin: 12px 0 14px;
  color: #67798c;
  font-size: 14px;
  font-weight: 700;
}

.device-card strong {
  font-size: 28px;
  font-weight: 900;
}

.mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.mini-icon.cyan {
  background: linear-gradient(135deg, #22dac9 0%, #0bb2b9 100%);
}

.mini-icon.blue {
  background: linear-gradient(135deg, #2fd0e9 0%, #7041ed 100%);
}

.mini-icon.green {
  background: linear-gradient(135deg, #2cd86d 0%, #1daf54 100%);
}

.mini-icon.orange {
  background: linear-gradient(135deg, #ffb100 0%, #ff9600 100%);
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.section-heading p {
  margin: 0 auto;
  max-width: 820px;
  color: #90a6b8;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
  font-weight: 700;
}

.showcase-section {
  padding: 20px 0 26px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.showcase-card,
.feature-card {
  background: linear-gradient(180deg, rgba(24, 30, 37, 0.9) 0%, rgba(20, 24, 29, 0.94) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.showcase-card {
  min-height: 0;
}

.screen-frame {
  min-height: 360px;
  padding: 14px 14px 0;
  background: linear-gradient(180deg, rgba(27, 48, 50, 0.58) 0%, rgba(15, 20, 26, 0.28) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  cursor: zoom-in;
  appearance: none;
  width: 100%;
  text-align: inherit;
}

.screen-frame img {
  width: 100%;
  height: 100%;
  max-height: 346px;
  object-fit: contain;
  object-position: center top;
  border-radius: 24px 24px 0 0;
  background: #090d12;
}

.showcase-copy {
  padding: 22px 24px 26px;
}

.showcase-copy h3,
.feature-card h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  font-weight: 900;
}

.showcase-copy p,
.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
}

.features-section {
  padding: 52px 0 72px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.feature-card {
  min-height: 260px;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(25, 53, 52, 0.34) 0%, rgba(21, 26, 31, 0.95) 55%, rgba(16, 42, 48, 0.42) 100%);
}

.feature-icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 20px;
  color: var(--brand);
  background: linear-gradient(180deg, rgba(22, 61, 64, 0.76) 0%, rgba(17, 33, 37, 0.88) 100%);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0 40px;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
}

.footer-brand p {
  margin: 0 0 10px;
  color: #7f93a6;
  font-size: 16px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  color: #7f93a6;
  font-size: 16px;
  font-weight: 700;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 9, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  max-height: calc(100vh - 64px);
  padding: 18px;
  border-radius: 24px;
  background: rgba(14, 19, 25, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-dialog img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 18px;
  background: #090d12;
}

.lightbox-dialog p {
  margin: 14px 4px 0;
  color: #9db0c1;
  font-size: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

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

@media (max-width: 1280px) {
  :root {
    --container: min(1120px, calc(100vw - 56px));
  }

  .hero-layout {
    gap: 40px;
    grid-template-columns: 1fr 336px;
  }

  .showcase-grid,
  .feature-grid {
    gap: 20px;
  }

  .feature-card {
    padding: 28px;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100vw - 32px, 1000px);
  }

  .nav {
    height: 84px;
  }

  .brand {
    font-size: 24px;
    gap: 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 16px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 12vw, 72px);
  }

  .hero-summary {
    font-size: 17px;
  }

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

  .device-frame {
    width: min(100%, 360px);
  }

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

  .showcase-card {
    min-height: auto;
  }

  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100vw - 24px);
  }

  .site-header {
    position: sticky;
  }

  .nav {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    gap: 18px;
  }

  .pill {
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-copy h1 {
    margin-top: 28px;
    font-size: clamp(38px, 14vw, 56px);
  }

  .hero-summary {
    font-size: 16px;
    line-height: 1.7;
  }

  .download-button {
    min-width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .button-mark {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .download-button span:last-child {
    font-size: 18px;
  }

  .device-frame {
    padding: 12px;
    border-radius: 34px;
  }

  .device-screen {
    min-height: 540px;
  }

  .device-top {
    padding: 22px 20px 18px;
    font-size: 18px;
  }

  .device-grid {
    gap: 12px;
    padding: 16px;
  }

  .device-card {
    min-height: 184px;
    padding: 16px;
    border-radius: 18px;
  }

  .device-card p {
    font-size: 14px;
  }

  .device-card strong {
    font-size: 28px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .section-heading p,
  .showcase-copy p,
  .feature-card p {
    font-size: 16px;
  }

  .showcase-copy,
  .feature-card {
    padding: 24px;
  }

  .screen-frame {
    min-height: 250px;
    padding: 14px 14px 0;
  }

  .screen-frame img {
    max-height: 236px;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    border-radius: 20px;
  }

  .footer-brand p,
  .footer-links {
    font-size: 15px;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-dialog {
    padding: 12px;
    border-radius: 18px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    padding: 8px 12px;
    font-size: 13px;
  }
}
