/* ============================================
   TrustBridge — Premium Luxury Escrow Website
   ============================================ */

:root {
  /* ── Brand Palette ── */
  --bg: #050505;            /* Premium Black */
  --bg-secondary: #0D0D0D;  /* Soft Black */
  --graphite: #1A1A1A;      /* Graphite */
  --gold: #D4AF37;          /* Primary Gold */
  --gold-deep: #B8891F;     /* Deep Gold */
  --gold-soft: #E8C96B;     /* Champagne Gold */
  --warm-white: #F7F5F0;    /* Warm White */
  --white: #F7F5F0;
  --gray: #8A8A8A;          /* Muted Gray */
  --gray-dim: #5A5A5A;

  /* ── Derived ── */
  --border: rgba(212, 175, 55, 0.22);
  --border-soft: rgba(255, 255, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.025);
  --gold-grad: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  --gold-glow: 0 0 24px rgba(212, 175, 55, 0.35), 0 0 48px rgba(212, 175, 55, 0.12);
  --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.08);

  /* ── Typography ── */
  --font-head: 'Cinzel', serif;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* ── Motion ── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Radii ── */
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), #8a6c1c); border-radius: 10px; }

/* ============== TYPOGRAPHY ============== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 600;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gray);
  font-style: italic;
  max-width: 560px;
}

.section-text {
  color: var(--gray);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 540px;
}

.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
  padding-left: 28px;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.eyebrow.center { padding-left: 0; }
.eyebrow.center::before { display: none; }

.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header { margin-bottom: 64px; }
.section-header.reveal { display: flex; flex-direction: column; align-items: center; }

section { position: relative; padding: 130px 0; }

/* ============== BACKGROUND LAYERS ============== */

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============== PRELOADER ============== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-mark {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-track {
  fill: none;
  stroke: rgba(212, 175, 55, 0.15);
  stroke-width: 1.5;
}

.ring-progress {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: ringLoad 1.8s var(--ease) forwards infinite;
}

@keyframes ringLoad {
  0% { stroke-dashoffset: 264; }
  60%, 100% { stroke-dashoffset: 30; }
}

.preloader-letter {
  position: absolute;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gold-soft);
}

/* Preloader — logo with transparent bg, no blend mode needed */
.preloader-logo-img {
  position: absolute;
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.6));
  animation: logoGlow 2.5s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from { filter: drop-shadow(0 0 12px rgba(212,175,55,0.50)); }
  to   { filter: drop-shadow(0 0 28px rgba(232,201,107,0.9)); }
}

.preloader-text {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  color: var(--gray);
}

/* ============== NAVIGATION ============== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 26px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.5s var(--ease);
}

.nav.scrolled {
  padding: 16px 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── Logo anchor ──────────────────────────────────────────────
   Clean flex container — no blend-mode hacks needed, the new PNG
   has a transparent background so it blends naturally.            */
.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}

.logo:hover { opacity: 0.9; }

/* TB monogram — transparent PNG, sized by height to preserve the
   natural 3:2 aspect ratio (612×408). No mix-blend-mode needed.  */
.logo-img {
  height: 44px;           /* natural 3:2 → ~66px wide */
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.30));
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 14px rgba(232, 201, 107, 0.60));
  transform: scale(1.04);
}

/* .logo-img-glow kept as a no-op for backwards compatibility */
.logo-img-glow { display: none; }

/* Fallback text mark (kept for backwards compat) */
.logo-mark {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.logo-mark-accent { color: var(--gold); }

.logo-text {
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  color: var(--warm-white);
}

.logo-text span { color: var(--gold-soft); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--gray);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-grad);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
  transition: width 0.35s var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold-soft); }

/* ---- Nav Dropdowns ---- */

.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--gray);
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.3s var(--ease);
}

.nav-dropdown-toggle:hover { color: var(--white); }
.nav-dropdown-toggle.active { color: var(--gold-soft); }

