:root {
  --bg: #080b14;
  --bg-2: #0e1322;
  --card: rgba(255, 255, 255, 0.055);
  --card-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eef3ff;
  --muted: #aab4ca;
  --muted-2: #7f8aa3;
  --accent: #35c7ff;
  --accent-2: #7c5cff;
  --accent-3: #21ffd9;
  --danger: #ff6b8a;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  --radius: 28px;
}

html[data-theme="light"] {
  --bg: #f5f8ff;
  --bg-2: #edf3ff;
  --card: rgba(255, 255, 255, 0.82);
  --card-2: rgba(255, 255, 255, 0.96);
  --border: rgba(20, 35, 70, 0.12);
  --text: #101828;
  --muted: #526071;
  --muted-2: #718096;
  --shadow: 0 26px 80px rgba(42, 71, 122, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background:
    radial-gradient(circle at 18% 4%, rgba(124, 92, 255, 0.30), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(33, 255, 217, 0.16), transparent 26%),
    radial-gradient(circle at 50% 110%, rgba(53, 199, 255, 0.18), transparent 34%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 15%, black, transparent 70%);
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 110px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(10, 14, 27, 0.58);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 14px 34px rgba(53, 199, 255, 0.24);
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: var(--card);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: var(--card-2);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 56px 42px 44px;
  border: 1px solid var(--border);
  border-radius: 36px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.028)),
    radial-gradient(circle at 18% 18%, rgba(124, 92, 255, 0.24), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(33, 255, 217, 0.12), transparent 28%),
    rgba(255,255,255,.035);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 38%, rgba(53,199,255,.14), transparent 22%),
    radial-gradient(circle at 78% 60%, rgba(124,92,255,.14), transparent 24%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  width: 180px;
  height: 150px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.robot-card {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    radial-gradient(circle at 30% 20%, rgba(124,92,255,.36), transparent 38%),
    radial-gradient(circle at 70% 75%, rgba(53,199,255,.28), transparent 42%);
  box-shadow:
    0 28px 80px rgba(34, 211, 238, .22),
    inset 0 1px 0 rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.12);
  animation: floatBot 4.2s ease-in-out infinite;
}

.robot-svg {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 18px 35px rgba(53,199,255,.28));
}

