/*
  Daria Tejarat Kalan Landing Page
  Font note:
  - IranSans font files are NOT included in this package.
  - Put your licensed font files in: assets/fonts/
  - Recommended filenames:
    IRANSansX-Regular.woff2
    IRANSansX-Bold.woff2
*/

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

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

:root {
  --bg: #ffffff;
  --surface: #f7f7f4;
  --surface-2: #fbfbf8;
  --text: #151515;
  --muted: #6f6f67;
  --border: #e7e7df;
  --primary: #1f2a22;
  --primary-soft: #eef2ec;
  --accent: #9b7b35;
  --radius-xl: 28px;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IRANSansX", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(155, 123, 53, 0.08), transparent 34%),
    radial-gradient(circle at top right, rgba(31, 42, 34, 0.08), transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

body[dir="ltr"] {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Arial, sans-serif;
}

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

button {
  font-family: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(231, 231, 223, 0.75);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(31, 42, 34, 0.10);
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.brand-text span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3d3d38;
  font-size: 14px;
}

.nav-links a {
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

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

.lang-switch {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.25s ease;
}

.lang-switch button.active {
  background: var(--primary);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: -4px;
  line-height: 1.05;
  margin-bottom: 20px;
}

body[dir="rtl"] .hero h1 {
  letter-spacing: -2px;
}

.hero h2 {
  font-size: clamp(20px, 2.5vw, 30px);
  color: #33332f;
  font-weight: 500;
  line-height: 1.55;
  max-width: 780px;
  margin-bottom: 22px;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  max-width: 700px;
  margin-bottom: 34px;
}

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

.btn {
  border: 0;
  outline: 0;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 35px rgba(31, 42, 34, 0.16);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(31, 42, 34, 0.22);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: #d2d2c6;
  transform: translateY(-2px);
}

.btn-disabled {
  background: #efefea;
  color: #99998f;
  cursor: not-allowed;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(31, 42, 34, 0.96), rgba(67, 78, 61, 0.94));
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(155, 123, 53, 0.45), transparent 35%);
}

.visual-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  color: var(--text);
}

.visual-card.main {
  width: 72%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.visual-card.small {
  width: 210px;
  bottom: 34px;
  inset-inline-start: 34px;
}

.visual-card.badge {
  width: 190px;
  top: 34px;
  inset-inline-end: 34px;
}

.visual-logo {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
}

.visual-card h3 {
  font-size: 25px;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.visual-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.visual-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 12px;
  font-weight: 700;
}

.visual-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3c8a4a;
}

section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -1.6px;
}

body[dir="rtl"] .section-title {
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--muted);
  max-width: 520px;
  font-size: 15px;
}

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

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  overflow: hidden;
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d8d8cf;
}

.card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(155, 123, 53, 0.08);
  inset-inline-end: -80px;
  top: -80px;
  pointer-events: none;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 25px;
}

.status {
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  min-width: max-content;
}

.status.live {
  color: #2f7d3e;
  background: #eff8f0;
  border-color: #d8ecd9;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 580px;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.card .btn {
  position: relative;
  z-index: 1;
}

.brand-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-image {
  height: 148px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(31, 42, 34, 0.08), rgba(155, 123, 53, 0.10)), var(--surface-2);
  border: 1px dashed #d7d7cd;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.brand-image img {
  max-width: 72%;
  max-height: 120px;
  object-fit: contain;
}

.contact-wrap {
  background: linear-gradient(145deg, #1f2a22, #3b4638);
  border-radius: 34px;
  padding: 38px;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.contact-wrap::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(155, 123, 53, 0.34);
  top: -180px;
  inset-inline-end: -140px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.contact-wrap .section-kicker {
  color: #dfc681;
}

.contact-wrap .section-title {
  color: #fff;
  margin-bottom: 18px;
}

.contact-wrap p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 580px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.contact-item span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  min-width: max-content;
}

.contact-item strong {
  color: #fff;
  font-size: 14px;
  text-align: end;
  font-weight: 700;
}

body[dir="ltr"] .contact-item strong {
  text-align: right;
}

.footer {
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 13px;
}

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

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--accent);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  padding: 14px 0 18px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 11px 0;
  color: #3d3d38;
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, var(--container));
  }

  .nav {
    height: 74px;
  }

  .brand-text span {
    display: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
    border-radius: 24px;
  }

  .visual-card.main {
    width: 82%;
  }

  .visual-card.small {
    width: 180px;
    bottom: 20px;
    inset-inline-start: 18px;
  }

  .visual-card.badge {
    width: 170px;
    top: 20px;
    inset-inline-end: 18px;
  }

  .visual-card h3 {
    font-size: 21px;
  }

  section {
    padding: 52px 0;
  }

  .card,
  .contact-wrap {
    padding: 24px;
    border-radius: 24px;
  }

  .contact-item {
    flex-direction: column;
    gap: 4px;
  }

  .contact-item strong {
    text-align: start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