.nav-dropdown-caret {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 210px;
  background: rgba(8, 8, 8, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 1100;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu .nav-link {
  display: block;
  padding: 11px 16px;
  font-size: 0.88rem;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-dropdown-menu .nav-link::after { display: none; }
.nav-dropdown-menu .nav-link:hover { background: rgba(212, 175, 55, 0.08); color: var(--white); }
.nav-dropdown-menu .nav-link.active { background: rgba(212, 175, 55, 0.12); }

.nav-left { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* ---- Language Switcher ---- */

.lang-switcher { position: relative; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px;
  color: var(--gray);
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12);
}

.lang-flag { font-size: 0.95rem; line-height: 1; flex-shrink: 0; }

.lang-current { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; }

.lang-caret { width: 11px; height: 11px; transition: transform 0.3s var(--ease); flex-shrink: 0; }

.lang-switcher.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  background: rgba(8, 8, 8, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 1100;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.lang-option .lang-flag { font-size: 1.05rem; }

.lang-option:hover { background: rgba(212, 175, 55, 0.08); color: var(--white); }
.lang-option.active { color: var(--gold-soft); background: rgba(212, 175, 55, 0.12); }
.lang-option.active::after {
  content: '✓';
  margin-left: auto;
  color: var(--gold);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

/* ---- VIP Mobile Menu ---- */

@media (max-width: 1240px) {
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 0;
    padding: 120px 40px 60px;
    gap: 4px;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.mobile-open::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gold-grad);
    opacity: 0.4;
  }

  .nav-links.mobile-open > .nav-link {
    font-family: var(--font-head);
    font-size: 1.5rem;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-soft);
    color: var(--white);
    opacity: 0;
    transform: translateY(14px);
    animation: navLinkIn 0.5s var(--ease) forwards;
  }

  .nav-links.mobile-open .nav-link.active { color: var(--gold-soft); }
  .nav-links.mobile-open .nav-link::after { display: none; }

  /* Dropdown groups flatten into categorized sections on mobile */
  .nav-links.mobile-open .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
    opacity: 0;
    transform: translateY(14px);
    animation: navLinkIn 0.5s var(--ease) forwards;
  }

  .nav-links.mobile-open > .nav-link:nth-child(1) { animation-delay: 0.05s; }
  .nav-links.mobile-open .nav-dropdown:nth-child(2) { animation-delay: 0.12s; }
  .nav-links.mobile-open .nav-dropdown:nth-child(3) { animation-delay: 0.19s; }
  .nav-links.mobile-open .nav-dropdown:nth-child(4) { animation-delay: 0.26s; }

  .nav-links.mobile-open .nav-dropdown-toggle {
    width: 100%;
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--white);
    padding: 18px 0 10px;
    cursor: default;
  }

  .nav-links.mobile-open .nav-dropdown-caret { display: none; }

  .nav-links.mobile-open .nav-dropdown-menu {
    position: static;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 0 14px 18px;
    min-width: 0;
  }

  .nav-links.mobile-open .nav-dropdown-menu .nav-link {
    font-family: var(--font-body);
    font-size: 1.05rem;
    padding: 10px 0;
    border-radius: 0;
  }

  .nav-links.mobile-open .nav-dropdown-menu .nav-link:hover { background: none; }
}

@keyframes navLinkIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============== BUTTONS ============== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}

.btn span { position: relative; z-index: 2; }

.btn-lg { padding: 17px 38px; font-size: 0.98rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

.btn-gold {
  background: var(--gold-grad);
  color: #050505;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.3), 0 0 0 0 rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(212, 175, 55, 0.5), 0 0 28px rgba(212, 175, 55, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--warm-white);
  border: 1px solid rgba(232, 201, 107, 0.28);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
}

/* Premium CTA — "Open Your First Escrow" */
.btn-dark {
  background: var(--gold-grad);
  color: #050505;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
  animation: ctaPulse 3s ease-in-out infinite;
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(212, 175, 55, 0.55), 0 0 30px rgba(232, 201, 107, 0.3);
  animation: none;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35), 0 0 0 0 rgba(212, 175, 55, 0.3); }
  50%       { box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5),  0 0 0 8px rgba(212, 175, 55, 0); }
}

.shimmer {
  background-size: 250% 100%;
  animation: shimmerMove 3.5s linear infinite;
}

@keyframes shimmerMove {
  0% { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}

.shimmer { background-image: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold-soft) 18%, var(--gold) 36%, var(--gold-deep) 55%, var(--gold-soft) 72%, var(--gold-deep) 100%); }

