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

:root {
  color-scheme: dark;
  --accent: #d5af33;
  --accent-strong: #f1cf63;
  --accent-soft: rgba(213, 175, 51, 0.13);
  --bg: #080806;
  --bg-deep: #000;
  --surface: #11110f;
  --surface-2: #171714;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --text: #f6f2ea;
  --muted: #a9a69e;
  --border: rgba(213, 175, 51, 0.2);
  --border-soft: rgba(255, 255, 255, 0.08);
  --positive: #45cb85;
  --header: rgba(8, 8, 6, 0.76);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

html[data-theme="light"] {
  color-scheme: light;
  --accent: #8b6a0b;
  --accent-strong: #d6b02f;
  --accent-soft: rgba(214, 176, 47, 0.11);
  --bg: #fbfaf6;
  --bg-deep: #f3f0e7;
  --surface: #fffefa;
  --surface-2: #f7f4ec;
  --surface-soft: rgba(83, 109, 121, 0.055);
  --text: #263940;
  --muted: #61747c;
  --border: rgba(214, 176, 47, 0.28);
  --border-soft: rgba(83, 109, 121, 0.13);
  --positive: #3f7868;
  --header: rgba(251, 250, 246, 0.86);
  --shadow: 0 24px 70px rgba(83, 109, 121, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  transition: background-color 0.3s ease, color 0.3s ease;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--header);
  backdrop-filter: blur(18px);
  transition: 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--border-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: block;
  width: 148px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 580 / 206;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  width: 16px;
  height: 2px;
  border-radius: 4px;
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button:disabled:hover {
  transform: none;
}

.button {
  min-height: 43px;
  gap: 9px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  color: #121006;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 28px rgba(213, 175, 51, 0.17);
}

html[data-theme="light"] .button-primary {
  color: #2f3332;
  background: linear-gradient(135deg, #e3bf3b, #d6b02f);
  box-shadow: 0 10px 28px rgba(214, 176, 47, 0.2);
}

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

.button-soft {
  border: 1px solid var(--border-soft);
  color: var(--text);
  background: var(--surface-soft);
}

.button-large {
  min-height: 54px;
  padding: 0 25px;
  border-radius: 15px;
}

.icon-button {
  width: 43px;
  height: 43px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface-soft);
}

.theme-toggle svg {
  width: 19px;
}

.moon-icon {
  display: none;
}

html[data-theme="light"] .sun-icon {
  display: none;
}

html[data-theme="light"] .moon-icon {
  display: block;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 690px;
  padding: 125px 0 46px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 25%, rgba(213, 175, 51, 0.08), transparent 26%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}

html[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 78% 25%, rgba(214, 176, 47, 0.12), transparent 30%),
    linear-gradient(180deg, #fffefa, #f7f4ec);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  top: 150px;
  right: -250px;
  border: 1px solid rgba(213, 175, 51, 0.08);
  box-shadow: 0 0 100px rgba(213, 175, 51, 0.04) inset;
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  bottom: -170px;
  left: 8%;
  background: rgba(213, 175, 51, 0.04);
  filter: blur(80px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 28px;
}

.hero-copy {
  max-width: 540px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow {
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-soft);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--positive), transparent 83%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 9px transparent; }
}

.hero h1 {
  margin: 19px 0 14px;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.22;
  letter-spacing: -1.5px;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero h1 span b {
  font-weight: inherit;
}

.hero-proof-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 440px;
  margin: 18px 0 20px;
}

.hero-copy > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.button-primary svg {
  width: 18px;
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
}

.play-icon svg {
  width: 17px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.hero-visual > img {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: saturate(0.92) contrast(1.06);
  mask-image: radial-gradient(circle at 50% 50%, #000 54%, transparent 75%);
  animation: heroFloat 5s ease-in-out infinite;
}

html[data-theme="light"] .hero-visual > img {
  mix-blend-mode: multiply;
  opacity: 0.93;
}

@keyframes heroFloat {
  50% { transform: translateY(-10px); }
}

.visual-ring {
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(213, 175, 51, 0.018),
    0 0 0 90px rgba(213, 175, 51, 0.012);
}

.price-pill {
  position: absolute;
  z-index: 4;
  border: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--surface), transparent 12%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.price-pill {
  top: 32px;
  left: 0;
  min-width: 185px;
  padding: 14px 18px;
  border-radius: 16px;
}

.price-pill span,
.price-pill small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.price-pill strong {
  display: block;
  margin: 4px 0 1px;
  font-size: 20px;
}

.price-pill .price-change {
  color: var(--positive);
}

.floating-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface), transparent 12%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card small {
  color: var(--muted);
  font-size: 11px;
}

.floating-card strong {
  font-size: 13px;
}

.floating-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
}

.floating-icon svg {
  width: 20px;
}

.market-strip {
  position: relative;
  z-index: 5;
  margin-top: -22px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.market-grid article {
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-left: 1px solid var(--border-soft);
}

.market-grid article:last-child {
  border-left: 0;
}

.market-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--accent);
  background: var(--accent-soft);
}

