/* فرا میزبان | Fara Mizban — Stylesheet v3.1.0 | All Rights Reserved */

:root {
  --font-main: 'Vazirmatn', 'Tahoma', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 70px;
  --bottom-nav-height: 72px;
}

/* Theme 1: آبی حرفه‌ای (پیش‌فرض) */
[data-theme="blue"] {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #3b82f6;
  --secondary: #0ea5e9;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-section: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #1a56db 0%, #0ea5e9 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
}

/* Theme 2: سبز مدرن */
[data-theme="green"] {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --secondary: #14b8a6;
  --accent: #2dd4bf;
  --bg: #f0fdf4;
  --bg-card: #ffffff;
  --bg-section: #ecfdf5;
  --text: #064e3b;
  --text-muted: #6b7280;
  --border: #d1fae5;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #059669 0%, #14b8a6 100%);
  --gradient-hero: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #059669 100%);
}

/* Theme 3: بنفش لوکس */
[data-theme="purple"] {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #8b5cf6;
  --secondary: #a855f7;
  --accent: #c084fc;
  --bg: #faf5ff;
  --bg-card: #ffffff;
  --bg-section: #f3e8ff;
  --text: #1e1b4b;
  --text-muted: #6b7280;
  --border: #e9d5ff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
}

/* Theme 4: نارنجی انرژی */
[data-theme="orange"] {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #f97316;
  --secondary: #f59e0b;
  --accent: #fbbf24;
  --bg: #fff7ed;
  --bg-card: #ffffff;
  --bg-section: #ffedd5;
  --text: #7c2d12;
  --text-muted: #78716c;
  --border: #fed7aa;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(135deg, #7c2d12 0%, #9a3412 50%, #ea580c 100%);
}

/* Theme 5: تیره حرفه‌ای */

