/* =========================================================
   Better Call Akbar — stylesheet
   RTL Persian · dark/light · no external dependencies
   ========================================================= */

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --serif: Georgia, "Times New Roman", serif;

  --bg: #070809;
  --bg-soft: #0a0c0f;
  --panel: #0d1015;
  --panel-2: #12161d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5f7;
  --muted: #98a1ad;
  --muted-2: #6e7783;

  --gold: #f4c95d;
  --gold-soft: #ffe19a;
  --gold-deep: #d9a63b;
  --teal: #4fe0b3;
  --teal-deep: #12a67c;
  --success: #43d9a3;
  --danger: #ff7373;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 40px 90px -45px rgba(0, 0, 0, 0.9);
  --shadow-gold: 0 24px 60px -30px rgba(244, 201, 93, 0.55);

  --header-bg: rgba(7, 8, 9, 0.72);
  --input-bg: rgba(255, 255, 255, 0.045);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  --grid-line: rgba(255, 255, 255, 0.045);
  --hero-glow: rgba(244, 201, 93, 0.17);
  --teal-glow: rgba(79, 224, 179, 0.10);
  --alt-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%, rgba(255, 255, 255, 0.018));
}

[data-theme="light"] {
  --bg: #f7f4ec;
  --bg-soft: #f1ede2;
  --panel: #ffffff;
  --panel-2: #fbf9f4;
  --line: rgba(17, 22, 28, 0.09);
  --line-strong: rgba(17, 22, 28, 0.18);
  --text: #141a21;
  --muted: #5b6672;
  --muted-2: #8b949e;

  --gold: #c9921f;
  --gold-soft: #a9761a;
  --gold-deep: #9a6a13;
  --teal: #0d8f6b;
  --teal-deep: #0a7457;
  --success: #0f8f63;
  --danger: #c93b3b;

  --shadow-lg: 0 40px 90px -50px rgba(30, 35, 40, 0.35);
  --shadow-gold: 0 24px 60px -35px rgba(201, 146, 31, 0.45);

  --header-bg: rgba(247, 244, 236, 0.8);
  --input-bg: #ffffff;
  --card-bg: linear-gradient(180deg, #ffffff, #fdfbf6);
  --grid-line: rgba(17, 22, 28, 0.05);
  --hero-glow: rgba(201, 146, 31, 0.16);
  --teal-glow: rgba(13, 143, 107, 0.08);
  --alt-bg: linear-gradient(180deg, rgba(17, 22, 28, 0.025), transparent 40%, rgba(17, 22, 28, 0.025));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 82% -8%, var(--hero-glow), transparent 62%),
    radial-gradient(900px 520px at 4% 6%, var(--teal-glow), transparent 62%);
  pointer-events: none;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.005em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(244, 201, 93, 0.28); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  inset-inline-start: 50%;
  top: -100px;
  transform: translateX(50%);
  z-index: 200;
  background: var(--gold);
  color: #171204;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mono { font-family: var(--mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.muted-sm { color: var(--muted); font-size: 0.82rem; }

.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grad {
  background: linear-gradient(100deg, #ffe7a8 0%, var(--gold) 45%, #d99f2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="light"] .grad {
  background: linear-gradient(100deg, #b8821b, #8f6211 60%, #b8821b);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------------- buttons ---------------- */
.btn {
  --btn-pad-y: 12px;
  --btn-pad-x: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn .ico { width: 19px; height: 19px; }

.btn-gold {
  background: linear-gradient(180deg, #ffe391, #f1bf4c 55%, #e2ab33);
  color: #1a1405;
  box-shadow: 0 14px 34px -16px rgba(244, 201, 93, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -18px rgba(244, 201, 93, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
[data-theme="light"] .btn-gold { color: #fff8e8; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
  color: var(--text);
}
[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.085); border-color: rgba(244, 201, 93, 0.5); }
[data-theme="light"] .btn-ghost:hover { background: #fff; }

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(244, 201, 93, 0.07); }

.btn-sm { --btn-pad-y: 9px; --btn-pad-x: 15px; font-size: 0.87rem; border-radius: 12px; }
.btn-lg { --btn-pad-y: 15px; --btn-pad-x: 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
[data-theme="light"] .icon-btn { background: rgba(255, 255, 255, 0.7); }
.icon-btn:hover { color: var(--gold); border-color: rgba(244, 201, 93, 0.45); }

/* ---------------- header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(155deg, #ffe291, #efb941 60%, #cf9220);
  color: #191204;
  box-shadow: 0 10px 26px -12px rgba(244, 201, 93, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-text small { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 6px; margin-inline-start: 4px; }
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
[data-theme="light"] .nav a:hover { background: rgba(17, 22, 28, 0.05); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

.theme-toggle .ico-sun { display: block; }
.theme-toggle .ico-moon { display: none; }
[data-theme="light"] .theme-toggle .ico-sun { display: none; }
[data-theme="light"] .theme-toggle .ico-moon { display: block; }

.menu-toggle { display: none; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 54px 0 20px; overflow: clip; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 75% 62% at 50% 12%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 62% at 50% 12%, #000 20%, transparent 78%);
  opacity: 0.85;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
[data-theme="light"] .pill { background: rgba(255, 255, 255, 0.65); }
.pill b { color: var(--text); font-weight: 800; }

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(67, 217, 163, 0.16);
  flex: none;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(67, 217, 163, 0.55);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.05rem, 4.4vw, 3.55rem);
  font-weight: 900;
  line-height: 1.42;
  text-wrap: balance;
}
.hero h1 .grad { display: block; margin-top: 2px; }

.lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.15vw, 1.04rem);
  line-height: 1.95;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.82rem;
}
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ico { width: 17px; height: 17px; color: var(--gold); }

.hero-visual { position: relative; }
.case-wrap { position: relative; padding: 44px 0 54px; }
.case-wrap::before {
  content: "";
  position: absolute;
  inset: -6% -8%;
  background: radial-gradient(circle at 55% 30%, rgba(244, 201, 93, 0.16), transparent 62%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

.case-card {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin-inline: auto;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(244, 201, 93, 0.10), transparent 55%),
    linear-gradient(165deg, var(--panel-2), var(--panel) 65%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotate(-1.4deg);
  transition: transform 0.4s ease;
}
.case-card:hover { transform: rotate(0deg) translateY(-3px); }

.case-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.case-head > div { display: flex; flex-direction: column; gap: 2px; }
.case-kicker { color: var(--muted-2); font-size: 0.68rem; letter-spacing: 0.02em; }
.case-head strong { font-size: 1.02rem; font-weight: 800; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(67, 217, 163, 0.1);
  border: 1px solid rgba(67, 217, 163, 0.28);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.status-pill .live-dot { width: 6px; height: 6px; }

.case-timer {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 16px;
}
.timer {
  font-family: var(--mono);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1;
}
.timer-label { color: var(--muted-2); font-size: 0.72rem; }

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
}
[data-theme="light"] .case-metrics { background: rgba(17, 22, 28, 0.025); }
.case-metrics div { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.case-metrics b { font-size: 1.03rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.case-metrics span { color: var(--muted-2); font-size: 0.62rem; white-space: nowrap; }

.server-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.022);
}
[data-theme="light"] .server-row { background: rgba(17, 22, 28, 0.025); }
.flag {
  display: grid;
  place-items: center;
  width: 32px;
  height: 24px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #14181d;
  background: linear-gradient(180deg, #2b2f36 33%, #d93a3a 33% 66%, #f0c419 66%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex: none;
}
.server-meta { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.server-meta b { font-size: 0.82rem; font-weight: 700; }
.server-meta span { color: var(--muted-2); font-size: 0.66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-ico { margin-inline-start: auto; color: var(--muted-2); width: 18px; height: 18px; }

.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 54px;
  margin-top: 16px;
  padding: 0 2px;
}
.spark i {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(244, 201, 93, 0.18));
  opacity: 0.55;
  transform-origin: bottom;
  animation: spark 3.4s ease-in-out infinite;
}
.spark i:nth-child(3n) { animation-delay: 0.5s; opacity: 0.9; }
.spark i:nth-child(4n) { animation-delay: 1.1s; }
.spark i:nth-child(5n) { animation-delay: 1.7s; }
@keyframes spark {
  0%, 100% { transform: scaleY(0.82); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .spark i, .live-dot::after { animation: none; }
}

.case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.66rem;
}
.case-foot span { display: inline-flex; align-items: center; gap: 5px; }
.case-foot .ico { width: 14px; height: 14px; }

.float-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel-2);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.85);
  animation: float 6s ease-in-out infinite;
}
.float-badge div { display: flex; flex-direction: column; line-height: 1.35; }
.float-badge b { font-size: 0.8rem; font-weight: 800; }
.float-badge span { color: var(--muted-2); font-size: 0.6rem; }
.fb-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(244, 201, 93, 0.12);
  color: var(--gold);
}
.fb-icon .ico { width: 15px; height: 15px; }
.uptime { top: 0; inset-inline-end: 10px; }
.nolog { bottom: 4px; inset-inline-start: 10px; animation-delay: 1.4s; }
.nolog .fb-icon { background: rgba(79, 224, 179, 0.12); color: var(--teal); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-badge { animation: none; }
  .case-card { transform: none; }
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  padding: 20px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  text-align: center;
  border-inline-end: 1px solid var(--line);
}
.stat:last-child { border-inline-end: 0; }
.stat b { font-size: 1.5rem; font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; }
.stat:nth-child(1) b, .stat:nth-child(4) b { color: var(--gold); }
.stat span { color: var(--muted); font-size: 0.74rem; }

/* ---------------- sections ---------------- */
.section { padding: clamp(58px, 8vw, 104px) 0; }
.section-alt { background: var(--alt-bg); border-block: 1px solid var(--line); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 52px);
  text-align: center;
}
.section-head.align-start { margin-inline: 0; text-align: start; }
.section-head h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.62rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.5;
  text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: 0.95rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.eyebrow .ico { width: 16px; height: 16px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
}

/* ---------------- services ---------------- */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}
.service-card:nth-child(2)::after { background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 201, 93, 0.35);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.8);
}
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(244, 201, 93, 0.25);
  background: rgba(244, 201, 93, 0.1);
  color: var(--gold);
  flex: none;
}
.icon-badge .ico { width: 22px; height: 22px; }
.icon-badge.teal {
  border-color: rgba(79, 224, 179, 0.25);
  background: rgba(79, 224, 179, 0.1);
  color: var(--teal);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.tag-gold { color: var(--gold); background: rgba(244, 201, 93, 0.1); border: 1px solid rgba(244, 201, 93, 0.22); }
.tag-teal { color: var(--teal); background: rgba(79, 224, 179, 0.09); border: 1px solid rgba(79, 224, 179, 0.22); }

.service-card h3 { margin-top: 18px; font-size: 1.38rem; font-weight: 900; }
.service-sub { color: var(--gold); font-size: 0.78rem; font-weight: 700; margin-top: 1px; }
.service-card:nth-child(2) .service-sub { color: var(--teal); }
.service-desc { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { display: flex; align-items: flex-start; gap: 9px; color: var(--text); font-size: 0.85rem; }
.ticks .ico { width: 17px; height: 17px; margin-top: 4px; color: var(--gold); }
.ticks.two-col { grid-template-columns: 1fr 1fr; }
.service-card:nth-child(2) .ticks .ico { color: var(--teal); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}
.service-link .ico { width: 17px; height: 17px; transition: transform 0.2s; }
.service-link:hover .ico { transform: translateX(-4px); }
.service-card:nth-child(2) .service-link { color: var(--teal); }

.compare { margin-top: 22px; padding: 24px 26px; }
.compare-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.compare-head h3 { font-size: 1.05rem; }
.compare-head p { color: var(--muted); font-size: 0.78rem; }
.compare-table { margin-top: 14px; }
.ct-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
  padding: 11px 4px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}
.ct-row span:first-child { color: var(--muted); }
.ct-head { border-top: 0; color: var(--muted-2); font-size: 0.72rem; font-weight: 700; padding-top: 4px; }
.ct-head span:nth-child(2) { color: var(--gold); }
.ct-head span:nth-child(3) { color: var(--teal); }

/* ---------------- pricing ---------------- */
.billing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.product-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
[data-theme="light"] .product-tabs { background: rgba(17, 22, 28, 0.035); }
.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.product-tab .ico { width: 17px; height: 17px; }
.product-tab.active { background: var(--panel-2); color: var(--text); box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
[data-theme="light"] .product-tab.active { background: #fff; }
.product-tab.active[data-product="tahrim"] { color: var(--gold); }
.product-tab.active[data-product="melli"] { color: var(--teal); }

.durations { display: flex; gap: 6px; flex-wrap: wrap; }
.duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.duration em {
  font-style: normal;
  font-size: 0.64rem;
  color: var(--success);
  background: rgba(67, 217, 163, 0.12);
  padding: 1px 5px;
  border-radius: 5px;
}
.duration:hover { color: var(--text); border-color: var(--line-strong); }
.duration.active { color: #1a1405; background: var(--gold); border-color: var(--gold); }
[data-theme="light"] .duration.active { color: #fff8e8; }
.duration.active em { color: #124d38; background: rgba(255, 255, 255, 0.45); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(244, 201, 93, 0.3); }
.plan.featured {
  border-color: rgba(244, 201, 93, 0.42);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(244, 201, 93, 0.13), transparent 62%),
    var(--card-bg);
  box-shadow: 0 40px 90px -55px rgba(244, 201, 93, 0.65);
}
.plan-body { display: flex; flex-direction: column; width: 100%; padding: 27px 25px 25px; }
.plan-ribbon {
  position: absolute;
  top: -12px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  padding: 3px 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe391, #edb843);
  color: #1a1405;
  font-size: 0.66rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 22px -10px rgba(244, 201, 93, 0.9);
}
.plan-head h3 { font-size: 1.18rem; font-weight: 900; }
.plan-head p { color: var(--muted); font-size: 0.76rem; margin-top: 2px; }

.plan-price { display: flex; align-items: baseline; gap: 7px; margin-top: 20px; }
.plan-price .amount { font-size: 2.05rem; font-weight: 900; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.plan.featured .plan-price .amount { color: var(--gold); }
.plan-price .cur { color: var(--muted); font-size: 0.78rem; }
.plan-meta { display: flex; align-items: center; gap: 8px; min-height: 24px; margin-top: 2px; }
.plan-meta > span:first-child { color: var(--muted-2); font-size: 0.72rem; }
.save {
  color: var(--success);
  background: rgba(67, 217, 163, 0.1);
  border: 1px solid rgba(67, 217, 163, 0.2);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 0.64rem;
  font-weight: 800;
}
.save[hidden] { display: none; }

.plan-features { display: grid; gap: 10px; margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan-features li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.82rem; }
.plan-features .ico { width: 16px; height: 16px; color: var(--gold); opacity: 0.85; }
.plan-body .btn { margin-top: auto; }

.pricing-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.promo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px dashed rgba(244, 201, 93, 0.35);
  border-radius: 12px;
  background: rgba(244, 201, 93, 0.05);
  color: var(--muted);
  font-size: 0.8rem;
}
.promo .ico { width: 17px; height: 17px; color: var(--gold); }
.promo b { color: var(--gold); letter-spacing: 0.06em; }
.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s;
}
.copy-btn:hover { color: var(--gold); border-color: var(--gold); }
.copy-btn .ico { width: 14px; height: 14px; }

/* ---------------- steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  overflow: hidden;
}
.step-num {
  position: absolute;
  top: 10px;
  inset-inline-end: 18px;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text);
  opacity: 0.05;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 16px; font-size: 1.02rem; }
.step p { margin-top: 6px; color: var(--muted); font-size: 0.84rem; }

.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}
.platforms-label { color: var(--muted-2); font-size: 0.76rem; margin-inline-end: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.74rem;
}
[data-theme="light"] .chip { background: rgba(255, 255, 255, 0.7); }
.chip .ico { width: 14px; height: 14px; }

/* ---------------- features ---------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-bg);
  transition: border-color 0.22s, transform 0.22s;
}
.feature:hover { border-color: rgba(244, 201, 93, 0.28); transform: translateY(-3px); }
.feature .icon-badge { width: 40px; height: 40px; border-radius: 12px; }
.feature .icon-badge .ico { width: 19px; height: 19px; }
.feature h3 { margin-top: 14px; font-size: 0.98rem; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 0.83rem; }

/* ---------------- web service ---------------- */
.web-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(244, 201, 93, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(110% 90% at 85% 0%, rgba(244, 201, 93, 0.13), transparent 58%),
    radial-gradient(90% 90% at 0% 100%, rgba(79, 224, 179, 0.07), transparent 60%),
    var(--card-bg);
  overflow: hidden;
}
.web-copy h2 { margin: 12px 0 14px; font-size: clamp(1.42rem, 2.6vw, 2.05rem); font-weight: 900; line-height: 1.55; text-wrap: balance; }
.web-copy > p { color: var(--muted); font-size: 0.9rem; max-width: 52ch; }
.web-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.web-price { color: var(--muted); font-size: 0.82rem; }
.web-price b { color: var(--gold); font-weight: 900; font-size: 0.98rem; }

.web-visual { position: relative; }
.browser {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel-2);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.6deg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
[data-theme="light"] .browser-bar { background: rgba(17, 22, 28, 0.03); }
.b-dots { display: flex; gap: 4px; }
.b-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.b-dots i:first-child { background: #ff6b6b; }
.b-dots i:nth-child(2) { background: #f4c95d; }
.b-dots i:nth-child(3) { background: #43d9a3; }
.b-url {
  flex: 1;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-align: center;
  direction: ltr;
}
.browser-body { padding: 16px; }
.bw-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bw-logo { width: 34px; height: 10px; border-radius: 3px; background: var(--gold); opacity: 0.8; }
.bw-links { display: flex; gap: 7px; }
.bw-links i { width: 22px; height: 6px; border-radius: 3px; background: var(--line-strong); }
.bw-hero { display: flex; flex-direction: column; gap: 7px; }
.bw-line { height: 9px; border-radius: 4px; background: var(--line-strong); }
.bw-line.lg { width: 72%; height: 13px; background: linear-gradient(90deg, var(--gold), rgba(244, 201, 93, 0.25)); }
.bw-line.md { width: 88%; }
.bw-line.sm { width: 52%; }
.bw-cta { width: 84px; height: 24px; margin-top: 6px; border-radius: 7px; background: linear-gradient(180deg, #ffe391, #edb843); }
.bw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.bw-cards i { height: 48px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
[data-theme="light"] .bw-cards i { background: rgba(17, 22, 28, 0.03); }
.bw-cards i:nth-child(2) { border-color: rgba(244, 201, 93, 0.4); }

.web-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel-2);
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.8);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 700;
  animation: float 6s ease-in-out infinite;
}
.web-float .ico { width: 14px; height: 14px; color: var(--gold); }
.web-float.f1 { top: -14px; inset-inline-start: -12px; }
.web-float.f2 { bottom: -14px; inset-inline-end: 14px; animation-delay: 1.2s; }
.web-float.f2 .ico { color: var(--teal); }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.proc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--muted);
  font-size: 0.79rem;
}
.proc b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(244, 201, 93, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  flex: none;
}

/* ---------------- reviews ---------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars .ico { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.review p { flex: 1; color: var(--text); font-size: 0.89rem; line-height: 1.95; }
.review footer { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.review footer div { display: flex; flex-direction: column; line-height: 1.4; }
.review footer b { font-size: 0.84rem; }
.review footer span { color: var(--muted-2); font-size: 0.68rem; }
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-weight: 900;
  font-size: 0.9rem;
  color: #171204;
  flex: none;
}
.a1 { background: linear-gradient(145deg, #ffe3a0, #e2ab33); }
.a2 { background: linear-gradient(145deg, #a9f2da, #35b78f); }
.a3 { background: linear-gradient(145deg, #ffd3c9, #e08a72); }

/* ---------------- faq ---------------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}
.faq-wrap .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card-bg);
  padding: 0 18px;
  transition: border-color 0.2s, background 0.2s;
}
.faq details[open] { border-color: rgba(244, 201, 93, 0.32); background: rgba(244, 201, 93, 0.035); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: 6px; }
.chev { display: grid; place-items: center; color: var(--muted); transition: transform 0.25s, color 0.2s; }
.chev .ico { width: 17px; height: 17px; }
.faq details[open] .chev { transform: rotate(180deg); color: var(--gold); }
.faq-a { padding: 0 0 16px; }
.faq-a p { color: var(--muted); font-size: 0.84rem; line-height: 1.95; }

/* ---------------- cta ---------------- */
.cta-section { padding-top: 10px; }
.cta-panel {
  position: relative;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 48px);
  border: 1px solid rgba(244, 201, 93, 0.28);
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(85% 120% at 50% -10%, rgba(244, 201, 93, 0.19), transparent 62%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.cta-glow {
  position: absolute;
  inset: auto 50% -60%;
  width: 70%;
  height: 70%;
  transform: translateX(50%);
  background: radial-gradient(circle, rgba(244, 201, 93, 0.16), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
.cta-panel h2 { margin: 12px 0 10px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; text-wrap: balance; }
.cta-panel > p { color: var(--muted); font-size: 0.95rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  color: var(--muted-2);
  font-size: 0.76rem;
}
.cta-badges span { display: inline-flex; align-items: center; gap: 6px; }
.cta-badges .ico { width: 15px; height: 15px; color: var(--gold); }

/* ---------------- footer ---------------- */
.site-footer { padding: 52px 0 26px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 0.82rem; max-width: 34ch; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: 0.2s;
}
.socials a:hover { color: var(--gold); border-color: rgba(244, 201, 93, 0.4); }
.socials .ico { width: 16px; height: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 { font-size: 0.82rem; color: var(--text); margin-bottom: 3px; }
.footer-col a { color: var(--muted); font-size: 0.8rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.72rem;
}
.footer-note b { color: var(--muted); }

.support-fab {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe391, #edb843);
  color: #1a1405;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 18px 40px -18px rgba(244, 201, 93, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}
.support-fab:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -20px rgba(244, 201, 93, 1); }
.support-fab .ico { width: 17px; height: 17px; }

.mobile-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 65;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.mobile-bar div { display: flex; flex-direction: column; line-height: 1.35; }
.mobile-bar b { font-size: 0.84rem; }
.mobile-bar span { color: var(--muted-2); font-size: 0.64rem; }

/* ---------------- modal ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.74);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(244, 201, 93, 0.09), transparent 55%),
    var(--panel);
  box-shadow: var(--shadow-lg);
  animation: pop 0.26s cubic-bezier(0.2, 0.9, 0.3, 1.1);
  scrollbar-width: thin;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 34px; height: 34px; border-radius: 10px; }
.modal-close .ico { width: 17px; height: 17px; }

.modal-step[hidden] { display: none; }
.modal-head h2 { margin: 8px 0 6px; font-size: 1.45rem; font-weight: 900; }
.modal-head p { color: var(--muted); font-size: 0.82rem; }

.order-summary {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(244, 201, 93, 0.24);
  border-radius: 14px;
  background: rgba(244, 201, 93, 0.045);
}
.os-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 0.8rem; }
.os-row span { color: var(--muted); }
.os-row b { font-weight: 700; }
.os-total { margin-top: 6px; padding-top: 9px; border-top: 1px dashed rgba(244, 201, 93, 0.3); }
.os-total b { color: var(--gold); font-size: 1rem; font-weight: 900; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; }
.field label { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.field label small { color: var(--muted-2); font-size: 0.7rem; }
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.86rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(244, 201, 93, 0.6);
  box-shadow: 0 0 0 3px rgba(244, 201, 93, 0.12);
}
.field input.invalid, .field textarea.invalid { border-color: rgba(255, 115, 115, 0.65); }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.form-msg {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 115, 115, 0.35);
  background: rgba(255, 115, 115, 0.08);
  color: #ffb3b3;
}
[data-theme="light"] .form-msg { color: #a32828; }
.form-msg[hidden] { display: none; }

.btn-block { position: relative; }
.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(26, 20, 5, 0.25);
  border-top-color: #1a1405;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.loading .spinner { display: block; }
.btn.loading .btn-arrow { display: none; }
.btn.loading { pointer-events: none; opacity: 0.9; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-fine { margin-top: 10px; color: var(--muted-2); font-size: 0.68rem; text-align: center; line-height: 1.7; }
.form-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-fine a:hover { color: var(--gold); }

.success { text-align: center; padding-top: 8px; }
.success-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(67, 217, 163, 0.12);
  border: 1px solid rgba(67, 217, 163, 0.35);
  color: var(--success);
}
.success-icon .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.success h2 { font-size: 1.4rem; font-weight: 900; }
.success > p { margin: 8px auto 18px; color: var(--muted); font-size: 0.84rem; max-width: 40ch; }
.code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px dashed rgba(244, 201, 93, 0.4);
  border-radius: 13px;
  background: rgba(244, 201, 93, 0.05);
}
.code-label { color: var(--muted); font-size: 0.74rem; }
.code { margin-inline-start: auto; color: var(--gold); font-family: var(--mono); font-size: 1.05rem; letter-spacing: 0.06em; }
.success .btn { margin-top: 10px; }
.success .btn + .btn { margin-top: 8px; }

/* ---------------- toast ---------------- */
.toast {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 200;
  padding: 11px 16px;
  border: 1px solid rgba(67, 217, 163, 0.4);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 0.82rem;
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.9);
  animation: toastIn 0.25s ease;
}
.toast[hidden] { display: none; }
.toast.error { border-color: rgba(255, 115, 115, 0.45); }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- reveal ---------------- */
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d, 0ms);
}

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 36px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 0.85rem; }
  .header-inner { gap: 16px; }
  .plans { gap: 14px; }
  .web-panel { gap: 30px; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 14px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 0.94rem; border-radius: 10px; }
  .nav a + a { border-top: 1px solid var(--line); border-radius: 0; }

  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { text-align: center; }
  .hero h1 { margin-inline: auto; max-width: 22ch; }
  .lead { margin-inline: auto; }
  .hero-actions, .trust { justify-content: center; }
  .case-wrap { max-width: 460px; margin-inline: auto; }
  .stat-strip { margin-top: 38px; }
  .stat b { font-size: 1.25rem; }

  .service-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .web-panel { grid-template-columns: 1fr; }
  .web-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .process { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 26px; }
  .faq-wrap .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: flex; }
  .support-fab { display: none; }
  body { padding-bottom: 68px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { height: 68px; }
  .nav { inset-block-start: 68px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: 0.62rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .hero h1 { font-size: clamp(1.72rem, 8.2vw, 2.3rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust { gap: 8px 14px; font-size: 0.74rem; }
  .case-card { padding: 18px; border-radius: 22px; }
  .timer { font-size: 1.8rem; }
  .case-metrics b { font-size: 0.92rem; }
  .float-badge { padding: 7px 10px; }
  .uptime { inset-inline-end: 0; }
  .nolog { inset-inline-start: 0; }
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 14px 0; padding: 16px 4px; }
  .stat:nth-child(2) { border-inline-end: 0; }
  .section-head { text-align: start; }
  .section-head h2 { font-size: 1.5rem; }
  .billing-bar { flex-direction: column; align-items: stretch; }
  .product-tabs { width: 100%; }
  .product-tab { flex: 1; justify-content: center; }
  .durations { justify-content: space-between; }
  .duration { flex: 1; justify-content: center; padding: 8px 6px; font-size: 0.74rem; }
  .duration em { display: none; }
  .plan-body { padding: 24px 20px; }
  .features { grid-template-columns: 1fr; }
  .ticks.two-col { grid-template-columns: 1fr; }
  .ct-row { font-size: 0.76rem; }
  .compare { padding: 18px; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal-card { padding: 24px 18px; }
  .modal-head h2 { font-size: 1.25rem; }
  .toast { inset-inline: 16px; bottom: 80px; text-align: center; }
  .web-float.f1 { inset-inline-start: 0; }
  .web-float.f2 { inset-inline-end: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
