/* Baxt — landing sahifa uslublari.
   Ranglar ilovadagi "Osmon" tokenlaridan olingan (my_app: lib/core/theme/app_colors.dart):
   och-koʻk osmon foni, oq kartochkalar yumshoq koʻk soya bilan, bitta aksent — #2B6FD3.
   Shrift — Manrope (SIL OFL, assets/fonts/OFL.txt; "ʻ" belgisi ‘ glifiga bogʻlangan nusxa). */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --sky-top: #d4e7fa;
  --sky-mid: #e9f2fc;
  --sky-bottom: #f4f7fb;
  --bg: #f1f6fc;
  --surface: #ffffff;
  --surface-raised: #f4f8fd;
  --label: #0f1a2a;
  --label-secondary: #5a687c;
  --separator: #dde5ef;
  --accent: #2b6fd3;
  --accent-fill: #2b6fd3;
  --on-accent-fill: #ffffff;
  --accent-soft: #e1edfb;
  --warning-soft: rgba(255, 141, 40, 0.16);
  --warning-text: #8a4a00;
  --header: rgba(241, 246, 252, 0.78);
  --bezel: #0f1a2a;
  --shadow: 0 1px 2px rgba(15, 26, 42, 0.04), 0 10px 30px rgba(43, 111, 211, 0.1);
  --shadow-phone: 0 30px 70px rgba(43, 111, 211, 0.22), 0 8px 20px rgba(15, 26, 42, 0.12);
  --orb: radial-gradient(circle at 35% 30%, #a6ceff 0%, #2b6fd3 45%, #0b2266 100%);

  --r16: 16px;
  --r20: 20px;
  --r24: 24px;

  --page: 1120px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky-top: #10223f;
    --sky-mid: #0d1a30;
    --sky-bottom: #0c1524;
    --bg: #0c1524;
    --surface: #16233a;
    --surface-raised: #1c2b46;
    --label: #eaf1fb;
    --label-secondary: #9aa9bf;
    --separator: #2a3956;
    --accent: #78a9ff;
    --accent-fill: #2b6fd3;
    --accent-soft: #1a2d4f;
    --warning-soft: rgba(255, 146, 48, 0.18);
    --warning-text: #ffb877;
    --header: rgba(12, 21, 36, 0.78);
    --bezel: #22314d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.28);
    --shadow-phone: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(120, 169, 255, 0.12);
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

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

a:hover {
  text-decoration: underline;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 8px;
  z-index: 20;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: 999px;
}

/* ---------- Tepa qism ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--separator);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--label);
}

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

.brand:hover {
  text-decoration: none;
}

.nav {
  display: none;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  color: var(--label-secondary);
}

.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.header-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 820px) {
  .nav {
    display: flex;
  }
}

/* ---------- Umumiy boʻlimlar ---------- */

.section {
  padding: 64px 0;
}

.section--sky {
  background: linear-gradient(180deg, var(--sky-bottom) 0%, var(--sky-mid) 100%);
}

.section-head {
  max-width: 660px;
  margin-bottom: 32px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

h2 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-head p {
  margin-top: 12px;
  color: var(--label-secondary);
}

@media (min-width: 760px) {
  .section {
    padding: 96px 0;
  }

  h2 {
    font-size: 40px;
  }

  .section-head {
    margin-bottom: 48px;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 64px;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--orb);
  opacity: 0.16;
  filter: blur(40px);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: 48px;
  justify-items: center;
}

.hero-text {
  max-width: 580px;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--label);
  font-size: 14px;
  font-weight: 700;
}

.soon .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orb);
}

.hero h1 {
  margin-top: 22px;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--label-secondary);
}

.promises {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--r24);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 600;
}

.promises li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.promises svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--accent);
}

.soon-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--label-secondary);
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-phones .phone--back {
  display: none;
}

@media (min-width: 900px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: center;
    justify-items: start;
    gap: 40px;
  }

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

  .hero-phones {
    height: 620px;
  }

  .hero-phones .phone--front {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
  }

  .hero-phones .phone--back {
    display: block;
    position: absolute;
    right: 0;
    top: 64px;
    max-width: 250px;
    opacity: 0.96;
  }
}

