/* ============================================================
   AAA SUPPLIES — SHARED STYLESHEET
   aaa.supplies · Mindful Trading Solutions
   Version 4.0 · April 2026
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Outfit:wght@300;400;500;600;700&family=Noto+Sans+Bengali:wght@400;500;600&display=swap');

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Foundations */
  --bg:           #FAFAF6;
  --bg-alt:       #F2EDE6;
  --bg-warm:      #EDE6DC;
  --surface:      #FFFFFF;

  /* Ink */
  --ink:          #130F0A;
  --ink-mid:      #261E14;
  --ink-light:    #5A4E42;
  --ink-faint:    #9A8E82;

  /* Accent — use sparingly */
  --saffron:      #E8921A;
  --saffron-deep: #C47810;
  --saffron-pale: #FDF3E3;

  /* Structure */
  --border:       #E4DDD4;
  --border-dark:  #3A2E22;

  /* Status */
  --success:      #3D7A4A;
  --success-bg:   #EDF7F0;

  /* Functional */
  --wa-green:     #25D366;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --font-bengali: 'Noto Sans Bengali', system-ui, sans-serif;

  /* Spacing */
  --space-xs:   6px;
  --space-sm:   12px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   72px;
  --space-2xl:  112px;

  --section-pad:      72px 40px;
  --section-pad-sm:   48px 40px;
  --section-pad-dark: 72px 40px;
  --inner-max:        1160px;
  --side-pad-mobile:  20px;
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
ul { list-style: none; }

/* ── GOLD BARS ────────────────────────────────────────────── */
.gold-bar-top {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; background: var(--saffron);
  z-index: 9999;
}
.gold-bar-bot {
  height: 3px; background: var(--saffron);
  width: 100%;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 3px;
  left: 0; right: 0; z-index: 1000;
  background: transparent;
  height: 66px;
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(19,15,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(58,46,34,0.4);
}
.nav-inner {
  max-width: var(--inner-max);
  width: 100%; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-hex {
  width: 36px; height: 36px;
  background: var(--saffron);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-hex span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: #fff;
}
.nav-logo-tag {
  font-size: 0.62rem; font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}
/* On light hero: invert logo text for dark bg version */
.nav-light .nav-logo-name { color: var(--ink); }
.nav-light .nav-logo-tag { color: var(--ink-faint); }

.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-link {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--saffron);
}
.nav-link.active::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--saffron);
}
.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.nav-overlay.open { display: flex; }
.nav-overlay .nav-link {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.15em;
}
.nav-overlay .nav-link.active { color: var(--saffron); }
.nav-overlay-btns {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 16px;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.sec       { padding: var(--section-pad); background: var(--bg); }
.sec-alt   { padding: var(--section-pad); background: var(--bg-alt); }
.sec-warm  { padding: var(--section-pad); background: var(--bg-warm); }
.sec-dark  { padding: var(--section-pad-dark); background: var(--ink); }
.sec-sm    { padding: var(--section-pad-sm); }
.inner     { max-width: var(--inner-max); margin: 0 auto; }

/* Section decorative number */
.sec-num {
  font-family: var(--font-display);
  font-size: 5.5rem; font-weight: 700;
  color: var(--border);
  line-height: 1; margin-bottom: -16px;
  user-select: none;
}
.sec-num-dark { color: var(--border-dark); }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

.display-h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700; letter-spacing: -0.02em;
}
.display-h1 em { font-weight: 400; font-style: italic; color: var(--ink-light); }

.section-h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
}
.section-h2 em { font-weight: 400; font-style: italic; color: var(--ink-light); }
.section-h2-light em { color: rgba(255,255,255,0.6); }

.sub-h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.eyebrow-light { color: rgba(255,255,255,0.55); }

.body-text { font-size: 1rem; font-weight: 400; line-height: 1.78; color: var(--ink-light); }
.body-text-dark { color: rgba(255,255,255,0.7); }
.body-medium { font-size: 0.94rem; font-weight: 500; }
.caption { font-size: 0.74rem; font-weight: 400; color: var(--ink-faint); }
.caption-dark { color: rgba(255,255,255,0.4); }

.price-display {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--ink);
}

.bengali { font-family: var(--font-bengali); }

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink);
  border-left: 3px solid var(--saffron);
  padding: 16px 0 16px 24px;
  margin: 24px 0;
  line-height: 1.65;
}
.pull-quote-dark { color: rgba(255,255,255,0.85); border-left-color: var(--saffron); }

