:root {
  --font-primary: 'Vazirmatn', 'Inter', sans-serif;
  --transition: 0.3s ease;
  --bg-body: #f6f9fc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-nav: rgba(255, 255, 255, 0.88);
  --bg-footer: #0b1a2e;
  --text-primary: #0b1a2e;
  --text-secondary: #1e3a5f;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 48px rgba(0, 20, 40, 0.12);
  --accent: #0f3b5e;
  --accent-light: #1e5a7a;
  --accent-glow: rgba(15, 59, 94, 0.2);
  --gradient-hero: linear-gradient(135deg, #0b1a2e 0%, #1a3a5a 100%);
  --badge-bg: #e6f0fa;
  --badge-text: #0f3b5e;
  --radius: 28px;
  --pulse-color: #4b8bb8;
}

[data-theme="dark"] {
  --bg-body: #0f1724;
  --bg-surface: #1a2538;
  --bg-card: #1e2d44;
  --bg-nav: rgba(15, 23, 36, 0.92);
  --bg-footer: #080f1a;
  --text-primary: #eef2f6;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #2d3d54;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.7);
  --accent: #4b8bb8;
  --accent-light: #6aa9d4;
  --accent-glow: rgba(75, 139, 184, 0.2);
  --gradient-hero: linear-gradient(135deg, #0a1422 0%, #14273e 100%);
  --badge-bg: #1e3350;
  --badge-text: #9ac2e0;
  --pulse-color: #6aa9d4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition);
  line-height: 1.7;
  padding-top: 74px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 10px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--accent-glow);
  background: var(--accent-light);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: #0b1a2e;
  border-color: #fff;
}

.btn-large {
  padding: 18px 44px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.pulse-btn {
  animation: pulse 2s ease-in-out infinite;
  position: relative;
}

.pulse-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 60px;
  border: 2px solid var(--pulse-color);
  opacity: 0;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 40px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-title .highlight {
  color: var(--accent);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.3s ease;
}

#preloader.hide {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loader-text {
  margin-top: 20px;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 4px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-color);
  height: 74px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 44px;
  width: auto;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-main {
  font-weight: 900;
  font-size: 1.1rem;
}

.brand-sub {
  font-size: 0.65rem;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 700;
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  background: var(--accent-light);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.lang-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition);
}

.theme-toggle {
  width: 44px;
  font-size: 1.1rem;
}

.lang-toggle {
  width: auto;
  padding: 0 16px;
  gap: 6px;
  font-weight: 700;
  font-size: 0.8rem;
}

.theme-toggle:hover,
.lang-toggle:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: var(--gradient-hero);
  padding: 70px 0 90px;
  color: #fff;
  border-radius: 0 0 60px 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -50px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 40%;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-content h1 .highlight {
  color: #7bbde6;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 20px;
  border-radius: 40px;
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #7bbde6;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.7;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  opacity: 0.6;
}

.hero-trust img {
  height: 28px;
  opacity: 0.7;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-logo-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 40px 36px;
  text-align: center;
  width: 280px;
}

.hero-logo-card img {
  margin: 0 auto 10px;
  height: 80px;
  width: auto;
}

.logo-big {
  font-size: 3.6rem;
  font-weight: 900;
  color: #7bbde6;
  letter-spacing: 4px;
}

.logo-sub {
  font-size: 0.9rem;
  opacity: 0.5;
  letter-spacing: 3px;
  margin-top: 4px;
}

.logo-divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: 14px auto;
}

.logo-org {
  font-size: 0.95rem;
  opacity: 0.8;
}

.logo-badge-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mini-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  animation: float 6s ease-in-out infinite;
}

.float-1 {
  top: -10px;
  right: -20px;
}

.float-2 {
  bottom: 20px;
  left: -30px;
  animation-delay: 2s;
}

