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

@font-face {
  font-family: IRANSans;
  src: url("../assets/fonts/IRANSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --gold: #ecbe59;
  --gold-deep: #b8862a;
  --gold-hot: #ffc107;
  --ink: #17140f;
  --ink-soft: #3d362c;
  --muted: #6d655b;
  --paper: #f6f1e6;
  --paper-2: #fffdf8;
  --line: rgba(23, 20, 15, 0.1);
  --shadow: 0 18px 50px rgba(48, 32, 6, 0.12);
  --radius: 22px;
  --header: 64px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: IRANSans, Tahoma, sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -80px, rgba(236, 190, 89, 0.35), transparent 60%),
    var(--paper);
  text-rendering: optimizeLegibility;
}

body.has-dock {
  padding-bottom: 88px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
summary {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

svg[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -200px;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  inset-inline-start: 12px;
  top: 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  z-index: 100;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 230, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand span {
  font-size: 1.05rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ink {
  background: var(--ink);
  color: var(--gold);
}

.btn-ink:hover {
  background: #2a241b;
}

.btn-gold {
  background: linear-gradient(180deg, #ffd56a, var(--gold-hot));
  color: #1a1408;
  box-shadow: 0 8px 20px rgba(201, 150, 42, 0.28);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(23, 20, 15, 0.28);
  color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff8ea;
}

.header-cta {
  min-height: 42px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.subnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}

.subnav::-webkit-scrollbar {
  display: none;
}

.subnav a {
  flex: 0 0 auto;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero {
  padding: 18px 0 8px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 28px 20px 22px;
  background:
    radial-gradient(420px 220px at 0% 100%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(145deg, #ffe7a8 0%, #ecbe59 46%, #d7a441 100%);
  color: #1a1408;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "۱۰۰۰";
  position: absolute;
  inset-inline-end: -8px;
  bottom: -28px;
  font-weight: 700;
  font-size: clamp(7rem, 22vw, 11rem);
  line-height: 0.8;
  color: rgba(26, 20, 8, 0.08);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(26, 20, 8, 0.08);
  font-size: 0.86rem;
  font-weight: 500;
}

.kicker img {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 5vw, 3.35rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 20px;
  max-width: 38rem;
  font-size: 1.05rem;
  color: #3a2d12;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  background: rgba(255, 253, 248, 0.55);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 500;
}

.phone-wrap {
  display: grid;
  justify-items: center;
}

.phone {
  width: min(300px, 100%);
  background: #14120f;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 30px 50px rgba(80, 50, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-screen {
  background: #fbfbfb;
  border-radius: 28px;
  overflow: hidden;
  color: #1c1c1c;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px 0;
  font-size: 0.72rem;
  font-weight: 700;
}

.phone-appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.phone-appbar img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px 10px 16px;
}

.phone-grid .mini-tool:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.mini-tool {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  text-align: center;
}

.mini-tool {
  color: #d39b12;
}

.mini-tool svg {
  width: 26px;
  height: 26px;
}

.mini-tool span {
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 72px;
}

.soon-pill {
  position: absolute;
  top: 6px;
  inset-inline-start: 6px;
  background: #fbbe07;
  color: #1a1a1a;
  font-size: 0.55rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 5px;
  line-height: 1.5;
}

.phone-caption {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #4a3a16;
  text-align: center;
}

.section {
  padding: 64px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.86rem;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.45;
  font-weight: 700;
}

.section-head p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.step b {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.step span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.feature-copy h3 {
  margin: 8px 0 8px;
  font-size: 1.35rem;
  line-height: 1.45;
}

.feature-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #1a1408;
}

.icon-badge {
  color: var(--gold);
}

.icon-badge svg,
.ico {
  width: 24px;
  height: 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: #f8efd4;
  color: #5a4312;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 500;
}

.mock {
  margin-top: 16px;
  border-radius: 18px;
  padding: 14px;
}

.mock-label {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.7;
}

.mock-cover {
  background: #14120f;
  color: #f6f1e6;
}

.cover-frame {
  width: min(180px, 70%);
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  border: 2px solid var(--gold);
  display: grid;
  place-items: end center;
  padding: 14px;
  background:
    linear-gradient(160deg, rgba(236, 190, 89, 0.35), transparent 45%),
    #221c12;
}

.cover-frame strong {
  font-size: 1.35rem;
}

.cover-tools {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.cover-tools span {
  border: 1px solid rgba(236, 190, 89, 0.4);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.75rem;
  color: var(--gold);
}

.mock-analyze {
  background: #121212;
  color: #f3f3f3;
}

.analyze-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 3px solid #2a2a2a;
  box-shadow: inset 0 0 0 5px var(--gold-hot);
}

.ring span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #121212;
  display: grid;
  place-items: center;
  line-height: 1.3;
}

.kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.kpi li {
  background: #1c1c1c;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.mock-chat {
  background: #1a1a1a;
  color: #f5f5f7;
  display: grid;
  gap: 8px;
}

.bubble {
  max-width: 92%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.bubble.user {
  justify-self: start;
  background: #2c2c2e;
}

.bubble.bot {
  justify-self: end;
  background: #3a3014;
  border: 1px solid rgba(236, 190, 89, 0.35);
}

.mock-plan {
  background: #fffaf0;
  border: 1px solid rgba(184, 134, 42, 0.25);
}

.plan-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.plan-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.plan-cols div {
  background: #fff;
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--line);
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.plan-actions span {
  background: var(--ink);
  color: var(--gold);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tool-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.tool-card h3 {
  margin: 10px 0 6px;
  font-size: 1.05rem;
}

.tool-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tool-card.soon {
  background: transparent;
  border-style: dashed;
}

.tool-card.soon .icon-badge {
  background: transparent;
  border: 1px dashed var(--gold-deep);
  color: var(--ink);
}

.pricing-intro {
  background: var(--ink);
  color: #f6f1e6;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
}

.pricing-intro p {
  margin: 0;
  color: #e6dcc8;
}

.pricing-intro strong {
  color: var(--gold);
}

.price-grid {
  display: grid;
  gap: 12px;
}

.price-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-card.best {
  background: #1a1408;
  color: #f6f1e6;
  border-color: #1a1408;
}

.price-card .tag {
  align-self: flex-start;
  background: var(--gold);
  color: #1a1408;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.price-card h3 {
  margin: 6px 0 0;
  font-size: 1.35rem;
}

.coins {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
}

.coins small {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card.best .coins small {
  color: #d9ccb4;
}

.toman {
  margin: 0 0 8px;
  font-weight: 700;
}

.per {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.price-card.best .per {
  color: #d9ccb4;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--paper-2);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cost-table th,
.cost-table td {
  text-align: right;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.cost-table th {
  background: #f8efd4;
  font-weight: 700;
}

.cost-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  caption-side: bottom;
  text-align: right;
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.install-grid {
  display: grid;
  gap: 12px;
}

.install-card {
  background: var(--paper-2);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 18px;
}

.install-card h3 {
  margin: 0 0 8px;
}

.install-card p {
  margin: 0;
  color: var(--ink-soft);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: 500;
  color: var(--gold-deep);
  font-size: 1.3rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.cta-band {
  background: linear-gradient(145deg, #ffe7a8, #ecbe59 50%, #d7a441);
  color: #1a1408;
  border-radius: 28px;
  padding: 28px 20px;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  margin: 0 auto 16px;
  max-width: 36rem;
}

.site-footer {
  background: #14120e;
  color: #e7dece;
  padding: 36px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.site-footer a {
  color: var(--gold);
}

.site-footer p {
  margin: 8px 0 0;
  color: #b7ae9e;
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff8ea;
  text-decoration: none;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.legal {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8d8476;
  font-size: 0.82rem;
}

.dock {
  position: fixed;
  z-index: 40;
  inset-inline: 12px;
  bottom: 12px;
  display: flex;
}

.dock .btn {
  width: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

.js [data-reveal].is-in {
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .subnav {
    display: none;
  }

  .hero-panel {
    padding: 42px 36px;
  }

  .steps,
  .price-grid,
  .install-grid,
  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: center;
    padding: 22px;
  }

  .feature.reverse .feature-copy {
    order: 2;
  }

  .mock {
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .phone {
    width: 320px;
  }

  body.has-dock {
    padding-bottom: 0;
  }

  .dock {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal],
  .js [data-reveal].is-in,
  .btn {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
