/* ==========================================================================
   FOREX MARKET PLACE — LUXURY FINTECH / MOBILE-FIRST DARK (AWWWARDS / APPLE GRADE)
   ========================================================================== */

:root,
[data-theme="swiss-gold"] {
  --theme-id: "swiss-gold";
  --theme-name: "Swiss Private Gold";
  --bg-black: #08090C;
  --bg-dark: #0D0F15;
  --bg-card: #11141D;
  --bg-card-hover: #161A26;
  --bg-glass: rgba(17, 20, 29, 0.85);
  --bg-chip: rgba(212, 175, 55, 0.08);
  --bg-nav: rgba(10, 12, 17, 0.92);

  --border-subtle: rgba(212, 175, 55, 0.16);
  --border-card: rgba(212, 175, 55, 0.22);
  --border-focus: rgba(212, 175, 55, 0.65);

  --gold: #D4AF37;
  --gold-light: #F7E7C4;
  --gold-gradient: linear-gradient(135deg, #FBF0D3 0%, #D4AF37 50%, #94721C 100%);
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-muted: #9E8138;

  --emerald: #10B981;
  --emerald-dim: rgba(16, 185, 129, 0.14);
  --cyan: #38BDF8;
  --violet: #A855F7;

  --text-white: #FFFFFF;
  --text-main: #F4F5F8;
  --text-dim: #9FA6B4;
  --text-muted: #666E7F;

  --hero-glow-1: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  --hero-glow-2: radial-gradient(circle at 10% 40%, rgba(247, 231, 196, 0.05) 0%, transparent 40%);
  --hero-glow-3: radial-gradient(circle at 90% 70%, rgba(212, 175, 55, 0.04) 0%, transparent 40%);
  --card-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.04);
  --btn-primary-bg: linear-gradient(135deg, #FDF3DB 0%, #D4AF37 55%, #94721C 100%);
  --btn-primary-text: #08090C;
  --btn-primary-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);

  --font-display: 'Cinzel', -apple-system, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

[data-theme="cyber-emerald"],
[data-theme="cyber-terminal"] {
  --theme-id: "cyber-emerald";
  --theme-name: "Cyber-Terminal Emerald";
  --bg-black: #020707;
  --bg-dark: #040E0E;
  --bg-card: #071515;
  --bg-card-hover: #0C2020;
  --bg-glass: rgba(7, 21, 21, 0.88);
  --bg-chip: rgba(0, 255, 157, 0.08);
  --bg-nav: rgba(3, 11, 11, 0.95);

  --border-subtle: rgba(0, 255, 157, 0.16);
  --border-card: rgba(0, 255, 157, 0.26);
  --border-focus: rgba(0, 255, 157, 0.7);

  --gold: #00FF9D;
  --gold-light: #80FFCE;
  --gold-gradient: linear-gradient(135deg, #B3FFE3 0%, #00FF9D 50%, #00B36E 100%);
  --gold-glow: rgba(0, 255, 157, 0.35);
  --gold-muted: #00B36E;

  --emerald: #00FF9D;
  --emerald-dim: rgba(0, 255, 157, 0.15);
  --cyan: #00F5FF;
  --violet: #8B5CF6;

  --text-white: #FFFFFF;
  --text-main: #E5FAF2;
  --text-dim: #79AFA0;
  --text-muted: #436D62;

  --hero-glow-1: radial-gradient(circle at 50% 0%, rgba(0, 255, 157, 0.14) 0%, transparent 60%);
  --hero-glow-2: radial-gradient(circle at 10% 40%, rgba(0, 245, 255, 0.07) 0%, transparent 40%);
  --hero-glow-3: radial-gradient(circle at 90% 70%, rgba(0, 255, 157, 0.05) 0%, transparent 40%);
  --card-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 255, 157, 0.08);
  --btn-primary-bg: linear-gradient(135deg, #B3FFE3 0%, #00FF9D 60%, #009E60 100%);
  --btn-primary-text: #01140B;
  --btn-primary-shadow: 0 4px 22px rgba(0, 255, 157, 0.35);
}

[data-theme="hyper-oled"],
[data-theme="nordic-titanium"] {
  --theme-id: "hyper-oled";
  --theme-name: "Hyper-Minimalist OLED";
  --bg-black: #000000;
  --bg-dark: #070709;
  --bg-card: #0D0D11;
  --bg-card-hover: #14141A;
  --bg-glass: rgba(13, 13, 17, 0.9);
  --bg-chip: rgba(255, 255, 255, 0.06);
  --bg-nav: rgba(0, 0, 0, 0.95);

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-card: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(255, 255, 255, 0.6);

  --gold: #FFFFFF;
  --gold-light: #F4F4F5;
  --gold-gradient: linear-gradient(135deg, #FFFFFF 0%, #E4E4E7 50%, #A1A1AA 100%);
  --gold-glow: rgba(255, 255, 255, 0.2);
  --gold-muted: #A1A1AA;

  --emerald: #10B981;
  --emerald-dim: rgba(16, 185, 129, 0.12);
  --cyan: #38BDF8;
  --violet: #A855F7;

  --text-white: #FFFFFF;
  --text-main: #EDEDF0;
  --text-dim: #A1A1AA;
  --text-muted: #52525B;

  --hero-glow-1: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  --hero-glow-2: radial-gradient(circle at 10% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  --hero-glow-3: radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
  --card-shadow: 0 12px 36px -10px rgba(0, 0, 0, 1), 0 0 1px rgba(255, 255, 255, 0.15);
  --btn-primary-bg: #FFFFFF;
  --btn-primary-text: #000000;
  --btn-primary-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

[data-theme="monaco-sapphire"] {
  --theme-id: "monaco-sapphire";
  --theme-name: "Monaco Sovereign Sapphire";
  --bg-black: #040814;
  --bg-dark: #081026;
  --bg-card: #0D1B3E;
  --bg-card-hover: #132655;
  --bg-glass: rgba(13, 27, 62, 0.88);
  --bg-chip: rgba(96, 165, 250, 0.09);
  --bg-nav: rgba(6, 13, 33, 0.94);

  --border-subtle: rgba(147, 197, 253, 0.16);
  --border-card: rgba(96, 165, 250, 0.3);
  --border-focus: rgba(96, 165, 250, 0.7);

  --gold: #60A5FA;
  --gold-light: #BFDBFE;
  --gold-gradient: linear-gradient(135deg, #DBEAFE 0%, #60A5FA 50%, #1D4ED8 100%);
  --gold-glow: rgba(96, 165, 250, 0.35);
  --gold-muted: #3B82F6;

  --emerald: #34D399;
  --emerald-dim: rgba(52, 211, 153, 0.15);
  --cyan: #38BDF8;
  --violet: #818CF8;

  --text-white: #FFFFFF;
  --text-main: #F1F5F9;
  --text-dim: #94A3B8;
  --text-muted: #57657D;

  --hero-glow-1: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  --hero-glow-2: radial-gradient(circle at 10% 40%, rgba(96, 165, 250, 0.08) 0%, transparent 40%);
  --hero-glow-3: radial-gradient(circle at 90% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
  --card-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.8), 0 0 22px rgba(59, 130, 246, 0.1);
  --btn-primary-bg: linear-gradient(135deg, #E0E7FF 0%, #60A5FA 60%, #1D4ED8 100%);
  --btn-primary-text: #050B1A;
  --btn-primary-shadow: 0 4px 22px rgba(59, 130, 246, 0.35);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-black);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Atmosphere */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 0),
    var(--hero-glow-1),
    var(--hero-glow-2),
    var(--hero-glow-3);
  background-size: 32px 32px, 100% 100%, 100% 100%, 100% 100%;
  transition: background 0.4s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TOP SYSTEM BAR & NAVIGATION
   ========================================================================== */
.top-notice {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.badge-gold-mini {
  background: var(--bg-chip);
  color: var(--gold);
  border: 1px solid var(--border-card);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-crest {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-item a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-item a:hover {
  color: var(--text-white);
}

.nav-vps {
  color: var(--gold) !important;
  font-weight: 600 !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-contact-header {
  background: linear-gradient(135deg, #d4af37, #aa8212);
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-contact-header:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.lang-switch {
  display: flex;
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
}

/* ==========================================================================
   HERO SECTION: THE ARCHITECTS
   ========================================================================== */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: 0.03em;
  max-width: 860px;
  margin: 0 auto 1.25rem;
}

.hero-heading .gold-text {
  background: linear-gradient(135deg, #ffffff 40%, #e2c16f 80%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #d4af37, #aa8212);
  color: #040404;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-focus);
}

/* Hero Numbers Grid */
.hero-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.5rem;
}

.num-cell {
  text-align: center;
  position: relative;
}

.num-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.num-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.num-val.gold { color: var(--gold); }
.num-val.emerald { color: var(--emerald); }
.num-val.cyan { color: var(--cyan); }

.num-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ==========================================================================
   B2B CAPABILITIES (CUSTOM DEV ACCORDION / GRID)
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  display: block;
}

.section-head {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.section-subhead {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

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

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.cap-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.cap-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cap-icon {
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
}

.cap-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.cap-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-radius: 4px;
}

.cap-link {
  font-size: 0.82rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   THE ARSENAL: SEARCH & CATALOG
   ========================================================================== */
.arsenal-section {
  padding: 2.5rem 0;
}

.filter-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.search-icon-svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-field {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-field:focus {
  border-color: var(--gold);
}

/* Horizontal scrollable tabs on mobile */
.category-scroll-strip {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-scroll-strip::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.cat-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.cat-chip.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.cat-chip.chip-live.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald);
  color: var(--emerald);
}

.chip-counter {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  color: var(--text-muted);
}

.cat-chip.active .chip-counter {
  color: inherit;
}

/* Secondary Filter Bar */
.secondary-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.type-buttons {
  display: flex;
  gap: 0.4rem;
}

.type-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.type-btn.active {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-subtle);
  color: var(--text-white);
}

/* Products Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Premium Institutional Widget Card */
.product-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  position: relative;
}

.product-item:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
}

/* Visual Cover Widget */
.item-cover-widget {
  height: 94px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.item-cover-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.38;
  transition: opacity 0.3s ease;
}

.product-item:hover .item-cover-svg {
  opacity: 0.75;
}

.item-cover-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.item-cat-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.item-hud-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.item-hud-badge.live-indicator {
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 10px var(--emerald-dim);
}

/* Card Content Body */
.item-body {
  padding: 1.15rem 1.25rem 0.75rem;
  flex: 1;
}

.item-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  font-family: var(--font-sans);
}

.item-tagline {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.item-desc {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.item-features {
  list-style: none;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.25rem;
  border: 1px solid var(--border-subtle);
}

.item-features li {
  font-size: 0.74rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.4;
}

.item-features li::before {
  content: '⚡';
  color: var(--gold);
  font-size: 0.7rem;
}

/* Thumb-Friendly Card Actions (48px Touch Targets) */
.item-footer {
  padding: 0.85rem 1.25rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.15);
}

.btn-item-spec {
  flex: 1;
  min-height: 44px;
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-item-spec:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-focus);
  color: var(--text-white);
}

.btn-item-act {
  flex: 1.2;
  min-height: 44px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--btn-primary-shadow);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-item-act:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-item-act.live {
  background: var(--emerald);
  color: #02140B;
}

/* Pagination bar */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-page-more {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-page-more:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   B2B INTAKE FORM (TOUCH-FRIENDLY & FAST)
   ========================================================================== */
.intake-box {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin: 3rem 0;
}

.intake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.intake-copy h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.intake-copy p {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.intake-bullet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.intake-bullet span.check {
  color: var(--gold);
  font-weight: bold;
}

.intake-form-wrap {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.f-field {
  margin-bottom: 1rem;
}

.f-lbl {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.f-select, .f-text {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.88rem;
  outline: none;
}

.f-select:focus, .f-text:focus {
  border-color: var(--gold);
}

.f-select option {
  background: #111520;
}

.btn-send-tg {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #d4af37, #aa8212);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==========================================================================
   PRODUCT DEEP DIVE MODAL / BOTTOM SHEET (MOBILE PERFECTION)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-sheet {
  background: #0d111a;
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.m-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.m-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.m-tagline {
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.m-block-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 1.25rem 0 0.5rem;
}

.m-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.m-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.m-feat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.m-feat::before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
}

.m-promo {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.84rem;
  color: #fef08a;
}

.m-subprojects {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #e9d5ff;
}

.m-actions {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ==========================================================================
   FOOTER (100% PRESERVED LINKS)
   ========================================================================== */
.site-footer {
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.f-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.f-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.f-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.f-links a:hover {
  color: var(--gold);
}

.footer-cr {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   LIVE FINANCIAL TICKER (BLOOMBERG / SWISS PRIVATE BANKING FEED)
   ========================================================================== */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  user-select: none;
}

.ticker-label {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  margin: 0 0.75rem 0 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-slide 32s linear infinite;
  gap: 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-dim);
}

.ticker-item .sym {
  color: var(--text-white);
  font-weight: 700;
}

.ticker-item .val {
  color: var(--text-main);
}

.ticker-item .up {
  color: var(--emerald);
  font-weight: 600;
}

.ticker-item .down {
  color: #F43F5E;
  font-weight: 600;
}

/* ==========================================================================
   THEME SWITCHER & INTERACTIVE FLOATING UI
   ========================================================================== */
.btn-theme-header {
  background: var(--bg-chip);
  border: 1px solid var(--border-card);
  color: var(--text-white);
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.btn-theme-header:hover {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px var(--gold-glow);
  transform: translateY(-1px);
}

.theme-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  flex-shrink: 0;
}

/* Floating Theme Pill on Mobile (Always within thumb reach) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: var(--bg-nav);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.75);
}

.mbb-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
  min-width: 64px;
  min-height: 48px;
}

.mbb-btn:active {
  transform: scale(0.94);
}

.mbb-btn.active,
.mbb-btn:hover {
  color: var(--gold);
}

.mbb-btn.highlight {
  color: var(--gold);
  position: relative;
}

.mbb-btn.highlight::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}

.mbb-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* Theme Modal / Drawer */
.theme-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.theme-modal-overlay.active {
  display: flex;
}

.theme-modal-sheet {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: 1.75rem;
  box-shadow: var(--card-shadow), 0 24px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.theme-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.theme-modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.theme-card-option {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  position: relative;
  user-select: none;
}

.theme-card-option:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.theme-card-option.active {
  border-color: var(--gold);
  background: var(--bg-chip);
  box-shadow: 0 0 20px var(--gold-glow);
}

.theme-card-option.active::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold);
}

.theme-preview-palette {
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.t-swatch {
  flex: 1;
  height: 100%;
}

.theme-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.theme-card-subtitle {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.35;
}

/* ==========================================================================
   MOBILE RESPONSIVE BREAKPOINTS (ANDROID & IPHONE OPTIMIZATION)
   ========================================================================== */
@media (max-width: 900px) {
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .intake-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 74px; /* Room for mobile bottom bar */
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .nav-links-desktop { display: none; }
  .hero { padding: 2rem 0 1.5rem; }
  .hero-numbers { grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 1rem 0.5rem; }
  .num-cell:nth-child(2)::after { display: none; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; gap: 1.75rem; }
  .m-features { grid-template-columns: 1fr; }
  .modal-sheet { padding: 1.25rem; }
  .modal-overlay { padding: 0.5rem; align-items: flex-end; }
  .modal-sheet { max-height: 92vh; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .top-notice { display: none; }
  .theme-options-grid { grid-template-columns: 1fr; }
  .theme-modal-sheet { padding: 1.25rem; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
  .theme-modal-overlay { align-items: flex-end; padding: 0; }
}

/* APIFY ACTORS MODAL IN EMERALD LUXE */
.m-apify-actors {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.apify-em-title h4 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}
.apify-em-title p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.apify-em-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.75rem;
}
.apify-em-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-size: 0.85rem;
}
.apify-em-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.apify-em-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.apify-em-pill:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
}
.apify-em-pill.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
  font-weight: 600;
}
.apify-em-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}
.apify-em-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.apify-em-card:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}
.apify-em-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}
.apify-em-cat {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.apify-em-slug {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.apify-em-card h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
  line-height: 1.3;
}
.apify-em-card p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}
.apify-em-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}
.apify-em-ready {
  font-size: 0.68rem;
  color: var(--emerald);
}
.apify-em-order {
  font-size: 0.75rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.1);
}
.apify-em-order:hover {
  background: rgba(212, 175, 55, 0.2);
}