.float-3 {
  top: 40%;
  left: -40px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== SERVICES ===== */
.services {
  padding: 60px 0 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.service-icon {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.service-badge {
  position: absolute;
  top: 16px;
  left: 20px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 30px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
  cursor: pointer;
}

.service-link:hover {
  gap: 12px;
}

/* ===== INSIGHTS ===== */
.insights {
  padding: 60px 0 80px;
  background: var(--bg-surface);
  border-radius: 60px 60px 0 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.insight-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.insight-image {
  background: var(--badge-bg);
  padding: 30px 20px 20px;
  text-align: center;
  font-size: 2.6rem;
  color: var(--accent);
}

.insight-body {
  padding: 22px 24px 24px;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.insight-tag {
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 30px;
}

.insight-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.insight-body h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.insight-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.insight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  font-size: 0.8rem;
}

.insight-author {
  color: var(--text-muted);
}

.insight-author i {
  margin-left: 6px;
}

.insight-read {
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  cursor: pointer;
}

.insight-read:hover {
  gap: 10px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: var(--bg-surface);
  border-radius: 32px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 44px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 20px;
  background: var(--bg-body);
  border: none;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modal-tag {
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 30px;
}

.modal-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-container h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.modal-author {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body {
  color: var(--text-secondary);
  line-height: 2;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-cta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* ===== ROADMAP ===== */
.roadmap {
  padding: 60px 0 80px;
  background: var(--bg-body);
}

.roadmap-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  right: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 4px;
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}

.roadmap-item.last {
  margin-bottom: 0;
}

.roadmap-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 20px var(--accent-glow);
  position: relative;
  z-index: 2;
}

.roadmap-content {
  background: var(--bg-card);
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  flex: 1;
  transition: all var(--transition);
}

.roadmap-content:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-hover);
}

.roadmap-content h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.roadmap-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.roadmap-tag {
  display: inline-block;
  margin-top: 10px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 16px;
  border-radius: 30px;
}

.roadmap-arrow {
  display: flex;
  justify-content: center;
  padding: 4px 0;
  color: var(--accent);
  opacity: 0.4;
  font-size: 1.2rem;
}

.roadmap-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== TEAM ===== */
.team {
  padding: 60px 0 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  position: relative;
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.team-status {
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

.team-status.online {
  background: #22c55e;
}

.team-status.offline {
  background: #94a3b8;
}

.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.team-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.team-expertise span {
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 30px;
}

/* ===== ABOUT ===== */
.about {
  padding: 60px 0 80px;
  background: var(--bg-surface);
  border-radius: 60px 60px 0 0;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--accent);
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.about-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.about-cert {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.about-cert i {
  font-size: 2rem;
  color: var(--accent);
}

.about-cert strong {
  display: block;
  font-size: 0.95rem;
}

.about-cert p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 60px 0 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ta-avatar {
  font-size: 2.4rem;
  color: var(--text-muted);
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== CTA / CONTACT ===== */
.cta {
  background: var(--gradient-hero);
  color: #fff;
  padding: 70px 0;
  border-radius: 60px 60px 0 0;
  margin-top: 20px;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 20px;
  border-radius: 40px;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-content h2 .highlight-light {
  color: #7bbde6;
}

.cta-content p {
  opacity: 0.8;
  max-width: 480px;
  margin-bottom: 20px;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-guarantee i {
  color: #7bbde6;
  font-size: 1.2rem;
}

.cta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.cta-info i {
  margin-left: 6px;
}

.cta-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border-radius: 28px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-form h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: border var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-light);
}

.cta-form .btn-primary {
  background: #fff;
  color: #0b1a2e;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cta-form .btn-primary:hover {
  background: #e6f0fa;
}

.form-note {
  font-size: 0.75rem;
  opacity: 0.5;
  text-align: center;
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-footer);
  color: #cbd5e1;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 12px;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: #cbd5e1;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 0.88rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer ul li:hover {
  opacity: 1;
}

.footer ul li i {
  margin-left: 8px;
  width: 18px;
  color: var(--accent-light);
}

.footer-contact li {
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact li i {
  width: 20px;
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--accent-light);
}

/* ===== RESPONSIVE ===== */

/* تبلت و کوچکتر */
@media (max-width: 992px) {
  .hero-container,
  .about-wrapper,
  .cta-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p,
  .cta-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats,
  .hero-trust,
  .cta-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .roadmap-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .roadmap-timeline::before {
    display: none;
  }

  .roadmap-content:hover {
    transform: none;
  }
}

/* موبایل */
@media (max-width: 768px) {
  body {
    padding-top: 66px;
  }

  .navbar {
    height: 66px;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform 0.35s;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 40px 0 60px;
    border-radius: 0 0 40px 40px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .floating-badge {
    display: none;
  }

  .hero-logo-card {
    width: 200px;
    padding: 24px 16px;
  }

  .hero-logo-card img {
    height: 60px;
  }

  .logo-big {
    font-size: 2.2rem;
  }

  .modal-container {
    padding: 28px 20px;
  }
}

/* موبایل کوچک */
@media (max-width: 480px) {
  .services-grid,
  .team-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .container {
    padding: 0 16px;
  }

  .brand-sub {
    display: none;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-logo-card img {
    height: 50px;
  }
}