/* Saffron rule divider */
.saffron-rule {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-pale));
  margin: 24px 0;
  border: none;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-saffron {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--saffron); color: #fff;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-saffron:hover { background: var(--saffron-deep); transform: translateY(-1px); }

.btn-outline-ink {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color 0.2s;
  text-decoration: none; cursor: pointer;
}
.btn-outline-ink:hover { border-color: var(--ink); }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none; cursor: pointer;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wa-green); color: #fff;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-wa:hover { background: #1fb956; transform: translateY(-1px); }

/* CTA row */
.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; margin-top: 28px;
}

/* ── BADGES & TAGS ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px;
  border: 1.5px solid var(--saffron);
  color: var(--saffron);
}
.badge-success {
  border-color: var(--success);
  color: var(--success);
  background: var(--success-bg);
}
.badge-dark {
  border-color: var(--border-dark);
  color: rgba(255,255,255,0.6);
}

.badge-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}

.tag-pill {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px;
  background: var(--bg-alt);
  color: var(--ink-light);
  border-radius: 100px;
}
.tag-pill-saffron {
  background: var(--saffron-pale);
  color: var(--saffron);
}
.tag-pill-success {
  background: var(--success-bg);
  color: var(--success);
}
.tag-pill-dark {
  background: var(--border-dark);
  color: rgba(255,255,255,0.7);
}

.live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--success);
}
.dot-pulse {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

/* Eyebrow pulsing dot */
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(19,15,10,0.09);
  border-color: rgba(232,146,26,0.35);
}
.card-featured { border-top: 3px solid var(--saffron); }
.card-dark {
  background: var(--ink-mid);
  border: 1px solid var(--border-dark);
}
.card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(232,146,26,0.3);
}
.card-saffron-left { border-left: 3px solid var(--saffron); }

