/* Pro Store — pro-store.uz (static: landing + support). Light and dark follow the device. */

:root {
  --bg: #f5f5f7;
  --bg-2: #ffffff;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --rim: rgba(255, 255, 255, 0.9);
  --accent: #0a84ff;
  --accent-ink: #0066cc;
  --green: #30b158;
  --orange: #ff9f0a;
  --violet: #8e5cf7;
  --glow-1: rgba(10, 132, 255, 0.22);
  --glow-2: rgba(142, 92, 247, 0.18);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.06);
  --radius: 22px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b10;
    --bg-2: #111117;
    --card: rgba(28, 28, 34, 0.66);
    --card-solid: #1a1a20;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --faint: #7c7c82;
    --line: rgba(255, 255, 255, 0.09);
    --rim: rgba(255, 255, 255, 0.08);
    --accent: #0a84ff;
    --accent-ink: #4aa3ff;
    --glow-1: rgba(10, 132, 255, 0.28);
    --glow-2: rgba(142, 92, 247, 0.24);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 48px rgba(0, 0, 0, 0.35);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The aurora behind everything (a fixed layer, nothing transformed above it). */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 12% -8%, var(--glow-1), transparent 60%),
    radial-gradient(55vmax 45vmax at 100% 30%, var(--glow-2), transparent 62%);
}

a {
  color: var(--accent-ink);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.022em;
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
}

/* ---------- Top bar ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.nav {
  display: flex;
  gap: 4px;
}
.nav a {
  color: var(--muted);
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 999px;
}
.nav a:hover {
  color: var(--text);
  text-decoration: none;
  background: var(--line);
}
.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--line);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #0077ed;
}
.btn-ghost {
  color: var(--text);
  background: var(--card);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--card-solid);
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 24px;
}
.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    padding: 88px 0 40px;
  }
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 20%, transparent);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 700;
}
.hero h1 .soft {
  background: linear-gradient(100deg, var(--accent) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin-top: 20px;
  max-width: 34ch;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--faint);
}

/* ---------- Phone mock (no real data) ---------- */

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0 24px;
}
.device {
  position: relative;
  width: 290px;
  max-width: 78vw;
}
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.2;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(150deg, #8a8a90, #3a3a3f 40%, #1c1c1f);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 39px;
  overflow: hidden;
  background: #f2f2f7;
  color: #1d1d1f;
  font-size: 12px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
}
@media (prefers-color-scheme: dark) {
  .screen {
    background: #000;
    color: #f5f5f7;
  }
}
.island {
  width: 86px;
  height: 24px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: #000;
  flex: none;
}
.scr-head {
  padding: 10px 16px 8px;
}
.scr-head small {
  color: #8e8e93;
  font-size: 11px;
}
.scr-head b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.scr-body {
  flex: 1;
  padding: 0 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.tile {
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}
@media (prefers-color-scheme: dark) {
  .tile {
    background: #1c1c1e;
  }
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pair .tile small {
  color: #8e8e93;
  display: block;
}
.pair .tile b {
  font-size: 24px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pair .tile span {
  font-size: 11px;
  color: #8e8e93;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
  margin-top: 8px;
}
.bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent), #5ac8fa);
  opacity: 0.9;
  transform-origin: bottom;
  animation: grow 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) backwards;
}
.bars i:nth-child(odd) {
  animation-delay: 0.08s;
}
.bars i.now {
  background: linear-gradient(180deg, var(--orange), #ffd60a);
  animation: grow 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) backwards, breathe 2.4s ease-in-out 1s infinite;
}
.hours {
  display: flex;
  justify-content: space-between;
  color: #8e8e93;
  font-size: 9px;
  margin-top: 4px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.row + .row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(128, 128, 128, 0.18);
}
.row small {
  color: #8e8e93;
}
.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: 1px;
  animation: breathe 2s ease-in-out infinite;
}
.tabbar {
  margin: 8px 10px 12px;
  padding: 8px 6px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-size: 9px;
  color: #8e8e93;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
@media (prefers-color-scheme: dark) {
  .tabbar {
    background: rgba(44, 44, 48, 0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}
.tabbar span::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto 2px;
  border-radius: 5px;
  background: currentColor;
  opacity: 0.35;
}
.tabbar .on {
  color: var(--accent);
}
.tabbar .on::before {
  opacity: 1;
}

/* A floating "price ticket" beside the phone. */
.ticket {
  position: absolute;
  right: -70px;
  bottom: 74px;
  width: 182px;
  padding: 14px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--rim);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  font-size: 12px;
  animation: float 6s ease-in-out infinite;
}
.ticket small {
  color: var(--muted);
}
.ticket b {
  display: block;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 2px 0 6px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.chip {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--line);
  color: var(--muted);
}
.chip.ok {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 14%, transparent);
}
@media (max-width: 520px) {
  .ticket {
    display: none;
  }
}

