@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../IRANSansXFaNum-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../IRANSansXFaNum-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../IRANSansXFaNum-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: hsl(222 47% 7%);
  --foreground: hsl(30 20% 96%);
  --card: hsl(222 40% 10%);
  --muted: hsl(220 12% 65%);
  --primary: hsl(22 100% 55%);
  --primary-glow: hsl(28 100% 62%);
  --border: hsl(222 30% 18%);
  --glass-bg: hsl(222 40% 12% / 0.62);
  --glass-border: hsl(30 20% 96% / 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --shadow-glow: 0 10px 40px -10px hsl(22 100% 55% / 0.45);
  --shadow-card: 0 8px 32px -8px hsl(222 70% 3% / 0.6);
  --shadow-elevated: 0 24px 60px -20px hsl(222 70% 3% / 0.8);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IRANSansXFaNum", system-ui, sans-serif;
  color: var(--foreground);
  background: radial-gradient(circle at 50% 0%, hsl(22 100% 55% / 0.14), transparent 60%), var(--background);
}

.persian-nums { font-feature-settings: "ss01"; }

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-elevated {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card-elevated:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: hsl(22 100% 55% / .45);
}

.btn {
  border: 0;
  border-radius: .9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  cursor: pointer;
  font-weight: 700;
  transition: .25s ease;
  white-space: nowrap;
}

.btn i { width: 16px; height: 16px; }
.btn-sm { padding: .55rem .85rem; font-size: .9rem; }
.btn-lg { padding: .9rem 1.5rem; min-height: 3.25rem; }

.btn-primary {
  background: var(--gradient-primary);
  color: var(--background);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover { opacity: .92; transform: translateY(-1px); }

.btn-outline {
  color: var(--foreground);
  border: 1px solid hsl(222 30% 25%);
  background: hsl(222 35% 11% / .5);
}

.btn-outline:hover { border-color: hsl(22 100% 55% / .55); }

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--foreground);
  padding: .7rem 1rem;
}

.btn-ghost[disabled] { opacity: .4; cursor: not-allowed; }

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  border-bottom: 1px solid hsl(222 30% 20% / .6);
}

.nav-inner {
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.brand-logo {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px hsl(222 70% 3% / .55));
}

