/* ================================================
   DENTAL TECH — Main Stylesheet
   ================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary:        #0a6eb4;
  --primary-dark:   #084d80;
  --primary-light:  #e8f4fd;
  --accent:         #00c2cb;
  --accent-dark:    #009ea6;
  --white:          #ffffff;
  --gray-50:        #f8fafc;
  --gray-100:       #f1f5f9;
  --gray-200:       #e2e8f0;
  --gray-400:       #94a3b8;
  --gray-600:       #475569;
  --gray-700:       #334155;
  --gray-800:       #1e293b;
  --gray-900:       #0f172a;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:      0 10px 40px rgba(0,0,0,.12);
  --shadow-xl:      0 20px 60px rgba(0,0,0,.15);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --transition:     all .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION BADGE ===== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: .04em;
}

.section-badge--light {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.section-badge--glass {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ===== SECTION TITLE & DESC ===== */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-title span { color: var(--primary); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
}

.section-desc--light { color: rgba(255,255,255,.8); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-sm { padding: 10px 22px; font-size: .88rem; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(10,110,180,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10,110,180,.45);
}

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

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,194,203,.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(255,255,255,.2);
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== SCROLL ANIMATION ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(10,110,180,.3);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text strong { font-size: 1.15rem; font-weight: 800; color: var(--gray-900); line-height: 1.1; }
.logo-text span   { font-size: .72rem; color: var(--primary); font-weight: 600; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: .92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Nav CTA */
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-800);
  font-size: 1.3rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; right: 0; left: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: var(--transition);
}
.mobile-menu.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.mobile-menu ul a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu ul a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-cta { display: flex; gap: 12px; }
.mobile-cta .btn { flex: 1; justify-content: center; }

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 40%, #f0fdfe 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shape { position: absolute; border-radius: 50%; opacity: .12; }
.hero-shape-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -200px; }
.hero-shape-2 { width: 400px; height: 400px; background: var(--accent);   bottom: -100px; right: -100px; }
.hero-shape-3 { width: 200px; height: 200px; background: var(--primary);  top: 60%; left: 30%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { padding: 40px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-light), #e0f8fa);
  border: 1px solid rgba(10,110,180,.2);
  color: var(--primary);
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num   { font-size: 1.8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.hero-stat-label { font-size: .78rem; color: var(--gray-400); font-weight: 600; margin-top: 4px; }

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-main {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 2;
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}
.hero-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.hero-card-title { font-weight: 700; font-size: 1rem; color: var(--gray-900); }
.hero-card-sub   { font-size: .78rem; color: var(--gray-400); }

.hero-appointment-list { display: flex; flex-direction: column; gap: 12px; }

.appointment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.appointment-item:hover { background: var(--primary-light); }

.appointment-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-green  { background: #22c55e; }
.dot-blue   { background: var(--primary); }
.dot-orange { background: #f59e0b; }
.dot-purple { background: #a855f7; }

.appointment-info { flex: 1; }
.appointment-name { font-size: .85rem; font-weight: 700; color: var(--gray-800); }
.appointment-time { font-size: .75rem; color: var(--gray-400); }

.appointment-status {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.status-confirmed { background: #dcfce7; color: #16a34a; }
.status-pending   { background: #fef3c7; color: #d97706; }
.status-waiting   { background: #ede9fe; color: #7c3aed; }

/* Floating Cards */
.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.float-card-1 { top: -20px;  left: -60px; animation: floatAnim 3s ease-in-out infinite; }
.float-card-2 { bottom: -20px; left: -40px; animation: floatAnim 3s ease-in-out infinite .5s; }

.float-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: #fff; flex-shrink: 0;
}
.fi-green  { background: linear-gradient(135deg,#22c55e,#16a34a); }
.fi-purple { background: linear-gradient(135deg,#a855f7,#7c3aed); }

.float-info strong { font-size: .85rem; font-weight: 700; color: var(--gray-900); display: block; }
.float-info span   { font-size: .72rem; color: var(--gray-400); }

@keyframes floatAnim {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ================================================
   SERVICES
   ================================================ */
.services {
  padding: 100px 0;
  background: var(--white);
}
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
  margin-bottom: 24px;
}

.si-blue   { background: linear-gradient(135deg,#0a6eb4,#0ea5e9); }
.si-teal   { background: linear-gradient(135deg,#0891b2,#06b6d4); }
.si-violet { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.si-green  { background: linear-gradient(135deg,#059669,#10b981); }
.si-orange { background: linear-gradient(135deg,#ea580c,#f97316); }
.si-pink   { background: linear-gradient(135deg,#db2777,#ec4899); }
.si-indigo { background: linear-gradient(135deg,#4338ca,#6366f1); }
.si-cyan   { background: linear-gradient(135deg,#0e7490,#00c2cb); }

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: #d97706;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.4;
    text-align: center;
}

.service-desc {
  font-size: .89rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
    text-align: center;
}

.service-features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.service-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--gray-600);
}
.service-features li i { color: var(--primary); font-size: .7rem; flex-shrink: 0; }

.service-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.service-cta {
  display: flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: .85rem; font-weight: 700;
  text-decoration: none; transition: var(--transition);
}
.service-cta:hover { gap: 10px; }
.service-cta i { font-size: .75rem; }

/* ================================================
   WHY US
   ================================================ */
.why-us {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a6eb4, #0284c7, #0891b2);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}

.why-us-content .section-title { color: #fff; }
.why-us-content .section-title span { color: var(--accent); }

.why-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 16px; margin-top: 32px;
}
.why-list li {
  display: flex; align-items: flex-start; gap: 16px;
  color: rgba(255,255,255,.9); font-size: .95rem;
}
.why-list li .check {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  color: var(--accent); font-size: .8rem;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-4px);
}
.why-card-icon  { font-size: 2rem; color: var(--accent); margin-bottom: 12px; }
.why-card-num   { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.why-card-label { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ================================================
   PROCESS
   ================================================ */
.process { padding: 100px 0; background: var(--gray-50); }
.process-header { text-align: center; margin-bottom: 64px; }
.process-header .section-desc { margin: 0 auto; }

.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; right: 10%; left: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
.process-step {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  position: relative; z-index: 1;
  padding: 0 16px;
}
.step-num {
  width: 72px; height: 72px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}
.process-step:hover .step-num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.step-title { font-size: 1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; }
.step-desc  { font-size: .82rem; color: var(--gray-600); line-height: 1.7; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials { padding: 100px 0; background: var(--white); }
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-header .section-desc { margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.testimonial-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
  transform: translateY(-4px);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; color: #fbbf24; }
.testimonial-text  { font-size: .9rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; font-weight: 700; flex-shrink: 0;
}
.av-blue   { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.av-green  { background: linear-gradient(135deg, #059669, #10b981); }
.av-violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.author-info strong { font-size: .88rem; font-weight: 700; color: var(--gray-900); display: block; }
.author-info span   { font-size: .75rem; color: var(--gray-400); }

/* ================================================
   CTA
   ================================================ */
.cta-section { padding: 100px 0; background: var(--gray-50); }

.cta-box {
  background: linear-gradient(135deg, var(--gray-900), #1a2e4a);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,194,203,.15) 0%, transparent 70%);
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(10,110,180,.2) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; color: #fff;
  margin-bottom: 16px;
}
.cta-title span {
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-desc {
  font-size: 1.05rem; color: rgba(255,255,255,.7);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.8;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-text strong { color: #fff; }

.footer-desc {
  font-size: .88rem; line-height: 1.8;
  margin-bottom: 28px; color: rgba(255,255,255,.6);
}

.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-decoration: none;
  font-size: .9rem; transition: var(--transition);
}
.social-link:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: .92rem; font-weight: 700; color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  text-decoration: none; color: rgba(255,255,255,.6);
  font-size: .85rem; transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--accent); padding-right: 4px; }
.footer-links a i { font-size: .65rem; }

.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: .8rem; transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .hero-grid          { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual        { display: none; }
  .why-us-inner       { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }
  .process-steps        { flex-direction: column; }
  .process-steps::before{ display: none; }
  .why-cards            { grid-template-columns: 1fr 1fr; }
  .cta-box              { padding: 48px 28px; }
  .footer-grid          { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom        { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats   { gap: 20px; }
  .services-grid{ grid-template-columns: 1fr; }
  .cta-actions  { flex-direction: column; align-items: center; }
}

/*  */
/* ================================================
   PRICING SECTION (بخش تعرفه‌ها)
   ================================================ */
.pricing-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-desc {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--pro {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-card--pro:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  text-align: right;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li i {
  color: #10b981; /* Green Check */
}

.pricing-features li.disabled {
  color: var(--gray-400);
  text-decoration: line-through;
}

.pricing-features li.disabled i {
  color: var(--gray-400);
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ================================================
   FAQ SECTION (سوالات متداول)
   ================================================ */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1.05rem;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 0.95rem;
  transition: all 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  opacity: 1;
  /* در جاوا اسکریپت با محاسبه ارتفاع، max-height مقداردهی می‌شود اما یک مقدار پیش‌فرض زیاد هم کار می‌کند */
  max-height: 500px;
}

/* رفع مشکل مقیاس در موبایل برای بخش قیمت‌ها */
@media (max-width: 768px) {
  .pricing-card--pro {
    transform: scale(1);
  }
  .pricing-card--pro:hover {
    transform: translateY(-8px);
  }
}
/*  */
/* ================================================
   NEW MODERN ADDITIONS & FIXES
   ================================================ */

/* Service Cards - Hover Effect Enhancement */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 110, 180, 0.1);
}

/* Colors for new service icons */
.si-orange { color: #f97316; background: rgba(249, 115, 22, 0.1); }
.si-pink { color: #ec4899; background: rgba(236, 72, 153, 0.1); }

/* Why Us - 4 Grid Layout Fix */
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 576px) {
  .why-cards {
    grid-template-columns: 1fr; /* در موبایل زیر هم قرار میگیرند */
  }
}

/* ================================================
   اصلاح بخش خبرنامه در فوتر
   ================================================ */

/* Footer Newsletter (Modern Glassmorphism) */
.footer-newsletter {
  /* مقادیر مخرب transform و margin منفی حذف شدند */
  margin-top: -10px;    /* کمی کشش نرم به بالا در فضای خالی پدینگ فوتر */
  margin-bottom: 60px;  /* ایجاد فضای تنفس دقیق بین خبرنامه و لینک‌های فوتر */
  position: relative;
  z-index: 10;
}

.newsletter-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.newsletter-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.newsletter-text p {
  color: var(--gray-300);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-grow: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: none;
  outline: none;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-900); /* اضافه شدن رنگ متن برای خوانایی بهتر */
}

.newsletter-form input::placeholder {
  color: var(--gray-500);
}

/* رفع مشکل واکنش‌گرایی خبرنامه در موبایل */
@media (max-width: 768px) {
  .newsletter-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .newsletter-form {
    width: 100%;
    flex-direction: column;
    max-width: 100%;
  }
  .newsletter-form .btn {
    width: 100%; /* در موبایل دکمه هم‌عرض اینپوت می‌شود */
  }
}


/* Footer Social Icons */
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  font-size: 1.2rem;
  text-decoration: none !important;
}
.footer-socials a:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}



/* Floating WhatsApp Button (Modern Glass) */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px; /* دکمه بالا رفتن سمت چپ بود، این را سمت راست گذاشتم */
  width: 56px;
  height: 56px;
  background: rgba(37, 211, 102, 0.85); /* سبز واتساپ شفاف */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
}
.floating-whatsapp:hover {
  background: #25d366;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
  color: #fff;
}
/* انیمیشن پالس برای واتساپ */
.floating-whatsapp::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/*  */
/* ================================================
   FUN BANNER (انیمیشن تعاملی دندان فراری)
   ================================================ */
.fun-banner {
  padding: 80px 0;
  background: var(--gray-50);
}

.fun-banner-inner {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.fun-content {
  position: relative;
  z-index: 2;
}

.fun-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.4;
}

.fun-title span {
  color: #ef4444; /* رنگ قرمز برای کلمه فرار */
  position: relative;
  display: inline-block;
}

.fun-title span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ef4444;
  border-radius: 4px;
  opacity: 0.3;
}

.fun-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* باکس محیط انیمیشن */
.fun-animation-box {
  position: relative;
  height: 200px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  direction: ltr; /* LTR اجباری برای انیمیشن تا در تمام مرورگرها یکسان چپ‌به‌راست برود */
  box-shadow: inset 0 4px 16px rgba(0,0,0,0.04);
  border: 2px solid var(--gray-100);
}

/* خط زمین (مسیر دویدن) */
.ground-line {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  border-bottom: 3px dashed var(--gray-300);
}

/* صحنه تعقیب و گریز */
.chase-scene {
  position: absolute;
  bottom: 30px; /* مماس روی خط زمین */
  left: 100%; /* شروع از خارج کادر سمت راست */
  display: flex;
  align-items: baseline;
  gap: 35px; /* فاصله بین دندان، آمپول و دکتر */
  animation: run-across 6s linear infinite;
  z-index: 2;
  white-space: nowrap;
}

/* استایل پایه آیکون‌ها */
.run-icon {
  position: relative;
  filter: drop-shadow(0 8px 8px rgba(0,0,0,0.15));
}

/* 1. دندان در حال فرار */
.runner-tooth {
  font-size: 3.5rem;
  color: var(--primary);
  animation: panic-bounce 0.3s ease infinite alternate;
}

/* قطره عرق روی دندان */
.sweat-drop {
  position: absolute;
  top: -10px;
  right: -15px;
  color: #0ea5e9;
  font-size: 1.2rem;
  animation: sweat-fly 0.3s ease infinite alternate;
}

/* 2. آمپول */
.chaser-syringe {
  font-size: 2.8rem;
  color: #ef4444;
  transform: scaleX(-1);
  animation: stab-bounce 0.4s ease infinite alternate 0.1s;
}



/* 3. پزشک */
.chaser-doctor {
  font-size: 3.8rem;
  color: var(--gray-800);
  animation: doctor-run 0.4s ease infinite alternate 0.2s;
}

/* ================= Keyframes (موتور انیمیشن‌ها) ================= */

/* حرکت کل گروه از راست به چپ */
@keyframes run-across {
  0% { left: 100%; }
  100% { left: -70%; } /* خروج کامل از کادر سمت چپ */
}

/* پرش وحشت‌زده دندان */
@keyframes panic-bounce {
  0% { transform: translateY(0) rotate(15deg); }
  100% { transform: translateY(-30px) rotate(25deg); }
}

/* پرتاب قطره عرق به عقب */
@keyframes sweat-fly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(15px, -20px) scale(0.5); opacity: 0; }
}

/* پرش و تکان خوردن آمپول */
@keyframes stab-bounce {
  0% { transform: scaleX(-1) rotate(-120deg) translateY(0); }
  100% { transform: scaleX(-1) rotate(-120deg) translateY(-15px); }
}

/* دویدن پزشک */
@keyframes doctor-run {
  0% { transform: translateY(0) rotate(-5deg); }
  100% { transform: translateY(-20px) rotate(10deg); }
}

/* ================= واکنش‌گرایی (Mobile) ================= */
@media (max-width: 992px) {
  .fun-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
    gap: 32px;
  }

  .fun-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fun-animation-box {
    height: 160px; /* در موبایل کمی جمع‌وجورتر */
  }

  .runner-tooth { font-size: 2.8rem; }
  .chaser-syringe { font-size: 2.2rem; }
  .chaser-doctor { font-size: 3rem; }
}

/*  */
/* ================================================
   MAGIC FACTORY (انیمیشن تبدیل مشکلات به راه حل)
   ================================================ */
.magic-factory-banner {
  padding: 80px 0;
  background: var(--white);
}

.factory-inner {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 48px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  overflow: hidden;
}

.factory-header {
  margin-bottom: 40px;
}

.factory-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.factory-header h2 span {
  color: var(--primary);
}

.factory-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* محیط انیمیشن */
.factory-animation-box {
  position: relative;
  height: 220px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  box-shadow: inset 0 5px 15px rgba(0,0,0,0.03);
  overflow: hidden;
  direction: rtl; /* جریان از راست به چپ */
}

/* نوار نقاله */
.conveyor-belt {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gray-300) 50%, transparent 50%);
  background-size: 30px 4px;
  animation: belt-move 1s linear infinite;
  z-index: 1;
}

/* دستگاه مرکزی (لپ‌تاپ) */
.central-machine {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* مرکز دقیق */
  z-index: 10;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(12, 139, 136, 0.2);
}

.machine-main {
  font-size: 4.5rem;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

/* چرخ‌دنده‌ها */
.central-machine .gear {
  position: absolute;
  color: var(--secondary);
  opacity: 0.8;
  z-index: 1;
}

.gear-left {
  font-size: 1.5rem;
  top: 15px;
  left: 10px;
  animation: spin 3s linear infinite reverse;
}

.gear-right {
  font-size: 2rem;
  bottom: 20px;
  right: 5px;
  animation: spin 4s linear infinite;
}

.machine-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.1;
  animation: pulse-glow 1.5s ease-in-out infinite alternate;
}

/* آیتم‌های روی نوار نقاله */
.factory-item {
  position: absolute;
  top: 50%;
  right: -10%; /* شروع از بیرون کادر سمت راست */
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  z-index: 5;
  /* عبور آیتم از راست به چپ در 9 ثانیه */
  animation: move-on-belt 9s linear infinite;
}

/* زمان‌بندی ورود آیتم‌ها با فاصله 3 ثانیه از هم */
.item-1 { animation-delay: 0s; }
.item-2 { animation-delay: -3s; }
.item-3 { animation-delay: -6s; }

/* آیکون‌های داخل آیتم (حالت بد و خوب روی هم قرار دارند) */
.factory-item i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}

/* حالت مشکل (سمت راست دستگاه) */
.bad-side {
  color: #ef4444; /* قرمز هشدار */
  animation: switch-to-bad 9s infinite;
}

/* حالت موفقیت (سمت چپ دستگاه) */
.good-side {
  color: #10b981; /* سبز موفقیت */
  animation: switch-to-good 9s infinite;
}

.item-1 .bad-side { animation-delay: 0s; }
.item-1 .good-side { animation-delay: 0s; }
.item-2 .bad-side { animation-delay: -3s; }
.item-2 .good-side { animation-delay: -3s; }
.item-3 .bad-side { animation-delay: -6s; }
.item-3 .good-side { animation-delay: -6s; }


/* =========================================
   Testimonials (NEW)
   ========================================= */
.testimonials { padding: 80px 0; background: var(--gray-50); }
.section-badge { background: rgba(37, 99, 235, 0.1); color: var(--primary); padding: 6px 15px; border-radius: 20px; display: inline-block; font-size: 0.85rem; margin-bottom: 10px;}
.section-header .section-title { font-size: 2.2rem; color: var(--gray-900); margin-bottom: 15px; }
.section-header .section-title span { color: var(--primary); }
.section-header { margin-bottom: 50px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testi-card { background: #fff; padding: 30px; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: var(--transition); }
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.testi-stars { color: #fbbf24; margin-bottom: 15px; font-size: 0.9rem; }
.testi-text { color: var(--gray-800); font-style: italic; margin-bottom: 25px; line-height: 1.7; font-size: 0.95rem; }
.testi-author { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--gray-100); padding-top: 15px; }
.author-avatar { width: 50px; height: 50px; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 1.2rem; }
.author-info h4 { font-size: 1rem; color: var(--gray-900); }
.author-info span { font-size: 0.8rem; color: var(--gray-500); }

/* ================= KEYFRAMES ایده دوم ================= */

/* حرکت نوار نقاله به سمت چپ */
@keyframes belt-move {
  0% { background-position: 0 0; }
  100% { background-position: -30px 0; }
}

/* چرخش چرخ‌دنده‌ها */
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* هاله درخشان دستگاه */
@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.1; }
  100% { transform: scale(1.3); opacity: 0.25; }
}

/* حرکت کلی آیتم از راست‌ترین نقطه به چپ‌ترین نقطه */
@keyframes move-on-belt {
  0% { right: -10%; }
  100% { right: 110%; }
}

/* نمایش آیکون بد فقط تا قبل از رسیدن به دستگاه (در 50% محو می‌شود) */
@keyframes switch-to-bad {
  0%, 45% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
}

/* نمایش آیکون خوب فقط بعد از خروج از دستگاه (در 50% ظاهر می‌شود) */
@keyframes switch-to-good {
  0%, 48% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  52%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
  .factory-animation-box { height: 160px; }
  .central-machine { width: 90px; height: 90px; }
  .machine-main { font-size: 3rem; }
  .factory-item i { font-size: 2rem; }
}