.market-icon svg {
  width: 21px;
}

.market-grid small,
.market-grid strong {
  display: block;
}

.market-grid small {
  color: var(--muted);
  font-size: 12px;
}

.market-grid strong {
  margin-top: 2px;
  font-size: 15px;
}

.market-grid > article > span:last-child {
  margin-right: auto;
  font-size: 11px;
  direction: ltr;
}

.positive {
  color: var(--positive);
}

.neutral {
  color: var(--accent);
}

.section {
  padding: 72px 0 64px;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.why-copy h2,
.faq-intro h2 {
  margin: 9px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.4;
  letter-spacing: -1.5px;
}

.section-heading p,
.why-copy > p,
.faq-intro > p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}

.trade-section {
  background:
    radial-gradient(circle at 15% 45%, var(--accent-soft), transparent 25%),
    var(--bg);
}

.trade-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
}

.chart-card,
.trade-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.chart-card {
  padding: 28px;
  overflow: hidden;
}

.chart-head,
.chart-meta,
.trade-price-row,
.trade-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--positive);
  background: color-mix(in srgb, var(--positive), transparent 88%);
  font-size: 11px;
}

.status-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.status-stale,
.status-badge.status-closed {
  color: var(--accent);
  background: var(--accent-soft);
}

.status-badge.status-error {
  color: #d9534f;
  background: rgba(217, 83, 79, 0.11);
}

.negative {
  color: #d9534f;
}

.chart-head h3 {
  margin: 10px 0 0;
  font-size: 18px;
}

.chart-value {
  text-align: left;
}

.chart-value strong,
.chart-value small {
  display: block;
}

.chart-value strong {
  font-size: 25px;
}

.chart-value small {
  color: var(--muted);
  font-size: 11px;
}

.chart-meta {
  margin: 22px 0;
}

.chart-meta > span {
  font-size: 12px;
}

.chart-ranges {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 11px;
  background: var(--surface-2);
}

.chart-ranges button {
  padding: 5px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.chart-ranges button.active {
  color: var(--text);
  background: var(--surface-soft);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.chart-wrap {
  position: relative;
  height: 285px;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 100% 25%, 16.666% 100%;
  opacity: 0.6;
}

.price-chart {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: visible;
}

.chart-area {
  fill: url("#areaGradient");
  stroke: none;
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 4px 5px color-mix(in srgb, var(--accent), transparent 65%));
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawChart 2s ease forwards 0.4s;
}

@keyframes drawChart {
  to { stroke-dashoffset: 0; }
}

.price-chart circle {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 3;
}

.chart-tooltip {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 11px;
  transform: translateX(-2px);
}

.chart-tooltip span {
  color: var(--muted);
}

.chart-tooltip strong {
  font-size: 11px;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.trade-card {
  align-self: start;
  padding: 10px 24px 23px;
}

.trade-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border-radius: 13px;
  background: var(--surface-2);
}

.trade-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.trade-tabs button.active {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.trade-price-row {
  margin: 21px 0;
  font-size: 13px;
}

.trade-price-row > span {
  color: var(--muted);
}

.trade-price-row strong {
  font-size: 15px;
}

.trade-price-row small {
  color: var(--muted);
  font-size: 11px;
}

.trade-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.input-shell {
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  background: var(--surface-2);
  transition: border-color 0.2s ease;
}

.input-shell:focus-within {
  border-color: var(--accent);
}

.input-shell input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  direction: ltr;
  text-align: right;
  font-weight: 700;
}

.input-shell span {
  color: var(--muted);
  font-size: 12px;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.quick-amounts button {
  padding: 7px 3px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.quick-amounts button:hover {
  color: var(--accent);
  border-color: var(--border);
}

.swap-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 9px;
  margin: 14px 0;
}

.swap-divider > span {
  height: 1px;
  background: var(--border-soft);
}

.swap-divider button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  background: var(--surface);
  cursor: pointer;
}

.swap-divider svg {
  width: 17px;
}

.trade-summary {
  align-items: stretch;
  flex-direction: column;
  gap: 6px;
  margin: 17px 0;
  color: var(--muted);
  font-size: 12px;
}

.trade-summary span {
  display: flex;
  justify-content: space-between;
}

.trade-summary b {
  color: var(--positive);
}

.trade-summary strong {
  color: var(--text);
}

.trade-submit {
  width: 100%;
  min-height: 52px;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.secure-note svg {
  width: 13px;
}

.steps-section {
  background: var(--bg-deep);
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 53px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}

.steps-grid article {
  position: relative;
  z-index: 1;
  padding: 24px;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 4px;
  left: 22px;
  color: var(--border);
  font-size: 28px;
  font-weight: 700;
}

.step-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
  border-radius: 21px;
  color: var(--accent);
  background: var(--surface);
  box-shadow: 0 10px 30px var(--accent-soft);
}

.step-icon svg {
  width: 29px;
}

.steps-grid h3,
.benefits-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.steps-grid p,
.benefits-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 80px;
}

