:root {
  --bg: #f7f4ef;
  --text: #0f0f0f;
  --muted: #4f4f4f;
  --accent: #ffb184;
  --accent-strong: #ff9559;
  --border: #e6e1d7;
  --card: #ffffff;
  --badge: #def7e7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Vazirmatn", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 20px;
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  justify-self: flex-start;
}

.nav-spacer {
  /* فضای خالی برای توازن در دسکتاپ */
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-weight: 600;
  color: var(--muted);
  justify-content: center;
  justify-self: center;
}

.nav-links a:hover {
  color: var(--text);
}
.nav-links--divided a + a{
  position: relative;
  padding-right: 16px; /* فاصله از خط */
  margin-right: 16px;  /* فاصله بین آیتم‌ها */
}

.nav-links--divided a + a::before{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 149, 89, 0.28);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 149, 89, 0.32);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.hero {
  padding: 56px 20px 40px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(30px, 5vw, 42px);
  margin: 12px 0 10px;
  line-height: 1.3;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mini-badges {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.mini-badges span {
  background: var(--badge);
  color: hsl(150, 78%, 27%);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--badge);
  color: #0f7b45;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 640px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid #e8dfd5;
}

.alert-wrapper {
  width: 100%;
  max-width: 360px;
  background: #0a4c53;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.alert-wrapper.compact {
  max-width: 420px;
}

.alert-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dfe6eb;
  display: flex;
  flex-direction: column;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 6px;
  font-weight: 700;
  color: #0d515a;
}

.alert-header .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #cbd6dc;
}

.alert-header .dot {
  color: #73828a;
}

.alert-header .time {
  color: #4f4f4f;
  font-weight: 600;
}

.alert-header .caret {
  margin-right: auto;
  color: #73828a;
  font-size: 12px;
}

.alert-body {
  padding: 0 14px 10px;
}

.alert-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.alert-body p {
  margin: 0 0 10px;
  color: #555;
  line-height: 1.5;
}

.alert-row {
  display: flex;
  justify-content: flex-end;
}

.wifi-icon {
  position: relative;
  width: 64px;
  height: 48px;
}

.wifi-icon .wave {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  border: 4px solid #0f7b45;
  border-color: #0f7b45 transparent transparent transparent;
  border-radius: 50%;
}

.wifi-icon .wave-1 { width: 56px; height: 56px; top: -6px; }
.wifi-icon .wave-2 { width: 44px; height: 44px; top: 4px; }
.wifi-icon .wave-3 { width: 32px; height: 32px; top: 14px; }

.dot-signal {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #0f7b45;
  border-radius: 50%;
}

.wifi-icon .badge {
  position: absolute;
  right: -4px;
  top: 8px;
  background: #ffb328;
  color: #0f0f0f;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.alert-actions {
  display: flex;
  gap: 8px;
  padding: 10px 14px 12px;
  background: #f5f7f8;
  border-top: 1px solid #e6ebef;
}

.btn.small {
  padding: 8px 14px;
  font-size: 13px;
}

.alert-fa-section {
  padding-top: 10px;
}

.alert-fa-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: flex-start;
}

/* Notification Wrapper - Container تیره */
.notification-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.notification-container {
  background: #198754;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(45, 90, 90, 0.3);
}

/* Notification Card - کارت سفید داخل */
.notification-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 320px;
  max-width: 400px;
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  color: #666;
}

.notification-app {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-app-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  flex-shrink: 0;
}

.notification-time {
  color: #999;
  font-size: 12px;
}

.notification-caret {
  color: #999;
  font-size: 14px;
  margin-right: 4px;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 16px;
}

.notification-text {
  flex: 1;
}

.notification-title {
  font-weight: 700;
  font-size: 16px;
  color: #0f0f0f;
  margin: 0 0 8px;
  line-height: 1.4;
}

.notification-message {
  font-size: 14px;
  color: #4f4f4f;
  margin: 0;
  line-height: 1.5;
}

.notification-wifi-icon {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 40px;
}

.notification-wifi-icon svg {
  width: 100%;
  height: 100%;
}

.wifi-warning-badge {
  position: absolute;
  top: -4px;
  left: 32px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffb800;
  color: #000;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 184, 0, 0.4);
}

.notification-actions {
  display: flex;
  border-top: 1px solid #f0f0f0;
}

.notification-btn {
  flex: 1;
  padding: 14px 16px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: #4a5568;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: "Vazirmatn", sans-serif;
}

.notification-btn.dismiss {
  border-left: 1px solid #f0f0f0;
}

.notification-btn:hover {
  background: #f8f8f8;
}

.notification-btn.fix {
  color: #2d5a5a;
}

.actionable-title {
  margin: 0 0 20px;
  font-size: 24px;
  color: #2d5a5a;
  font-weight: 700;
}

.alert-fa-copy ul {
  margin: 0;
  padding-right: 20px;
  line-height: 1.8;
  color: var(--text);
}

.alert-fa-copy li {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 800;
}

.actionable {
  padding-top: 10px;
}