.orbit {
  position: absolute;
  border: 1px solid rgba(53, 199, 255, .22);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.orbit--one {
  width: 176px;
  height: 76px;
  animation: orbitPulse 3.8s ease-in-out infinite;
}

.orbit--two {
  width: 130px;
  height: 54px;
  transform: rotate(24deg);
  border-color: rgba(124, 92, 255, .25);
  animation: orbitPulse 4.5s ease-in-out infinite reverse;
}

@keyframes floatBot {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbitPulse {
  0%, 100% {
    opacity: .55;
    scale: 1;
  }

  50% {
    opacity: 1;
    scale: 1.06;
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-3);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  width: min(840px, 100%);
  margin: 0 auto;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.lead {
  width: min(680px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.55;
}

.actions {
  width: min(620px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

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

.btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 18px 50px rgba(53, 199, 255, 0.26);
}

.btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 24px 64px rgba(53, 199, 255, 0.36);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(53, 199, 255, 0.34);
}

.btn--cabinet {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(620px, 100%);
  margin: 14px auto 0;
  padding: 18px 24px;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(124,92,255,1), rgba(53,199,255,1));
  box-shadow:
    0 20px 55px rgba(53,199,255,.24),
    inset 0 1px 0 rgba(255,255,255,.24);
  border: 1px solid rgba(255,255,255,.18);
}

.btn--cabinet:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 26px 70px rgba(53,199,255,.34),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.hero-badges {
  width: min(720px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-badge {
  min-height: 82px;
  padding: 14px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

html[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.82);
}

.hero-badge span {
  font-size: 24px;
}

.hero-badge strong {
  font-size: 13px;
  line-height: 1.25;
  color: var(--text);
}

.platform-block {
  margin-top: 26px;
}

.platform-title {
  margin: 0 0 12px;
  font-weight: 900;
  color: var(--text);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.trust span {
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
}

.payment-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section {
  margin-top: 28px;
}

.section__head {
  margin-bottom: 18px;
  text-align: center;
}

.section__head h2,
.help-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.plan {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .plan {
  background: rgba(255, 255, 255, 0.82);
}

.plan::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(53,199,255,.20), transparent 70%);
}

.plan h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.plan p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.plan strong {
  margin-top: 28px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.plan--popular {
  border-color: rgba(53, 199, 255, 0.38);
  box-shadow:
    0 22px 70px rgba(53, 199, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #07111f;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  font-size: 12px;
  font-weight: 900;
}

.help-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 20%, rgba(124, 92, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}

html[data-theme="light"] .help-card {
  background: rgba(255, 255, 255, 0.86);
}

.steps {
  margin: 24px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.steps li + li {
  margin-top: 14px;
}

.steps strong {
  color: var(--text);
}

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

.features article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}

html[data-theme="light"] .features article {
  background: rgba(255, 255, 255, 0.84);
}

.features span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(53, 199, 255, 0.12);
  font-size: 24px;
}

.features h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.features p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  margin: 34px 0 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  text-decoration: none;
}

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

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 40;
  width: min(560px, calc(100% - 28px));
  transform: translateX(-50%);
  display: none;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(10, 14, 27, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .bottom-nav {
  background: rgba(255, 255, 255, 0.82);
}

.bottom-nav a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.bottom-nav__main {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

@media (max-width: 980px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 720px) {
  .page {
    width: min(100% - 22px, 1120px);
    padding-bottom: 104px;
  }

  .topbar {
    top: 8px;
    border-radius: 20px;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px 28px;
    border-radius: 30px;
  }

  .hero-visual {
    width: 150px;
    height: 126px;
  }

  .robot-card {
    width: 128px;
    height: 128px;
    border-radius: 34px;
  }

  .robot-svg {
    width: 120px;
    height: 120px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .help-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .help-card .btn {
    width: 100%;
  }

  .bottom-nav {
    display: grid;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

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

  .lead {
    font-size: 16px;
  }

  .btn {
    min-height: 56px;
  }

  .plan {
    min-height: 170px;
  }
}
/* ===== Jarvice visual patch: header robot + Telegram button ===== */

.brand__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.03)),
    radial-gradient(circle at 35% 25%, rgba(124, 92, 255, 0.45), transparent 42%),
    radial-gradient(circle at 75% 75%, rgba(53, 199, 255, 0.35), transparent 45%);
  box-shadow:
    0 14px 34px rgba(53, 199, 255, 0.24),
    inset 0 1px 0 rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.12);
}

.brand__icon--robot svg {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(53, 199, 255, .28));
}

.btn--telegram {
  color: #ffffff;
  background:
    linear-gradient(135deg, #229ed9 0%, #35c7ff 52%, #7c5cff 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 50px rgba(34, 158, 217, 0.28),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.btn--telegram:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 24px 64px rgba(34, 158, 217, 0.38),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.btn--telegram::before {
  content: "✈";
  margin-right: 9px;
  font-size: 17px;
  line-height: 1;
}

html[data-theme="light"] .btn--telegram {
  color: #ffffff;
  background:
    linear-gradient(135deg, #1687c2 0%, #26bdf4 52%, #6b5cff 100%);
}


/* ===== Jarvice visual patch: header robot + Telegram button ===== */

.brand__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.03)),
    radial-gradient(circle at 35% 25%, rgba(124, 92, 255, 0.45), transparent 42%),
    radial-gradient(circle at 75% 75%, rgba(53, 199, 255, 0.35), transparent 45%);
  box-shadow:
    0 14px 34px rgba(53, 199, 255, 0.24),
    inset 0 1px 0 rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.12);
}

.brand__icon--robot svg {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(53, 199, 255, .28));
}

.btn--telegram {
  color: #ffffff;
  background:
    linear-gradient(135deg, #229ed9 0%, #35c7ff 52%, #7c5cff 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 50px rgba(34, 158, 217, 0.28),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.btn--telegram:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 24px 64px rgba(34, 158, 217, 0.38),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.btn--telegram::before {
  content: "✈";
  margin-right: 9px;
  font-size: 17px;
  line-height: 1;
}

html[data-theme="light"] .btn--telegram {
  color: #ffffff;
  background:
    linear-gradient(135deg, #1687c2 0%, #26bdf4 52%, #6b5cff 100%);
}


/* ===== Legal documents block ===== */

.legal-section {
  scroll-margin-top: 90px;
}

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

.legal-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.legal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(53,199,255,.45);
  background:
    linear-gradient(145deg, rgba(53,199,255,.12), rgba(124,92,255,.07));
}

.legal-card span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 22px;
  background: rgba(53,199,255,.12);
  border: 1px solid rgba(53,199,255,.22);
}

.legal-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.legal-card p {
  margin: 0;
  opacity: .72;
  line-height: 1.55;
}

/* ===== Light theme fix ===== */

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] body {
  color: #111827;
  background:
    radial-gradient(circle at 20% 10%, rgba(124,92,255,.16), transparent 32%),
    radial-gradient(circle at 80% 5%, rgba(53,199,255,.18), transparent 35%),
    linear-gradient(180deg, #f7f9ff 0%, #edf3fb 100%);
}

html[data-theme="light"] .topbar,
html[data-theme="light"] .hero,
html[data-theme="light"] .plan,
html[data-theme="light"] .help-card,
html[data-theme="light"] .features article,
html[data-theme="light"] .legal-card,
html[data-theme="light"] .bottom-nav {
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 18px 55px rgba(15,23,42,.08);
}

html[data-theme="light"] .lead,
html[data-theme="light"] .plan p,
html[data-theme="light"] .features p,
html[data-theme="light"] .legal-card p,
html[data-theme="light"] .brand small,
html[data-theme="light"] .payment-note {
  color: rgba(15,23,42,.68);
}

html[data-theme="light"] .trust span {
  color: #1f2937;
  background: rgba(15,23,42,.05);
  border-color: rgba(15,23,42,.10);
}

html[data-theme="light"] .btn--ghost {
  color: #111827;
  background: rgba(15,23,42,.04);
  border-color: rgba(15,23,42,.12);
}

html[data-theme="light"] .theme-toggle {
  color: #111827;
  background: rgba(15,23,42,.05);
  border-color: rgba(15,23,42,.12);
}

html[data-theme="light"] .footer a,
html[data-theme="light"] .bottom-nav a {
  color: #334155;
}

html[data-theme="light"] .bottom-nav__main {
  color: #ffffff !important;
}

@media (max-width: 720px) {
  .legal-cards {
    grid-template-columns: 1fr;
  }
}

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

.app-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, rgba(124, 92, 255, .18), rgba(33, 255, 217, .10));
  border: 1px solid rgba(114, 247, 255, .22);
  box-shadow: 0 22px 60px rgba(53, 199, 255, .10);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 247, 255, .65);
  box-shadow: 0 28px 80px rgba(53, 199, 255, .18);
}