/* ============== HERO ============== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 60px;
  z-index: 2;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 10%, transparent 70%);
  z-index: -1;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

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

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.1;
  margin-bottom: 26px;
  font-weight: 600;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-style: italic;
  color: var(--gray);
  max-width: 540px;
  margin-bottom: 42px;
  line-height: 1.55;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stats-3 {
  gap: 36px;
}

.hero-stat { display: flex; flex-direction: column; gap: 4px; }

.hero-stat-number, .hero-stat-number-static {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-soft);
}

/* ---- Vault Visual ---- */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.vault {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.vault-ring-1 { width: 100%; height: 100%; animation: spinSlow 60s linear infinite; }
.vault-ring-2 { width: 82%; height: 82%; border-color: rgba(212,175,55,0.12); animation: spinSlow 45s linear infinite reverse; }
.vault-ring-3 { width: 64%; height: 64%; border-color: rgba(212,175,55,0.22); animation: spinSlow 30s linear infinite; }

@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.vault-door {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1a1a1a, #050505 70%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 30px 80px rgba(212, 175, 55, 0.12),
    inset 0 0 60px rgba(212, 175, 55, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-spokes {
  position: absolute;
  inset: 0;
  animation: spinSlow 50s linear infinite;
}

.vault-spokes span {
  position: absolute;
  top: 50%; left: 50%;
  width: 1px;
  height: 50%;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 70%);
  opacity: 0.35;
  transform-origin: top center;
}

.vault-spokes span:nth-child(1) { transform: rotate(0deg); }
.vault-spokes span:nth-child(2) { transform: rotate(45deg); }
.vault-spokes span:nth-child(3) { transform: rotate(90deg); }
.vault-spokes span:nth-child(4) { transform: rotate(135deg); }
.vault-spokes span:nth-child(5) { transform: rotate(180deg); }
.vault-spokes span:nth-child(6) { transform: rotate(225deg); }
.vault-spokes span:nth-child(7) { transform: rotate(270deg); }
.vault-spokes span:nth-child(8) { transform: rotate(315deg); }

.vault-center {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.45);
  animation: pulseGlow 3.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.35); }
  50% { box-shadow: 0 0 70px rgba(212, 175, 55, 0.55); }
}

.vault-lock-icon { width: 38px; height: 38px; fill: #050505; }

.vault-orbit-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 12px var(--gold);
}

.dot-1 { top: 4%; left: 50%; animation: orbit1 14s linear infinite; }
.dot-2 { top: 50%; left: 96%; animation: orbit1 18s linear infinite reverse; }
.dot-3 { top: 90%; left: 20%; animation: orbit1 22s linear infinite; }

@keyframes orbit1 {
  from { transform: rotate(0deg) translateX(180px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}

.vault-pedestal {
  position: absolute;
  bottom: 10px;
  width: 280px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.16) 0%, transparent 75%);
  filter: blur(8px);
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray-dim);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: var(--border-soft);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  position: absolute;
  top: -10px;
  left: 0;
  width: 1px;
  height: 14px;
  background: var(--gold);
  animation: scrollMove 2.2s ease-in-out infinite;
}

@keyframes scrollMove {
  0% { top: -14px; }
  100% { top: 44px; }
}

/* ============== GLASS CARD BASE ============== */

.glass {
  background: var(--glass);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ============== ABOUT ============== */

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

.about-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-frame-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
  filter: blur(20px);
}

.about-illustration { width: 78%; }

.about-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.about-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.point-number {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.about-point h4 { font-size: 1.05rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.about-point p { color: var(--gray); font-size: 0.97rem; line-height: 1.65; max-width: 420px; }

/* ============== HOW IT WORKS ============== */

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

.how-line {
  position: absolute;
  top: 96px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--border-soft);
  z-index: 0;
}

.how-line-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-grad);
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
  transition: width 2s var(--ease);
}

.how-line.in-view .how-line-fill { width: 100%; }

.how-card {
  position: relative;
  z-index: 1;
  background: var(--glass);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 38px 28px;
  backdrop-filter: blur(16px);
  transition: all 0.45s var(--ease);
}

.how-card:hover {
  transform: translateY(-8px);
  border-color: var(--border);
  box-shadow: var(--card-shadow);
}

.how-step {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.how-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 22px;
}

.how-icon svg { width: 22px; height: 22px; fill: var(--gold-soft); }

.how-card h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 10px; }
.how-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.65; }

/* ============== WHY TRUSTBRIDGE ============== */

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

.why-card {
  padding: 32px 26px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
  transition: all 0.4s var(--ease);
}

.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-7px);
  box-shadow: var(--card-shadow);
}