/* ── FORMS ────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.form-label-dark { color: rgba(255,255,255,0.55); }

input, select, textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body); font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232,146,26,0.08);
}
textarea { resize: vertical; min-height: 100px; }

.form-dark input,
.form-dark select,
.form-dark textarea {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-dark);
  color: #fff;
}
.form-dark input::placeholder,
.form-dark textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-dark input:focus,
.form-dark select:focus,
.form-dark textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232,146,26,0.1);
}

/* Select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A8E82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-dark select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.form-success {
  display: none;
  padding: 20px 24px;
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--success);
  font-size: 0.88rem; font-weight: 500;
}
.form-success.visible { display: block; }
.form-success-dark {
  background: rgba(61,122,74,0.15);
  border-color: rgba(61,122,74,0.4);
  color: #6fc87a;
}

/* ── TICKER ───────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--ink-mid);
  border-top: 2px solid var(--saffron);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}
.ticker-track {
  display: inline-flex; gap: 0;
  animation: tickerMove 40s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 32px;
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-right: 1px solid var(--border-dark);
}
.ticker-name { font-weight: 600; color: #fff; }
.ticker-bengali { font-family: var(--font-bengali); font-size: 0.76rem; color: rgba(255,255,255,0.5); }
.ticker-price { font-family: var(--font-display); font-weight: 700; color: #fff; }
.ticker-up { color: #6fcf7a; font-size: 0.78rem; }
.ticker-down { color: #e87070; font-size: 0.78rem; }

/* ── IMAGE PLACEHOLDERS ───────────────────────────────────── */
.img-placeholder {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  font-size: 0.74rem; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.img-placeholder-dark {
  background: var(--ink-mid);
  border-color: var(--border-dark);
  color: rgba(255,255,255,0.3);
}

/* Hexagon photo */
.photo-hex {
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  border: 3px solid var(--saffron);
  overflow: hidden;
}

/* ── STATS ────────────────────────────────────────────────── */
.stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 24px 20px;
}
.stat-card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat-number-light { color: #fff; }
.stat-number-saffron { color: var(--saffron); }
.stat-label {
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 6px;
}
.stat-label-dark { color: rgba(255,255,255,0.5); }
.stat-sublabel {
  font-size: 0.7rem; color: var(--ink-faint);
  margin-top: 2px;
}
.stat-sublabel-dark { color: rgba(255,255,255,0.35); }

/* Stats band (dark section) */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-band-item {
  padding: 48px 36px;
  border-right: 1px solid var(--border-dark);
  text-align: center;
}
.stats-band-item:last-child { border-right: none; }

/* Inline stats strip */
.stats-strip {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 20px;
}
.stats-strip-item {
  padding: 8px 20px 8px 0;
  margin-right: 20px;
  border-right: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 500;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}
.stats-strip-item:last-child { border-right: none; margin-right: 0; }
.stats-strip-dark .stats-strip-item {
  border-right-color: var(--border-dark);
  color: rgba(255,255,255,0.6);
}

/* ── GRID HELPERS ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 72px 40px 0;
}
.footer-inner {
  max-width: var(--inner-max); margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: #fff; margin-top: 12px; margin-bottom: 10px;
}
.footer-brand-desc {
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  line-height: 1.7; margin-bottom: 16px;
}
.footer-col-title {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.84rem; color: rgba(255,255,255,0.6);
  transition: color 0.2s; text-decoration: none;
}
.footer-link:hover { color: var(--saffron); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--saffron); }

/* ── WHATSAPP FLOATING BUTTON ─────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 998;
  display: flex; align-items: center; gap: 8px;
  background: var(--wa-green); color: #fff;
  padding: 12px 18px;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  text-decoration: none;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.wa-float.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.wa-float:hover { background: #1fb956; }
.wa-float svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.4;
}
.hero-inner {
  max-width: var(--inner-max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 72px; align-items: center;
  width: 100%;
}

/* Page hero (non-home, smaller) */
.page-hero {
  padding: 140px 40px 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-dark {
  background: var(--ink);
  border-bottom: 1px solid var(--border-dark);
}
.page-hero-inner { max-width: var(--inner-max); margin: 0 auto; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.8); }
}
@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.fade-up   { animation: fadeUp 0.55s ease both; }
.fade-up-2 { animation: fadeUp 0.55s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.55s 0.2s ease both; }
.fade-up-4 { animation: fadeUp 0.55s 0.3s ease both; }
.fade-up-5 { animation: fadeUp 0.55s 0.4s ease both; }

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TAB SWITCHER ─────────────────────────────────────────── */
.tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.tab-btn {
  padding: 12px 28px;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: none; border: none; cursor: pointer;
  color: var(--ink-faint);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active {
  color: var(--saffron);
  border-bottom-color: var(--saffron);
}
.tab-btn:hover:not(.active) { color: var(--ink-light); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Tabs dark variant */
.tabs-dark {
  border-bottom-color: var(--border-dark);
}
.tabs-dark .tab-btn { color: rgba(255,255,255,0.4); }
.tabs-dark .tab-btn.active { color: var(--saffron); }
.tabs-dark .tab-btn:hover:not(.active) { color: rgba(255,255,255,0.7); }

/* ── MODAL ────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(19,15,10,0.8);
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  max-width: 480px; width: 100%;
  position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--ink-faint);
  line-height: 1;
}
.modal-close:hover { color: var(--ink); }

/* ── ACCORDION ────────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 0.94rem; font-weight: 600;
  color: var(--ink); text-align: left;
}
.accordion-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--saffron);
  transition: transform 0.25s;
}
.accordion-trigger.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding-bottom: 18px;
  font-size: 0.9rem; color: var(--ink-light); line-height: 1.75;
}
.accordion-body.open { display: block; }

/* ── FILTER BAR ───────────────────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}
.filter-bar select {
  width: auto; min-width: 160px;
}

/* ── PROCESS STEPS ────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.step {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  color: var(--saffron); margin-bottom: 12px;
  line-height: 1;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.step-body { font-size: 0.88rem; color: var(--ink-light); line-height: 1.7; }

/* ── ARTICLE ROWS ─────────────────────────────────────────── */
.article-row {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  text-decoration: none; color: inherit;
}
.article-row:hover { background: var(--bg-alt); margin: 0 -24px; padding: 20px 24px; }
.article-row-num {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--border); min-width: 40px;
}
.article-row-cat {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--saffron); min-width: 120px;
}
.article-row-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--ink); flex: 1;
}
.article-row-meta {
  font-size: 0.72rem; color: var(--ink-faint);
  white-space: nowrap;
}

/* ── DARK ARTICLE CARD ────────────────────────────────────── */
.article-card-dark {
  background: var(--ink-mid);
  border: 1px solid var(--border-dark);
  padding: 48px;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px;
  align-items: center;
  margin-bottom: 8px;
}