.app-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  font-size: 30px;
  background: rgba(255, 255, 255, .10);
}

.app-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.app-card p {
  margin: 0;
  opacity: .72;
}

@media (max-width: 720px) {
  .app-cards {
    grid-template-columns: 1fr;
  }
}

.apps-section {
  padding-top: 32px;
}

.apps-panel {
  padding: 36px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 15%, rgba(33, 255, 217, .18), transparent 34%),
    radial-gradient(circle at 88% 86%, rgba(53, 199, 255, .18), transparent 36%),
    linear-gradient(135deg, rgba(20, 27, 48, .92), rgba(8, 13, 24, .92));
  border: 1px solid rgba(114, 247, 255, .22);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}

.apps-subtitle {
  max-width: 680px;
  margin: 10px auto 0;
  text-align: center;
  color: var(--muted);
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.app-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 118px;
  padding: 26px;
  overflow: hidden;
  border-radius: 30px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(
    from 180deg,
    transparent,
    rgba(33, 255, 217, .38),
    rgba(53, 199, 255, .35),
    rgba(124, 92, 255, .32),
    transparent
  );
  opacity: .45;
  animation: appGlow 5s linear infinite;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  background: linear-gradient(135deg, rgba(14, 22, 38, .96), rgba(9, 14, 25, .92));
}

