/* =========================================================
   Fallahi Exchange — White & Gold Luxury Theme
   ========================================================= */

@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/myriad-pro-light.woff') format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/myriad-pro-regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/myriad-pro-semibold.woff') format('woff');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/myriad-pro-bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/yekan-bakh-light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/yekan-bakh-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/yekan-bakh-semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/yekan-bakh-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --gold: #f5c518;
  --gold-light: #ffe066;
  --gold-dark: #d4a800;
  --gold-grad: linear-gradient(135deg, #ffe066 0%, #f5c518 50%, #d4a800 100%);
  --bg: #ffffff;
  --bg-2: #f5f3ef;
  --cream: #faf8f5;
  --cream-2: #f2f0eb;
  --ink: #1c1a17;
  --ink-soft: #6b6660;
  --white: #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
  --glow: 0 0 30px rgba(234, 179, 8, 0.12);
  --radius: 12px;
  --font-head: 'Myriad Pro', 'YekanBakh', sans-serif;
  --font-body: 'Myriad Pro', 'YekanBakh', sans-serif;
}

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

html { scroll-behavior: smooth; transition: opacity 0.22s ease; }
html.lang-switching { opacity: 0; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Persian font stack override */
html[lang="fa"] body { font-family: 'YekanBakh', 'Myriad Pro', sans-serif; }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3 { font-family: 'YekanBakh', 'Myriad Pro', sans-serif; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; color: var(--ink); }

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

.container { width: min(1180px, 92%); margin: 0 auto; }

.section { padding: 110px 0; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}
.nav-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; transition: color 0.3s; }
.nav.scrolled .brand { color: var(--ink); }
.brand-logo { height: 50px; width: auto; display: block; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 0.98rem; font-weight: 500; color: rgba(255,255,255,0.85); position: relative; transition: color 0.25s; }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold-grad);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
  border-radius: 2px;
}
.nav.scrolled .nav-toggle span {
  background: var(--ink);
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.nav-login {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  padding: 8px 12px;
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav.scrolled .nav-login { color: var(--gold-dark); }
.nav-login:hover { color: var(--gold-light); }
.nav-logout {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-logout:hover { background: var(--gold-grad); color: #fff; border-color: transparent; }

.lang-toggle {
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s;
  display: flex; gap: 8px; align-items: center;
  white-space: nowrap;
}
.nav.scrolled .lang-toggle { color: var(--gold-dark); border-color: var(--gold); }
.lang-toggle:hover { background: var(--gold-grad); color: #fff; border-color: transparent; }
.lang-divider { opacity: 0.4; }
.lang-en.active, .lang-fa.active { color: #fff; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a0a0a url('../images/london.jpg') center center / cover no-repeat;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-canvas::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245, 197, 24, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(245, 197, 24, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(245, 197, 24, 0.05) 0%, transparent 45%);
  animation: gradientPulse 8s ease-in-out infinite;
}
.hero-canvas::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 160%;
  height: 160%;
  background:
    radial-gradient(circle at 70% 30%, rgba(245, 197, 24, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 30% 70%, rgba(245, 197, 24, 0.03) 0%, transparent 30%);
  animation: gradientPulse2 10s ease-in-out infinite reverse;
}
@keyframes gradientPulse {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(3%, -3%) scale(1.05); opacity: 0.7; }
}
@keyframes gradientPulse2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(-2%, 2%) scale(1.08); opacity: 1; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.2) 55%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; width: min(920px, 92%); padding: 110px 0 70px; }

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid var(--gold-light);
  background: rgba(255, 217, 92, 0.14);
  padding: 8px 22px;
  border-radius: 40px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.15s forwards;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
}
.hero-title .line { display: block; opacity: 0; animation: fadeUp 0.9s ease forwards; }
.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.45s; }
.hero-title .gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 1.02rem;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
}

.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s ease 0.75s forwards; }

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.btn-gold {
  background: var(--gold-grad);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--gold); }
.btn-ghost:hover { background: rgba(234, 179, 8, 0.08); }

/* Live rates section + boxes */
.rates-section {
  background-color: var(--white);
  background-image: var(--texture);
  background-size: var(--texture-size);
}
.rates-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; align-items: stretch; }
.rate-box {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.rate-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
}
.rate-box-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
}
.rate-list { display: grid; gap: 14px; }
.rate-row { text-align: center; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.rate-row:last-of-type { border-bottom: none; }
.price-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }
.price-value {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  direction: ltr;
}
.price-unit { font-size: 0.95rem; color: var(--ink-soft); }
.price-trend { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.06); font-size: 0.8rem; color: var(--ink-soft); display: flex; justify-content: center; align-items: center; gap: 6px; }
.trend-arrow { font-weight: 700; }
.trend-up { color: #2e7d32; }
.trend-down { color: #c62828; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}
.scroll-hint span {
  display: block;
  width: 4px; height: 10px;
  background: var(--gold);
  border-radius: 3px;
  margin: 7px auto 0;
  animation: scrollDot 1.6s ease infinite;
}

/* =========================================================
   Rate / Converter
   ========================================================= */
.rate-section { background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-head h2, .about-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-head h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  margin: 14px auto 0;
  background: var(--gold-grad);
}
.section-head p { color: var(--ink-soft); }

.conv-field label { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; font-weight: 600; }
.conv-input {
  display: flex; align-items: center;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--cream-2);
  transition: border 0.25s, box-shadow 0.25s;
}
.conv-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.14); }
.conv-input input {
  flex: 1;
  border: none; background: transparent;
  font-size: 1.4rem; font-weight: 600;
  color: var(--ink);
  outline: none;
  min-width: 0;
  font-family: var(--font-body);
}
.conv-input input[readonly] { color: var(--gold-dark); }
.conv-currency { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }

/* Converter (calculator box) */
.conv-toggle {
  display: flex;
  background: var(--cream-2);
  border: 1px solid var(--gold-light);
  border-radius: 40px;
  padding: 4px;
  margin-bottom: 16px;
}
.toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 40px;
  padding: 9px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s;
}
.toggle-btn.active { background: var(--gold-grad); color: #fff; box-shadow: var(--shadow-sm); }
.conv-fields { display: grid; grid-template-columns: 1fr; gap: 14px; }
.conv-field { min-width: 0; }

/* =========================================================
   About
   ========================================================= */
.about-section { background-color: var(--white); background-image: var(--texture); background-size: 24px 24px; }
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: center; }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; }
.about-features { list-style: none; margin-top: 26px; display: grid; gap: 22px; }
.about-features li { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { color: var(--gold); font-size: 1.2rem; margin-top: 3px; }
.about-features h3 { font-size: 1.08rem; margin-bottom: 4px; }
.about-features p { margin: 0; font-size: 0.92rem; }

.about-stats { display: grid; gap: 26px; }
.stat {
  background: linear-gradient(135deg, #1a1a1a, #222018);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 34px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  direction: ltr;
  display: inline-block;
}
.stat-plus { font-family: var(--font-head); font-size: 2rem; color: var(--gold-dark); font-weight: 700; }
.stat-label { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact-section { background-color: var(--cream); background-image: var(--texture); background-size: 24px 24px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 24px; }
.contact-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--gold-grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item a, .contact-item p { color: var(--ink-soft); font-size: 0.95rem; }
.contact-item a:hover { color: var(--gold-dark); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream-2);
  outline: none;
  transition: border 0.25s, box-shadow 0.25s;
}
.contact-form textarea { resize: vertical; margin-bottom: 16px; }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.14);
}
.form-status { margin-top: 12px; font-size: 0.9rem; color: #2e7d32; min-height: 1.4em; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background-color: var(--ink);
  background-image:
    radial-gradient(rgba(230, 200, 138, 0.06) 1px, transparent 1.5px),
    linear-gradient(180deg, rgba(230, 200, 138, 0.06), rgba(230, 200, 138, 0) 30%);
  background-size: 22px 22px, 100% 100%;
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 40px;
  text-align: center;
}
.footer .brand { color: #fff; justify-content: center; margin-bottom: 14px; }
.footer-tagline { font-size: 0.95rem; margin-bottom: 18px; }
.footer-rights { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(18px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* =========================================================
   Creative interactive effects
   ========================================================= */

/* Staggered reveal delays */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }
.reveal.d5 { transition-delay: 0.30s; }
.reveal.d6 { transition-delay: 0.36s; }

/* Card glow on hover */
.rate-box,
.feature-card,
.panel-box,
.stat,
.contact-item,
.rate-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.rate-box:hover,
.feature-card:hover,
.panel-box:hover,
.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(234, 179, 8, 0.08);
  border-color: rgba(234, 179, 8, 0.25);
}
.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 50px rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.3);
}
.rate-card:hover {
  box-shadow: var(--shadow-lg), 0 0 60px rgba(234, 179, 8, 0.1);
}

/* Smooth gold gradient border on focus */
.conv-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.15), 0 0 20px rgba(234, 179, 8, 0.06);
}
.field input:focus,
.captcha-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.12);
}

/* Parallax helper */
.parallax { will-change: transform; }

/* Text shimmer animation for gold text */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero-title .gold {
  background: linear-gradient(135deg, #fbbf24 0%, #eab308 25%, #fbbf24 50%, #eab308 75%, #fbbf24 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Subtle noise texture overlay (for depth) */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 99998;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* =========================================================
   Chart Section
   ========================================================= */
.chart-section {
  background-color: var(--white);
  background-image: var(--texture);
  background-size: var(--texture-size);
}
.chart-container {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  height: 360px;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}

/* =========================================================
   RTL adjustments
   ========================================================= */
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
html[dir="rtl"] .trend-arrow { }
html[dir="rtl"] .price-eq, html[dir="rtl"] .price-unit { direction: rtl; }
html[dir="rtl"] .conv-input input { text-align: right; }
html[dir="rtl"] .contact-item a { direction: ltr; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--ink);
    font-size: 1rem;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav.scrolled .nav-links a {
    color: var(--ink);
  }
  .nav-toggle {
    display: flex;
  }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.4rem); }
  .form-row { grid-template-columns: 1fr; }
  .rates-grid { grid-template-columns: 1fr; }
  .rate-box { padding: 22px 18px; }
  .section { padding: 80px 0; }
  .chart-container { height: 280px; padding: 18px; }
  .chart-legend { gap: 20px; }
  .container { width: 94%; }
  .nav { padding: 12px 0; }
  .nav-inner { width: 94%; }
  .brand-logo { height: 40px; }
  .hero-content { padding: 100px 0 60px; }
  .hero-subtitle { font-size: 0.95rem; }
  .btn { padding: 14px 28px; font-size: 0.92rem; }
  .section-head h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .contact-form input, .contact-form textarea { padding: 14px 16px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-cta { flex-direction: column; gap: 12px; }
  .btn { width: 100%; text-align: center; }
  .rates-grid { gap: 16px; }
  .rate-box { padding: 18px 14px; }
  .price-value { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .conv-input { padding: 10px 14px; }
  .conv-input input { font-size: 1.2rem; }
  .section { padding: 60px 0; }
  .chart-container { height: 240px; padding: 14px; }
  .chart-legend { flex-direction: column; align-items: center; gap: 12px; }
  .contact-form { gap: 14px; }
  .contact-form input, .contact-form textarea { padding: 12px 14px; font-size: 0.95rem; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
}