/* ── PRODUCT CARD ─────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(19,15,10,0.09);
  border-color: rgba(232,146,26,0.35);
}
.product-card-featured { border-top: 3px solid var(--saffron); background: var(--saffron-pale); }
.product-icon { font-size: 2rem; margin-bottom: 10px; }
.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--ink); margin: 8px 0 4px;
}
.product-origin { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 12px; }
.product-price {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--ink); line-height: 1;
  margin-bottom: 4px;
}
.product-unit { font-size: 0.74rem; color: var(--ink-faint); }
.product-min { font-size: 0.74rem; color: var(--ink-light); margin: 8px 0; }
.product-desc { font-size: 0.84rem; color: var(--ink-light); line-height: 1.6; margin-bottom: 16px; }
.product-actions { display: flex; flex-direction: column; gap: 8px; }
.product-actions .btn-wa,
.product-actions .btn-outline-ink { width: 100%; justify-content: center; }

/* ── LISTING CARD ─────────────────────────────────────────── */
.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.22s, box-shadow 0.22s;
  overflow: hidden;
}
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(19,15,10,0.09);
}
.listing-photo {
  height: 180px;
  background: var(--bg-alt);
  border: none;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint); font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  position: relative;
}
.listing-photo-badge {
  position: absolute; top: 12px; right: 12px;
}
.listing-body { padding: 20px; }
.listing-type { }
.listing-location {
  font-size: 0.84rem; font-weight: 600;
  color: var(--ink); margin: 6px 0 2px;
}
.listing-specs { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 10px; }
.listing-price {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--ink); margin: 8px 0 4px;
}
.listing-status {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.listing-id { font-size: 0.7rem; color: var(--ink-faint); margin-bottom: 14px; }
.listing-contact { font-size: 0.76rem; color: var(--ink-faint); margin-bottom: 12px; }

/* ── MODULE CARDS ─────────────────────────────────────────── */
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(19,15,10,0.07);
}
.module-card-live { border-left: 3px solid var(--saffron); }
.module-card-soon { opacity: 0.7; }
.module-num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
  color: var(--border); line-height: 1; margin-bottom: 12px;
}
.module-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.module-meta {
  font-size: 0.72rem; color: var(--ink-faint);
  margin-bottom: 10px; letter-spacing: 0.04em;
}
.module-desc { font-size: 0.84rem; color: var(--ink-light); line-height: 1.65; margin-bottom: 18px; }

/* ── VENTURE CARDS ────────────────────────────────────────── */
.venture-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.venture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(19,15,10,0.09);
  border-color: rgba(232,146,26,0.35);
}
.venture-icon { font-size: 2rem; margin-bottom: 14px; }
.venture-tag { margin-bottom: 10px; }
.venture-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.venture-desc { font-size: 0.88rem; color: var(--ink-light); line-height: 1.7; margin-bottom: 18px; }
.venture-link {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--saffron);
}

/* ── TEAM GRID ────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}
.team-photo {
  width: 72px; height: 72px;
  background: var(--bg-alt);
  border: 2px solid var(--saffron);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.team-name {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink); margin-bottom: 4px;
}
.team-role { font-size: 0.78rem; color: var(--ink-light); line-height: 1.4; }

/* ── METRIC CARDS ─────────────────────────────────────────── */
.metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--saffron);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: #fff; line-height: 1; margin-bottom: 4px;
}
.metric-label { font-size: 0.84rem; color: rgba(255,255,255,0.6); }

/* ── PRINCIPLE CARDS ──────────────────────────────────────── */
.principle-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 24px;
  transition: transform 0.2s;
}
.principle-card:hover { transform: translateY(-3px); }
.principle-icon { font-size: 1.6rem; margin-bottom: 10px; }
.principle-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.principle-desc { font-size: 0.84rem; color: var(--ink-light); line-height: 1.65; }

/* ── RESOURCE CARDS ───────────────────────────────────────── */
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  transition: transform 0.22s, box-shadow 0.22s;
  cursor: pointer;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(19,15,10,0.08);
}
.resource-icon { font-size: 1.8rem; margin-bottom: 10px; }
.resource-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--ink); margin: 8px 0 6px;
}
.resource-desc { font-size: 0.82rem; color: var(--ink-light); line-height: 1.6; margin-bottom: 14px; }
.resource-format { margin-bottom: 16px; }

/* ── TOOL CARDS ───────────────────────────────────────────── */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(19,15,10,0.08);
}
.tool-icon { font-size: 1.8rem; margin-bottom: 10px; }
.tool-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--ink); margin: 8px 0 6px;
}
.tool-desc { font-size: 0.82rem; color: var(--ink-light); line-height: 1.6; margin-bottom: 14px; }