.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { color: hsl(30 20% 96% / .82); text-decoration: none; font-size: .9rem; }
.main-nav a:hover { color: var(--primary); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg, .hero-overlay { position: absolute; inset: 0; }

.hero-bg {
  background-image:
    linear-gradient(180deg, hsl(222 47% 7% / .1), hsl(222 47% 7% / .82)),
    linear-gradient(135deg, hsl(222 47% 7% / .97) 0%, hsl(222 47% 7% / .6) 52%, hsl(222 47% 7% / .32) 100%),
    url("./hero-motorcycle.jpg");
  background-size: cover;
  background-position: center;
  opacity: .95;
}

.hero-overlay {
  background: linear-gradient(to top, var(--background), hsl(222 47% 7% / .35), transparent);
}

.blob {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.blob-1 { width: 360px; height: 360px; background: hsl(22 100% 55% / .2); top: 15%; right: 20%; animation: glow-pulse 4s ease-in-out infinite; }
.blob-2 { width: 300px; height: 300px; background: hsl(22 100% 55% / .12); left: 15%; bottom: 15%; }

.hero-content { position: relative; z-index: 1; max-width: 820px; }
.tag { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .45rem .85rem; margin-bottom: 1.1rem; font-size: .9rem; }
.tag i { width: 16px; height: 16px; color: var(--primary); }

h1 { margin: 0 0 1rem; font-size: clamp(2.1rem, 6vw, 4.7rem); line-height: 1.2; font-weight: 900; }
.hero-desc { max-width: 720px; color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.3rem); margin-bottom: 1.5rem; line-height: 1.9; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.hero-stats {
  margin-top: 2.3rem;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.hero-stats strong { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900; }
.hero-stats span { display: block; color: var(--muted); font-size: .8rem; margin-top: .2rem; }

.trust-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  border-radius: 999px;
  padding: .6rem .95rem;
  font-size: .85rem;
  display: flex;
  gap: .45rem;
  align-items: center;
}
.trust-badge i { color: var(--primary); width: 16px; height: 16px; }

.section { padding: 6rem 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 2.2rem; }
.pill {
  display: inline-block; border-radius: 999px; padding: .3rem .8rem;
  color: var(--primary); font-size: .77rem; margin-bottom: .9rem;
}
.section-head h2 { margin: 0 0 .85rem; font-size: clamp(1.8rem, 4.8vw, 3.15rem); line-height: 1.35; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.service-card, .stat-card, .contact-card { padding: 1.5rem; }
.service-icon, .contact-icon {
  width: 52px; height: 52px; border-radius: .9rem; display: grid; place-items: center; margin-bottom: .9rem;
}
.service-icon { background: hsl(22 100% 55% / .1); border: 1px solid hsl(22 100% 55% / .25); color: var(--primary); }
.service-card:hover .service-icon { background: var(--gradient-primary); color: var(--background); border-color: transparent; }
.service-card h3, .contact-card h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.service-card p, .contact-card p { margin: 0; color: var(--muted); line-height: 1.8; }

.booking-section { position: relative; }
.steps {
  max-width: 980px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
}

.step-item { display: flex; align-items: center; flex: 1; min-width: 0; }
.step-badge {
  width: 45px; height: 45px; border-radius: .9rem;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--muted);
  background: var(--glass-bg);
  transition: .3s ease;
}
.step-badge i { width: 18px; height: 18px; }
.step-label { font-size: .75rem; color: var(--muted); margin-top: .35rem; text-align: center; }
.step-track {
  flex: 1;
  height: 2px;
  margin: 0 .6rem;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.step-fill { width: 0; height: 100%; transition: width .45s ease; background: var(--gradient-primary); }
.step-item.done .step-fill { width: 100%; }
.step-item.active .step-badge { color: var(--primary); border-color: hsl(22 100% 55% / .8); transform: scale(1.05); }
.step-item.done .step-badge { background: var(--gradient-primary); color: var(--background); border-color: transparent; box-shadow: var(--shadow-glow); }

.booking-card {
  max-width: 980px;
  margin: 1rem auto 0;
  padding: 1.65rem;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  border-color: hsl(22 100% 55% / .16);
  background:
    linear-gradient(180deg, hsl(222 35% 13% / .9), hsl(222 35% 10% / .9)),
    var(--card);
  box-shadow: 0 24px 70px -24px hsl(222 70% 3% / .95), 0 0 0 1px hsl(22 100% 55% / .08) inset;
}

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  margin-bottom: .52rem;
  color: hsl(30 20% 90% / .9);
  font-size: .92rem;
  font-weight: 600;
}
.input, .textarea, .select-btn {
  width: 100%; border: 1px solid var(--border); color: var(--foreground);
  background: linear-gradient(180deg, hsl(222 35% 14% / .9), hsl(222 35% 12% / .85));
  border-radius: .95rem;
  padding: .82rem .92rem;
  font-family: inherit;
  font-size: .96rem;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease, transform .2s ease;
  box-shadow: 0 1px 0 hsl(30 20% 96% / .04) inset;
}
.input::placeholder,
.textarea::placeholder {
  color: hsl(220 12% 65% / .82);
}
.textarea { min-height: 126px; resize: vertical; line-height: 1.9; }
.input:hover, .textarea:hover {
  border-color: hsl(22 100% 55% / .38);
}
.input:focus, .textarea:focus,
.input:focus-visible, .textarea:focus-visible {
  outline: none;
  border-color: hsl(22 100% 55% / .82);
  background: linear-gradient(180deg, hsl(222 35% 14% / .98), hsl(222 35% 12% / .95));
  box-shadow:
    0 0 0 4px hsl(22 100% 55% / .13),
    0 12px 30px -20px hsl(22 100% 55% / .55);
}
.input[readonly] {
  cursor: pointer;
  background: linear-gradient(180deg, hsl(222 35% 15% / .9), hsl(222 35% 12% / .87));
}
.input[disabled],
.textarea[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.brand-grid, .problem-grid, .slots-grid { display: grid; gap: .7rem; }
.brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.select-btn {
  text-align: right;
  background: hsl(222 35% 12% / .4);
  cursor: pointer;
  transition: .25s ease;
  font-weight: 600;
}

.select-btn:hover {
  border-color: hsl(22 100% 55% / .5);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -22px hsl(22 100% 55% / .9);
}
.select-btn.selected {
  background: hsl(22 100% 55% / .11);
  border-color: hsl(22 100% 55% / .95);
  box-shadow: var(--shadow-glow);
}

.models-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border-radius: .75rem; border: 1px solid var(--border); background: hsl(222 35% 12% / .5);
  color: var(--foreground); padding: .56rem .8rem; font-size: .86rem; cursor: pointer;
}
.chip.selected { background: var(--gradient-primary); color: var(--background); border-color: transparent; box-shadow: var(--shadow-glow); }

.problem-item { display: flex; gap: .7rem; align-items: flex-start; }
.problem-item i { color: var(--primary); width: 22px; height: 22px; margin-top: .2rem; }

.booking-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.summary-panel { padding: 1rem; border-radius: .95rem; border: 1px solid var(--border); background: hsl(222 35% 12% / .72); }
.summary-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.summary-panel li { display: flex; justify-content: space-between; gap: .8rem; font-size: .92rem; }
.summary-panel li span:first-child { color: var(--muted); }

.price-box {
  border-radius: .95rem;
  padding: 1rem;
  background: var(--gradient-primary);
  color: var(--background);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.price-box .amount { font-size: 2rem; font-weight: 900; margin: .2rem 0; }
.price-box .secure { display: flex; align-items: center; gap: .35rem; font-size: .8rem; opacity: .92; }
.price-box .btn {
  margin-top: auto;
  background: var(--background);
  color: var(--foreground);
  border-radius: .85rem;
  font-weight: 800;
}

.booking-nav {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid hsl(222 30% 18% / .7);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#step-label { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 2rem;
  align-items: center;
}

.lead { color: var(--muted); line-height: 2; }
.stat-card { text-align: center; }
.stat-card i { color: var(--primary); width: 30px; height: 30px; margin-bottom: .4rem; }
.stat-card strong { display: block; font-size: 1.7rem; font-weight: 900; }
.stat-card span { color: var(--muted); font-size: .88rem; }

.contact-card { text-align: center; }
.contact-icon {
  margin: 0 auto .8rem;
  background: var(--gradient-primary);
  color: var(--background);
  box-shadow: var(--shadow-glow);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid hsl(222 30% 18% / .7);
  padding-top: 1rem;
  text-align: center;
  color: var(--muted);
}

#toast-container {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: grid;
  gap: .55rem;
  z-index: 60;
  pointer-events: none;
  justify-items: center;
}

.toast {
  width: min(420px, 92vw);
  pointer-events: all;
  border-radius: .8rem;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  background: hsl(222 35% 12% / .92);
  box-shadow: var(--shadow-card);
  animation: toast-in .25s ease;
}
.toast.success { border-color: hsl(150 60% 45% / .7); }
.toast.error { border-color: hsl(0 72% 58% / .75); }
.toast small { color: var(--muted); display: block; margin-top: .2rem; }

.fade-in { animation: fade-in .5s ease both; }
.fade-in-up { animation: fade-in-up .6s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glow-pulse { 0%,100% { opacity: .6; } 50% { opacity: .95; } }
@keyframes toast-in { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-inner { min-height: 80px; }
  .brand-logo { height: 58px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .trust-badge { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 4.2rem 0; }
  .nav-inner { min-height: 74px; }
  .brand-logo { height: 50px; }
  .cards-3, .cards-2, .brand-grid, .problem-grid, .slots-grid, .booking-summary {
    grid-template-columns: 1fr;
  }
  .steps .step-label { display: none; }
  .step-track { margin: 0 .3rem; }
  .booking-nav { flex-wrap: wrap; gap: .5rem; }
}