/* Theme: زرد طلایی */
[data-theme="yellow"] {
  --primary: #ca8a04;
  --primary-dark: #a16207;
  --primary-light: #eab308;
  --secondary: #f59e0b;
  --accent: #fbbf24;
  --bg: #fffbeb;
  --bg-card: #ffffff;
  --bg-section: #fef3c7;
  --text: #422006;
  --text-muted: #78716c;
  --border: #fde68a;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #ca8a04 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(135deg, #422006 0%, #78350f 50%, #ca8a04 100%);
}
.theme-color.yellow { background: linear-gradient(135deg, #ca8a04, #fbbf24); }

[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary: #06b6d4;
  --accent: #22d3ee;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-section: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #334155;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e3a5f 100%);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  overflow-x: clip;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  transition: background 0.4s, color 0.4s;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(26, 86, 219, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: var(--header-height);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  white-space: nowrap;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--bg-section);
  color: var(--primary);
}

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

.theme-switcher {
  position: relative;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.theme-btn:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 12px;
  display: none;
  gap: 8px;
  z-index: 100;
  min-width: 180px;
}

.theme-dropdown.open {
  display: flex;
  flex-direction: column;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text);
  width: 100%;
  text-align: right;
  transition: var(--transition);
}

.theme-option:hover {
  background: var(--bg-section);
}

.theme-color {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.theme-color.blue { background: linear-gradient(135deg, #1a56db, #0ea5e9); }
.theme-color.green { background: linear-gradient(135deg, #059669, #14b8a6); }
.theme-color.purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.theme-color.orange { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.theme-color.dark { background: linear-gradient(135deg, #1e293b, #3b82f6); }

.btn-panel {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  bottom: var(--bottom-nav-height);
  background: var(--bg-card);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  margin-bottom: 4px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--bg-section);
  color: var(--primary);
}

/* ========== HERO SLIDER ========== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: #fff;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  display: none;
  padding: 60px 0;
  animation: fadeIn 0.6s ease;
}

.hero-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-text .btn {
  margin-left: 12px;
  margin-bottom: 10px;
}

.hero-image {
  background-image: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}


.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

/* ========== DOMAIN SEARCH ========== */
.domain-search {
  background: var(--bg-card);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 40px;
  border: 1px solid var(--border);
}

.domain-search h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text);
}

.domain-search > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.domain-form {
  display: flex;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.domain-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: var(--transition);
  font-size: 1rem;
}

.domain-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

.domain-form .btn {
  padding: 16px 32px;
  white-space: nowrap;
}

.domain-prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.domain-price-card {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.domain-price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.domain-price-card .ext {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.domain-price-card .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.domain-price-card .price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ========== STATS ========== */
.stats {
  background: var(--gradient);
  color: #fff;
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item .number {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 6px;
  display: block;
}

.stat-item .label {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* ========== PRODUCTS INTRO ========== */
.products-intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card .icon {
  width: 52px;
  height: 52px;
  background: var(--bg-section);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.product-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.product-card a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card a:hover {
  gap: 8px;
}

/* ========== WHY US ========== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
}

.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ========== CLIENTS MARQUEE ========== */
.clients-section {
  overflow: hidden;
  background: var(--bg-section);
}

.clients-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.clients-row {
  display: flex;
  gap: 16px;
  animation: scrollUp 25s linear infinite;
}

.clients-row:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.client-logo {
  min-width: 160px;
  height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  position: absolute;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  gap: 15px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========== CONTACT TEASER ========== */
.contact-teaser {
  background: var(--bg-section);
}

.contact-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.contact-box .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.contact-box h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.contact-box p, .contact-box a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-box a:hover {
  color: var(--primary);
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ========== AI PROMO ========== */
.ai-promo {
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ai-promo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.ai-promo-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-promo h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
}

.ai-promo p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.8;
}

.ai-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ai-feature {
  background: rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.ai-promo-visual {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.ai-promo-visual .chat-demo {
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius);
  padding: 20px;
  text-align: right;
  font-size: 0.9rem;
}

.chat-msg {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 90%;
}

.chat-msg.user {
  background: rgba(255,255,255,0.15);
  margin-right: auto;
  margin-left: 0;
}

.chat-msg.bot {
  background: rgba(59, 130, 246, 0.4);
  margin-left: auto;
  margin-right: 0;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: var(--primary);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  padding: 5px 0;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-right: 6px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.enamad-box {
  background: var(--bg-section);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.enamad-box .placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.enamad-box img {
  max-width: 120px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form .btn {
  padding: 10px 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ========== BOTTOM NAV (Mobile) ========== */
/* ========== BOTTOM NAV (Mobile) ========== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  z-index: 9999;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 4px;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 14px;
  transition: var(--transition);
  font-weight: 600;
  min-width: 56px;
  flex: 1;
  max-width: 80px;
  position: relative;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav a .icon {
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.bottom-nav a.active {
  color: var(--primary);
  background: var(--bg-section);
}

.bottom-nav a.active .icon {
  transform: scale(1.12);
}

.bottom-nav a:active {
  transform: scale(0.94);
}

.bottom-nav a:hover {
  color: var(--primary);
}

/* ========== FLOATING BUTTONS ========== */
.float-btns {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 18px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.float-btn:hover,
.float-btn:active {
  transform: scale(1.08);
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.telegram {
  background: #0088cc;
}

/* ========== PRODUCTS PAGE ========== */
.page-hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.service-section:nth-child(even) {
  background: var(--bg-section);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.service-header .icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
}

.service-header h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.service-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.plan-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.plan-card.popular::before {
  content: 'پرفروش';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.plan-price {
  text-align: center;
  margin-bottom: 20px;
}

.plan-price .amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features {
  flex: 1;
  margin-bottom: 24px;
}

.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.plan-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-card .btn {
  width: 100%;
}

/* ========== CONTACT PAGE ========== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.contact-info-card p, .contact-info-card a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-box h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form-box > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ========== GUARANTEE BADGE ========== */
.guarantee-bar {
  background: var(--bg-section);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.guarantee-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.guarantee-item .icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-image {
  background-image: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    height: 240px;
    order: -1;
  }
  .domain-prices {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ai-promo-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .contact-teaser-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .btn-panel {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .bottom-nav {
    display: block !important;
  }
  body {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  }
  .domain-form {
    flex-direction: column;
  }
  .domain-prices {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 50px 0;
  }
  .section-title h2 {
    font-size: 1.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-text h1 {
    font-size: 1.7rem;
  }
  .float-btns {
    bottom: calc(var(--bottom-nav-height) + 15px);
    left: 15px;
  }
  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .domain-prices {
    grid-template-columns: 1fr;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .products-intro-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}



/* Soft brand protection */
img { -webkit-user-drag: none; }


/* Visual polish upgrades */
.btn-primary {
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.product-card, .plan-card, .why-card, .testimonial-card, .contact-box {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.site-header {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
}
[data-theme="dark"] .site-header {
  background: rgba(30, 41, 59, 0.92);
}
.domain-search {
  margin-left: 12px;
  margin-right: 12px;
}
.hero-text h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.stat-item .number {
  letter-spacing: -1px;
}

/* v1.3.0 additions */
.back-to-top {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 90px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: scale(1.08);
}
@media (min-width: 769px) {
  .back-to-top {
    bottom: 28px;
    left: 28px;
  }
  .float-btns {
    bottom: 28px;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
}
.hero-image img {
  pointer-events: auto;
}
.client-logo img {
  pointer-events: auto;
}
.enamad-box img {
  pointer-events: auto;
  max-width: 125px;
  margin: 0 auto;
}


/* ========== v1.5.0 Mobile-first professional redesign ========== */

/* Header tighter on mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --bottom-nav-height: 64px;
  }
  .logo span { font-size: 1.05rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 9px; }
  .btn-panel { padding: 8px 12px; font-size: 0.78rem; border-radius: 10px; }
  .theme-btn { width: 36px; height: 36px; font-size: 1rem; }
  .header-actions { gap: 8px; }
  .guarantee-bar { padding: 12px 0; }
  .guarantee-items { gap: 12px 16px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 4px; -webkit-overflow-scrolling: touch; }
  .guarantee-item { font-size: 0.78rem; white-space: nowrap; flex-shrink: 0; }
  .guarantee-item .icon { width: 28px; height: 28px; font-size: 0.8rem; border-radius: 7px; }

  /* Hero mobile */
  .hero { min-height: auto; }
  .hero-slide { padding: 36px 0 48px; }
  .hero-content { gap: 20px; }
  .hero-text h1 { font-size: 1.45rem; line-height: 1.45; margin-bottom: 10px; }
  .hero-text p { font-size: 0.88rem; margin-bottom: 18px; opacity: 0.88; }
  .hero-text .btn { padding: 10px 16px; font-size: 0.85rem; margin-left: 6px; margin-bottom: 6px; }
  .hero-image { height: 180px; border-radius: 16px; }
  .hero-dots { bottom: 14px; }

  /* Domain search */
  .domain-search { margin-top: -28px; padding: 22px 16px; border-radius: 18px; }
  .domain-search h3 { font-size: 1.15rem; }
  .domain-search > p { font-size: 0.85rem; margin-bottom: 16px; }
  .domain-form { gap: 8px; margin-bottom: 16px; }
  .domain-form input { padding: 12px 14px; font-size: 0.9rem; }
  .domain-form .btn { padding: 12px 16px; }
  .domain-prices { grid-template-columns: 1fr 1fr; gap: 10px; }
  .domain-price-card { padding: 14px 10px; }
  .domain-price-card .ext { font-size: 1.15rem; }
  .domain-price-card .price { font-size: 0.92rem; }

  /* STATS — one professional row */
  .stats { padding: 28px 0; }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .stat-item {
    background: rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 14px 6px;
    backdrop-filter: blur(6px);
  }
  .stat-item .number {
    font-size: 1.25rem !important;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
  }
  .stat-item .label {
    font-size: 0.72rem !important;
    opacity: 0.92;
    line-height: 1.3;
  }

  /* CONTACT TEASER — one row */
  .contact-teaser-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .contact-box {
    padding: 14px 8px !important;
    border-radius: 14px;
  }
  .contact-box .icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.05rem !important;
    border-radius: 11px !important;
    margin-bottom: 8px !important;
  }
  .contact-box h4 { font-size: 0.82rem !important; margin-bottom: 4px; }
  .contact-box p, .contact-box a { font-size: 0.72rem !important; line-height: 1.4; word-break: break-word; }

  /* Products grid mobile */
  .products-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .product-card { padding: 18px 16px; }
  .section { padding: 40px 0; }
  .section-title { margin-bottom: 28px; }
  .section-title h2 { font-size: 1.35rem; }
  .section-title p { font-size: 0.88rem; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr !important; gap: 12px; }

  /* Float buttons position */
  .float-btns {
    bottom: calc(var(--bottom-nav-height) + 12px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    gap: 8px;
  }
  .float-btn { width: 48px; height: 48px; font-size: 1.25rem; }
  .back-to-top {
    bottom: calc(var(--bottom-nav-height) + 72px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    width: 42px;
    height: 42px;
  }

  /* Bottom nav polish */
  .bottom-nav {
    box-shadow: 0 -6px 24px rgba(0,0,0,0.1);
  }
  .bottom-nav a { font-size: 0.65rem; padding: 6px 4px; min-width: 0; }
  .bottom-nav a .icon { font-size: 1.3rem; }
}

/* Stats always nicer */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item .number {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
  display: block;
}

/* Contact teaser always 3 col on tablet+ */
@media (min-width: 600px) {
  .contact-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hide decorative hero SVG text clutter - image fills */
.hero-image {
  background: rgba(255,255,255,0.06);
}
.hero-image img {
  object-fit: cover;
  opacity: 0.95;
}

/* Prevent horizontal overflow */
html, body {
  max-width: 100%;
}
.container {
  overflow-x: clip;
}

/* Hero image less dominant on small phones */
@media (max-width: 480px) {
  .hero-image {
    display: none;
  }
  .hero-text {
    text-align: center;
  }
  .hero-text .btn {
    margin: 4px;
  }
  .stats-grid {
    gap: 6px !important;
  }
  .stat-item .number {
    font-size: 1.1rem !important;
  }
  .stat-item .label {
    font-size: 0.68rem !important;
  }
  .contact-box h4 {
    font-size: 0.75rem !important;
  }
  .contact-box p, .contact-box a {
    font-size: 0.65rem !important;
  }
}

/* Professional contact row desktop */
.contact-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ========== v1.5.0 ========== */
html { scroll-behavior: smooth; }
body { overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }

/* Logo */
.logo-img { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.logo-text { font-weight: 800; font-size: 1.15rem; color: var(--primary); }
.logo .logo-icon { display: none; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo img { width: 40px; height: 40px; }
.footer-logo strong { font-size: 1.1rem; color: var(--primary); }

/* Header socials */
.header-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hdr-social {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--bg-section);
  transition: var(--transition);
}
.hdr-social:hover {
  background: var(--primary);
  color: #fff;
}

/* Hide old theme in header if any */
.header-actions .theme-switcher { display: none !important; }

/* Theme FAB on side */
.theme-fab-wrap {
  position: fixed;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.theme-fab {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.theme-fab:hover { transform: scale(1.06); }
.theme-fab-wrap .theme-dropdown {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 170px;
  margin: 0;
}
.theme-fab-wrap .theme-dropdown.open {
  display: flex;
  flex-direction: column;
}

/* Hide floating whatsapp/telegram completely */
.float-btns { display: none !important; }

/* Bottom nav SVG icons */
.bottom-nav a .bn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bottom-nav a .bn-icon svg {
  width: 22px;
  height: 22px;
}
.bottom-nav a .icon { display: none; }

/* Mobile header fix */
@media (max-width: 768px) {
  .header-socials { display: none; }
  .logo-img { width: 32px; height: 32px; }
  .logo-text { font-size: 0.95rem; }
  .btn-panel {
    padding: 7px 10px;
    font-size: 0.72rem;
    max-width: 90px;
    text-align: center;
    line-height: 1.2;
  }
  .header-inner { gap: 8px; }
  .theme-fab-wrap {
    top: auto;
    bottom: calc(var(--bottom-nav-height) + 16px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    transform: none;
  }
  .theme-fab-wrap .theme-dropdown {
    left: 0;
    bottom: 56px;
    top: auto;
    transform: none;
  }
  /* Logo mark only on very small if text crowded - keep both for brand */
}

@media (max-width: 380px) {
  .logo-text { display: none; }
}

.mobile-socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.mobile-socials a {
  flex: 1;
  text-align: center;
  background: var(--bg-section);
  border-radius: 10px;
  padding: 10px !important;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary) !important;
}

/* Testimonials professional */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
@media (max-width: 768px) {
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: none;
  }
  .testimonial-card {
    min-width: 85%;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* Clients marquee smoother - less jank */
.clients-track {
  height: 200px;
}
.clients-row {
  animation-duration: 40s;
  will-change: transform;
}
@media (max-width: 768px) {
  .clients-track { height: auto; overflow: visible; }
  .clients-row {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .client-logo { min-width: 42%; height: 64px; }
}

.product-card .icon svg,
.why-card .icon svg,
.contact-box .icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.product-card .icon,
.why-card .icon,
.contact-box .icon {
  color: var(--primary);
}
.why-card .icon { color: #fff; }

/* Smooth section */
.section { content-visibility: auto; }

/* Back to top avoid theme fab */
.back-to-top {
  left: auto;
  right: 12px;
  bottom: calc(var(--bottom-nav-height) + 16px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 769px) {
  .back-to-top { right: 24px; left: auto; bottom: 24px; }
}




/* ========== v1.8.0 SCROLL FIX + HERO BANNERS ========== */

/* Force free scrolling — overrides previous rules */
html {
  height: auto !important;
  overflow-y: scroll !important;
  overflow-x: auto !important;
  scroll-behavior: auto !important;
}
body {
  height: auto !important;
  min-height: 100vh !important;
  overflow-y: visible !important;
  overflow-x: auto !important;
  position: relative !important;
  touch-action: auto !important;
  overscroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Kill anything that traps scroll */
.clients-row,
.clients-track {
  animation: none !important;
  transform: none !important;
  will-change: auto !important;
  height: auto !important;
  overflow: visible !important;
}
.reveal, .reveal-in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* New hero banner layout */
.hero {
  background: #0a0f1c !important;
  min-height: 0 !important;
  display: block !important;
  position: relative;
  overflow: hidden;
}
.hero-slide {
  display: none;
  padding: 0 !important;
}
.hero-slide.active {
  display: block;
}
.hero-banner {
  position: relative;
  width: 100%;
  line-height: 0;
}
.hero-banner > img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: auto !important;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(5,10,25,0.75) 0%, rgba(5,10,25,0.25) 60%, transparent 100%);
  line-height: 1.6;
}
.hero-banner-overlay .container {
  text-align: right;
}
.hero-banner-overlay h1 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-banner-overlay p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  margin-bottom: 16px;
  max-width: 520px;
}
.hero-btn-outline {
  border-color: #fff !important;
  color: #fff !important;
  margin-right: 8px;
}
.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

/* Products banner */
.products-banner-wrap {
  margin: 0 auto 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 100%;
}
.products-banner-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .hero-banner > img {
    max-height: 220px;
    min-height: 160px;
  }
  .hero-banner-overlay {
    background: linear-gradient(0deg, rgba(5,10,25,0.85) 0%, rgba(5,10,25,0.35) 100%);
    align-items: flex-end;
    padding-bottom: 28px;
  }
  .hero-banner-overlay h1 { font-size: 1.15rem; }
  .hero-banner-overlay p { font-size: 0.8rem; margin-bottom: 10px; }
  .hero-banner-overlay .btn { padding: 8px 12px; font-size: 0.8rem; }
  /* keep hero images visible now that they're real banners */
  .hero-image { display: none !important; }
  .hero-banner { display: block !important; }
  .products-banner-wrap { border-radius: 12px; margin-bottom: 20px; }
}

/* Ensure fixed UI doesn't cover full screen */
.theme-fab-wrap,
.bottom-nav,
.back-to-top,
.site-header {
  pointer-events: auto;
}
.mobile-menu:not(.open) {
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
}


/* v1.8.0 — image-only hero + trust seals */
.hero-banner-overlay { display: none !important; }
.hero-banner > img {
  width: 100%;
  height: auto;
  display: block;
  max-height: none;
}
.trust-seals {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}
.trust-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  min-width: 120px;
  min-height: 120px;
  transition: var(--transition);
}
.trust-seal:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.trust-seal img {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: auto !important;
}
.enamad-box { display: none; }


/* ========== v1.9.0 Theme FAB + Clients vertical + show clients on mobile ========== */
.clients-section { display: block !important; }

.clients-vertical {
  max-width: 320px;
  margin: 0 auto;
  height: 280px;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  touch-action: pan-y;
  cursor: grab;
}
.clients-vertical::before,
.clients-vertical::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 36px;
  z-index: 2;
  pointer-events: none;
}
.clients-vertical::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-card), transparent);
}
.clients-vertical::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-card), transparent);
}
.clients-vertical-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  will-change: transform;
}
.clients-vertical .client-logo {
  min-width: 0;
  width: 100%;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients-vertical .client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  pointer-events: none;
}

/* Theme FAB — proper mobile size */
.theme-fab-wrap {
  position: fixed !important;
  z-index: 10050 !important;
}
.theme-fab {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15) !important;
}
.theme-fab svg {
  width: 20px !important;
  height: 20px !important;
}

@media (max-width: 768px) {
  .theme-fab-wrap {
    top: auto !important;
    bottom: calc(var(--bottom-nav-height, 64px) + 14px + env(safe-area-inset-bottom, 0px)) !important;
    left: 10px !important;
    right: auto !important;
    transform: none !important;
  }
  .theme-fab {
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
  }
  .theme-fab-wrap .theme-dropdown {
    left: 0 !important;
    right: auto !important;
    bottom: 48px !important;
    top: auto !important;
    transform: none !important;
    min-width: 160px;
  }
  .clients-vertical {
    height: 260px;
    max-width: 100%;
  }
  /* old clients track stay hidden */
  .clients-track { display: none !important; }
}

@media (min-width: 769px) {
  .theme-fab-wrap {
    top: 50% !important;
    bottom: auto !important;
    left: 14px !important;
    transform: translateY(-50%) !important;
  }
  .theme-fab-wrap .theme-dropdown {
    left: 52px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
}


/* ========== v2.0.0 FINAL ========== */

/* Horizontal clients */
.clients-section { display: block !important; }
.clients-vertical, .clients-track { display: none !important; }

.clients-h {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}
.clients-h.is-paused { cursor: grabbing; }
.clients-h-track {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.client-card {
  flex-shrink: 0;
  width: 180px;
  height: 88px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.client-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.client-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  pointer-events: none;
}
.clients-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .client-card {
    width: 150px;
    height: 76px;
    border-radius: 14px;
  }
  .clients-h-track { gap: 12px; }
}

/* Theme switcher — clean mobile size */
.theme-fab-wrap {
  position: fixed !important;
  z-index: 10050 !important;
  left: 12px !important;
  right: auto !important;
}
.theme-fab {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 12px rgba(0,0,0,0.14) !important;
  border: 1px solid var(--border) !important;
  background: var(--bg-card) !important;
}
.theme-fab svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
}
.theme-fab-wrap .theme-dropdown {
  min-width: 150px !important;
  padding: 8px !important;
  font-size: 0.85rem;
}
.theme-fab-wrap .theme-option {
  padding: 8px 10px !important;
  font-size: 0.82rem !important;
}
.theme-color {
  width: 16px !important;
  height: 16px !important;
}

@media (max-width: 768px) {
  .theme-fab-wrap {
    bottom: calc(var(--bottom-nav-height, 64px) + 12px + env(safe-area-inset-bottom, 0px)) !important;
    top: auto !important;
    transform: none !important;
    left: 10px !important;
  }
  .theme-fab {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 9px !important;
  }
  .theme-fab svg {
    width: 15px !important;
    height: 15px !important;
  }
  .theme-fab-wrap .theme-dropdown {
    bottom: 42px !important;
    top: auto !important;
    left: 0 !important;
    transform: none !important;
  }
  .back-to-top {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }
}

@media (min-width: 769px) {
  .theme-fab-wrap {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    left: 12px !important;
  }
  .theme-fab {
    width: 40px !important;
    height: 40px !important;
  }
  .theme-fab-wrap .theme-dropdown {
    left: 48px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
}

/* 404 page */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.page-404 h1 {
  font-size: 5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.page-404 h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.page-404 p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.page-404 .btn { margin: 4px; }


/* ========== v2.1.0 ========== */

/* Clients always visible + horizontal infinite */
.clients-section { display: block !important; visibility: visible !important; }
.clients-h {
  overflow: hidden !important;
  width: 100% !important;
  min-height: 100px !important;
  direction: ltr !important;
}
.clients-h-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  width: max-content !important;
  direction: ltr !important;
}
.client-card {
  flex: 0 0 auto !important;
  width: 168px !important;
  height: 84px !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06) !important;
}
.client-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 8px !important;
  display: block !important;
}
@media (max-width: 768px) {
  .clients-section { display: block !important; }
  .clients-h { min-height: 90px !important; }
  .client-card {
    width: 140px !important;
    height: 72px !important;
  }
}

/* Theme FAB — same compact size as small UI chips */
.theme-fab-wrap {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.theme-fab {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}
.theme-fab svg {
  width: 16px !important;
  height: 16px !important;
}
@media (max-width: 768px) {
  .theme-fab {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: 10px !important;
  }
  .theme-fab svg {
    width: 15px !important;
    height: 15px !important;
  }
}

/* AI promo richer */
.ai-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.ai-lead {
  font-size: 1.02rem !important;
  line-height: 1.85 !important;
  margin-bottom: 16px !important;
}
.ai-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.ai-points li {
  position: relative;
  padding: 8px 0 8px 0;
  padding-right: 22px;
  font-size: 0.92rem;
  opacity: 0.95;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ai-points li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: #6ee7b7;
  font-weight: 800;
}
.chat-demo-rich {
  text-align: right !important;
  max-height: 420px;
  overflow: hidden;
}
.chat-demo-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
.chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.chat-online {
  margin-right: auto;
  margin-left: 0;
  font-size: 0.75rem;
  color: #6ee7b7;
  font-weight: 500;
}
.chat-demo-rich .chat-msg {
  font-size: 0.82rem;
  line-height: 1.6;
  animation: chatIn 0.4s ease both;
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .ai-promo-visual { display: block !important; }
  .chat-demo-rich { max-height: 320px; }
  .ai-promo-content { grid-template-columns: 1fr !important; gap: 24px; }
}

/* Plans redesign */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.plan-card::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--gradient);
  opacity: 0.85;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}
.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(26,86,219,0.15);
}
.plan-card.popular::before {
  content: '';
  height: 5px;
  background: var(--gradient);
  opacity: 1;
}
.plan-card.popular .plan-name::after {
  content: 'پرفروش';
  display: inline-block;
  margin-right: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  vertical-align: middle;
  font-weight: 700;
}
.plan-card .plan-name,
.plan-card .plan-price,
.plan-card .plan-features,
.plan-card .btn {
  padding-left: 22px;
  padding-right: 22px;
}
.plan-card .plan-name {
  padding-top: 20px;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4px;
}
.plan-card .plan-price {
  text-align: center;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.plan-card .plan-price .amount {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  display: inline-block;
}
.plan-card .plan-price .period {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.plan-card .plan-features {
  flex: 1;
  margin: 8px 0 12px;
  padding-bottom: 0;
}
.plan-card .plan-features li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-card .plan-features li:last-child { border-bottom: none; }
.plan-card .plan-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}
.plan-card .btn {
  margin: 0 22px 22px;
  width: calc(100% - 44px);
  border-radius: 12px;
  font-weight: 700;
}
/* hide old popular absolute badge if any */
.plan-card.popular::after { display: none !important; }


/* ========== v2.2.0 ========== */
.contact-box-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.contact-box-link:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.contact-box .icon {
  color: #fff !important;
  background: var(--gradient) !important;
}
.contact-box .icon svg {
  stroke: #fff;
  width: 22px;
  height: 22px;
}
.contact-action {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}
.contact-dir {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contact-info-card .icon {
  color: #fff !important;
}
.contact-info-card .icon svg {
  stroke: #fff;
}

/* Plans v3 — modern animated cards */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  perspective: 1000px;
}
.plan-card {
  background: var(--bg-card);
  border: none;
  border-radius: 20px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  animation: planIn 0.6s ease both;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--gradient);
}
.plan-card::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.06;
  top: -40px;
  left: -40px;
  transition: transform 0.5s ease;
  pointer-events: none;
}
.plan-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.14);
}
.plan-card:hover::after {
  transform: scale(1.4);
}
.plan-card.popular {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-section) 100%);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: scale(1.03);
  z-index: 1;
}
.plan-card.popular:hover {
  transform: translateY(-10px) scale(1.05);
}
.plan-card.popular .plan-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
  animation: pulseBadge 2s ease infinite;
}
@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,86,219,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(26,86,219,0); }
}
@keyframes planIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.plans-grid .plan-card:nth-child(1) { animation-delay: 0.05s; }
.plans-grid .plan-card:nth-child(2) { animation-delay: 0.15s; }
.plans-grid .plan-card:nth-child(3) { animation-delay: 0.25s; }

.plan-card .plan-name {
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
  padding: 0;
}
.plan-card .plan-price {
  text-align: center;
  margin-bottom: 18px;
  padding: 12px 0;
  background: var(--bg-section);
  border-radius: 14px;
  border: none;
}
.plan-card .plan-price .amount {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plan-card .plan-price .period {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
  -webkit-text-fill-color: var(--text-muted);
}
.plan-card .plan-features {
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
}
.plan-card .plan-features li {
  padding: 10px 12px;
  margin-bottom: 6px;
  border: none;
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.88rem;
  transition: background 0.2s ease;
}
.plan-card .plan-features li:hover {
  background: var(--bg-section);
}
.plan-card .btn {
  width: 100%;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card .btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
/* remove old popular ::before content badge conflict */
.plan-card.popular::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--gradient);
}
.plan-card.popular .plan-name::after { display: none !important; content: none !important; }


/* ========== v2.3.0 ========== */
.client-card {
  flex-direction: column !important;
  height: auto !important;
  min-height: 110px !important;
  padding: 10px 10px 12px !important;
  width: 160px !important;
}
.client-logo-wrap {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 10px;
  overflow: hidden;
}
.client-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.client-name {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media (max-width: 768px) {
  .client-card {
    width: 140px !important;
    min-height: 100px !important;
  }
  .client-logo-wrap { height: 56px; }
  .client-name { font-size: 0.78rem; }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.step-num {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.locations-grid, .trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.loc-card, .trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.25s ease;
}
.loc-card:hover, .trust-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
}
.loc-card h3, .trust-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.loc-card p, .trust-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.loc-card ul {
  margin: 0;
  padding-right: 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.loc-card ul li { margin-bottom: 4px; list-style: disc; }

.cta-band {
  padding: 40px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--gradient);
  color: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  flex-wrap: wrap;
}
.cta-band-inner h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.cta-band-inner p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-size: 0.95rem;
}
.cta-band-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cta-band-actions .btn-outline {
  border-color: #fff !important;
  color: #fff !important;
}
.cta-band-actions .btn-primary {
  background: #fff !important;
  color: var(--primary-dark) !important;
}

@media (max-width: 900px) {
  .steps-grid, .locations-grid, .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps-grid, .locations-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  .cta-band-inner { text-align: center; justify-content: center; }
  .cta-band-actions { justify-content: center; width: 100%; }
}


/* ========== v2.4.0 ========== */
.dc-map-section { background: var(--bg); }
.dc-map-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.dc-map-visual { border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.dc-world { width: 100%; height: auto; display: block; }
.dc-pin text { font-weight: 700; }
.dc-partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.dc-partner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-section);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
}
.dc-partner strong { font-size: 0.95rem; }
.dc-partner span:last-child { font-size: 0.8rem; color: var(--text-muted); }
.dc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block; margin-bottom: 4px;
  box-shadow: 0 0 8px currentColor;
}
.dc-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.tg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
}
.tg-card-hot {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-section));
}
.tg-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}
.tg-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.tg-card p { color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem; }
.tg-card ul { margin: 0 0 18px; padding-right: 18px; color: var(--text-muted); font-size: 0.9rem; }
.tg-card ul li { list-style: disc; margin-bottom: 4px; }

.video-player-card {
  max-width: 860px;
  margin: 0 auto;
}
.video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  border: 1px solid var(--border);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f172a;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  border: none;
  background: linear-gradient(135deg, rgba(15,23,42,0.75), rgba(30,58,138,0.65));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.3s ease;
}
.video-play-btn:hover {
  background: linear-gradient(135deg, rgba(15,23,42,0.55), rgba(30,58,138,0.5));
}
.play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  padding-right: 3px;
}
.video-frame.is-playing .video-play-btn { display: none; }
.video-hint {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.video-hint code {
  background: var(--bg-section);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.contact-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cx-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  transition: transform 0.25s ease, border-color 0.2s ease;
}
.cx-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
}
.cx-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.cx-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.cx-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .tg-grid { grid-template-columns: 1fr; }
  .contact-extra-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .contact-extra-grid { grid-template-columns: 1fr; }
  .dc-partners { grid-template-columns: repeat(2, 1fr); }
}


/* ========== v2.5.0 Datacenter map redesign ========== */
.dc-map-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.dc-map-stage {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.25);
}
.dc-world-map {
  width: 100%;
  height: auto;
  display: block;
  min-height: 220px;
}
.map-pin {
  cursor: default;
}
.map-pin circle:last-of-type {
  animation: pinPulse 2.4s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.dc-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.dc-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dc-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}
.dc-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--border);
}
.dc-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dc-info h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.dc-region {
  margin: 0 0 6px !important;
  font-size: 0.8rem !important;
  font-weight: 700;
  color: var(--primary) !important;
}
.dc-desc {
  margin: 0 !important;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
}
.dc-footnote {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.dc-footnote code {
  background: var(--bg-section);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.75rem;
}

/* hide old partner chips if residual */
.dc-partners { display: none !important; }

@media (max-width: 640px) {
  .dc-map-card { padding: 12px; border-radius: 16px; }
  .dc-partners-grid { grid-template-columns: 1fr; }
  .dc-logo { width: 56px; height: 56px; }
}


/* ========== v2.7.0 Interactive Leaflet Map ========== */
.dc-shell {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 16px;
  margin-bottom: 22px;
}
.dc-map-panel {
  background: #0b1220;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.dc-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(15,23,42,0.95);
  border-bottom: 1px solid rgba(148,163,184,0.12);
  flex-wrap: wrap;
}
.dc-map-hint {
  font-size: 0.8rem;
  color: #94a3b8;
}
.dc-map-actions { display: flex; gap: 6px; }
.dc-map-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.25);
  background: #1e293b;
  color: #e2e8f0;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.dc-map-btn:hover {
  background: var(--primary);
  border-color: transparent;
  transform: translateY(-1px);
}
.dc-leaflet {
  flex: 1;
  width: 100%;
  min-height: 380px;
  background: #0b1220;
  z-index: 1;
}
.leaflet-container {
  font-family: Vazirmatn, Tahoma, sans-serif !important;
  background: #0b1220 !important;
}
.dc-marker {
  background: transparent !important;
  border: none !important;
}
.dc-marker-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c, #38bdf8);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 35%, transparent), 0 0 16px var(--c);
  display: block;
  animation: dcPulse 2s ease-in-out infinite;
}
.dc-marker-label {
  position: absolute;
  top: -22px;
  left: 0;
  white-space: nowrap;
  background: rgba(15,23,42,0.92);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateX(-10%);
}
@keyframes dcPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.dc-side {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  max-height: 480px;
}
.dc-side-title {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text);
}
.dc-side-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 2px;
}
.dc-side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: right;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  color: inherit;
}
.dc-side-item img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.dc-side-item span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dc-side-item strong { font-size: 0.92rem; }
.dc-side-item small { color: var(--text-muted); font-size: 0.78rem; }
.dc-side-item:hover,
.dc-side-item.active {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateX(-3px);
  background: var(--bg-section);
}

