@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #030712;
  --panel: #070b1d;
  --panel-2: #0b1024;
  --card: rgba(15, 23, 42, 0.78);
  --card-border: rgba(148, 163, 184, 0.14);
  --text: #f8fafc;
  --muted: #a5b4c8;
  --muted-2: #64748b;
  --accent: #7c5cff;
  --accent-2: #5b7cfa;
  --orange: #f97316;
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --line: rgba(148, 163, 184, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 20%, rgba(124, 92, 255, .11), transparent 30%),
    radial-gradient(circle at 48% 24%, rgba(37, 99, 235, .07), transparent 34%),
    linear-gradient(120deg, #010208 0%, #020617 50%, #050a1f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to right, transparent, black 20%, black 86%, transparent);
}

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

.page-shell {
  width: min(1680px, calc(100% - 48px));
  margin: 20px auto;
  display: grid;
  grid-template-columns: minmax(760px, 1fr) 520px;
  gap: 34px;
  align-items: start;
}

.main-panel {
  min-height: calc(100vh - 40px);
  background:
    radial-gradient(circle at 72% 18%, rgba(124, 92, 255, .17), transparent 28%),
    linear-gradient(180deg, rgba(5, 8, 24, .99), rgba(2, 6, 18, .99));
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 120px rgba(0,0,0,.46);
}

.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 44px;
  background: rgba(4, 7, 20, .74);
  border-bottom: 1px solid rgba(148, 163, 184, .08);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
}

.brand strong {
  display: block;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 9px;
  margin-top: 4px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex: 1;
  color: rgba(248, 250, 252, .82);
  font-weight: 600;
  font-size: 14px;
}

.nav a:hover {
  color: #8b76ff;
}

.lang {
  position: relative;
}

.lang-button {
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .78);
  color: var(--text);
  height: 48px;
  min-width: 112px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}

.globe {
  font-size: 12px;
  opacity: .9;
}

.chevron {
  color: var(--muted);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 142px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(12, 18, 35, .98);
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: 0 22px 60px rgba(0,0,0,.42);
  display: none;
}

.lang.open .lang-menu {
  display: block;
}

.lang-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 12px 10px;
  text-align: left;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.lang-menu button:hover {
  background: rgba(124, 92, 255, .16);
}

.hero {
  min-height: 512px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  padding: 80px 64px 44px;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label,
.mini-label {
  color: #9c8cff;
  text-transform: uppercase;
  letter-spacing: .38em;
  font-weight: 800;
  font-size: 12px;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(52px, 5.3vw, 88px);
  line-height: .96;
  letter-spacing: -.065em;
  margin: 0;
  max-width: 690px;
}

.accent-word {
  background: linear-gradient(135deg, #7c5cff, #5b7cfa 48%, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 540px;
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.button {
  height: 56px;
  min-width: 150px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid rgba(148, 163, 184, .18);
}

.primary {
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  box-shadow: 0 18px 38px rgba(124, 92, 255, .28);
}

.secondary {
  background: rgba(2, 6, 23, .35);
}

.hero-art {
  position: relative;
  min-height: 420px;
}

.phone {
  position: absolute;
  width: 300px;
  height: 500px;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(10deg);
  border-radius: 46px;
  background:
    linear-gradient(160deg, rgba(16, 24, 48, .92), rgba(2, 6, 23, .96));
  border: 2px solid rgba(255,255,255,.08);
  box-shadow:
    0 44px 120px rgba(0,0,0,.72),
    inset 0 0 42px rgba(255,255,255,.035),
    inset 0 -90px 110px rgba(15,23,42,.22);
}

.notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 108px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #020617;
  z-index: 2;
}

.screen {
  position: absolute;
  inset: 48px 22px 26px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 44%, rgba(124,92,255,.48), transparent 62%),
    linear-gradient(180deg, rgba(8,13,35,.9), rgba(2,6,23,.98));
  border: 1px solid rgba(148, 163, 184, .08);
}

.screen-glow {
  position: absolute;
  inset: 42px 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.42), rgba(91,124,250,.12) 42%, transparent 72%);
  filter: blur(18px);
}

