/* ============================================================
   ZAHAN STORE — Shared Stylesheet
   Fonts: Quicksand Bold (headings) + Inter (body)
   Theme: Sleek dark-first, gradient accents, refined minimal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── VARIABLES ── */
:root {
  --bg:           #0b0d17;
  --surface:      #131726;
  --card:         #1a1f33;
  --card-hover:   #1f2540;
  --border:       rgba(255,255,255,0.07);
  --border-light: rgba(255,255,255,0.13);

  --accent:       #5b8dee;
  --accent2:      #a78bfa;
  --grad:         linear-gradient(135deg, #5b8dee 0%, #a78bfa 100%);
  --grad-subtle:  linear-gradient(135deg, rgba(91,141,238,.12) 0%, rgba(167,139,250,.12) 100%);
  --grad-hero:    linear-gradient(160deg, #0b0d17 0%, #111428 50%, #0d0f1c 100%);

  --text:         #eef0f8;
  --text-muted:   #7c859e;
  --text-dim:     #6b7699;

  --nav-bg:       rgba(11,13,23,0.85);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.4);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.6);
  --shadow-glow:  0 0 40px rgba(91,141,238,0.15);

  --font-head:    'Quicksand', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;

  --transition:   all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* Light mode — layered cool grays, no pure white */
body.light-mode {
  /* Deeper, warmer grays — no pure white anywhere */
  --bg:           #dde2f0;
  --surface:      #e4e9f5;
  --card:         #eaedfa;
  --card-hover:   #e0e5f5;
  --border:       rgba(91,111,180,0.15);
  --border-light: rgba(91,111,180,0.25);
  --text:         #1a1e2e;
  --text-muted:   #4e5878;
  --text-dim:     #8090b8;
  --nav-bg:       rgba(221,226,240,0.94);
  --shadow-sm:    0 2px 12px rgba(80,100,160,0.12);
  --shadow-md:    0 8px 32px rgba(80,100,160,0.16);
  --shadow-lg:    0 20px 60px rgba(80,100,160,0.20);
  --shadow-glow:  0 0 40px rgba(91,141,238,0.16);
  --grad-hero:    linear-gradient(160deg, #d4daee 0%, #dde2f0 60%, #d4daee 100%);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background-color 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { color: var(--text-muted); margin-bottom: 0.5rem; }

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

ul { list-style: none; }

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

/* ── LAYOUT ── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

main { margin-top: 72px; }

.hidden { display: none !important; }

/* ── GRADIENT TEXT ── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION TITLE ── */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 4px 14px;
  border: 1px solid rgba(91,141,238,0.3);
  border-radius: 100px;
  background: rgba(91,141,238,0.08);
}
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-title[style*="text-align:left"] p { margin-left: 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(91,141,238,0.35);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91,141,238,0.5);
  opacity: 0.95;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--grad-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

/* backward compat aliases */
.cta-button { display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: #fff; padding: 12px 28px; border-radius: 100px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 20px rgba(91,141,238,0.35); }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(91,141,238,0.5); }

/* ── CARD BASE ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg), var(--shadow-glow); }

/* ── HEADER / NAV ── */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo anchored left, nav+toggle anchored right */
.nav-container .logo { margin-right: auto; order: 1; }

.logo img {
  height: 32px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links li { position: relative; }

.nav-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--border);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 700;
  background: rgba(91,141,238,0.08);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  min-width: 160px;
  padding: 8px;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.dropdown-content li { margin: 0; }
.dropdown-content a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  white-space: nowrap;
}
.dropdown:hover .dropdown-content { display: block; }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 3;        /* far right in nav-container flex row */
}

.mode-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--border);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.mode-toggle:hover { background: var(--grad-subtle); color: var(--accent); border-color: var(--accent); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-tools { display: none; }

/* menu container */
.menu-container { display: flex; align-items: center; gap: 12px; order: 2; margin-left: auto; }

/* ── HERO / GATEWAY ── */
.gateway-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  text-align: center;
  /* Full-bleed hero image — no overlay */
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.10) 35%,
      rgba(0,0,0,0.10) 55%,
      rgba(0,0,0,0.50) 100%),
    url('images/brand/hero.jpg') center/cover no-repeat;
}

