:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', 'Noto Naskh Arabic', system-ui, sans-serif;
  background: var(--white);
  color: var(--slate-900);
  overflow-x: hidden;
  line-height: 1.65;
}

.hidden { display: none !important; }

/* Splash Screen */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 55%, #dbeafe 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.splash-screen.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-logo-wrap { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.splash-ring {
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  border: 3px solid transparent;
  border-top-color: var(--blue-600);
  border-right-color: var(--blue-500);
  animation: spinRing 1.1s linear infinite;
}
.splash-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.25);
  animation: pulseLogo 1.8s ease-in-out infinite;
}
.splash-title { font-size: 1.9rem; font-weight: 800; color: var(--blue-900); }
.splash-bar { width: 220px; height: 6px; background: var(--blue-100); border-radius: 99px; overflow: hidden; }
.splash-bar-fill {
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), #60a5fa, var(--blue-700));
  border-radius: 99px;
  animation: loadingSlide 1.15s ease-in-out infinite;
}
.splash-sub { font-size: 0.9rem; color: var(--slate-500); font-weight: 500; }

@keyframes spinRing { to { transform: rotate(360deg); } }
@keyframes pulseLogo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes loadingSlide { 0% { transform: translateX(140%); } 100% { transform: translateX(-160%); } }

/* Landing Shell */
.landing-view {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(37, 99, 235, 0.09), transparent 38%),
    radial-gradient(circle at 90% 18%, rgba(59, 130, 246, 0.11), transparent 36%),
    var(--white);
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
}
.landing-nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--blue-900);
  text-decoration: none;
}
.brand-mark img { width: 38px; height: 38px; border-radius: 10px; }
.brand-mark span {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  padding: 2px 8px;
  border-radius: 99px;
}

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  text-decoration: none;
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34); }
.btn-outline {
  background: var(--white);
  color: var(--blue-700);
  border: 1.5px solid var(--blue-100);
}
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-500); }
.btn-whatsapp {
  background: #16a34a;
  color: var(--white);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.22);
}
.btn-whatsapp:hover { background: #15803d; transform: translateY(-2px); }
.btn-lg { padding: 13px 24px; font-size: 0.98rem; border-radius: 14px; }
.btn-sm { padding: 7px 13px; font-size: 0.83rem; border-radius: 9px; }

/* Hero */
.hero-section {
  max-width: 1200px;
  margin: auto;
  padding: 58px 20px 76px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 18px;
  animation: fadeUp 0.6s ease both;
}
.hero-title {
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--slate-900);
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease 0.08s both;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--slate-500);
  margin-bottom: 26px;
  max-width: 570px;
  animation: fadeUp 0.7s ease 0.16s both;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 30px;
  animation: fadeUp 0.7s ease 0.24s both;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
  animation: fadeUp 0.7s ease 0.32s both;
}
.stat-item strong { display: block; font-size: 1.12rem; color: var(--blue-700); }
.stat-item span { font-size: 0.84rem; color: var(--slate-500); }

/* Animated Mockup Visual */
.hero-visual { position: relative; animation: fadeUp 0.8s ease 0.2s both; }
.mockup-glow {
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 68%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}
.mockup-sheet {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1.5px solid var(--blue-100);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.12);
  animation: floatCard 5s ease-in-out infinite;
}
.mockup-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  border-bottom: 2px solid var(--blue-700);
  padding-bottom: 10px;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue-900);
}
.mockup-q {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}
.mockup-q strong { color: var(--blue-700); }
.mockup-circles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--slate-700);
  font-weight: 600;
}
.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  text-align: center;
}
.mockup-table th, .mockup-table td {
  border: 1px solid var(--slate-200);
  padding: 5px;
}
.mockup-table th { background: var(--blue-50); color: var(--blue-900); font-weight: 700; }

.float-pill {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  padding: 9px 14px;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-900);
}
.float-pill.top-left { top: -16px; left: -14px; animation: floatCard 4.2s ease-in-out 0.6s infinite; }
.float-pill.bottom-right { bottom: -16px; right: -12px; animation: floatCard 4.6s ease-in-out 1.1s infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Sections */
.section-wrap { max-width: 1200px; margin: auto; padding: 68px 20px; }
.section-wrap.alt-bg { background: var(--slate-50); max-width: 100%; }
.section-inner { max-width: 1200px; margin: auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); color: var(--slate-900); margin-bottom: 10px; }
.section-head p { color: var(--slate-500); font-size: 0.98rem; }

/* 3 Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--blue-500); box-shadow: 0 18px 34px rgba(37, 99, 235, 0.1); }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.05rem; color: var(--slate-900); margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--slate-500); }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--blue-500); box-shadow: 0 20px 36px rgba(37, 99, 235, 0.1); }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--slate-900); }
.feature-card p { font-size: 0.9rem; color: var(--slate-500); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08); }
.price-card.featured {
  border-color: var(--blue-600);
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 38%);
  box-shadow: 0 22px 44px rgba(37, 99, 235, 0.15);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
}
.price-amount { font-size: 1.95rem; font-weight: 800; color: var(--blue-900); margin: 12px 0 4px; }
.price-amount small { font-size: 0.88rem; font-weight: 600; color: var(--slate-500); }
.price-list { list-style: none; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price-list li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--slate-700); }
.price-list svg { color: var(--blue-600); flex-shrink: 0; }

/* Footer */
.landing-footer { background: var(--blue-900); color: #dbeafe; padding: 34px 20px; }
.landing-footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.landing-footer a { color: var(--white); text-decoration: none; font-weight: 700; }

@media (max-width: 960px) {
  .hero-section { grid-template-columns: 1fr; padding-top: 34px; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .steps-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .nav-links, .float-pill { display: none; }
}