.why-copy > p {
  margin: 0;
  line-height: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: 30px;
}

.stats-grid div {
  padding: 17px;
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  background: var(--surface-soft);
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  color: var(--accent);
  direction: rtl;
  font-size: 21px;
}

.stats-grid span {
  color: var(--muted);
  font-size: 12px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}

.benefits-grid article {
  min-width: 0;
  min-height: 230px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.benefits-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}

.benefit-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  color: var(--accent);
  background: var(--accent-soft);
}

.benefit-icon svg {
  width: 23px;
}

.cta-section {
  padding: 28px 0 58px;
}

.cta-card {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 60px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #161307;
  background:
    radial-gradient(circle at 25% 10%, rgba(255, 255, 255, 0.45), transparent 24%),
    linear-gradient(135deg, #f2d56e, #d5af33 55%, #a77f18);
  box-shadow: 0 30px 70px rgba(213, 175, 51, 0.14);
}

html[data-theme="light"] .cta-card {
  color: #263940;
  background:
    radial-gradient(circle at 25% 10%, rgba(255, 255, 255, 0.5), transparent 25%),
    linear-gradient(135deg, #f1d36d, #d6b02f 60%, #b28c19);
}

.cta-card::after {
  content: "19";
  position: absolute;
  left: 6%;
  top: -55px;
  color: rgba(255, 255, 255, 0.11);
  font-size: 250px;
  font-weight: 900;
  line-height: 1;
}

.cta-card > * {
  position: relative;
  z-index: 2;
}

.cta-card span {
  font-size: 13px;
  font-weight: 700;
}

.cta-card h2 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.4;
}

.cta-card p {
  margin: 0;
  opacity: 0.75;
  font-size: 14px;
}

.cta-button {
  min-width: 190px;
  min-height: 55px;
  color: #f8e9ad;
  background: #15130d;
}

html[data-theme="light"] .cta-button {
  color: #fff;
  background: #536d79;
}

.faq-section {
  background: var(--bg-deep);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.faq-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.faq-intro > p {
  margin: 0 0 24px;
}

.accordion {
  border-top: 1px solid var(--border-soft);
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item button {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: right;
  cursor: pointer;
  font-weight: 700;
}

.faq-item button span {
  position: relative;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open button span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 25px;
}

.site-footer {
  padding: 75px 0 25px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
  gap: 55px;
}

.footer-brand p {
  max-width: 320px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid h3 {
  margin: 0 0 17px;
  font-size: 15px;
}

.footer-grid > div:not(.footer-brand) a,
.footer-grid > div:not(.footer-brand) span,
.footer-grid > div:not(.footer-brand) small {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--accent);
}

.footer-address {
  max-width: min(100%, 320px);
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.footer-address summary {
  width: fit-content;
  cursor: pointer;
  color: var(--muted);
  list-style-position: inside;
  transition: color 0.2s ease;
}

.footer-address summary:hover {
  color: var(--accent);
}

.footer-grid > div:not(.footer-brand) .footer-address span {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 8px 0 0;
  line-height: 1.9;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 12px;
}

.modal,
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.modal.open,
.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-card,
.video-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(15px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal.open .modal-card,
.video-modal.open .video-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface-soft);
  cursor: pointer;
}

.modal-close svg {
  width: 17px;
}

.modal-card > span {
  display: block;
  margin-top: 15px;
  color: var(--accent);
  font-size: 11px;
}

.modal-brand {
  width: 170px;
  margin: 5px auto 20px;
}

.modal-card h2 {
  margin: 4px 0 7px;
  font-size: 27px;
}

.modal-card > p,
.video-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.modal-card label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.phone-input {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface-2);
}

.phone-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  direction: ltr;
}

.phone-input span {
  color: var(--muted);
  direction: ltr;
  font-size: 11px;
}

.modal-card form .button {
  width: 100%;
  margin-top: 13px;
}

.video-card {
  width: min(100%, 650px);
  text-align: center;
}

.video-placeholder {
  position: relative;
  height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.video-placeholder .play-icon {
  position: absolute;
  width: 65px;
  height: 65px;
  color: #181307;
  background: var(--accent);
}

.video-card h3 {
  margin: 20px 0 7px;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 50%;
  bottom: 25px;
  min-width: 260px;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 20px);
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: var(--surface);
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  .mobile-nav.open {
    max-height: 450px;
    padding: 17px 20px 25px;
    border-top: 1px solid var(--border-soft);
  }

  .mobile-nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--border-soft);
    color: var(--muted);
    font-size: 13px;
  }

  .mobile-nav > div {
    display: flex;
    gap: 8px;
    padding-top: 17px;
  }

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

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

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

  .hero-visual > img {
    width: min(100%, 440px);
  }

  .visual-ring {
    width: 390px;
  }

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

  .market-grid article:nth-child(2) {
    border-left: 0;
  }

  .market-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-soft);
  }

  .why-grid {
    gap: 45px;
  }
}

