@font-face {
  font-family: "Kalameh";
  src: url("assets/KalamehFaNum-Thin.ttf") format("truetype");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Kalameh";
  src: url("assets/KalamehFaNum-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kalameh";
  src: url("assets/KalamehFaNum-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Kalameh";
  src: url("assets/KalamehFaNum-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --ivory: #f7f0e7;
  --ink: #302824;
  --rose: #8f4e45;
  --gold: #bda06b;
  /* برای عوض کردن عکس داخل آیفون فقط مسیر زیر را تغییر دهید. */
  --phone-image: url("assets/couple.jpg");
}

* { box-sizing: border-box; }

html { background: var(--ivory); scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Kalameh", sans-serif;
  direction: rtl;
  text-align: right;
}

a { color: inherit; }

.page {
  min-height: 100vh;
  overflow: hidden;
  direction: rtl;
  background:
    radial-gradient(circle at 22% 38%, rgba(199, 167, 106, 0.22), transparent 26rem),
    radial-gradient(circle at 94% 86%, rgba(143, 78, 69, 0.1), transparent 24rem),
    var(--ivory);
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(48, 40, 36, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(143, 78, 69, 0.5);
  border-radius: 50%;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 700;
  font-style: italic;
}

.nav-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rose);
  border-radius: 999px;
  text-decoration: none;
  transition: 180ms ease;
}

.nav-cta {
  min-height: 42px;
  padding: 0 20px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-cta:hover { background: var(--rose); color: white; }

.hero {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 56px 0 72px;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: 40px;
}

.hero-copy { position: relative; z-index: 5; max-width: 650px; }

.eyebrow {
  margin: 0 0 24px;
  color: var(--rose);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(3.7rem, 6vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 em { color: var(--rose); font-weight: 100; font-style: normal; }

.lede {
  max-width: 530px;
  margin: 32px 0 0;
  color: rgba(48, 40, 36, 0.68);
  font-size: 1.08rem;
  line-height: 2;
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }

.primary-button {
  min-height: 56px;
  gap: 18px;
  padding: 0 27px;
  background: var(--rose);
  box-shadow: 0 18px 40px rgba(102, 51, 44, 0.18);
  color: white;
  font-size: 0.86rem;
  font-weight: 700;
}

.primary-button:hover { background: #774038; transform: translateY(-2px); }

.text-link { font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--rose); }

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 44px 0 0;
  color: rgba(48, 40, 36, 0.52);
  font-size: 0.72rem;
}

.contact-line span { display: inline-flex; align-items: center; gap: 8px; }
.contact-line span::before { width: 7px; height: 7px; border-radius: 50%; background: #748263; content: ""; }
.contact-line bdi { color: var(--ink); font-weight: 700; }

.visual { position: relative; display: grid; min-height: 650px; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(189, 160, 107, 0.35); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 390px; height: 390px; border-color: rgba(143, 78, 69, 0.15); }

.phone-shadow {
  position: absolute;
  bottom: 52px;
  width: 300px;
  height: 55px;
  border-radius: 50%;
  background: rgba(66, 44, 36, 0.25);
  filter: blur(28px);
  transform: rotate(6deg);
}

.phone {
  position: relative;
  z-index: 3;
  width: 292px;
  height: 584px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 46px;
  background: #24201e;
  box-shadow: 0 35px 80px rgba(54, 38, 31, 0.27);
  transform: rotate(-4deg);
}

.speaker {
  position: absolute;
  z-index: 5;
  top: 16px;
  left: 50%;
  width: 82px;
  height: 21px;
  border-radius: 999px;
  background: #24201e;
  transform: translateX(-50%);
}

.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 38px; background: #d9c3b4; }
.photo { position: absolute; inset: 0; background: var(--phone-image) center / cover no-repeat; filter: sepia(0.18) saturate(0.8); }
.fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32,23,20,.05), rgba(32,23,20,.1) 40%, rgba(30,19,15,.82)); }

.preview-copy {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 42px;
  left: 24px;
  color: white;
  text-align: center;
}

.preview-copy span { font-size: 0.6rem; font-weight: 700; }
.preview-copy strong { display: block; margin-top: 12px; font-size: 2.35rem; font-weight: 900; line-height: 1; }
.preview-copy i { display: block; width: 54px; height: 1px; margin: 19px auto 14px; background: rgba(255,255,255,.65); }
.preview-copy p { margin: 0; font-size: 0.78rem; }

.hand-note {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 84px;
  margin: 0;
  color: var(--rose);
  font-size: 1rem;
  font-weight: 700;
  transform: rotate(8deg);
}

.footer {
  display: grid;
  min-height: 150px;
  padding: 36px max(24px, calc((100% - 1180px) / 2));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  background: #302824;
  color: rgba(255, 250, 244, 0.58);
}

.footer .brand { color: #fffaf4; }
.footer .brand-mark { color: #d2b78a; border-color: rgba(210,183,138,.5); }
.footer p { margin: 0; font-size: .82rem; text-align: center; }
.footer > a:last-child { justify-self: end; color: #fffaf4; font-size: .7rem; font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 24px; }
  .visual { min-height: 620px; }
  .footer { grid-template-columns: 1fr; justify-items: center; gap: 20px; padding-top: 50px; padding-bottom: 50px; }
  .footer > a:last-child { justify-self: center; }
}

@media (max-width: 560px) {
  .nav, .hero { width: min(100% - 32px, 1180px); }
  .nav { min-height: 78px; }
  .nav-cta { padding: 0 14px; font-size: .68rem; }
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.5rem); }
  .actions, .contact-line { align-items: flex-start; flex-direction: column; }
  .visual { min-height: 560px; transform: scale(.9); }
  .orbit-one { width: 430px; height: 430px; }
  .hand-note { left: -20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