.app-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(33, 255, 217, .65);
  box-shadow: 0 26px 80px rgba(33, 255, 217, .16);
}

.app-card__icon,
.app-card__content,
.app-card__arrow {
  position: relative;
  z-index: 1;
}

.app-card__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 24px;
  font-size: 32px;
  background: linear-gradient(135deg, rgba(33, 255, 217, .20), rgba(53, 199, 255, .10));
  border: 1px solid rgba(114, 247, 255, .28);
  box-shadow: 0 16px 38px rgba(33, 255, 217, .10);
}

.app-card__content strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
}

.app-card__content small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.app-card__arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #071018;
  font-weight: 900;
  background: linear-gradient(135deg, #21ffd9, #35c7ff);
  box-shadow: 0 14px 32px rgba(33, 255, 217, .22);
}

@keyframes appGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
  .apps-panel {
    padding: 24px;
  }

  .app-cards {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 104px;
    padding: 22px;
  }
}

.app-showcase {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  overflow: hidden;
}

.app-showcase img {
  display: block;
  width: auto;
  max-width: 520px;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  border-radius: 28px;
  border: 1px solid rgba(114, 247, 255, .24);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .36);
}

@media (max-width: 720px) {
  .app-showcase {
    padding: 0;
    overflow: visible;
  }

  .app-showcase img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

.app-showcase {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  overflow: visible !important;
}

.app-showcase img {
  display: block !important;
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 12px;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.top-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
  background: rgba(33, 255, 217, .12);
  border-color: rgba(33, 255, 217, .35);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

@media (max-width: 860px) {
  .top-nav {
    order: 3;
    width: 100%;
    margin: 12px 0 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .top-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 14px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  overflow: hidden;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.top-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(33,255,217,.22), rgba(53,199,255,.18));
  transition: opacity .18s ease;
}

.top-nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
  border-color: rgba(33, 255, 217, .38);
  background: rgba(33, 255, 217, .08);
}

.top-nav a:hover::before {
  opacity: 1;
}

.top-nav a {
  z-index: 1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

@media (max-width: 860px) {
  .top-nav {
    order: 3;
    width: 100%;
    margin: 12px 0 0;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .top-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 10px 14px;
    border-radius: 0 0 24px 24px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 12px;
  }

  .top-nav {
    display: none !important;
  }

  .theme-toggle {
    margin-left: auto;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .hero {
    margin-top: 18px;
  }
}

html[data-theme="light"] .top-nav {
  background: rgba(15, 23, 42, .06);
  border-color: rgba(15, 23, 42, .10);
}

html[data-theme="light"] .top-nav a {
  color: #0f172a;
  background: rgba(15, 23, 42, .055);
  border-color: rgba(15, 23, 42, .10);
}

html[data-theme="light"] .top-nav a:hover {
  color: #020617;
  background: rgba(14, 165, 233, .14);
  border-color: rgba(14, 165, 233, .35);
}

html[data-theme="light"] .top-nav a::before {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, .18),
    rgba(34, 211, 238, .16)
  );
}