@media (max-width: 820px) {
  .login-button,
  .header-actions > .signup-button {
    display: none;
  }

  .mobile-nav .login-button,
  .mobile-nav .signup-button {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 46px;
  }

  .hero-grid,
  .trade-layout,
  .why-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 650px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-proof-cards {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .hero-visual > img {
    width: min(100%, 420px);
  }

  .visual-ring {
    width: 360px;
  }

  .price-pill {
    top: 10px;
    left: 8%;
  }

  .trade-layout {
    max-width: 680px;
    margin-inline: auto;
  }

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

  .steps-grid::before {
    display: none;
  }

  .why-copy {
    text-align: center;
  }

  .why-copy > p {
    margin-inline: auto;
  }

  .benefits-grid {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .faq-intro {
    position: static;
    text-align: center;
  }

  .faq-intro > p {
    margin-inline: auto;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px;
  }

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

  .contact-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    position: relative;
    min-height: 72px;
    justify-content: flex-start;
    direction: ltr;
  }

  .site-header .brand {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 104px;
    transform: translate(-50%, -50%);
  }

  .hero {
    min-height: auto;
    padding: 92px 0 34px;
  }

  .hero h1 {
    max-width: 100%;
    margin-top: 14px;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
  }

  .hero h1 span b {
    display: inline;
  }

  .hero-proof-cards {
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 14px auto 16px;
  }

  .hero-copy > p {
    width: 100%;
    padding-inline: 8px;
    font-size: 13.5px;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 280px;
    margin-top: 4px;
  }

  .hero-visual > img {
    width: min(100%, 280px);
  }

  .visual-ring {
    width: 230px;
  }

  .price-pill {
    top: 0;
    left: 0;
    min-width: 132px;
    padding: 10px 12px;
  }

  .price-pill strong {
    font-size: 16px;
  }

  .floating-card {
    gap: 8px;
    padding: 8px;
  }

  .floating-icon {
    width: 34px;
    height: 34px;
  }

  .market-strip {
    margin-top: -10px;
  }

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

  .market-grid article {
    min-height: 82px;
    border-left: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .market-grid article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 52px 0 48px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .chart-card {
    padding: 19px 15px;
  }

  .chart-head {
    align-items: flex-start;
  }

  .chart-value strong {
    font-size: 18px;
  }

  .chart-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-wrap {
    height: 235px;
  }

  .price-chart {
    height: 205px;
  }

  .chart-tooltip {
    display: none;
  }

  .chart-footer span:nth-child(even) {
    display: none;
  }

  .trade-card {
    padding-inline: 16px;
  }

  .steps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid article {
    padding: 15px 20px 30px;
  }

  .benefits-grid article {
    min-height: auto;
    padding: 24px;
  }

  .cta-section {
    padding: 24px 0 48px;
  }

  .cta-card {
    padding: 34px 25px;
    border-radius: 24px;
  }

  .cta-button {
    width: 100%;
  }

  .faq-item button {
    min-height: 70px;
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 25px;
  }

  .footer-brand,
  .contact-column {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .modal-card,
  .video-card {
    padding: 27px 20px;
  }

  .video-placeholder {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