.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.04));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg { width: 20px; height: 20px; fill: var(--gold-soft); }
.why-icon svg.icon-stroke { fill: none; stroke: var(--gold-soft); color: var(--gold-soft); }

.why-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.why-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.65; }

/* ============== SECURITY ============== */

.security {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-card {
  padding: 38px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(160deg, rgba(212,175,55,0.04), transparent 60%);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.security-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold-grad);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.security-card:hover {
  border-color: var(--gold);
  transform: translateY(-7px);
  box-shadow: var(--card-shadow);
}

.security-card:hover::before { opacity: 1; }

.security-index {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 18px;
}

.security-card h4 { font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; }
.security-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.65; }

/* ============== STATISTICS ============== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-block {
  padding: 50px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background: var(--glass);
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--gray);
  text-transform: uppercase;
}

/* ============== FAQ ============== */

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(212,175,55,0.02);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.open .faq-icon { transform: rotate(135deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  padding: 0 28px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 28px 26px;
}

.faq-answer p { color: var(--gray); font-size: 0.98rem; line-height: 1.75; }

/* ============== FINAL CTA ============== */

.final-cta {
  background: linear-gradient(135deg, #1a1404 0%, #050505 55%, #1a1404 100%);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,175,55,0.18), transparent 70%);
}

.final-cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}

.final-cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 520px;
}

/* ============== CONTACT POPUP ============== */

.contact-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.contact-popup-overlay.open {
  opacity: 1;
  visibility: visible;
}

.contact-popup {
  position: relative;
  background: #080808;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 60px rgba(212,175,55,0.1);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.45s var(--ease);
}

.contact-popup-overlay.open .contact-popup {
  transform: translateY(0) scale(1);
}

.contact-popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--gray-dim);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

html[dir="rtl"] .contact-popup-close { right: auto; left: 20px; }

.contact-popup-close:hover { color: var(--gold-soft); }

/* Popup logo — transparent PNG shown at natural 3:2 ratio,
   no forced-square container, no black background           */
.contact-popup-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-popup-logo img {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.50));
}

.contact-popup-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.contact-popup-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 32px;
}

.contact-popup-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-popup-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.contact-popup-btn:hover {
  border-color: var(--border);
  background: rgba(212,175,55,0.08);
  color: var(--gold-soft);
  transform: translateX(4px);
}

html[dir="rtl"] .contact-popup-btn:hover { transform: translateX(-4px); }

.cpb-icon { width: 22px; height: 22px; flex-shrink: 0; }

.contact-popup-btn-x:hover { border-color: rgba(255,255,255,0.2); }
.contact-popup-btn-tg:hover { border-color: rgba(37,154,255,0.4); }
.contact-popup-btn-wa:hover { border-color: rgba(37,211,102,0.45); color: #25d366; }
.contact-popup-btn-email:hover { border-color: var(--border); }

.cpb-email-addr {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.02em;
}

html[dir="rtl"] .cpb-email-addr { margin-left: 0; margin-right: auto; }

@media (max-width: 480px) {
  .contact-popup { padding: 36px 24px; }
  .contact-popup-title { font-size: 1.3rem; }
  .cpb-email-addr { display: none; }
}

/* ============== FOOTER ============== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  padding-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

/* Footer logo slightly larger than navbar */
.footer-brand .logo-img { height: 48px; }
.footer-brand .logo { margin-bottom: 4px; }

.footer-brand p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 16px 0 26px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 14px; }

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.footer-social svg { width: 16px; height: 16px; fill: var(--gray); }

.footer-social a:hover { border-color: var(--gold); }
.footer-social a:hover svg { fill: var(--gold-soft); }

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h5 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer-col a { color: var(--gray); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid var(--border-soft); padding: 26px 0; }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-dim);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-tag { font-family: var(--font-display); font-style: italic; }

/* ============== SCROLL REVEAL ============== */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Cinematic hero entrance */
.hero-text.reveal { transition-delay: 0.1s; }
.hero-visual.reveal { transition-delay: 0.35s; transform: translateY(36px) scale(0.96); }
.hero-visual.reveal.in-view { transform: translateY(0) scale(1); }

/* Gold divider between major sections */
section + section {
  position: relative;
}

section + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.35), transparent);
}

/* ============== RESPONSIVE ============== */