.dc-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.dc-show-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 16px 16px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  animation: dcCardIn 0.55s ease both;
}
.dc-show-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--dc, var(--primary));
}
.dc-show-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.dc-show-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f172a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.dc-show-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dc-show-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.dc-show-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.55;
  min-height: 2.4em;
}
.dc-show-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--dc, var(--primary));
  padding: 3px 10px;
  border-radius: 20px;
}
.dc-showcase .dc-show-card:nth-child(1) { animation-delay: 0.05s; }
.dc-showcase .dc-show-card:nth-child(2) { animation-delay: 0.1s; }
.dc-showcase .dc-show-card:nth-child(3) { animation-delay: 0.15s; }
.dc-showcase .dc-show-card:nth-child(4) { animation-delay: 0.2s; }
.dc-showcase .dc-show-card:nth-child(5) { animation-delay: 0.25s; }
.dc-showcase .dc-show-card:nth-child(6) { animation-delay: 0.3s; }
.dc-showcase .dc-show-card:nth-child(7) { animation-delay: 0.35s; }
@keyframes dcCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* hide legacy map skins */

.dc-map-section .dc-footnote { display: block !important; }

@media (max-width: 960px) {
  .dc-shell { grid-template-columns: 1fr; }
  .dc-side { max-height: none; }
  .dc-leaflet { min-height: 320px; }
}
@media (max-width: 560px) {
  .dc-showcase { grid-template-columns: 1fr 1fr; }
  .dc-map-hint { font-size: 0.72rem; }
}


