/* klonads — dizayn sistemi (landing, giriş və panel üçün ortaq). Brandbook v1.0 əsasında:
   Move Green #0F3B27 (fon, mətn), Signal Lime #92FF5F (vurğu, əsas düymə), Soft White #F7F9F7,
   Orange #FF7036 (yalnız qiymət/endirim/xəbərdarlıq), Ice #BFF2F0, Mint #CFF1D2.
   Qradiyent və kölgə yoxdur; künclər 32/24/16 px, düymə və etiketlər tam yumru.
   Köhnə token adları saxlanılıb ki, bütün səhifələr avtomatik yeni rənglərə keçsin. */

/* Şriftlər (brandbook): Archivo — başlıqlar, Manrope — mətn, JetBrains Mono — etiketlər. Google Fonts-dan HTML-də yüklənir. */
/* ₼ işarəsi Manrope-da yoxdur — yalnız onun üçün Inter işlənir */
@font-face { font-family: "Manat"; src: url(/fonts/inter/Inter-Medium.otf); unicode-range: U+20BC; font-weight: 400 600; }
@font-face { font-family: "Manat"; src: url(/fonts/inter/Inter-Bold.otf); unicode-range: U+20BC; font-weight: 700 900; }

:root {
  /* Brend rəngləri */
  --brand-green: #0F3B27;
  --brand-lime: #92FF5F;
  --brand-white: #F7F9F7;
  --brand-orange: #FF7036;
  --brand-ice: #BFF2F0;
  --brand-mint: #CFF1D2;
  /* Zəmin və səthlər */
  --page: #F7F9F7;
  --surface: #ffffff;
  --well: #EDF3EE;            /* kart içindəki çökək sahə, inputlar */
  --ink: #0F3B27;
  --ink-2: rgba(15, 59, 39, 0.74);
  --ink-3: rgba(15, 59, 39, 0.52);
  --line: rgba(15, 59, 39, 0.10);
  --line-2: rgba(15, 59, 39, 0.18);
  /* Vurğular (köhnə adlar → brend rəngləri) */
  --blue: #0F3B27;
  --blue-soft: #BFF2F0;
  --lime: #92FF5F;
  --green: #0F3B27;
  --green-soft: #CFF1D2;
  --orange: #FF7036;
  --orange-soft: #FFE3D7;
  --violet: #0F3B27;
  --red: #B8400F;             /* xəta mətni: narıncının tünd tonu (ağ fonda oxunaqlı) */
  --red-soft: #FFE3D7;
  --amber: #B8400F;
  --amber-soft: #FFE3D7;
  /* Forma */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --pill: 999px;
  --shadow-float: none;
  --shadow-card: none;
  /* Tipoqrafiya */
  --display: "Archivo", "Manat", system-ui, sans-serif;
  --sans: "Manrope", "Manat", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}

h1, h2, .display { font-family: var(--display); letter-spacing: -0.02em; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; display: inline-block; vertical-align: middle; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Düymələr ---------- */
.btn {
  --h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: var(--pill);
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer; transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
  background: var(--well); color: var(--ink);
}
.btn:hover { background: #E2EBE4; }
.btn:active { transform: translateY(1px); }
.btn.dark { background: var(--brand-green); color: var(--brand-white); }
.btn.dark:hover { background: #164d34; }
/* Əsas düymə (bir ekranda bir dənə): Signal Lime + Move Green mətn */
.btn.lime { background: var(--brand-lime); color: var(--brand-green); font-weight: 700; }
.btn.lime:hover { background: #A5FF7A; }
.btn.outline { background: transparent; color: var(--brand-green); box-shadow: inset 0 0 0 1.5px var(--brand-green); }
.btn.outline:hover { background: var(--well); }
.btn.blue { background: var(--brand-green); color: var(--brand-white); }
.btn.blue:hover { background: #164d34; }
.btn.white { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.white:hover { background: var(--brand-white); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--well); }
.btn.danger { background: var(--red-soft); color: var(--red); }
.btn.lg { --h: 52px; padding: 0 24px; font-size: 16px; }
.btn.sm { --h: 32px; padding: 0 13px; font-size: 13px; }
.btn.xs { --h: 26px; padding: 0 10px; font-size: 12px; }
.btn.icon { width: var(--h); padding: 0; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Bölmə nişanı: [ 2 ⁘ ] Platforma ---------- */
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.kicker .n { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px 0 11px; border-radius: var(--pill); background: var(--brand-green); color: var(--brand-white); font: 500 13px var(--mono); }
.kicker .n i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); display: inline-block; }
.kicker .t { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Mono etiket ---------- */
.label { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- App-ikon plitələri ---------- */
.tile { width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; color: var(--brand-green); flex: none; }
.tile.sm { width: 32px; height: 32px; border-radius: 10px; }
.tile.lg { width: 60px; height: 60px; border-radius: 18px; }
.tile.blue, .tile.ink, .tile.violet { background: var(--brand-green); color: var(--brand-lime); }
.tile.lime { background: var(--brand-lime); color: var(--brand-green); }
.tile.green { background: var(--brand-mint); color: var(--brand-green); }
.tile.orange { background: var(--brand-orange); color: var(--brand-green); }
.tile.ice { background: var(--brand-ice); color: var(--brand-green); }
.tile.white { background: #fff; color: var(--brand-green); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Status nişanları ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--pill); font: 500 12px/1 var(--sans); background: var(--well); color: var(--ink-2); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.pill.plain::before { display: none; }
.pill.ok { background: var(--brand-mint); color: var(--brand-green); }
.pill.warn { background: var(--amber-soft); color: var(--amber); }
.pill.err { background: var(--red-soft); color: var(--red); }
.pill.info { background: var(--brand-ice); color: var(--brand-green); }
.pill.dark { background: var(--brand-green); color: var(--brand-white); }
.pill.lime { background: var(--brand-lime); color: var(--brand-green); }
.pill.price { background: var(--brand-orange); color: var(--brand-green); }

/* ---------- Kartlar ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.bento { background: var(--well); border-radius: var(--r-xl); }

/* ---------- Form elementləri ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; color: var(--ink-2); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=color]), .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid transparent;
  background: var(--well); color: var(--ink); font: 400 15px var(--sans); transition: border-color .15s, background .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand-green); box-shadow: 0 0 0 4px var(--brand-mint); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