@media (max-width: 1240px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 1080px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; order: -1; }
  .vault { width: 260px; height: 260px; }
  .vault-door { width: 180px; height: 180px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .how-track { grid-template-columns: repeat(2, 1fr); }
  .how-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 14px; }
  .nav-left { gap: 10px; }
  .lang-toggle { padding: 7px; gap: 0; }
  .lang-current, .lang-caret { display: none; }
  .logo-text { font-size: 0.72rem; }
  .logo-img { height: 36px; }
  .logo { gap: 6px; }
  .nav-actions { gap: 8px; }
  .btn-sm { padding: 8px 13px; font-size: 0.68rem; }
  .nav-toggle { padding: 4px; }
  section { padding: 90px 0; }
  .hero { padding-top: 110px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 18px; }
  .hero-stat-divider { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .how-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .container { padding: 0 22px; }
}

/* ============== MARKETS ============== */

.markets-statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin-bottom: 56px;
}

.markets-statement-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  opacity: 0.85;
}

.markets-statement p {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.markets-stats { margin-top: 0; }

/* ============== WHO BENEFITS ============== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 20px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
  text-align: center;
  font-size: 0.97rem;
  font-weight: 500;
  transition: all 0.4s var(--ease);
}

.benefit-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(212, 175, 55, 0.1);
}

.benefit-icon {
  width: 30px;
  height: 30px;
  fill: var(--gold-soft);
}

.benefit-icon.icon-stroke { fill: none; stroke: var(--gold-soft); }

@media (max-width: 1080px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ============== WHY CHOOSE / CHECKLIST ============== */

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 26px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--border-soft);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
  transition: all 0.35s var(--ease);
}

.checklist-item:hover { border-color: var(--border); background: rgba(212, 175, 55, 0.04); }

.checklist-mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-grad);
  color: #050505;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .checklist-grid { grid-template-columns: 1fr; }
}

/* ============== OUR COMMITMENT ============== */

.commitment { background: var(--bg-secondary); }

.commitment-inner .section-subtitle.center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.commitment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.commitment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(212, 175, 55, 0.04);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.35s var(--ease);
}

.commitment-item:hover { background: rgba(212, 175, 55, 0.1); transform: translateY(-3px); }

/* ============== BUILT ON TRUST / VALUES ============== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 40px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.05), transparent 60%);
  text-align: center;
  transition: all 0.4s var(--ease);
}

.value-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
}

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--gold-soft);
}

.value-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 1080px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============== EXPERIENCE BADGE ============== */

.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(212, 175, 55, 0.06);
  margin-bottom: 32px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.experience-badge-icon {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* ============== TEAM SECTION ============== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

.team-card {
  padding: 48px 36px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
  text-align: center;
  transition: all 0.4s var(--ease);
}

.team-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.08);
}

.team-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #050505;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}

.team-avatar-photo {
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--gold);
  background: #0a0a0a;
}

.team-name { font-size: 1.2rem; margin-bottom: 6px; }

.team-title {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.team-bio { color: var(--gray); font-size: 0.97rem; line-height: 1.75; }

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; max-width: 380px; }
}

/* ============== CUSTOMER REVIEWS ============== */

.reviews-section { padding-top: 40px; overflow-x: hidden; }

/* ---- Reviews carousel ---- */

.reviews-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 64px;
  max-width: 1600px;
  margin: 48px auto 32px;
  overflow-x: hidden;
}

.reviews-viewport {
  flex: 1;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

.reviews-track.is-static {
  flex-wrap: wrap;
  justify-content: center;
  transform: none !important;
  width: auto !important;
}

.reviews-empty {
  text-align: center;
  color: var(--gray);
  font-style: italic;
  padding: 32px 24px;
  width: 100%;
}

.reviews-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  z-index: 2;
}

.reviews-arrow:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.reviews-arrow svg { width: 22px; height: 22px; }

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 32px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(212, 175, 55, 0.25);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  padding: 0;
}

.reviews-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 100px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@media (max-width: 900px) {
  .reviews-slider-wrap { padding: 0 48px; }
}

@media (max-width: 600px) {
  .reviews-slider-wrap { padding: 0; gap: 0; }
  .reviews-viewport { width: 100%; }
  .reviews-arrow {
    position: absolute;
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }
  #reviewsPrev { left: 6px; }
  #reviewsNext { right: 6px; }
  .reviews-dots { display: none; }
}

