/* ==========================================================================
   Komiljon ota shifoxonasi — Landing (premium)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #f4fbf9;
  --surface: #ffffff;
  --ink: #07332e;
  --ink-soft: #0b3b35;
  --muted: #5f7c77;
  --brand: #0d9488;
  --brand-2: #0f766e;
  --accent: #2dd4bf;
  --amber: #f59e0b;
  --danger: #e11d48;
  --grad: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
  --grad-deep: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
  --ring: rgba(45, 212, 191, 0.35);
  --shadow-sm: 0 2px 10px rgba(7, 51, 46, 0.06);
  --shadow-md: 0 12px 34px rgba(7, 51, 46, 0.1);
  --shadow-lg: 0 24px 60px rgba(13, 148, 136, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;

  --header-glass: rgba(255, 255, 255, 0.78);
  --chip-bg: rgba(255, 255, 255, 0.82);
  --chip-bg-solid: rgba(255, 255, 255, 0.94);
  --glass-btn: rgba(255, 255, 255, 0.75);
  --phone-bg: linear-gradient(180deg, #ffffff 0%, #f1faf8 100%);
  --cta-bg: radial-gradient(120% 140% at 50% 0%, #f0fdfa 0%, #ffffff 55%);
  --alert-bg: linear-gradient(135deg, #fff1f2, #ffe4e6);
  --dots: rgba(13, 148, 136, 0.09);
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07120f;
  --surface: #0c1f1b;
  --ink: #d9efea;
  --ink-soft: #b9ded6;
  --muted: #8aa8a2;
  --brand-2: #5eead4;
  --ring: rgba(45, 212, 191, 0.25);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --header-glass: rgba(7, 18, 15, 0.78);
  --chip-bg: rgba(12, 31, 27, 0.82);
  --chip-bg-solid: rgba(12, 31, 27, 0.94);
  --glass-btn: rgba(255, 255, 255, 0.06);
  --phone-bg: linear-gradient(180deg, #0e2420 0%, #0a1a16 100%);
  --cta-bg: radial-gradient(120% 140% at 50% 0%, #0f2a24 0%, #0c1f1b 55%);
  --alert-bg: linear-gradient(135deg, #3d0d1a, #4c1220);
  --dots: rgba(45, 212, 191, 0.14);
}
[data-theme="dark"] .blob { opacity: 0.22; }
[data-theme="dark"] .msg.alert { color: #fecdd3; }
[data-theme="dark"] .msg.alert .msg-tag { color: #fda4af; }
[data-theme="dark"] .site-footer { background: #04100d; }

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.container-narrow { width: min(760px, 92%); }
section { position: relative; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -0.02em; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dots) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-center { text-align: center; }

/* ---------- Accessibility & polish ---------- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  background: var(--brand-2); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  transition: top .25s ease;
}
.skip-link:focus { top: 16px; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: rgba(45, 212, 191, 0.35); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  border: 3px solid var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Scroll progress + back to top ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 90;
  box-shadow: 0 0 12px var(--ring);
}
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(13, 148, 136, 0.3);
  background: var(--surface); color: var(--brand-2);
  font-size: 19px; font-weight: 800;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.preloader-mark {
  width: 74px; height: 74px; border-radius: 22px;
  display: grid; place-items: center; font-size: 38px;
  background: var(--grad); box-shadow: 0 14px 34px var(--ring);
  animation: preloadPulse 1.2s ease-in-out infinite;
}
@keyframes preloadPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.preloader-bar { width: 130px; height: 5px; border-radius: 999px; background: rgba(13, 148, 136, 0.18); overflow: hidden; }
.preloader-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--grad); animation: preloadSlide 1.1s ease-in-out infinite; }
@keyframes preloadSlide { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* ---------- Scroll hint ---------- */
.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 42px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp .9s ease .7s both;
  transition: opacity .4s ease;
}
.scroll-hint.hide { opacity: 0; }
.scroll-hint-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(13, 148, 136, 0.4); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-hint-mouse i {
  width: 4px; height: 8px; border-radius: 999px; background: var(--brand);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Qidiruv paneli (command palette) ---------- */
.palette {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: start center;
  padding: 14vh 16px 16px;
  background: rgba(6, 42, 39, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: default;
}
.palette-box {
  width: min(600px, 100%);
  background: var(--surface);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: paletteIn .25s cubic-bezier(.2, .8, .3, 1);
}
.palette-box[hidden] { display: none; }
@keyframes paletteIn { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
.palette-input-row {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid rgba(13, 148, 136, 0.14);
}
.palette-ico { font-size: 17px; }
.palette-input {
  flex: 1; border: none; background: transparent;
  font-family: var(--font-body); font-size: 16px; color: var(--ink); outline: none;
}
.palette-box kbd {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11px;
  background: rgba(13, 148, 136, 0.12); color: var(--brand-2);
  padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(13, 148, 136, 0.2);
}
.palette-list { list-style: none; max-height: 340px; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.palette-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; border-radius: 10px;
  cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
}
.palette-item .palette-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; background: rgba(13, 148, 136, 0.1); flex: 0 0 auto; }
.palette-item .palette-go { margin-left: auto; font-size: 12px; color: var(--muted); }
.palette-item.sel, .palette-item:hover { background: var(--grad); color: #fff; }
.palette-item.sel .palette-go, .palette-item:hover .palette-go { color: rgba(255, 255, 255, 0.85); }
.palette-empty { padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.palette-hint { padding: 10px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid rgba(13, 148, 136, 0.12); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.palette-hint b { color: var(--brand-2); font-size: 11px; }
@media (max-width: 640px) { .palette { padding-top: 8vh; } }

/* ---------- Auth (kirish / ro'yxatdan o'tish) ---------- */
.btn-outline { background: transparent; color: var(--brand-2); border: 1.5px solid var(--brand); }
.btn-outline:hover { transform: translateY(-3px); background: var(--glass-btn); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; padding: 13px 20px; }
.auth-area { display: inline-flex; align-items: center; gap: 8px; }
.chip-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--glass-btn); color: var(--brand-2);
  border: 1.5px solid rgba(13, 148, 136, 0.28); border-radius: 999px;
  padding: 8px 14px; font-family: var(--font-head); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: border-color .22s ease, box-shadow .22s ease;
  max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip-link:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.auth-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.auth-modal[hidden] { display: none; }
.auth-overlay { position: absolute; inset: 0; background: rgba(6, 18, 24, 0.62); backdrop-filter: blur(6px); }
.auth-box {
  position: relative; width: 100%; max-width: 430px;
  background: var(--surface); border: 1px solid rgba(13, 148, 136, 0.22); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow-lg); max-height: 90vh; overflow: auto;
  animation: paletteIn .25s cubic-bezier(.2, .8, .3, 1);
}
.auth-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--glass-btn); color: var(--ink-soft); font-size: 18px; line-height: 1; cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.auth-close:hover { color: var(--brand-2); transform: rotate(90deg); }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 22px; background: var(--glass-btn); border-radius: 999px; padding: 5px; }
.auth-tab {
  flex: 1; border: none; background: transparent; color: var(--ink-soft);
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px;
  padding: 10px 12px; border-radius: 999px; cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.auth-tab.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 14px var(--ring); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink); }