@keyframes grow {
  from {
    transform: scaleY(0.05);
  }
}
@keyframes breathe {
  50% {
    opacity: 0.6;
  }
}
@keyframes float {
  50% {
    translate: 0 -8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 56px 0;
}
@media (min-width: 900px) {
  .section {
    padding: 80px 0;
  }
}
.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}
.section-head h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .grid.two,
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 16px;
}
.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--tint, var(--accent));
}
.icon svg {
  width: 24px;
  height: 24px;
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.list li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
}
.list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tint, var(--accent)) 16%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a84ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.list li b {
  font-weight: 600;
}
.list li span {
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 16px;
}

.band {
  border-radius: 28px;
  padding: 32px 24px;
  background: linear-gradient(140deg, #2c2c31, #111114);
  border: 1px solid var(--line);
  color: #f5f5f7;
  display: grid;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}
.band p {
  color: #a1a1a6;
  margin-top: 8px;
}
.band h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
}
@media (min-width: 760px) {
  .band {
    padding: 44px 48px;
    grid-template-columns: 1fr auto;
  }
}
.band .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ---------- Support page ---------- */

.page-head {
  padding: 56px 0 8px;
}
@media (min-width: 900px) {
  .page-head {
    padding: 80px 0 16px;
  }
}
.page-head h1 {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
}
.page-head p {
  margin-top: 14px;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact .label {
  color: var(--muted);
  font-size: 14px;
}
.contact .value {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow-wrap: anywhere;
}
a.value:hover {
  color: var(--accent-ink);
  text-decoration: none;
}
.contact .hint {
  color: var(--faint);
  font-size: 14px;
  margin-top: 4px;
}

.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq .answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 16px;
}
.faq .answer p + p {
  margin-top: 10px;
}
kbd,
code {
  font: 600 14px/1 ui-monospace, "SF Mono", Menlo, monospace;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--line);
  color: var(--text);
}

/* ---------- Privacy page (long text) ---------- */

.page-head .updated {
  margin-top: 10px;
  font-size: 15px;
  color: var(--faint);
}
.summary {
  margin-bottom: 40px;
}
.summary .card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.summary .card p {
  font-size: 15px;
}
.doc {
  max-width: 760px;
}
.doc h2 {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 700;
  margin: 40px 0 12px;
}
.doc h2:first-child {
  margin-top: 0;
}
.doc p,
.doc li {
  color: var(--muted);
  font-size: 17px;
}
.doc p + p,
.doc ul + p,
.doc p + ul {
  margin-top: 12px;
}
.doc ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.doc li::marker {
  color: var(--faint);
}
.doc b {
  color: var(--text);
  font-weight: 600;
}

.en {
  border-top: 1px solid var(--line);
}
.en .card p + p {
  margin-top: 10px;
}

/* ---------- Footer ---------- */

.foot {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
.foot nav {
  display: flex;
  gap: 20px;
}
.foot a {
  color: var(--muted);
}
