/* ═══════════════════════════════════════════════════════
   آروا نت — استایل حرفه‌ای Glassmorphism
   طراحی: روشن، شیشه‌ای، آبی، انیمیشن نرم
═══════════════════════════════════════════════════════ */

/* ── متغیرها ─────────────────────────────────────── */
:root {
  /* رنگ‌ها */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;

  --clr-bg:           #f0f5ff;
  --clr-bg2:          #e8f0fe;
  --clr-text:         #0d1b3e;
  --clr-text-muted:   #4a5c8a;
  --clr-primary:      var(--blue-600);
  --clr-primary-dark: var(--blue-700);
  --clr-accent:       var(--violet-500);

  /* شیشه */
  --glass-white:    rgba(255, 255, 255, 0.72);
  --glass-white-sm: rgba(255, 255, 255, 0.55);
  --glass-border:   rgba(255, 255, 255, 0.6);
  --glass-shadow:   0 8px 32px rgba(37, 99, 235, 0.10);
  --glass-shadow-lg:0 20px 60px rgba(37, 99, 235, 0.15);

  /* تایپوگرافی */
  --font: 'Vazirmatn', Tahoma, sans-serif;

  /* انیمیشن */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.35s;

  /* شعاع */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --header-h: 72px;
}

/* ── ریست ──────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* پس‌زمینه مش گرادیان */
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%,  rgba(96,165,250,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%,  rgba(139,92,246,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 60% 30%,  rgba(37,99,235,0.08)  0%, transparent 50%);
  background-attachment: fixed;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── ظرف ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 900;
  color: var(--clr-text);
}

/* ── تیتر بخش ───────────────────────────────────── */
.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
}

/* ── کارت شیشه‌ای ───────────────────────────────── */
.glass-card {
  background: var(--glass-white);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: var(--glass-shadow);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-lg),
              0 0 0 1px rgba(96,165,250,0.25);
}

/* ── دکمه‌ها ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.7rem;
  font-weight: 700;
  font-family: var(--font);
  font-size: 0.95rem;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  background: none;
}

/* لایه براق روی دکمه */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 60%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,99,235,0.35),
              inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37,99,235,0.5),
              inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-outline-glow {
  border-color: rgba(37,99,235,0.45);
  color: var(--blue-600);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
}
.btn-outline-glow:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: 0 0 28px rgba(37,99,235,0.45);
  transform: translateY(-3px);
}

.btn-block { display: flex; width: 100%; }

.btn i { font-size: 1em; }

/* ── هدر ─────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(240, 245, 255, 0.75);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,0.55);
  transition: background 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  background: rgba(240, 245, 255, 0.92);
  box-shadow: 0 4px 24px rgba(37,99,235,0.08);
  border-bottom-color: transparent;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* لوگو */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
  transition: transform 0.3s var(--ease);
}
.logo:hover .logo-img { transform: rotate(-8deg) scale(1.08); }

.logo-text {
  font-size: 1.65rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-700), var(--violet-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

/* ناوبری دسکتاپ */
.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}

.nav-link:hover,
.nav-link.active { color: var(--blue-600); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* دکمه هدر */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-family: var(--font);
  font-size: 0.88rem;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-600), var(--violet-500));
  /* هر دو پراپرتی لازمه */
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* لایه درخشش روی ::before نه ::after */
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.nav-cta:hover::before { opacity: 1; }

.nav-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(139,92,246,0.5);
}

/* متن و آیکون بالای لایه */
.nav-cta > * {
  position: relative;
  z-index: 1;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* ── همبرگر ─────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 10px;
  border-radius: 12px;
  z-index: 1001;
  transition: background 0.25s;
}
.hamburger:hover { background: rgba(37,99,235,0.08); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1),
              opacity 0.3s, width 0.3s, background 0.25s;
}
.hamburger.active span { background: var(--blue-600); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── آورلی ── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(13,27,62,0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s;
  pointer-events: none;
}
.mobile-nav-overlay.active {
  background: rgba(13,27,62,0.22);
  backdrop-filter: blur(6px);
  pointer-events: all;
}

/* ── پنل منوی موبایل ── */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 88vw);       
  height: 100dvh;
  z-index: 999;
  display: flex;
  flex-direction: column;
  background: rgba(235,242,255,0.93);
  backdrop-filter: blur(44px) saturate(2);
  -webkit-backdrop-filter: blur(44px) saturate(2);
  border-left: 1px solid rgba(255,255,255,0.7);
  box-shadow: -20px 0 60px rgba(37,99,235,0.14);
  transition: right 0.48s cubic-bezier(0.23,1,0.32,1);
}
.mobile-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500), var(--blue-400));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.mobile-nav.active { right: 0; }