/* ========== v2.8.0 map fix ========== */
.dc-showcase { display: none !important; }
.dc-footnote { display: none !important; }
.dc-shell {
  grid-template-columns: 1.75fr 0.85fr !important;
  align-items: stretch;
}
.dc-map-panel {
  min-height: 480px !important;
}
.dc-leaflet {
  min-height: 440px !important;
  background: #e8eef5 !important;
}
.leaflet-container {
  background: #e8eef5 !important;
  font-family: Vazirmatn, Tahoma, sans-serif !important;
}
/* clearer markers on light map */
.dc-marker-label {
  background: rgba(255,255,255,0.95) !important;
  color: #0f172a !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.dc-marker-dot {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.9), 0 0 12px var(--c) !important;
}
.dc-side {
  max-height: 520px !important;
}
@media (max-width: 960px) {
  .dc-shell { grid-template-columns: 1fr !important; }
  .dc-map-panel, .dc-leaflet { min-height: 320px !important; }
}


/* ========== v2.9.0 3D Globe ========== */
.dc-showcase,
.dc-show-card,
.dc-footnote,
.dc-map-card,
.dc-partners-grid,
.dc-leaflet,
.dc-map-panel { display: none !important; }

.dc-shell {
  display: grid !important;
  grid-template-columns: 1.5fr 0.9fr !important;
  gap: 16px !important;
  align-items: stretch !important;
}
.dc-globe-panel {
  display: flex !important;
  flex-direction: column;
  background: radial-gradient(ellipse at center, #0b1a33 0%, #020617 70%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  min-height: 420px;
}
.dc-globe-toolbar {
  padding: 10px 14px;
  background: rgba(2,6,23,0.85);
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.dc-globe {
  width: 100%;
  min-height: 400px;
  height: 420px;
  cursor: grab;
}
.dc-globe:active { cursor: grabbing; }
.dc-globe canvas {
  display: block !important;
  width: 100% !important;
  border-radius: 0 0 20px 20px;
}
.dc-side {
  display: flex !important;
  max-height: 480px !important;
}

@media (max-width: 960px) {
  .dc-shell { grid-template-columns: 1fr !important; }
  .dc-globe, .dc-globe-panel { min-height: 340px; height: 360px; }
  .dc-side { max-height: none !important; }
}

/* ========== v3.0.0 globe + video ========== */
.dc-side-item {
  position: relative;
  overflow: hidden;
}
.dc-side-item::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.25s ease;
}
.dc-side-item:hover::after,
.dc-side-item.active::after {
  background: var(--primary);
}
.dc-side-item img {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.dc-globe-panel {
  min-height: 460px !important;
}
.dc-globe {
  min-height: 440px !important;
  height: 460px !important;
}
.video-player-card { max-width: 920px; margin: 0 auto; }
.video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  border: 1px solid var(--border);
}
.video-frame video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: #0f172a;
}
.video-play-btn {
  position: absolute; inset: 0; border: none;
  background: linear-gradient(135deg, rgba(15,23,42,0.7), rgba(30,58,138,0.55));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; cursor: pointer; font-family: inherit; font-size: 1.05rem; font-weight: 700;
}
.video-play-btn:hover { background: linear-gradient(135deg, rgba(15,23,42,0.5), rgba(30,58,138,0.4)); }
.play-icon {
  width: 68px; height: 68px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; font-size: 1.45rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); padding-right: 3px;
}
.video-frame.is-playing .video-play-btn { display: none; }
@media (max-width: 960px) {
  .dc-globe, .dc-globe-panel { min-height: 340px !important; height: 360px !important; }
}


/* ========== v3.1.0 Testimonials marquee LTR ========== */
.t-section { overflow: hidden; }
.t-marquee {
  overflow: hidden;
  direction: ltr;
  width: 100%;
  padding: 8px 0 4px;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.t-marquee.is-paused { cursor: grabbing; }
.t-track {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.t-card {
  width: 300px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 18px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-align: right;
  direction: rtl;
}
.t-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}
.t-quote {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.35;
  font-weight: 900;
  margin-bottom: 4px;
}
.t-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 16px;
  min-height: 4.5em;
}
.t-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
  background: var(--bg-section);
}
.t-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.t-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.t-meta strong {
  font-size: 0.92rem;
  color: var(--text);
}
.t-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.t-stars {
  color: #fbbf24;
  font-size: 0.75rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .t-card { width: 260px; padding: 16px 14px 12px; }
  .t-avatar { width: 46px; height: 46px; }
}
/* hide old grid if residual */
.testimonials-grid { display: none !important; }