/* ---------- Telefon ramkasi ---------- */

.phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  padding: 9px;
  border-radius: 48px;
  background: var(--bezel);
  box-shadow: var(--shadow-phone);
}

.phone::after {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 30%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05080d;
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 590 / 1280;
  border-radius: 39px;
  background: var(--surface-raised);
}

.phone--sm {
  max-width: 250px;
  padding: 8px;
  border-radius: 42px;
}

.phone--sm img {
  border-radius: 34px;
}

.phone--sm::after {
  top: 17px;
  height: 19px;
}

/* ---------- Kartochkalar ---------- */

.cards {
  display: grid;
  gap: 14px;
}

.card {
  padding: 24px;
  border-radius: var(--r24);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--label-secondary);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.icon--orb {
  background: var(--orb);
  color: #ffffff;
  border-radius: 50%;
}

@media (min-width: 620px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 980px) {
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Ilovaning ichi ---------- */

.features {
  display: grid;
  gap: 72px;
}

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}

.feature-text {
  max-width: 500px;
}

.feature-text h3 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-text > p {
  margin-top: 12px;
  color: var(--label-secondary);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.tag svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-fill);
  color: #ffffff;
}

.tag .orb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orb);
}

.checks {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  font-size: 15px;
}

.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}

.checks li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6fd3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

@media (prefers-color-scheme: dark) {
  .checks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378a9ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
  }
}

.feature-shots {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.feature-shots .phone {
  flex: 1 1 0;
  min-width: 0;
}

.feature-shots--pair .phone:nth-child(2) {
  margin-top: 40px;
}

@media (max-width: 619px) {
  .feature-shots--pair .phone {
    padding: 6px;
    border-radius: 32px;
  }

  .feature-shots--pair .phone img {
    border-radius: 27px;
  }

  .feature-shots--pair .phone::after {
    top: 13px;
    height: 13px;
  }
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }

  .feature--flip .feature-text {
    order: 2;
  }

  .feature-text h3 {
    font-size: 32px;
  }

  .feature-shots {
    gap: 22px;
  }
}

.sample-note {
  margin-top: 56px;
  font-size: 13px;
  text-align: center;
  color: var(--label-secondary);
}

/* ---------- Qanday ishlaydi ---------- */

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.steps li {
  padding: 22px;
  border-radius: var(--r24);
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent-fill);
  color: var(--on-accent-fill);
  font-size: 15px;
  font-weight: 800;
}

.steps h3 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.steps p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--label-secondary);
}

@media (min-width: 620px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- Savollar ---------- */

.faq {
  max-width: 760px;
  padding: 6px 24px;
  border-radius: var(--r24);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.faq details + details {
  border-top: 1px solid var(--separator);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--label-secondary);
  border-bottom: 2px solid var(--label-secondary);
  transform: rotate(45deg) translate(-2px, -2px);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq details p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--label-secondary);
}

/* ---------- Pastki qism ---------- */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--separator);
  font-size: 15px;
  color: var(--label-secondary);
}

.site-footer .wrap {
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-weight: 600;
}

.footer-small {
  font-size: 13px;
}

/* ---------- Hujjat sahifalari ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px var(--gutter) 72px;
}

.draft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 28px;
  border-radius: var(--r16);
  background: var(--warning-soft);
  color: var(--warning-text);
  font-size: 15px;
  font-weight: 700;
}

.draft svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.draft span {
  display: block;
  font-weight: 400;
  margin-top: 2px;
}

.doc h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.doc .updated {
  margin-top: 8px;
  font-size: 13px;
  color: var(--label-secondary);
}

.doc h2 {
  margin-top: 40px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.doc h3 {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 700;
}

.doc p {
  margin-top: 12px;
}

.doc ul {
  margin-top: 12px;
  padding-left: 22px;
  list-style: disc;
}

.doc li {
  margin-top: 6px;
}

.doc li::marker {
  color: var(--accent);
}

.doc .summary {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: var(--r24);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.doc .summary h2 {
  margin-top: 0;
  font-size: 17px;
}

.doc .summary ul {
  margin-top: 8px;
}

.back {
  display: inline-block;
  margin-top: 40px;
  font-weight: 700;
}
