@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --cyan-400: #2563eb;
  --cyan-500: #1d4ed8;
  --violet-500: #6366f1;
  --violet-600: #4f46e5;
  --gold-400: #d97706;
  --gold-500: #b45309;
  --emerald-400: #059669;
  --emerald-500: #10b981;
  --rose-500: #e11d48;
  
  --text-main: #0f172a;
  --text-dim: #475569;
  --text-muted: #94a3b8;
  
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-cyan: rgba(37, 99, 235, 0.3);
  --border-gold: rgba(217, 119, 6, 0.3);
  
  --glow-cyan: 0 10px 30px -5px rgba(37, 99, 235, 0.18);
  --glow-violet: 0 10px 30px -5px rgba(99, 102, 241, 0.18);
  --glow-gold: 0 10px 30px -5px rgba(217, 119, 6, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
  letter-spacing: 0 !important;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 15px;
  position: relative;
  min-height: 100vh;
}

/* Subtle Atmospheric Warm & Azure Radiance */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  left: -200px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.04) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero 3D Backdrop & Canvas (Confined strictly to Hero) */
.hero-3d-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  opacity: 0.9;
}

.hero-3d-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.02) 0%, rgba(248, 250, 252, 0.7) 65%, #f8fafc 100%);
  pointer-events: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-400);
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

.logo-symbol::before {
  content: 'D';
  font-weight: 900;
  font-size: 22px;
  color: #ffffff;
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(90deg, #0f172a, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-text span {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--cyan-400);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan-400);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  box-shadow: var(--glow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35);
}

.btn-glass {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-glass:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 110px 0 90px;
  position: relative;
  text-align: center;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--cyan-500);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan-400);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-title .highlight {
  background: linear-gradient(90deg, #1d4ed8, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 760px;
  margin: 0 auto 38px;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.9;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-glass);
}

.stat-num {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}

.stat-num.cyan { color: var(--cyan-500); }
.stat-num.gold { color: var(--gold-400); }
.stat-num.violet { color: var(--violet-500); }
.stat-num.emerald { color: var(--emerald-400); }

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
  font-weight: 500;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--cyan-500);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px !important;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
}

/* Portfolio Showcase Cards */
.showcase-section {
  padding: 100px 0;
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-cyan);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.12);
}

.portfolio-media {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
}

.portfolio-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: var(--cyan-500);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.portfolio-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.portfolio-client {
  font-size: 13px;
  color: var(--gold-400);
  margin-bottom: 12px;
  font-weight: 600;
}

.portfolio-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag-chip {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.portfolio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 16px;
}

.portfolio-stats {
  display: flex;
  gap: 16px;
}

.stat-pill {
  font-size: 12px;
  color: var(--emerald-400);
  background: rgba(5, 150, 105, 0.08);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* Configurator & Pricing Matrix */
.configurator-section {
  padding: 100px 0;
  position: relative;
  background: #f1f5f9;
}

.configurator-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-start;
}

/* Plan Selectors */
.plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.plan-card {
  background: #ffffff;
  border: 2px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
}

.plan-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: #ffffff;
}

.plan-card.active {
  border-color: var(--cyan-400);
  background: #ffffff;
  box-shadow: 0 8px 25px -5px rgba(37, 99, 235, 0.2);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 14px;
  background: var(--cyan-400);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.plan-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.plan-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--cyan-500);
  margin-bottom: 4px;
}

.plan-days {
  font-size: 12px;
  color: var(--text-dim);
}

/* Quick Presets Bar */
.presets-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.preset-chip {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-dim);
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.preset-chip:hover, .preset-chip.active {
  background: #eff6ff;
  border-color: var(--cyan-400);
  color: var(--cyan-500);
}

/* Feature 2-Column Compact Grid */
.features-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-item {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.feature-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.08);
}

.feature-item.checked {
  border-color: var(--cyan-400);
  background: #f0f7ff;
}

.feature-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
}

.feature-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.feature-item.checked .feature-icon-badge {
  background: #dbeafe;
  color: #1d4ed8;
}

.feature-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.feature-item.checked .feature-checkbox {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
}

.feature-item.checked .feature-checkbox::after {
  content: '✓';
  color: #ffffff;
  font-weight: 900;
  font-size: 11px;
}