/* Light mode: gentler vignette so image stays bright */
body.light-mode .gateway-section {
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,0.12) 0%,
      rgba(255,255,255,0.00) 40%,
      rgba(255,255,255,0.18) 100%),
    url('images/brand/hero.jpg') center/cover no-repeat;
}

.gateway-section::before { display: none; }
.gateway-section::after  { display: none; }

.gateway-section .container {
  position: relative;
  z-index: 1;
  max-width: 620px;   /* tighter — photo breathes on both sides */
}

/* Text always readable on photo — both modes */
.gateway-section h1 {
  color: #ffffff;
  text-shadow:
    0 1px 2px  rgba(0,0,0,1),
    0 2px 6px  rgba(0,0,0,1),
    0 4px 16px rgba(0,0,0,0.95),
    0 8px 32px rgba(0,0,0,0.80),
    0 0  60px  rgba(0,0,0,0.50);
  margin-bottom: 0.2rem;
}

.gateway-section .subtitle {
  font-size: 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-shadow:
    0 1px 2px  rgba(0,0,0,1),
    0 2px 8px  rgba(0,0,0,1),
    0 4px 20px rgba(0,0,0,0.90),
    0 8px 32px rgba(0,0,0,0.75);
  max-width: 560px;
  margin: 0 auto 0;
}

/* Hero text — no card, just floating text on the photo */
.gateway-section .hero-text-block {
  display: block;
  width: 100%;
  padding: 0 1rem 0.6rem;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
}
.gateway-section .hero-text-block::before { display: none; }

/* Zahan Store® — solid logo blue, tight shadow, no blob */
.gateway-section .grad-text {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #5b8dee;
  background-clip: unset;
  color: #5b8dee;
  filter: none;
  position: relative;
  display: inline-block;
  text-shadow:
    0 1px 2px  rgba(0,0,0,1),
    0 2px 8px  rgba(0,0,0,0.90),
    0 4px 16px rgba(0,0,0,0.70);
}
.gateway-section .grad-text::after { display: none; }

/* Badge on hero — only the top "Est. 1996" badge, NOT card badges */
.gateway-section > .container > .hero-text-block .platform-badge {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.40);
  color: #fff;
  backdrop-filter: blur(8px);
}

/* Card badges in hero: always readable — solid accent style */
.gateway-card .platform-badge {
  background: rgba(91,141,238,0.18);
  border-color: rgba(91,141,238,0.45);
  color: #a8c8ff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Light mode card badges: same as dark mode — card is dark glass */
body.light-mode .gateway-card .platform-badge {
  background: rgba(91,141,238,0.18);
  border-color: rgba(91,141,238,0.45);
  color: #a8c8ff;
}

.gateway-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
}

/* Each card takes exactly half the row minus the gap */
.gateway-options .gateway-card {
  flex: 1 1 calc(50% - 8px);
  max-width: calc(50% - 8px);
}