/* هدر داخل منو */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(37,99,235,0.08);
  flex-shrink: 0;
}
.mobile-nav-close {
  width: 32px; height: 32px;         
  border-radius: 10px;
  border: 1px solid rgba(37,99,235,0.15);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-text-muted);
  font-size: 1rem;
  transition: all 0.25s var(--ease);
}
.mobile-nav-close:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.3);
  color: var(--blue-600);
  transform: scale(1.05) rotate(90deg);
}

/* بدنه */
.mobile-nav-body {
  flex: 1;
  padding: 0.8rem 0.8rem;             
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;                       
}

/* آیتم‌ها */
.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;              
  border-radius: 12px;                
  font-size: 0.9rem;                   
  font-weight: 600;
  color: var(--clr-text);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.28s var(--ease);
  opacity: 0;
  transform: translateX(18px);
}
.mobile-nav.active .mobile-nav-item { opacity: 1; transform: translateX(0); }
.mobile-nav.active .mobile-nav-item:nth-child(1) { transition: all 0.35s 0.08s var(--ease); }
.mobile-nav.active .mobile-nav-item:nth-child(2) { transition: all 0.35s 0.14s var(--ease); }
.mobile-nav.active .mobile-nav-item:nth-child(3) { transition: all 0.35s 0.20s var(--ease); }
.mobile-nav.active .mobile-nav-item:nth-child(4) { transition: all 0.35s 0.26s var(--ease); }
.mobile-nav.active .mobile-nav-item:nth-child(5) { transition: all 0.35s 0.32s var(--ease); }

.mobile-nav-item:hover {
  background: rgba(37,99,235,0.07);
  border-color: rgba(37,99,235,0.12);
  color: var(--blue-600);
  transform: translateX(-4px);
}
.mobile-nav-item.active-link {
  background: rgba(37,99,235,0.09);
  border-color: rgba(37,99,235,0.18);
  color: var(--blue-600);
}

/* آیکون‌های رنگی */
.mobile-nav-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.28s;
}
.mobile-nav-item:hover .mobile-nav-icon { transform: scale(1.1); }
.icon-home    { background: rgba(37,99,235,0.1);  color: var(--blue-600); }
.icon-serv    { background: rgba(139,92,246,0.1); color: var(--violet-500); }
.icon-tele    { background: rgba(6,182,212,0.1);  color: #0891b2; }
.icon-contact { background: rgba(245,158,11,0.1); color: #d97706; }

/* فلش */
.mobile-nav-arrow {
  margin-right: auto;
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  opacity: 0.4;
  transition: opacity 0.25s, transform 0.25s, color 0.25s;
}
.mobile-nav-item:hover .mobile-nav-arrow {
  opacity: 1;
  transform: translateX(-3px);
  color: var(--blue-500);
}

/* جداکننده */
.mobile-nav-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.12), transparent);
  margin: 0.3rem 0;
}

/* فوتر — دکمه پنل */
.mobile-nav-footer {
  padding: 0.7rem 0.8rem;        
  border-top: 1px solid rgba(37,99,235,0.08);
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 1rem;          
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--violet-500));
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s, box-shadow 0.3s;
}
.mobile-nav.active .mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s 0.36s, transform 0.4s 0.36s var(--ease), box-shadow 0.3s;
}
.mobile-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}
.mobile-cta > * { position: relative; z-index: 1; color: #fff; -webkit-text-fill-color: #fff; }
.mobile-cta:hover {
  box-shadow: 0 12px 30px rgba(139,92,246,0.5);
  transform: translateY(-2px) !important;
}

/* ── نمایش همبرگر در موبایل ───────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav { display: none; } /* مخفی کردن منوی دسکتاپ */
}

/* ── هیرو ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* دایره‌های پس‌زمینه هیرو */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(96,165,250,0.18), transparent 70%);
  top: -200px; left: -200px;
  animation: heroPulse 8s ease-in-out infinite alternate;
}
.hero::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.14), transparent 70%);
  bottom: -150px; right: -100px;
  animation: heroPulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroPulse {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.15) translate(30px, -20px); }
}

/* ذرات */
.hero-particles {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-400);
  opacity: 0.12;
  animation: floatP 7s ease-in-out infinite;
}
@keyframes floatP {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-28px) rotate(180deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

/* بج */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--blue-600);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.7s var(--ease) both;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.7s 0.15s var(--ease) both;
}