.screen-line {
  position: absolute;
  left: 36px;
  right: 36px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .12);
}

.line-one { bottom: 88px; }
.line-two { bottom: 62px; width: 54%; right: auto; }

.screen-dot {
  position: absolute;
  bottom: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-one { left: 36px; background: #7c5cff; }
.dot-two { left: 56px; background: #5b7cfa; }

.floating-icon {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  box-shadow:
    0 24px 48px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.floating-icon svg {
  width: 48px;
  height: 48px;
}

.floating-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-check {
  top: 52px;
  left: 42px;
  transform: rotate(-8deg);
}

.icon-code {
  top: 128px;
  right: 10px;
  transform: rotate(8deg);
}

.icon-chart {
  top: 218px;
  left: 156px;
  background: linear-gradient(135deg, #3b82f6, #6d5dfc);
}

.icon-wrench {
  bottom: 38px;
  right: 74px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.section {
  padding: 48px 64px;
}

.section h2 {
  font-size: clamp(36px, 3.5vw, 58px);
  line-height: 1.05;
  margin: 0 0 30px;
  letter-spacing: -.045em;
}

.featured-app {
  display: grid;
  grid-template-columns: 180px 1fr 350px;
  gap: 34px;
  align-items: center;
  padding: 38px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .88), rgba(11, 16, 36, .7));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.app-icon-wrap {
  width: 150px;
  height: 150px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, .32);
  border: 1px solid rgba(148, 163, 184, .12);
}

.app-icon {
  width: 124px;
  height: 124px;
}

.app-copy h3 {
  margin: 0 0 14px;
  font-size: 38px;
  letter-spacing: -.04em;
}

.app-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(124, 92, 255, .24);
  color: #b7a9ff;
  font-weight: 800;
  font-size: 14px;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  color: rgba(248,250,252,.92);
  font-weight: 600;
}

.feature-list span:first-child {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(139, 118, 255, .5);
  color: #9c8cff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.cards-row {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 32px 28px;
  text-align: center;
  border-radius: 22px;
  background: rgba(15, 23, 42, .62);
  border: 1px solid var(--card-border);
}

.mini-card p {
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.mini-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #8b76ff;
  font-size: 34px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(2, 6, 23, .28);
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.mini-card p,
.info-section p,
.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.info-section,
.legal-section {
  border-top: 1px solid rgba(148, 163, 184, .1);
}

.legal-content {
  display: grid;
  gap: 16px;
  max-width: 980px;
  padding: 30px;
  border-radius: 22px;
  background: rgba(15, 23, 42, .54);
  border: 1px solid var(--card-border);
}

.legal-content h3 {
  margin: 8px 0 -6px;
}

.updated {
  color: var(--muted);
  margin: -18px 0 22px;
}

.footer {
  min-height: 118px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.footer-links {
  display: flex;
  gap: 56px;
  color: var(--muted);
  font-weight: 600;
}

.copyright {
  color: var(--muted);
}

.side-panel {
  position: relative;
  align-self: start;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 58px 52px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 8%, rgba(91, 124, 250, .18), transparent 32%),
    linear-gradient(180deg, rgba(4, 8, 18, .94), rgba(1, 4, 13, .78));
  border: 1px solid rgba(148, 163, 184, .08);
}

.side-logo {
  width: 170px;
  height: 170px;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 18px 40px rgba(124,92,255,.22));
}

.side-panel h2 {
  margin: 0;
  text-align: center;
  font-size: 44px;
  text-transform: uppercase;
  letter-spacing: .24em;
  line-height: 1.05;
}

.side-subtitle {
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: .32em;
  margin: 16px 0 44px;
}

.side-block {
  padding: 28px 0;
  border-top: 1px solid rgba(148, 163, 184, .18);
}

.side-block h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .82);
  letter-spacing: .08em;
  font-size: 15px;
}

.side-block p {
  color: rgba(248, 250, 252, .86);
  line-height: 1.65;
  margin: 0;
  font-size: 17px;
}

.side-traits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(148, 163, 184, .18);
}

