:root {
  --primary: #6c63ff;
  --primary-dark: #564de6;
  --primary-soft: rgba(108, 99, 255, 0.16);
  --mint: #26c8a8;
  --mint-soft: rgba(38, 200, 168, 0.14);
  --sky: #4da8ff;
  --sky-soft: rgba(77, 168, 255, 0.14);
  --rose: #ff7b8f;
  --rose-soft: rgba(255, 123, 143, 0.14);
  --bg: #0e1117;
  --surface: #171b23;
  --surface-hi: #1d222d;
  --surface-glass: rgba(23, 27, 35, 0.84);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --text-soft: #b2bacb;
  --text-dim: #727b8e;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(108, 99, 255, 0.14), transparent 30%),
    radial-gradient(circle at left center, rgba(77, 168, 255, 0.08), transparent 26%),
    radial-gradient(circle at right bottom, rgba(38, 200, 168, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 40px;
  background: rgba(14, 17, 23, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.nav-logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.mobile-menu-toggle svg {
  display: block;
  position: absolute;
}

.mobile-menu-toggle:hover {
  border-color: rgba(108, 99, 255, 0.24);
}

.mobile-menu-toggle .menu-open-icon { display: none; }

.mobile-menu-panel { display: none; }

.nav-link,
.nav-cta,
.store-btn,
.btn-primary,
.btn-secondary {
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}

.nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(108, 99, 255, 0.24);
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 22px rgba(108, 99, 255, 0.28);
}

.nav-cta:hover,
.btn-primary:hover,
.store-btn:hover {
  transform: translateY(-2px);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--primary-dark);
}

.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 70px 40px 88px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 55% 16%, rgba(108, 99, 255, 0.18), transparent 20%),
    radial-gradient(circle at 80% 66%, rgba(77, 168, 255, 0.10), transparent 18%),
    radial-gradient(circle at 25% 80%, rgba(38, 200, 168, 0.10), transparent 18%);
  pointer-events: none;
}

.hero-inner,
.stats-inner,
.section-inner,
.showcase-inner,
.footer-inner,
.legal-shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  border: 1px solid rgba(108, 99, 255, 0.28);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -1.4px;
  font-weight: 900;
}

.hero h1 span,
.accent {
  color: var(--primary);
}

.hero-sub {
  max-width: 500px;
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.72;
  margin: 0 0 34px;
}

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

.btn-primary,
.btn-secondary,
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(108, 99, 255, 0.34);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 99, 255, 0.24);
}

.hero-note {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 13px;
}

.phone-cluster {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
}

.phone-mockup {
  position: relative;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.48));
}

.phone-main {
  width: 290px;
  z-index: 2;
}

.phone-side {
  width: 235px;
  position: absolute;
  left: 18px;
  bottom: 20px;
  opacity: 0.84;
  transform: translateY(32px);
  z-index: 1;
}

.phone-frame {
  background: #15181e;
  border-radius: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 30px;
  border-radius: 0 0 18px 18px;
  background: #15181e;
  z-index: 2;
}

.phone-screen {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, #121723 0%, #0f1420 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-bar {
  padding: 28px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1px;
}

.stat-label {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.section,
.showcase,
.cta-section {
  padding: 94px 40px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header h2,
.showcase-text h2,
.cta-section h2,
.legal-card h1,
.legal-card h2 {
  margin: 16px 0 14px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 900;
}

.section-sub,
.showcase-text p,
.legal-intro,
.legal-card p,
.legal-card li {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

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

.feature-card,
.legal-card,
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.feature-icon.orange { background: var(--primary-soft); color: var(--primary); }
.feature-icon.mint { background: var(--mint-soft); color: var(--mint); }
.feature-icon.sky { background: var(--sky-soft); color: var(--sky); }
.feature-icon.rose { background: var(--rose-soft); color: var(--rose); }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.screens-carousel {
  position: relative;
}

.screens-carousel::before,
.screens-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  z-index: 2;
  pointer-events: none;
}

.screens-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(14, 17, 23, 0.96), rgba(14, 17, 23, 0));
}

.screens-carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(14, 17, 23, 0.96), rgba(14, 17, 23, 0));
}

.screens-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 292px);
  gap: 22px;
  overflow-x: auto;
  padding: 8px 14px 16px;
  margin: 0 -14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(108, 99, 255, 0.45) rgba(255, 255, 255, 0.06);
}

.screens-grid::-webkit-scrollbar {
  height: 10px;
}

.screens-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.screens-grid::-webkit-scrollbar-thumb {
  background: rgba(108, 99, 255, 0.45);
  border-radius: 999px;
}

.screen-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.screen-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.screen-meta h3 {
  margin: 0;
  font-size: 17px;
}

.screen-meta p {
  margin: 2px 0 0;
  color: var(--text-dim);
  font-size: 13px;
}