.feature-text h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  line-height: 1.3;
}

.feature-text p {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.4;
}

.feature-pricing {
  text-align: left;
  flex-shrink: 0;
}

.feature-cost {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-400);
  white-space: nowrap;
}

.feature-days {
  font-size: 11px;
  color: var(--text-muted);
}

/* Modal Tabs & Admin Quick Banner */
.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 20px;
  gap: 8px;
}

.modal-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.modal-tab-btn.active {
  color: var(--cyan-500);
  border-bottom-color: var(--cyan-500);
}

.admin-quick-card {
  background: #fffbeb;
  border: 1px dashed rgba(217, 119, 6, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sticky Summary Card */
.summary-card {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

.summary-header {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.summary-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.summary-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

.live-price-box {
  background: #eff6ff;
  border: 1px dashed var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.live-price-label {
  font-size: 13px;
  color: var(--cyan-500);
  font-weight: 700;
  margin-bottom: 6px;
}

.live-price-value {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.live-price-unit {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 500;
}

.delivery-time-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 24px;
  border: 1px solid var(--border-glass);
}

/* Installment Plan Breakdown */
.installment-progress {
  margin-bottom: 28px;
}

.installment-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.installment-bars {
  display: grid;
  grid-template-columns: 50% 30% 20%;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.bar-deposit { background: var(--cyan-400); }
.bar-milestone { background: var(--violet-500); }
.bar-delivery { background: var(--emerald-400); }

.installment-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.legend-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.deposit { background: var(--cyan-400); }
.dot.milestone { background: var(--violet-500); }
.dot.delivery { background: var(--emerald-400); }

.first-milestone-highlight {
  background: #eff6ff;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}

.first-milestone-title {
  font-size: 13px;
  color: var(--cyan-500);
  font-weight: 700;
  margin-bottom: 4px;
}

.first-milestone-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
}

/* Brief Intake Wizard Section */
.brief-section {
  padding: 100px 0;
  position: relative;
}

.wizard-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 48px;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  cursor: pointer;
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin: 0 auto 8px;
  transition: var(--transition-smooth);
}

.step-item.active .step-circle {
  background: var(--cyan-400);
  color: #ffffff;
  border-color: var(--cyan-400);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.step-item.completed .step-circle {
  background: var(--emerald-400);
  color: #ffffff;
  border-color: var(--emerald-400);
}

.step-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
}

.step-item.active .step-label {
  color: var(--text-main);
  font-weight: 700;
}

/* Wizard Form Elements */
.wizard-form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-main);
  font-size: 14px;
  transition: var(--transition-fast);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 16px;
  padding-left: 42px;
  cursor: pointer;
}

.form-select option,
select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 14px 18px;
  font-size: 14px;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:checked {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--cyan-400);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

/* Modal Dialogs */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 520px;
  padding: 36px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.modal-backdrop.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--rose-500);
}

/* Shaparak Gateway Simulator UI */
.bank-simulator {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.bank-simulator::before {
  content: 'شبکه الکترونیکی پرداخت کارت (شاپرک)';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  padding: 4px 12px;
  text-align: center;
  font-weight: 700;
}

.bank-card-mock {
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  border-radius: var(--radius-md);
  padding: 20px;
  color: #ffffff;
  margin-top: 14px;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
}

.bank-chip {
  width: 40px;
  height: 28px;
  background: #fbbf24;
  border-radius: 6px;
  margin-bottom: 16px;
}

.bank-card-number {
  font-size: 18px;
  font-family: monospace;
  letter-spacing: 2px !important;
  margin-bottom: 12px;
}

.bank-card-holder {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #e2e8f0;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: #ffffff;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-glass);
  background: #ffffff;
  padding: 60px 0 30px;
  margin-top: 100px;
  box-shadow: 0 -4px 20px -2px rgba(15, 23, 42, 0.02);
}

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

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title { font-size: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item:not(:last-child)::after { display: none; }
  .showcase-grid { grid-template-columns: 1fr; }
  .configurator-layout { grid-template-columns: 1fr; }
  .plan-tabs { grid-template-columns: 1fr; }
  .features-container { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 28px; }
  .hero-cta { flex-direction: column; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