.auth-field input, .auth-field select {
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(13, 148, 136, 0.22);
  background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-field input:focus, .auth-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.auth-msg { font-size: 13.5px; font-weight: 600; padding: 10px 12px; border-radius: 10px; margin: 0; }
.auth-msg.err { background: rgba(220, 38, 38, 0.12); color: #ef4444; }
.auth-msg.ok { background: rgba(16, 185, 129, 0.12); color: #10b981; }
@media (max-width: 640px) { .auth-area .auth-btn { display: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.2,.65,.3,1), transform 0.7s cubic-bezier(.2,.65,.3,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 14px 0;
  transition: padding .35s ease, background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  padding: 8px 0;
  background: var(--header-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(7, 51, 46, 0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 auto;
  display: grid; place-items: center;
  font-size: 22px;
  background: var(--grad);
  border-radius: 13px;
  box-shadow: 0 6px 16px var(--ring);
}
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: 15px; line-height: 1.15;
  color: var(--ink-soft);
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  position: relative;
  font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; background: var(--grad); border-radius: 2px;
  transition: width .25s ease;
}
.main-nav a:hover { color: var(--brand-2); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--brand-2); }
.main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  background: var(--chip-bg);
  color: var(--brand-2);
  font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 999px;
  transition: all .2s ease;
  display: inline-flex; align-items: center; gap: 7px;
}
.lang-switch:hover { border-color: var(--brand); box-shadow: 0 4px 14px var(--ring); }
.lang-switch::after {
  content: ""; width: 6px; height: 6px; margin-left: 2px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.lang-wrap { position: relative; }
.lang-wrap.open .lang-switch::after { transform: rotate(225deg) translateY(-1px); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
  background: var(--chip-bg-solid);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 70;
}
.lang-wrap.open .lang-menu { opacity: 1; pointer-events: auto; transform: none; }
.lang-menu button {
  display: flex; align-items: center; gap: 9px;
  background: transparent; border: none; border-radius: 9px;
  padding: 9px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  text-align: left; transition: background .18s ease, color .18s ease;
}
.lang-menu button:hover { background: rgba(13, 148, 136, 0.1); color: var(--brand-2); }
.lang-menu button[aria-selected="true"] {
  background: var(--grad); color: #fff;
}
.lang-menu button span { font-size: 16px; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  background: var(--chip-bg); color: var(--brand-2);
  font-size: 17px; display: grid; place-items: center;
  transition: all .25s ease;
}
.theme-toggle:hover { border-color: var(--brand); box-shadow: 0 4px 14px var(--ring); transform: rotate(20deg); }

.search-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  background: var(--chip-bg); color: var(--brand-2);
  font-size: 15px; display: grid; place-items: center;
  transition: all .25s ease;
}
.search-toggle:hover { border-color: var(--brand); box-shadow: 0 4px 14px var(--ring); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px var(--ring); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(13, 148, 136, 0.32); }
.btn-ghost {
  background: var(--glass-btn);
  color: var(--brand-2);
  border: 1.5px solid rgba(13, 148, 136, 0.28);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.btn.shine::after {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -80%; }
  100% { left: 130%; }
}

.burger { display: none; background: none; border: none; padding: 8px; }
.burger span {
  display: block; width: 24px; height: 2.5px; margin: 5px 0;
  background: var(--ink-soft); border-radius: 3px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 60px; min-height: 100vh; display: flex; flex-direction: column; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 46px; align-items: center; flex: 1;
}

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; z-index: -1; animation: drift 16s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; top: -60px; left: -120px; background: #5eead4; }
.blob-2 { width: 380px; height: 380px; bottom: 10px; right: -100px; background: #99f6e4; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; top: 40%; left: 45%; background: #a7f3d0; opacity: .35; animation-delay: -9s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.12); } }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--chip-bg);
  border: 1px solid rgba(13, 148, 136, 0.22);
  color: var(--brand-2);
  font-weight: 700; font-size: 13.5px;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; margin: 20px 0 18px; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.17rem); color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--muted); }

.hero-stats {
  margin-top: 38px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; max-width: 560px;
}
.stat {
  background: var(--chip-bg);
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 12px; text-align: center;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.65rem; font-weight: 800; color: var(--brand-2); }
.stat span { font-size: 11.5px; font-weight: 600; color: var(--muted); }

/* ---------- Phone mockup ---------- */
.phone-wrap { position: relative; width: min(360px, 92%); margin-inline: auto; }
.phone-card {
  background: var(--phone-bg);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 34px;
  padding: 16px 14px 18px;
  box-shadow: 0 30px 70px rgba(7, 51, 46, 0.22), inset 0 0 0 2px var(--surface);
  position: relative;
  transform: rotate(-2deg);
  transition: transform .5s ease;
}
.phone-wrap:hover .phone-card { transform: rotate(0) translateY(-6px); }
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 22px; background: #0b3b35; border-radius: 999px;
}
.phone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 2px 12px; border-bottom: 1px solid rgba(13, 148, 136, 0.15); margin-bottom: 12px;
}
.phone-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px;
  background: var(--grad); box-shadow: 0 4px 12px var(--ring);
}
.phone-id { flex: 1; }
.phone-id strong { font-family: var(--font-head); font-size: 14px; color: var(--ink-soft); display: block; line-height: 1.2; }
.phone-id .phone-status { font-size: 11.5px; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; animation: blink 1.6s infinite; }
.phone-battery { font-size: 15px; }

