/* mkadr.uz public site — hand-built, no framework.
   Brand kit: navy #021750 / blue #115DFE / Inter (self-hosted subsets). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #021750;
  --blue: #115dfe;
  --blue-dark: #0d4ad0;
  --ink: #0e1526;
  --text: #2a3550;
  --muted: #5d6a85;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --navy-deep: #021238;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand:hover { text-decoration: none; }

.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--blue); text-decoration: none; }

.langs { display: flex; gap: 2px; font-size: 13px; font-weight: 600; }
.langs a {
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 8px;
}
.langs a[aria-current] { color: var(--navy); background: var(--bg-soft); }
.langs a:hover { color: var(--blue); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(17, 93, 254, 0.09), transparent 60%),
    linear-gradient(180deg, #f7f9fe 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero h1 .accent { color: var(--blue); }
.hero p.lead {
  margin: 0 0 32px;
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark img { width: 300px; height: auto; opacity: 0.96; }

.hero-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.fact-chip {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ---------- sections ---------- */

section { padding: 76px 0; }
.section-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section-sub { margin: 0 0 40px; color: var(--muted); font-size: 16px; max-width: 46em; }

/* ---------- features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature {
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(17, 93, 254, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature .icon svg { stroke: var(--blue); }
.feature h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 650; color: var(--navy); }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- pricing ---------- */

.pricing { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff3d6;
  color: #7a5b00;
  border: 1px solid #f0dd9f;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 7px 14px;
}
.pricing-badge svg { stroke: #b98a00; }

.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.plans { width: 100%; border-collapse: collapse; min-width: 620px; }
table.plans th, table.plans td { padding: 13px 20px; text-align: left; font-size: 15px; }
table.plans thead th {
  background: var(--navy);
  color: #dbe4ff;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
table.plans thead th:first-child { border-top-left-radius: 0; }
table.plans td.num, table.plans th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.plans tbody tr { border-top: 1px solid var(--line); }
table.plans tbody tr:nth-child(even) { background: #f8faff; }
table.plans tbody tr:hover { background: #eef3ff; }
table.plans td.plan {
  font-weight: 650;
  color: var(--navy);
  white-space: nowrap;
}
table.plans td .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--blue);
  margin-right: 10px;
  vertical-align: 1px;
}
.pricing-note { margin: 18px 4px 0; font-size: 14px; color: var(--muted); }

/* ---------- app ---------- */

.app-block .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: center;
}
.app-block h2 { margin: 0 0 10px; }
.app-block p { color: var(--muted); max-width: 34em; }
.app-bullets { list-style: none; margin: 20px 0 28px; padding: 0; }
.app-bullets li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 15px;
}
.app-bullets li::before {
  content: "";
  position: absolute;
  left: 2px; top: 12px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
.phone-frame {
  width: 260px;
  border: 9px solid #101828;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(2, 23, 80, 0.45);
  background: #101828;
  justify-self: center;
}
/* Source shot carries the emulator title bar (~20px at this width) — clipped via
   negative margin so only the real app screen shows. */
.phone-frame img { width: 100%; height: auto; margin-top: -20px; }

/* ---------- demo / contact ---------- */

.demo { background: var(--navy); color: #cdd9f5; }
.demo .section-title { color: #fff; }
.demo p { color: #a9b8dd; max-width: 40em; }
.demo-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn-tg { background: var(--blue); color: #fff; }
.btn-tg:hover { background: #3373ff; }
.btn-call { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-call:hover { border-color: #fff; }
.btn svg { flex: none; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #8fa0c6;
  padding: 40px 0;
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.site-footer img { height: 22px; }
.site-footer .tagline { color: #66779f; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: #cdd9f5; }
.site-footer .spacer { margin-left: auto; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 60px; }
  .hero-mark { display: none; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-block .wrap { grid-template-columns: 1fr; }
  .phone-frame { justify-self: start; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-nav { display: none; }
  section { padding: 52px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  table.plans { min-width: 560px; }
  table.plans th, table.plans td { padding: 11px 14px; font-size: 14px; }
}