.side-traits div {
  text-align: center;
}

.side-traits span {
  display: block;
  color: #c4b5fd;
  font-size: 36px;
  margin-bottom: 10px;
}

.side-traits p {
  color: rgba(248,250,252,.82);
  line-height: 1.35;
  margin: 0;
}

.device-preview {
  width: 310px;
  height: 620px;
  margin: 16px auto 34px;
  border-radius: 48px;
  padding: 14px;
  background: linear-gradient(135deg, #0a0f1f, #020617);
  border: 3px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
  position: relative;
}

.device-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 112px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #020617;
  z-index: 2;
}

.device-screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  padding: 38px 22px 22px;
  background:
    radial-gradient(circle at 65% 12%, rgba(124,92,255,.22), transparent 32%),
    linear-gradient(180deg, #081026, #030712);
}

.device-header {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.device-header img {
  width: 30px;
  height: 30px;
}

.device-header strong {
  margin-left: auto;
}

.device-screen h3 {
  margin: 64px 0 12px;
  font-size: 29px;
  letter-spacing: -.06em;
  line-height: 1.04;
}

.device-screen p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  font-size: 13px;
}

.device-buttons {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}

.device-buttons span {
  font-size: 11px;
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid rgba(148, 163, 184, .18);
}

.device-buttons span:first-child {
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
}

.device-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, .72);
  border: 1px solid rgba(148, 163, 184, .12);
}

.device-card img {
  width: 68px;
  height: 68px;
}

.device-card b {
  font-size: 17px;
}

.device-card em {
  display: inline-block;
  margin-top: 8px;
  color: #b7a9ff;
  background: rgba(124, 92, 255, .24);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.language-list p {
  margin: 12px 0;
}

.pages-list {
  display: grid;
  gap: 12px;
}

.pages-list a {
  color: rgba(248,250,252,.85);
}

.pages-list a::before {
  content: "✓";
  color: #c4b5fd;
  margin-right: 10px;
}

.privacy-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(124, 92, 255, .36);
  border-radius: 16px;
  background: rgba(79, 70, 229, .12);
  color: #d9d4ff;
}

.privacy-note span {
  color: #a78bfa;
  font-size: 30px;
}

.privacy-note strong {
  display: block;
  margin-bottom: 6px;
}

.privacy-note p {
  margin: 0;
  color: rgba(248,250,252,.78);
  line-height: 1.45;
}

@media (max-width: 1320px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
  }

  .side-logo,
  .side-panel h2,
  .side-subtitle {
    grid-column: 1 / -1;
  }

  .device-preview {
    grid-row: span 4;
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: 100%;
    margin: 0;
  }

  .main-panel,
  .side-panel {
    border-radius: 0;
  }

  .topbar {
    height: auto;
    padding: 18px;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 20px;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 52px 24px 32px;
  }

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

  .hero-art {
    min-height: 330px;
  }

  .phone {
    left: 50%;
    width: 220px;
    height: 360px;
    top: 0;
  }

  .floating-icon {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .icon-check { left: 34px; }
  .icon-chart { left: 48%; top: 130px; }
  .icon-code { right: 24px; top: 92px; }
  .icon-wrench { right: 58px; bottom: 56px; }

  .section {
    padding: 40px 24px;
  }

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

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

  .footer {
    padding: 28px 24px;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .side-panel {
    padding: 42px 24px;
    grid-template-columns: 1fr;
  }

  .device-preview {
    grid-row: auto;
  }

  .side-panel h2 {
    font-size: 32px;
  }
}

@media (max-width: 520px) {
  .brand strong { font-size: 13px; }
  .brand-mark { width: 42px; height: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .featured-app { padding: 24px; }
  .mini-card { grid-template-columns: 1fr; }
  .side-traits { grid-template-columns: 1fr; }
  .device-preview { width: 280px; height: 560px; }
}


.language-list p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-list img {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}

.neutral-lang-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(124, 92, 255, .18);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}


.device-screen h3 .accent-word {
  display: inline;
}


/* Hide visible scrollbars while keeping scroll behavior */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html,
body,
.side-panel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.side-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}