.gateway-card {
  background: rgba(10, 13, 28, 0.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.4rem 0.8rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

/* Light mode: hero-text-block matches light gateway-card */
/* Light mode hero text: no card in either mode */
body.light-mode .gateway-section .hero-text-block {
  background: none;
  border: none;
  box-shadow: none;
}

/* Light mode gateway cards: stay dark — they live on a photo, not a page */
body.light-mode .gateway-card {
  background: rgba(6, 8, 20, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

.gateway-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-subtle);
  opacity: 0;
  transition: var(--transition);
}

.gateway-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.35);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Crispy outline buttons inside hero cards */
.gateway-card .btn-primary {
  margin-top: 0.75rem;
  background: linear-gradient(var(--bg-dark, #0b0d17), var(--bg-dark, #0b0d17)) padding-box,
              linear-gradient(135deg, #93d4ff 0%, #c4a8ff 50%, #f0a0ff 100%) border-box;
  border: 2px solid transparent;
  color: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 16px rgba(160,130,255,0.20);
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gateway-card .btn-primary:hover {
  background: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)) padding-box,
              linear-gradient(135deg, #93d4ff 0%, #c4a8ff 50%, #f0a0ff 100%) border-box;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 28px rgba(160,130,255,0.35);
  transform: translateY(-2px);
}
.gateway-card:hover::before { opacity: 1; }

.gateway-card > * { position: relative; z-index: 1; }
.gateway-card h2 { font-size: 1.3rem; margin-bottom: 0.15rem; color: #ffffff; text-shadow: 0 2px 12px rgba(0,0,0,1), 0 4px 24px rgba(0,0,0,0.7); }
.gateway-card .region {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.90);
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.8);
}
.gateway-card p { font-size: 0.82rem; margin-bottom: 0.6rem; color: #ffffff; text-shadow: 0 1px 8px rgba(0,0,0,1), 0 3px 16px rgba(0,0,0,0.8); }

/* Light mode cards: white text — cards are dark glass on a photo */
body.light-mode .gateway-card h2    { color: #ffffff; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
body.light-mode .gateway-card .region { color: rgba(255,255,255,0.55); }
body.light-mode .gateway-card p     { color: #ffffff; text-shadow: 0 1px 8px rgba(0,0,0,0.65); }
.platform-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--grad-subtle);
  color: var(--accent);
  border: 1px solid rgba(91,141,238,0.3);
  margin-bottom: 1.25rem;
}

/* ── ABOUT ── */
.about-card { }
.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.about-text { flex: 1 1 300px; }
.about-text ul { margin: 1rem 0; }
.about-text li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.about-text li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  margin-top: 8px;
}
.about-image { flex: 1 1 300px; position: relative; }
.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 360px;
  filter: brightness(0.88) contrast(1.02);
  transition: var(--transition);
}
body.light-mode .about-image img {
  filter: brightness(1) contrast(1);
}
.brand-story {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.brand-story h3 { color: var(--accent); margin-bottom: 1rem; }

/* ── MANIFESTO ── */
.manifesto-card { }
.manifesto-content {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 10px;
}
.manifesto-content::-webkit-scrollbar { width: 4px; }
.manifesto-content::-webkit-scrollbar-track { background: var(--border); border-radius: 4px; }
.manifesto-content::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.manifesto-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}
.manifesto-content p, .manifesto-content li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.manifesto-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.manifesto-content strong { color: var(--text); font-weight: 600; }

/* ── FEATURES ── */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--transition);
}

.feature:hover {
  border-color: var(--accent);
  background: var(--grad-subtle);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--grad-subtle);
  border: 1px solid rgba(91,141,238,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: var(--accent);
  transition: var(--transition);
}

.feature:hover .feature-icon {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(91,141,238,0.4);
}

.feature i { font-size: 1.4rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.feature h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.88rem; }

/* ── TRUST ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.trust-item:hover { border-color: var(--accent2); transform: translateY(-3px); }
.trust-item i {
  font-size: 1.8rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: block;
}
.trust-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.88rem; }

/* ── TESTIMONIALS ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: var(--font-head);
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
}
.testimonial-card:hover { border-color: var(--border-light); transform: translateY(-3px); }
.testimonial-text p { font-size: 0.93rem; line-height: 1.7; font-style: italic; color: var(--text-muted); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-details h4 { font-size: 0.9rem; margin-bottom: 2px; }
.author-details p { font-size: 0.78rem; color: var(--accent); }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.newsletter-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-content h2 { margin-bottom: 0.75rem; }
.newsletter-content p { margin-bottom: 2rem; }

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1 1 250px;
  padding: 13px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-dim); }
.newsletter-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,141,238,0.15); }
.newsletter-form button { }

/* ── CONTACT ── */
.contact-section { }
.contact-section h2 { margin-bottom: 0.75rem; }
.contact-section > .container > p { margin-bottom: 2rem; }