/* ── MARKET PAGE ──────────────────────────────────────────── */
.commodity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.commodity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  transition: border-color 0.2s;
}
.commodity-card:hover { border-color: rgba(232,146,26,0.4); }
.commodity-emoji { font-size: 1.8rem; margin-bottom: 8px; }
.commodity-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: var(--ink);
}
.commodity-bengali {
  font-family: var(--font-bengali);
  font-size: 0.82rem; color: var(--ink-faint);
  margin-bottom: 10px;
}
.commodity-price {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--ink); line-height: 1;
}
.commodity-change { font-size: 0.78rem; margin-top: 4px; }
.commodity-district { font-size: 0.72rem; color: var(--ink-faint); margin-top: 6px; }

.intent-board { margin-top: 16px; }
.intent-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 1fr auto;
  gap: 16px; align-items: center;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  font-size: 0.84rem;
}
.intent-type-buy { color: var(--success); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; }
.intent-type-sell { color: var(--saffron); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; }

.price-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.82rem;
}
.price-table th {
  background: var(--bg-alt);
  padding: 10px 16px;
  text-align: left;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--border);
}
.price-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-light);
}
.price-table tr:hover td { background: var(--bg-alt); }
.price-table td:first-child { font-weight: 600; color: var(--ink); }

.admin-panel {
  background: var(--ink-mid);
  border: 1px solid var(--border-dark);
  padding: 28px;
  margin-top: 40px;
}
.lang-toggle {
  display: inline-flex; gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
}
.lang-btn {
  padding: 7px 16px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: none; cursor: pointer;
  color: var(--ink-faint);
  transition: background 0.2s, color 0.2s;
}
.lang-btn.active { background: var(--saffron); color: #fff; }

/* ── QURAN VERSE ──────────────────────────────────────────── */
.quran-block {
  background: var(--bg-alt);
  border-left: 3px solid var(--saffron);
  padding: 24px 28px;
  margin: 24px 0;
}
.quran-arabic {
  font-family: var(--font-bengali);
  font-size: 1.3rem; direction: rtl; text-align: right;
  color: var(--ink); margin-bottom: 8px; line-height: 1.8;
}
.quran-ref { font-size: 0.74rem; color: var(--ink-faint); font-style: italic; }

/* ── BLOG ARTICLE ─────────────────────────────────────────── */
.article-body {
  max-width: 720px; margin: 0 auto;
  padding: 0 40px;
}
.article-body p { margin-bottom: 24px; font-size: 1.05rem; line-height: 1.85; }
.article-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700; margin: 40px 0 16px;
}
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 12px; }

/* ── SECTION SPACERS ──────────────────────────────────────── */
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-saffron { color: var(--saffron); }

/* ── CONTACT CHANNELS ─────────────────────────────────────── */
.contact-channel {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-channel-icon {
  font-size: 1.4rem; flex-shrink: 0; margin-top: 2px;
}
.contact-channel-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 4px;
}
.contact-channel-value {
  font-size: 0.96rem; font-weight: 500; color: var(--ink);
}
.contact-channel-desc { font-size: 0.78rem; color: var(--ink-faint); margin-top: 2px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band-item:nth-child(2) { border-right: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-card-dark { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 48px 20px;
    --section-pad-dark: 48px 20px;
  }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }

  .hero { padding: 100px 20px 60px; }
  .page-hero { padding: 100px 20px 48px; }
  .article-body { padding: 0 20px; }

  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-2-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band-item { padding: 28px 20px; }
  .stats-band-item:nth-child(2) { border-right: none; }
  .stats-band-item:nth-child(4) { border-right: none; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer { padding: 48px 20px 0; }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }

  .article-card-dark { padding: 28px 20px; grid-template-columns: 1fr; }

  .filter-bar { flex-direction: column; }
  .filter-bar select { width: 100%; }

  .intent-row { grid-template-columns: 1fr 1fr; font-size: 0.78rem; }

  .wa-float { bottom: 16px; right: 16px; padding: 10px 14px; }

  .cta-row { flex-direction: column; align-items: flex-start; }
  .cta-row .btn-saffron,
  .cta-row .btn-outline-ink,
  .cta-row .btn-wa { width: 100%; justify-content: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .commodity-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-inner { padding: 0 24px; }
  .hero { padding: 120px 24px 80px; }
}
