@font-face{font-family:Vazirmatn;src:url('/fonts/vazir-arabic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+200C-200E,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Vazirmatn;src:url('/fonts/vazir-latin.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Vazirmatn;src:url('/fonts/vazir-latin-ext.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF}
:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;

  --emerald-500: #10b981;
  --emerald-600: #059669;
  --amber-500: #f59e0b;
  --red-500: #ef4444;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px -2px rgba(2, 132, 199, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  font-family: var(--font-family);
  background-color: var(--slate-50);
  color: var(--slate-900);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' 1, 'cv01' 1;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  font-weight: 400;
  font-family: var(--font-family);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-feature-settings: 'ss01' 1;
}

h1 { font-size: 2.1rem; font-weight: 900; }
h2 { font-size: 1.6rem; font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
h5 { font-size: 0.95rem; font-weight: 600; }
h6 { font-size: 0.85rem; font-weight: 600; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: var(--font-family);
  font-size: inherit;
  font-feature-settings: 'ss01' 1;
  outline: none;
}

input::placeholder, textarea::placeholder {
  font-family: var(--font-family);
  color: var(--slate-400);
  font-weight: 400;
  font-size: 0.88rem;
}

/* Persian Numerals and Tabular Numerical Formatting */
.tabular-nums, .price-value, .product-price, .order-code, .stat-val, .badge-count, .table-spec td:last-child {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'ss01' 1;
}

.currency-unit {
  font-size: 0.78em;
  font-weight: 500;
  color: var(--slate-500);
  margin-inline-start: 4px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Notification / Hotline Bar */
.top-bar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar a:hover {
  color: var(--primary-400);
}

/* Main Header */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

/* Search bar */
.search-box-wrapper {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 6px 16px;
  transition: all 0.2s ease;
}
.search-box:focus-within {
  border-color: var(--primary-600);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 10px;
  font-size: 0.95rem;
  color: var(--slate-800);
}
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 60;
  max-height: 380px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s;
}
.search-result-item:hover {
  background: var(--primary-50);
}
.search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--slate-100);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-600);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-700);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary-600);
  border: 1.5px solid var(--primary-600);
}
.btn-outline:hover {
  background: var(--primary-50);
}
.btn-secondary {
  background: var(--slate-100);
  color: var(--slate-700);
}
.btn-secondary:hover {
  background: var(--slate-200);
}
.btn-success {
  background: var(--emerald-600);
  color: #ffffff;
}
.btn-success:hover {
  background: var(--emerald-500);
}

.cart-btn {
  position: relative;
  background: var(--slate-100);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.cart-badge {
  background: var(--primary-600);
  color: #ffffff;
  border-radius: 99px;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Category Mega Nav */
.category-nav {
  background: #ffffff;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 6px 0;
}
.category-nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
}
.category-nav-list::-webkit-scrollbar {
  height: 3px;
}
.category-nav-list::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}
.category-nav-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.category-nav-link:hover, .category-nav-link.active {
  color: var(--primary-600);
  background: var(--primary-50);
}

/* Hero Section */
.hero-section {
  padding: 24px 0 36px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.hero-banner-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 340px;
  background: var(--slate-900);
}
.hero-banner-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(15, 23, 42, 0.85) 0%, rgba(2, 132, 199, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  color: #ffffff;
}
.hero-overlay h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.3;
}
.hero-overlay p {
  font-size: 1.05rem;
  color: var(--primary-100);
  max-width: 540px;
  margin-bottom: 24px;
}
.hero-side-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.side-promo-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.side-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Category Showcase Grid */
.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--primary-600);
  border-radius: 4px;
}
.view-all-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.view-all-link:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.cat-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.cat-card:hover {
  border-color: var(--primary-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  font-size: 1.5rem;
}
.cat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 4px;
}
.cat-count {
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.product-card:hover {
  border-color: var(--primary-400);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-4px);
}
.product-thumb-wrap {
  position: relative;
  background: var(--slate-50);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}
.product-thumb-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-card:hover .product-thumb-wrap img {
  transform: scale(1.04);
}
.badge-3d {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--primary-400);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  letter-spacing: 0.5px;
}
.badge-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red-500);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
}
.product-info {
  padding: 16px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-brand {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-400);
  margin-bottom: 6px;
}
.product-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.9em;
}
.product-price-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-box {
  display: flex;
  flex-direction: column;
}
.old-price {
  font-size: 0.82rem;
  color: var(--slate-400);
  text-decoration: line-through;
}
.current-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-700);
}
.currency-unit {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-right: 4px;
}

/* Clinical Trust Feature Plate */
.features-plate {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 30px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Floating AI Chatbot Widget */
.chatbot-launcher {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chatbot-launcher:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.6);
}
.chatbot-launcher .ping-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: var(--emerald-500);
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.chatbot-window {
  position: fixed;
  bottom: 96px;
  left: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 101;
  transform-origin: bottom left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-window.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9) translateY(20px);
}
.chatbot-header {
  background: linear-gradient(135deg, var(--slate-900), var(--primary-900));
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.chatbot-title {
  font-size: 0.95rem;
  font-weight: 700;
}
.chatbot-sub {
  font-size: 0.72rem;
  color: var(--primary-200);
}
.chatbot-close-btn {
  background: transparent;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
}
.chatbot-close-btn:hover {
  color: #ffffff;
}

.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--slate-50);
}
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg.assistant {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  color: var(--slate-800);
  border-bottom-right-radius: 4px;
}
.chat-msg.user {
  align-self: flex-end;
  background: var(--primary-600);
  color: #ffffff;
  border-bottom-left-radius: 4px;
}
.chat-disclaimer {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.78rem;
  margin-top: 4px;
}

.chatbot-suggestions-bar {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #ffffff;
  border-top: 1px solid var(--slate-100);
}
.chat-pill {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 0.76rem;
  color: var(--slate-700);
  white-space: nowrap;
  cursor: pointer;
}
.chat-pill:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
  color: var(--primary-700);
}

.chatbot-input-area {
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chatbot-input-area input {
  flex: 1;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 8px 14px;
  font-size: 0.88rem;
}
.chatbot-input-area input:focus {
  border-color: var(--primary-600);
}
.chatbot-send-btn {
  background: var(--primary-600);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 3D Product Viewer Container */
.viewer-3d-box {
  width: 100%;
  height: 420px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}
.viewer-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.viewer-3d-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
}

/* Cart & Checkout */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  margin-bottom: 24px;
}
.cart-table th {
  background: var(--slate-100);
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: right;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-200);
}
.cart-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: middle;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  background: var(--slate-100);
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-weight: bold;
}
.qty-btn:hover {
  background: var(--slate-200);
}
.qty-value {
  width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.checkout-summary-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--slate-600);
}
.summary-line.total {
  border-top: 2px dashed var(--slate-200);
  padding-top: 14px;
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-700);
}

/* Stepper */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-400);
}
.step-item.active {
  color: var(--primary-600);
}
.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}
.step-item.active .step-number {
  background: var(--primary-600);
  color: #ffffff;
}

/* Footer */
.main-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 48px 0 24px 0;
  margin-top: auto;
  border-top: 4px solid var(--primary-600);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a:hover {
  color: var(--primary-400);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-400);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.modal-overlay.active {
  display: flex;
}
.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: calc(100% - 32px);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--slate-900);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}
.toast.success {
  background: var(--emerald-600);
}
.toast.error {
  background: var(--red-500);
}
@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .header-row {
    flex-wrap: wrap;
  }
  .search-box-wrapper {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
}