.hero-title span {
  background: linear-gradient(135deg, var(--blue-600), var(--violet-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--clr-text-muted);
  margin-bottom: 2.2rem;
  max-width: 480px;
  line-height: 1.8;
  animation: fadeUp 0.7s 0.3s var(--ease) both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.45s var(--ease) both;
}

/* کارت آمار هیرو */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeLeft 0.8s 0.2s var(--ease) both;
}

.hero-card {
  padding: 2.5rem 2rem;
  min-width: 270px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* درخشش داخل کارت */
.hero-card::before {
  content: '';
  position: absolute;
  top: -60%; left: -30%;
  width: 160%; height: 120%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.5) 0%, transparent 65%);
  pointer-events: none;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.stat { display: flex; flex-direction: column; align-items: center; }

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-600), var(--violet-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s;
}
.hero-card:hover .stat-number { transform: scale(1.08); }

.stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  margin-top: 0.3rem;
}

/* ریسپانسیو هیرو */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; padding: 2rem 0; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .hero-badge { margin: 0 auto 1.4rem; }
}
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--header-h) + 0.5rem); min-height: 90vh; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
}

/* ── انیمیشن‌ها ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* AOS */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-aos="fade-up"] { transform: translateY(28px); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ── ویژگی‌ها ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.feature-item {
  padding: 2.2rem 1.8rem;
  text-align: center;
}

.feature-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--blue-600), var(--violet-500));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.feature-item:hover .feature-icon {
  transform: rotate(-6deg) scale(1.1);
  box-shadow: 0 12px 32px rgba(37,99,235,0.45);
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.feature-item p {
  color: var(--clr-text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ── CTA ─────────────────────────────────────────── */
.cta-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--violet-600) 100%);
  border: none;
  box-shadow: 0 20px 60px rgba(37,99,235,0.3);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 140%; height: 160%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 0.9rem;
  color: #fff;
}
.cta-card p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.88);
}
.cta-card .btn {
  background: rgba(255,255,255,0.95);
  color: var(--blue-700);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-card .btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* ── هیرو صفحات داخلی ───────────────────────────── */
.page-hero {
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #e8f0fe 0%, #f5f0ff 50%, #f0f5ff 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(96,165,250,0.2), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 0.7rem;
  position: relative;
  background: linear-gradient(135deg, var(--blue-700), var(--violet-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.08rem;
  color: var(--clr-text-muted);
  position: relative;
}

@media (max-width: 480px) {
  .page-hero { padding: 115px 0 50px; }
}

/* ── خدمات ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.service-card .btn { margin-top: auto; }
.service-card-body { flex: 1; display: flex; flex-direction: column; }

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card h2 { font-size: 1.5rem; margin-bottom: 0.9rem; }

.service-features {
  margin: 1.2rem 0;
  text-align: right;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: var(--clr-text-muted);
}
.service-features li i {
  color: var(--blue-500);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.service-price {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 1.3rem 0 1rem;
  color: var(--blue-700);
}
.service-price span {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* ── تماس ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.contact-item {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-lg);
}

.contact-item i {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── فوتر ────────────────────────────────────────── */
.footer {
  background: linear-gradient(160deg, #09122a 0%, #0d1b3e 100%);
  color: #8899bb;
  padding: 4rem 0 0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-col h3 {
  color: #e2e8f0;
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
  border-radius: 2px;
}

.footer-col p { font-size: 0.9rem; line-height: 1.8; }

.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col ul li a {
  color: #8899bb;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s, gap 0.25s;
}
.footer-col ul li a i {
  font-size: 0.75rem;
  opacity: 0.5;
  transition: opacity 0.25s, transform 0.25s;
}
.footer-col ul li a:hover {
  color: #fff;
  gap: 0.65rem;
}
.footer-col ul li a:hover i {
  opacity: 1;
  transform: translateX(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 3rem;
  padding: 1.4rem 0;
  text-align: center;
  font-size: 0.87rem;
  color: #4a5c8a;
}

/* ── دکمه بازگشت به بالا ────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue-600), var(--violet-500));
  color: #fff;
  border: none;
  border-radius: 13px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37,99,235,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 99;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37,99,235,0.55); }

/* ── ابزارهای کمکی ──────────────────────────────── */
.text-center { text-align: center; }
.hidden { display: none; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem}.gap-4{gap:2rem}

/* ── ریسپانسیو کلی ──────────────────────────────── */
@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .container { padding: 0 1rem; }
  .btn { padding: 0.7rem 1.2rem; font-size: 0.88rem; }
  .features-grid,
  .services-grid,
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── اسکرول‌بار ─────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue-500), var(--violet-500));
  border-radius: 10px;
}