.contact-form-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,141,238,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.cta-button[type="submit"],
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-message {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.form-message.success { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3); color: #34d399; }
.form-message.error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul { }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.social-list {
  display: flex;
  gap: 12px;
  margin-top: 0.75rem;
}
.social-list a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--border);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-list a:hover {
  background: var(--grad-subtle);
  color: var(--accent);
  border-color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.payment-icons {
  display: flex;
  gap: 14px;
  font-size: 1.75rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.heart { color: #e25555; }

/* ── POLICY / STATIC PAGES ── */
.page-hero {
  background: var(--grad-hero);
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 4px 14px;
  border: 1px solid rgba(91,141,238,0.3);
  border-radius: 100px;
  background: rgba(91,141,238,0.08);
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.page-hero p { color: var(--text-muted); margin-top: 0.5rem; font-size: 0.95rem; }
/* Page-specific hero backgrounds — dark overlay layered on photo for readability */
.contact-page  .page-hero { background-image: linear-gradient(rgba(11,13,23,0.62), rgba(11,13,23,0.62)), url('images/brand/contact.jpeg');  background-size: cover; background-position: center; }
.legal-page    .page-hero { background-image: linear-gradient(rgba(11,13,23,0.62), rgba(11,13,23,0.62)), url('images/brand/legal.jpeg');    background-size: cover; background-position: center; }
.faq-page      .page-hero { background-image: linear-gradient(rgba(11,13,23,0.62), rgba(11,13,23,0.62)), url('images/brand/faq.jpeg');      background-size: cover; background-position: center; }

/* Force readable text over photo heroes regardless of light/dark mode */
.contact-page .page-hero h1,
.legal-page   .page-hero h1,
.faq-page     .page-hero h1 { color: #eef0f8; }

.contact-page .page-hero p,
.legal-page   .page-hero p,
.faq-page     .page-hero p  { color: rgba(238,240,248,0.72); }

/* Eyebrow pills on photo heroes — brighter background + white text for contrast */
.contact-page .page-hero .eyebrow,
.legal-page   .page-hero .eyebrow,
.faq-page     .page-hero .eyebrow {
  color: #fff;
  background: rgba(91,141,238,0.45);
  border-color: rgba(255,255,255,0.35);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}


.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.policy-content h2 {
  font-size: 1.3rem;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.policy-content h3 {
  font-size: 1rem;
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

.policy-content p, .policy-content li {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.policy-content ul, .policy-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0.2rem;
}

.policy-content ul li { list-style: disc; }
.policy-content ol li { list-style: decimal; }

.policy-content strong { color: var(--text); font-weight: 600; }

.policy-content a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(91,141,238,0.4); }

.policy-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 2rem;
}

/* Contact page specific grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info { }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 2rem;
}
.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--grad-subtle);
  border: 1px solid rgba(91,141,238,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.88rem; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

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

  .nav-links {
    display: flex;
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    background: var(--bg);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    transition: left 0.3s ease;
    z-index: 1100;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 4px;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  }

  .nav-links.active { left: 0; }

  .nav-links li { width: 100%; }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-top: 4px;
    padding: 4px;
  }

  .mobile-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    width: 100%;
  }

  .hamburger { display: flex; }

  section { padding: 60px 0; }

  .about-content { flex-direction: column; }
  .about-image img { max-height: 280px; }

  .gateway-section { padding: 100px 0 60px; min-height: auto; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .social-list { justify-content: center; }

  .card { padding: 1.5rem; }
  .contact-form-container { padding: 1.75rem; }

  /* Gateway cards: back to stacked on mobile */
  .gateway-options .gateway-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Testimonials — single column, no overflow */
  .testimonial-grid {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .testimonial-card {
    padding: 1.25rem;
    width: 100%;
    max-width: 100%;
  }
  .testimonials .card {
    padding: 1.25rem;
    overflow: hidden;
  }

  .policy-content { padding: 40px 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .gateway-options { gap: 16px; }
  .gateway-card { padding: 1.5rem; }
  .features-container { grid-template-columns: repeat(2, 1fr); }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }
.fade-up-delay-4 { animation-delay: 0.4s; }

/* ── LIGHT MODE — additional overrides for hardcoded dark backgrounds ── */
body.light-mode .col-chapter-text          { background: #0f1120; }
body.light-mode .col-chapter-visual        { filter: brightness(1.15); }
body.light-mode footer                     { background: var(--surface); }
body.light-mode .footer-col a              { color: var(--text-muted); }
body.light-mode .footer-bottom p           { color: var(--text-muted); }
body.light-mode .payment-icons             { color: var(--text-muted); }
body.light-mode .dropdown-content         { background: var(--card); border-color: var(--border-light); }
body.light-mode .dropdown-content a:hover { background: var(--card-hover); }
body.light-mode .mode-toggle               { background: var(--card); border-color: var(--border-light); color: var(--text-muted); }