.screen-pill {
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(108, 99, 255, 0.22);
  white-space: nowrap;
}

.showcase-inner {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 78px;
  align-items: center;
}

.showcase-inner.reverse {
  direction: rtl;
}

.showcase-inner.reverse > * {
  direction: ltr;
}

.showcase-text .tag {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}

.showcase-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(108, 99, 255, 0.16), transparent 32%);
  pointer-events: none;
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-icon {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  margin: 0 auto 26px;
  box-shadow: 0 18px 40px rgba(108, 99, 255, 0.26);
}

.cta-section p {
  color: var(--text-soft);
  font-size: 17px;
  margin: 0 0 36px;
}

.store-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.store-btn {
  min-width: 220px;
}

.store-btn.light {
  color: #0f1014;
  background: #f4f6fb;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.store-btn.dark {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.footer {
  padding: 28px 40px 50px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-copy a {
  color: var(--text-soft);
}

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

.legal-shell {
  padding: 56px 40px 90px;
}

.page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 0 0;
}

.page-hero {
  margin-bottom: 28px;
}

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  border: 1px solid rgba(108, 99, 255, 0.28);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-sub {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  margin-bottom: 20px;
  font-weight: 600;
}

.legal-card {
  padding: 36px;
}

.legal-intro {
  margin: 0 0 28px;
}

.legal-card h2 {
  font-size: 24px;
  margin-top: 28px;
}

.legal-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

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

.support-card {
  padding: 26px;
}

.support-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.support-card p,
.support-card li {
  color: var(--text-soft);
}

.support-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.contact-row:hover {
  transform: translateY(-1px);
  border-color: rgba(108, 99, 255, 0.3);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(108, 99, 255, 0.18);
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(108, 99, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-text {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  padding-top: 3px;
}

.note,
.warn {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.7;
}

.note {
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  color: var(--text-soft);
}

.warn {
  background: rgba(255, 123, 143, 0.1);
  border: 1px solid rgba(255, 123, 143, 0.2);
  color: var(--text-soft);
}

.placeholder-meta {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .hero-inner,
  .showcase-inner,
  .showcase-inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .phone-cluster {
    min-height: 0;
    margin-top: 12px;
  }

  .phone-side {
    position: relative;
    left: auto;
    bottom: auto;
    transform: translateY(0);
    margin-left: -32px;
  }

  .features-grid,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav,
  .hero,
  .stats-bar,
  .section,
  .showcase,
  .cta-section,
  .footer,
  .legal-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-nav {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 12px;
    left: 0;
    right: 0;
    flex-wrap: nowrap;
    background: rgba(14, 17, 23, 0.96);
    backdrop-filter: blur(18px);
  }

  .nav-logo-text {
    font-size: 19px;
  }

  .site-nav > .nav-links {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }

  .site-nav:not(.menu-open) > .mobile-menu-toggle .menu-open-icon {
    display: none !important;
  }

  .site-nav:not(.menu-open) > .mobile-menu-toggle .menu-default-icon {
    display: block !important;
  }

  .site-nav.menu-open > .mobile-menu-toggle .menu-default-icon {
    display: none;
  }

  .site-nav.menu-open > .mobile-menu-toggle .menu-open-icon {
    display: block !important;
  }

  .site-nav > .mobile-menu-panel {
    display: none !important;
  }

  .site-nav.menu-open > .mobile-menu-panel {
    display: flex !important;
  }

  .site-nav > .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    z-index: 5;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(23, 27, 35, 0.98);
    box-shadow: var(--shadow);
  }

  .mobile-menu-panel .nav-link,
  .mobile-menu-panel .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 68px;
  }

  .hero-inner,
  .showcase-inner {
    gap: 36px;
  }

  .hero-copy,
  .section-header,
  .showcase-text,
  .cta-inner,
  .page-hero,
  .footer-inner {
    text-align: left;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-sub,
  .section-sub,
  .showcase-text p,
  .cta-section p,
  .legal-card p,
  .legal-card li {
    font-size: 16px;
  }

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

  .stats-inner {
    justify-content: flex-start;
    align-items: stretch;
    gap: 18px;
  }

  .stat {
    width: 100%;
    text-align: left;
  }

  .btn-primary,
  .btn-secondary,
  .store-btn {
    width: 100%;
  }

  .features-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .screens-grid {
    grid-auto-columns: minmax(232px, 84vw);
  }

  .screen-meta {
    align-items: flex-start;
  }

  .showcase-list li {
    align-items: flex-start;
  }

  .page-wrap {
    padding-top: 40px;
  }

  .hero-main,
  .feature-card,
  .legal-card,
  .support-card {
    padding: 22px;
  }

  .phone-main {
    width: 260px;
  }

  .phone-side {
    width: 205px;
    margin-left: -20px;
  }

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

  .cta-icon {
    margin: 0 0 22px;
  }

  .footer-inner {
    align-items: flex-start;
  }
}
