/* ==========================================================
   سایت انتخاباتی سعید اشتیاقی — استایل مشترک
   فاصله‌ها: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96
   ========================================================== */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0a1630;
  --navy: #0e2a5c;
  --navy-2: #13357a;
  --blue: #2563eb;
  --cyan: #12c2e9;
  --violet: #6a5cff;
  --gold: #f5b301;
  --bg: #f5f7fc;
  --card: #ffffff;
  --line: #e3e8f2;
  --text: #1b2540;
  --muted: #5d6a85;
  --ok: #10b981;
  --grad-ai: linear-gradient(120deg, #12c2e9 0%, #6a5cff 55%, #c471ed 100%);
  --grad-navy: linear-gradient(160deg, #0a1630 0%, #0e2a5c 55%, #13357a 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(14, 42, 92, .06);
  --shadow: 0 10px 30px rgba(14, 42, 92, .10);
  --shadow-lg: 0 24px 60px rgba(14, 42, 92, .18);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-feature-settings: "ss01";
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 12px; color: var(--ink); }
p { margin: 0 0 16px; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--cyan); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; line-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(18, 194, 233, .5); outline-offset: 3px; }
.btn-primary { background: var(--grad-ai); background-size: 200% 100%; color: #fff; box-shadow: 0 8px 24px rgba(106, 92, 255, .35); }
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(106, 92, 255, .45); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .7); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); background: #f6f5ff; transform: translateY(-2px); }
.btn-sm { height: 40px; line-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- هدر ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(10, 22, 48, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  background: var(--grad-ai); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(18, 194, 233, .35);
}
.brand-mark svg { width: 24px; height: 24px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.4; }
.brand-text strong { font-size: 17px; font-weight: 800; }
.brand-text small { font-size: 12px; opacity: .75; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: rgba(255, 255, 255, .82); font-size: 15px; font-weight: 600;
  padding: 8px 12px; border-radius: 10px; position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--grad-ai);
}
.nav .nav-ai { color: #fff; }
.nav .nav-ai .chip-ai { margin-inline-start: 4px; }
.header-cta { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; place-items: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: #0a1630;
  display: flex; flex-direction: column; padding: 24px; gap: 8px;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-nav a.m-link {
  color: #fff; font-size: 18px; font-weight: 700; padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease, background .2s ease;
}
.mobile-nav.open a.m-link { opacity: 1; transform: none; }
.mobile-nav a.m-link.active { background: rgba(18, 194, 233, .14); border-color: rgba(18, 194, 233, .4); }
.mobile-nav a.m-link svg { width: 18px; height: 18px; opacity: .6; }
.mobile-nav .btn { margin-top: 16px; }

.chip-ai {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--grad-ai); line-height: 20px;
}

/* ---------- هیرو ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: var(--grad-navy); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 96px;
}
.hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero .blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.hero .blob.b1 { width: 420px; height: 420px; background: #12c2e9; top: -120px; inset-inline-start: -120px; }
.hero .blob.b2 { width: 380px; height: 380px; background: #6a5cff; bottom: -140px; inset-inline-end: -80px; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  font-size: 14px; font-weight: 600; margin-bottom: 24px; line-height: 36px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 64px); font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.hero h1 .grad { background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 600px; margin-bottom: 32px; }
.typed { color: var(--cyan); font-weight: 800; border-inline-end: 3px solid var(--cyan); padding-inline-end: 4px; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.hero-badge { display: flex; align-items: center; gap: 12px; }
.hero-badge .ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); }
.hero-badge .ico svg { width: 22px; height: 22px; color: var(--cyan); }
.hero-badge strong { display: block; font-size: 15px; }
.hero-badge span { font-size: 13px; color: rgba(255, 255, 255, .65); }

.portrait-wrap { position: relative; justify-self: center; width: min(400px, 100%); }
.portrait-ring {
  position: absolute; inset: -16px; border-radius: 40px; padding: 2px;
  background: conic-gradient(from var(--ring-a), #12c2e9, #6a5cff, #c471ed, #f5b301, #12c2e9);
  animation: ring-spin 6s linear infinite; opacity: .95;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@property --ring-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ring-spin { to { --ring-a: 360deg; } }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, #1b3f86, #0e2a5c); box-shadow: var(--shadow-lg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(10, 22, 48, .85), transparent); }
.portrait-caption { position: absolute; bottom: 20px; inset-inline: 20px; z-index: 2; }
.portrait-caption strong { display: block; font-size: 22px; font-weight: 900; }
.portrait-caption span { font-size: 14px; color: rgba(255, 255, 255, .8); }
.float-card {
  position: absolute; z-index: 3; background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; line-height: 1.5;
  animation: bob 5s ease-in-out infinite;
}
.float-card .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-ai); color: #fff; flex: none; }
.float-card .ico svg { width: 20px; height: 20px; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float-card.fc1 { top: 12%; inset-inline-start: -40px; }
.float-card.fc2 { bottom: 22%; inset-inline-end: -36px; animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; bottom: 24px; inset-inline-start: 50%; transform: translateX(50%); color: rgba(255, 255, 255, .6); font-size: 12px; text-align: center; }
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; margin: 0 auto 6px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; width: 4px; height: 8px; background: #fff; border-radius: 2px; top: 6px; inset-inline-start: 50%; margin-inline-start: -2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- هیروی صفحات داخلی ---------- */
.page-hero {
  position: relative; background: var(--grad-navy); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 72px;
}
.page-hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .8); font-size: clamp(16px, 1.5vw, 19px); max-width: 720px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }

/* ---------- بخش‌ها ---------- */
section.sec { padding: 96px 0; position: relative; }
section.sec.alt { background: #fff; }
section.sec.dark { background: var(--grad-navy); color: #fff; }
section.sec.dark h2, section.sec.dark h3 { color: #fff; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--violet);
  background: #f0eeff; height: 32px; line-height: 32px; padding: 0 14px; border-radius: 999px; margin-bottom: 16px;
}
.dark .kicker { background: rgba(255, 255, 255, .1); color: var(--cyan); }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }
.dark .sec-head p { color: rgba(255, 255, 255, .75); }
.grad-text { background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; color: transparent; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- کارت ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d3d9f5; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, #e8f9fd, #eeebff); color: var(--violet);
  transition: transform .35s ease;
}
.card:hover .ico { transform: rotate(-6deg) scale(1.06); }
.card .ico svg { width: 28px; height: 28px; }
.card .num {
  position: absolute; top: 16px; inset-inline-end: 20px; font-size: 48px; font-weight: 900; line-height: 1;
  color: #eef1f8; transition: color .35s ease;
}
.card:hover .num { color: #e3e0ff; }
.card .card-foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; height: 28px; line-height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; background: #f1f4fa; color: var(--navy);
}
.tag.ai { background: #efeaff; color: #5b47e0; }
.tag.cyan { background: #e2f8fd; color: #0b7f99; }
.tag.gold { background: #fff5d6; color: #8a6500; }
.tag.green { background: #ddf7ec; color: #087a55; }

.card.glass {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; box-shadow: none;
}
.card.glass p { color: rgba(255, 255, 255, .72); }
.card.glass h3 { color: #fff; }
.card.glass .ico { background: rgba(18, 194, 233, .14); color: var(--cyan); }
.card.glass:hover { border-color: rgba(18, 194, 233, .45); background: rgba(255, 255, 255, .09); }

/* ---------- آمار ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  text-align: center; padding: 28px 16px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.3; }
.stat span { color: var(--muted); font-size: 14px; }
.stats-band { margin-top: -56px; position: relative; z-index: 5; }

/* ---------- درباره / دو ستونه ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
.split .media .deco { position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg); background: var(--grad-ai); opacity: .18; z-index: -1; }
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li svg { width: 24px; height: 24px; flex: none; color: var(--ok); margin-top: 4px; }

/* ---------- تایم‌لاین (RTL) ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-inline-start: 40px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 11px; width: 3px; border-radius: 3px; background: var(--line); }
.timeline .progress { position: absolute; top: 8px; inset-inline-start: 11px; width: 3px; border-radius: 3px; background: var(--grad-ai); height: 0; transition: height .2s linear; }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .dot { position: absolute; inset-inline-start: -40px; top: 6px; width: 25px; height: 25px; border-radius: 50%; background: #fff; border: 4px solid var(--violet); box-shadow: 0 0 0 6px rgba(106, 92, 255, .12); }
.tl-item .when { display: inline-block; font-size: 13px; font-weight: 800; color: var(--violet); margin-bottom: 4px; }
.tl-item .card { padding: 20px 24px; }

/* ---------- نقل‌قول ---------- */
.quote-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.quote-card .qmark { width: 40px; height: 40px; color: var(--violet); opacity: .25; margin-bottom: 8px; }
.quote-card blockquote { margin: 0 0 16px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 2; flex: 1; }
.quote-card cite { font-style: normal; font-size: 13px; color: var(--muted); }
.quote-card cite a { color: var(--blue); }

/* ---------- برنامه هوش مصنوعی ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: phase; }
.phase {
  border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
}
.phase::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-ai); }
.phase .when { font-weight: 900; font-size: 14px; color: var(--violet); }
.phase h3 { font-size: 21px; margin-top: 4px; }
.phase ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.phase li { display: flex; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.8; }
.phase li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; margin-top: 11px; }

.project { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; }
.project .ico { margin: 0; width: 72px; height: 72px; border-radius: 20px; }
.project .ico svg { width: 34px; height: 34px; }
.project ul { margin: 12px 0 0; padding-inline-start: 20px; color: var(--muted); font-size: 15px; }
.project ul li { margin-bottom: 4px; }

.kpi { text-align: center; padding: 24px 16px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.kpi strong { display: block; font-size: 34px; font-weight: 900; line-height: 1.4; }
.kpi span { font-size: 14px; color: rgba(255, 255, 255, .75); }

/* ---------- تب‌ها ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.tab-btn {
  height: 44px; line-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; color: var(--muted); cursor: pointer; transition: all .25s ease;
}
.tab-btn:hover { border-color: #c9c2ff; color: var(--violet); }
.tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel { display: none; animation: fadeUp .5s ease both; }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- آکاردئون ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .25s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: #d6d0ff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 24px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: none; transition: transform .3s ease; color: var(--violet); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 24px 20px; color: var(--muted); }

/* ---------- اخبار ---------- */
.news-card { display: flex; flex-direction: column; height: 100%; }
.news-card .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.news-card h3 { font-size: 17px; line-height: 1.8; }
.news-card p { flex: 1; }
.news-card .more { margin-top: 16px; font-weight: 800; font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.news-card .more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.news-card:hover .more svg { transform: translateX(-4px); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }

/* ---------- فرم ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px;
  color: var(--text); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.9; }
.field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6a85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(106, 92, 255, .12); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; transition: all .2s ease; line-height: 1.6;
}
.choice span::before {
  content: ""; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #c7cfe0; flex: none; transition: all .2s ease;
  background: #fff center / 14px no-repeat;
}
.choice input:checked + span { border-color: var(--violet); background: #f6f4ff; color: var(--ink); }
.choice input:checked + span::before {
  background-color: var(--violet); border-color: var(--violet);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(106, 92, 255, .18); }
.form-success {
  display: none; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 14px;
  background: #e7f8f0; border: 1px solid #b6ead2; color: #075e43; font-weight: 700; animation: fadeUp .4s ease both;
}
.form-success.show { display: flex; }
.form-success svg { width: 24px; height: 24px; flex: none; }
.demo-note { font-size: 12.5px; color: var(--muted); }

.info-box {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: 18px;
  background: linear-gradient(135deg, #eefaff, #f3f0ff); border: 1px solid #d9e6ff;
}
.info-box svg { width: 28px; height: 28px; flex: none; color: var(--violet); margin-top: 2px; }
.info-box p { margin: 0; color: var(--text); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  border-radius: 32px; padding: 56px; position: relative; overflow: hidden; color: #fff;
  background: var(--grad-navy); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--violet); filter: blur(90px); opacity: .35; top: -160px; inset-inline-end: -120px; }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 900; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- نوار کلیدواژه ---------- */
.marquee { overflow: hidden; background: #fff; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 17px; color: var(--navy); white-space: nowrap; }
.marquee-item svg { width: 20px; height: 20px; color: var(--violet); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- گالری ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; position: relative; background: #e9eef8; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 12px 16px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(0deg, rgba(10, 22, 48, .8), transparent); }

/* ---------- فوتر ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: all .25s ease; }
.socials a:hover { background: var(--grad-ai); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ---------- دکمه برگشت به بالا ---------- */
.to-top {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  border: none; background: var(--grad-ai); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .3s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- نوار پیشرفت اسکرول ---------- */
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 70; background: var(--grad-ai); transform-origin: right; transform: scaleX(0); }

/* ---------- انیمیشن ورود ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.from-right { transform: translateX(40px); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-cta .btn-desktop { display: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .cta { grid-template-columns: 1fr; }
  .hero { text-align: center; padding-top: calc(var(--header-h) + 32px); }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .portrait-wrap { width: min(320px, 82%); order: -1; margin-bottom: 8px; }
  .float-card.fc1 { inset-inline-start: -16px; }
  .float-card.fc2 { inset-inline-end: -16px; }
  .g3, .roadmap { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cta { padding: 40px 28px; text-align: center; }
  .cta .actions { justify-content: center; }
  .scroll-hint { display: none; }
  .split .media .deco { inset: 16px -12px -12px 16px; }
}
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  section.sec { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .g2, .g3, .g4, .roadmap { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .stats { gap: 12px; }
  .stat { padding: 20px 12px; }
  .form .row, .choice-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { font-size: 12px; padding: 8px 12px; }
  .float-card .ico { width: 30px; height: 30px; }
  .float-card.fc1 { top: 6%; inset-inline-start: -24px; }
  .float-card.fc2 { bottom: 16%; inset-inline-end: -24px; }
  .hero-badges { gap: 16px; }
  .hero-badge { width: 100%; justify-content: center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .project { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .tl-item .card { padding: 16px 18px; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 48px; }
  .stats-band { margin-top: -40px; }
}

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

/* اندازه‌ی آیکون‌های داخل برچسب‌ها */
.kicker svg, .eyebrow svg { width: 18px; height: 18px; flex: none; }
.sec-head .kicker { margin-inline: auto; }

/* جلوگیری از اسکرول افقی */
html, body { overflow-x: clip; }
.hero-grid > *, .split > *, .cta > *, .grid > * { min-width: 0; }
@media (max-width: 900px) {
  .hero-grid, .split, .cta { grid-template-columns: minmax(0, 1fr); }
  .reveal.from-right, .reveal.from-left { transform: translateY(32px); }
  .reveal.in.from-right, .reveal.in.from-left { transform: none; }
}
@media (max-width: 900px) {
  .float-card.fc2 { bottom: auto; top: 48%; }
}
