

@font-face {
    font-family: 'avinavazir';
    src: url('fonts/Vazirmatn[wght].woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
  --bg-dark: #0b1120;
  --card-bg: rgba(30, 41, 59, 0.72);
  --card-border: rgba(148, 163, 184, 0.16);
  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --accent: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --radius-lg: 20px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'avinavazir', system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01";
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* پس‌زمینه تزئینی */
.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
}

.shape-1 {
  width: 420px;
  height: 420px;
  background: #0284c7;
  top: -100px;
  right: -80px;
}

.shape-2 {
  width: 380px;
  height: 380px;
  background: #d97706;
  bottom: -120px;
  left: -80px;
}

/* کانتینر اصلی */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* بخش هدر و جایگاه بزرگ لوگو */
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.logo-wrapper {
  width: 100%;
  max-width: 360px;
  height: 170px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.logo-fallback {
  display: none;
  color: #334155;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px dashed #94a3b8;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}

/* بج وضعیت در حال ساخت */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

.hero-card h1 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.subtitle {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 0.98rem;
}

/* گرید اطلاعات دفتر و کارخانه */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.38);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--card-border);
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.card-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.row-between {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.45);
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
}

.label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.value {
  color: var(--text-main);
  font-size: 0.96rem;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.45);
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
}

.phone-link,
.email-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  direction: ltr;
  unicode-bidi: embed;
  transition: color 0.2s;
}

.phone-link:hover,
.email-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* دکمه کپی */
.copy-btn {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 7px;
  padding: 0.25rem 0.65rem;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--primary);
  color: #0f172a;
  border-color: var(--primary);
}

/* بخش ارتباط مستقیم پایین صفحه */
.direct-contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-pill {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.pill-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-links,
.email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.divider {
  color: var(--card-border);
}

.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 0.5rem;
}

/* پیام Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* تنظیمات ریسپانسیو برای تبلت و موبایل */
@media (max-width: 820px) {
  .info-grid,
  .direct-contact {
    grid-template-columns: 1fr;
  }

  .hero-card h1 {
    font-size: 1.35rem;
  }

  .logo-wrapper {
    max-width: 290px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.25rem 0.9rem;
    gap: 1.25rem;
  }

  .hero-card {
    padding: 1.75rem 1rem;
  }

  .info-card {
    padding: 1.25rem;
  }

  .email-link {
    font-size: 0.88rem;
    word-break: break-all;
  }
}