.phone-body { display: flex; flex-direction: column; gap: 9px; min-height: 380px; }
.msg {
  max-width: 88%; padding: 9px 12px; border-radius: 16px;
  font-size: 13px; line-height: 1.45;
  opacity: 0; transform: translateY(10px) scale(.98);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.3,1);
  box-shadow: var(--shadow-sm);
}
.msg.up { opacity: 1; transform: none; }
.msg time { display: block; font-size: 10px; color: inherit; opacity: .55; margin-top: 3px; text-align: right; }
.msg .msg-tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  background: rgba(13, 148, 136, 0.14); color: var(--brand-2);
  padding: 2px 8px; border-radius: 999px; margin-bottom: 4px;
}
.msg.user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: var(--surface); color: var(--ink); border-bottom-left-radius: 5px; border: 1px solid rgba(13, 148, 136, 0.14); }
.msg.alert {
  background: var(--alert-bg);
  border: 1.5px solid rgba(225, 29, 72, 0.4); color: #9f1239;
  border-bottom-left-radius: 5px;
}
.msg.alert .msg-tag { background: rgba(225, 29, 72, 0.14); color: var(--danger); }

.typing-dots { display: inline-flex; gap: 5px; align-items: center; padding: 3px 2px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: .4; animation: bounce 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }

.float-chip {
  position: absolute;
  background: var(--chip-bg-solid);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 999px;
  padding: 9px 16px; font-size: 13px; font-weight: 700; color: var(--brand-2);
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
  z-index: 3; white-space: nowrap;
}
.chip-1 { top: 12%; right: -56px; animation-delay: .4s; }
.chip-2 { top: 46%; left: -70px; animation-delay: 1.2s; }
.chip-3 { bottom: 36%; right: -48px; animation-delay: 2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Trust bar ---------- */
.trust-bar {
  margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 26px;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
}
.trust-bar span { display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease; }
.trust-bar span:hover { color: var(--brand-2); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2); background: rgba(13, 148, 136, 0.1);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards (features) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(13, 148, 136, 0.3); }
.card-icon-ico {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; font-size: 26px;
  background: var(--grad); box-shadow: 0 8px 20px var(--ring);
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.card:hover .card-icon-ico { transform: scale(1.1) rotate(-4deg); }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card-line {
  position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px;
  background: var(--grad); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.card:hover .card-line { transform: scaleX(1); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--grad-deep);
  position: relative; overflow: hidden;
  padding: 52px 0;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}
.stats-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: center;
}
.stat-item strong {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.stat-item > span { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 700; color: var(--accent); }
.stat-item p { color: #b7e8e2; font-size: 14px; font-weight: 600; max-width: 200px; margin: 4px auto 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; position: relative; }
.step { padding: 34px 22px; position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; left: calc(50% + 54px); width: calc(100% - 108px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px);
  opacity: .4;
}
.step-num {
  width: 58px; height: 58px; margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff;
  background: var(--grad); border-radius: 50%;
  box-shadow: 0 10px 26px var(--ring);
  position: relative;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  background: rgba(13, 148, 136, 0.1); color: var(--brand-2);
  padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: 13px;
}

/* ---------- Emergency ---------- */
.emergency-section {
  background: linear-gradient(135deg, #881337, #be123c, #e11d48);
  text-align: center; color: #fff;
  overflow: hidden;
  margin-block: 30px;
}
.emergency-section .container { position: relative; z-index: 1; }
.emergency-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
}
.emergency-section h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
.emergency-section p { font-size: 1.05rem; opacity: .92; margin-bottom: 26px; }
.pulse-ring {
  width: 82px; height: 82px; margin: 0 auto 20px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16);
  position: relative; font-size: 36px;
}
.pulse-ring::before, .pulse-ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: ripple 2s ease-out infinite;
}
.pulse-ring::after { animation-delay: 1s; }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