.review-card {
  flex: 0 0 auto;
  box-sizing: border-box;
  flex-basis: 340px;
  max-width: 380px;
  margin: 0 12px;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.review-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.08);
}

.review-card-stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 14px; }

.review-card-comment {
  color: var(--warm-white);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 18px;
  word-break: break-word;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.review-card-name { font-weight: 600; font-size: 0.9rem; color: var(--gold-soft); }
.review-card-date { font-size: 0.78rem; color: var(--gray-dim); }

/* ---- Review form ---- */

.review-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 40px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
}

.review-form-title {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 28px;
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.review-field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }

.review-field label,
.review-rating-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.review-field input[type="text"],
.review-field input[type="email"],
.review-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--warm-white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 13px 16px;
  transition: all 0.35s var(--ease);
  resize: vertical;
}

.review-field input[type="text"]::placeholder,
.review-field input[type="email"]::placeholder,
.review-field textarea::placeholder { color: var(--gray-dim); }

.review-field input[type="text"]:focus,
.review-field input[type="email"]:focus,
.review-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12), 0 0 20px rgba(212, 175, 55, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.review-error {
  min-height: 1em;
  font-size: 0.78rem;
  color: #e0806e;
}

.review-star-rating {
  display: flex;
  gap: 8px;
  font-size: 1.9rem;
  line-height: 1;
}

.review-star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: rgba(212, 175, 55, 0.25);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.review-star:hover { transform: scale(1.12); }

.review-star.filled {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
}

.review-submit-btn { width: 100%; margin-top: 6px; }

.review-form-message {
  min-height: 1.2em;
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
}

.review-form-message.is-success { color: var(--gold-soft); }
.review-form-message.is-error { color: #e0806e; }

@media (max-width: 640px) {
  .review-form-row { grid-template-columns: 1fr; }
  .review-form-wrap { padding: 32px 22px; }
}

/* ============== RTL (Arabic) ============== */

html[dir="rtl"] body { font-family: 'Tajawal', 'Inter', sans-serif; }

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5 {
  font-family: 'Almarai', 'Cinzel', sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .footer-tag {
  font-family: 'Tajawal', 'Cormorant Garamond', sans-serif;
  font-style: normal;
}

html[dir="rtl"] .eyebrow { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .eyebrow::before { left: auto; right: 0; }
html[dir="rtl"] .eyebrow.center { padding-right: 0; }
html[dir="rtl"] .lang-menu { left: auto; right: 0; }
html[dir="rtl"] .lang-option { text-align: right; }
html[dir="rtl"] .nav-link::after { left: auto; right: 0; }
html[dir="rtl"] .nav-dropdown-menu .nav-link { text-align: right; }
html[dir="rtl"] .review-star-rating { direction: ltr; }

@media (max-width: 1240px) {
  html[dir="rtl"] .nav-links.mobile-open .nav-dropdown-menu {
    padding: 0 18px 14px 0;
  }
}

/* ============== PREMIUM POLISH ============== */

section[id] { scroll-margin-top: 96px; }

.btn-gold, .btn-ghost, .btn-dark {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.btn-gold:active, .btn-ghost:active, .btn-dark:active { transform: translateY(0) scale(0.98); }

.lang-toggle, .nav-link, .footer-social a { will-change: transform; }
/* .logo intentionally excluded — will-change creates a compositing layer
   that would prevent mix-blend-mode on .logo-img from blending against
   the actual page background */

/* Staggered reveal for grid cards */
.why-grid .why-card:nth-child(1), .security-grid .security-card:nth-child(1), .how-track .how-card:nth-child(1) { transition-delay: 0ms; }
.why-grid .why-card:nth-child(2), .security-grid .security-card:nth-child(2), .how-track .how-card:nth-child(2) { transition-delay: 80ms; }
.why-grid .why-card:nth-child(3), .security-grid .security-card:nth-child(3), .how-track .how-card:nth-child(3) { transition-delay: 160ms; }
.why-grid .why-card:nth-child(4), .security-grid .security-card:nth-child(4), .how-track .how-card:nth-child(4) { transition-delay: 240ms; }
.why-grid .why-card:nth-child(5) { transition-delay: 320ms; }
.why-grid .why-card:nth-child(6) { transition-delay: 400ms; }
.why-grid .why-card:nth-child(7) { transition-delay: 480ms; }
.why-grid .why-card:nth-child(8) { transition-delay: 560ms; }

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