.action-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  align-items: center;
}

.action-card-wrap {
  display: flex;
  justify-content: center;
}

.action-image {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid #dfe6eb;
}

.action-copy h2 {
  color: #0f7b45;
  font-size: 26px;
  margin: 0 0 12px;
}

.action-copy ul {
  margin: 0;
  padding-right: 18px;
  color: var(--text);
  line-height: 1.7;
}

.action-copy li {
  margin-bottom: 10px;
}

.phone-frame {
  width: 320px;
  background: #fff;
  border-radius: 26px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.status-bar {
  height: 12px;
  width: 90px;
  background: #dfe5ed;
  border-radius: 10px;
  margin: 0 auto 10px;
}

.screen {
  background: linear-gradient(180deg, #e6f4ff 0%, #fff 100%);
  border-radius: 18px;
  height: 380px;
  border: 1px solid #dbe7f5;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.chart .bar {
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(180deg, #8be2b0, #3abf78);
}

.chart .bar-1 { height: 70px; }
.chart .bar-2 { height: 110px; }
.chart .bar-3 { height: 90px; }

.line-chart {
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  height: 160px;
  padding: 8px;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.line-chart polyline {
  fill: none;
  stroke: #2f9bff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-chip {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #0f7b45;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 123, 69, 0.25);
}

.section {
  padding: 36px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}
.section-head{
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: -16px auto 10px;
  margin-top: 5px;
  background: #fff7ee;
  border: 1px solid #f2e1cf;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.card-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.muted {
  background: #fff;
  border-radius: 18px;
}

.trust .card h3 {
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}

.step-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--badge);
  color: #0f7b45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 8px;
}

.centered {
  text-align: center;
  margin-top: 18px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.cta-block {
  text-align: center;
  background: linear-gradient(135deg, #fff0e8, #ffe8dd);
  border: 1px solid #ffd7c4;
  border-radius: 20px;
}

.cta-block h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.jobs {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.footer {
  padding: 26px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

/* Career Page Styles */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.job-header h2 {
  margin: 0;
  font-size: 22px;
  flex: 1;
}

.job-badge {
  background: var(--badge);
  color: #0f7b45;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.job-summary {
  color: var(--muted);
  margin: 12px 0 16px;
  line-height: 1.6;
}

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

.job-tags span {
  background: #f0f0f0;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.job-details-section {
  max-width: 900px;
  margin: 0 auto;
}

.job-details-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.back-btn {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.job-details-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.job-details-header h1 {
  margin: 0 0 12px;
  font-size: 36px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
  align-items: center;
}

.job-details-body {
  line-height: 1.8;
  color: var(--text);
}

.job-details-body h3 {
  margin: 32px 0 16px;
  font-size: 22px;
  color: var(--text);
}

.job-details-body h3:first-of-type {
  margin-top: 0;
}

.job-details-body p {
  margin: 12px 0;
  color: var(--muted);
}

.job-details-body ul {
  margin: 16px 0;
  padding-right: 24px;
}

.job-details-body li {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.7;
}

.job-apply-section {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, #fff0e8, #ffe8dd);
  border: 1px solid #ffd7c4;
  border-radius: 16px;
  text-align: center;
}

.job-apply-section h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.job-apply-section p {
  margin-bottom: 20px;
  color: var(--muted);
}

.btn.large {
  padding: 14px 28px;
  font-size: 16px;
}

@media (max-width: 720px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .nav-links {
    display: none;
  }
  .logo {
    justify-self: center;
  }
  .hero {
    padding-top: 36px;
  }
  .phone-frame {
    width: 100%;
    max-width: 320px;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .modal-content {
    padding: 24px 20px;
    margin: 10px;
  }
  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-details-container {
    padding: 24px 20px;
  }
  .job-details-header h1 {
    font-size: 28px;
  }
  .job-details-body h3 {
    font-size: 20px;
  }
  .job-apply-section {
    padding: 24px 20px;
  }
  .alert-fa-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .notification-card {
    min-width: 100%;
    max-width: 100%;
  }
  .notification-container {
    padding: 12px;
  }
  .actionable-title {
    font-size: 20px;
  }
}


/* Contact (Compact) */
.contact-compact .section-head{
  margin-bottom: 16px;
}

.contact-mini-form{
  width: 100%;
  max-width: none; /* هم‌عرض باکس‌های سکشن */
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px; /* نزدیک‌تر به حس job-card */
  box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}

.contact-mini-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 14px;
  margin-bottom: 12px;
}

.contact-mini-form .field{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.contact-mini-form label{
  font-weight: 800;
  font-size: 14px;
}

.contact-mini-form input,
.contact-mini-form textarea{
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: "Vazirmatn", sans-serif;
  outline: none;
}

.contact-mini-form input:focus,
.contact-mini-form textarea:focus{
  border-color: #cdbfb0;
}

.contact-mini-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.contact-mini-note{
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px){
  .contact-mini-form{
    padding: 20px;
  }
  .contact-mini-grid{
    grid-template-columns: 1fr;
  }
}