.emergency-phones { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.ephone {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; color: var(--danger);
  padding: 14px 30px 14px 20px; border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  transition: transform .22s ease, box-shadow .22s ease;
}
.ephone:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35); }
.ephone strong { font-family: var(--font-head); font-size: 1.7rem; line-height: 1; }
.ephone span { font-size: 13px; font-weight: 700; color: #7f1d2d; border-left: 1px solid rgba(225, 29, 72, 0.25); padding-left: 14px; text-align: left; }
.ephone-alt strong { color: #0f172a; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--surface); border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review .stars { color: var(--amber); letter-spacing: 2px; font-size: 14px; }
.review p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: #fff;
  background: var(--grad); font-size: 1.1rem;
  box-shadow: 0 4px 14px var(--ring);
}
.review footer strong { display: block; font-size: 14px; }
.review footer span { font-size: 12px; color: var(--muted); }

/* ---------- CTA card ---------- */
.apps-section { padding-top: 30px; }
.cta-card {
  position: relative; overflow: hidden;
  text-align: center;
  background: var(--cta-bg);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 28px;
  padding: 64px 30px;
  box-shadow: var(--shadow-md);
}
.cta-card::before {
  content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.28), transparent);
  pointer-events: none;
}
.cta-ring {
  width: 78px; height: 78px; margin: 0 auto 18px;
  border-radius: 50%; font-size: 34px;
  display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 12px 30px var(--ring);
  position: relative; z-index: 1;
}
.cta-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.cta-card p { color: var(--muted); margin: 10px auto 26px; max-width: 480px; }
.app-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; z-index: 1; }
.app-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink-soft); color: #fff;
  padding: 15px 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  box-shadow: 0 12px 28px rgba(7, 51, 46, 0.25);
  transition: transform .22s ease, box-shadow .22s ease;
}
.app-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(7, 51, 46, 0.32); }
.app-btn-play { background: var(--grad-deep); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item[open] { border-color: rgba(13, 148, 136, 0.34); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 19px 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 30px; height: 30px; flex: 0 0 auto;
  display: grid; place-items: center;
  font-size: 1.25rem; font-weight: 700;
  background: rgba(13, 148, 136, 0.1); color: var(--brand-2);
  border-radius: 50%;
  transition: transform .3s ease, background .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-item summary:hover { color: var(--brand-2); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- Manzil / Location ---------- */
[hidden] { display: none !important; }
.loc-section { padding-top: 40px; }
.loc-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; align-items: stretch; }
.loc-card {
  background: var(--surface);
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 22px;
  justify-content: center;
}
.loc-row { display: flex; gap: 15px; align-items: flex-start; }
.loc-ico {
  width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 20px;
  background: rgba(13, 148, 136, 0.12);
}
.loc-row strong { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.loc-row a, .loc-row span { font-size: 15.5px; font-weight: 600; color: var(--ink-soft); }
.loc-row a:hover { color: var(--brand-2); }
.loc-row .loc-note { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.loc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 640px) { .loc-links .btn { flex: 1; } }
.loc-map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.14);
  box-shadow: var(--shadow-sm);
  min-height: 330px; position: relative;
}
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } .loc-map { min-height: 280px; } }

/* ---------- Footer ---------- */
.site-footer { background: #062a27; color: #c9e4e0; padding: 64px 0 28px; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; opacity: .8; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: #7fcbc2; margin-bottom: 6px;
}
.footer-col a, .footer-col span { font-size: 14.5px; opacity: .85; transition: opacity .2s ease, transform .2s ease; width: fit-content; }
.footer-col a:hover { opacity: 1; transform: translateX(4px); color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; opacity: .72; text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding-top: 130px; min-height: 0; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-stats { margin-inline: auto; }
  .chip-1 { right: -10px; } .chip-2 { left: -10px; } .chip-3 { right: -6px; }
  .cards, .reviews, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 0; right: -290px;
    width: 280px; height: 100vh; background: var(--surface);
    flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 90px 28px 40px;
    box-shadow: -18px 0 40px rgba(7, 51, 46, 0.14);
    transition: right .35s cubic-bezier(.2,.8,.3,1);
    z-index: 65;
  }
  .main-nav.open { right: 0; }
  .main-nav a { font-size: 17px; padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(13, 148, 136, 0.08); }
  .main-nav a::after { display: none; }
  .burger { display: block; z-index: 70; position: relative; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 64;
    background: rgba(6, 42, 39, 0.5);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .header-actions .btn-sm { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cards, .reviews, .steps, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .phone-wrap { width: min(330px, 94%); }
  .float-chip { font-size: 11.5px; padding: 7px 12px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .cta-card { padding: 48px 20px; }
}