/*
Theme Name: eGaming Monitor
Theme URI: https://egamingmonitor.com
Author: eGaming Monitor
Description: Official eGaming Monitor WordPress theme — iGaming Market Data and Analytics
Version: 1.0.0
Text Domain: egaming-monitor
*/

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

:root {
  --black:        #000000;
  --black-soft:   #111111;
  --black-card:   #1a1a1a;
  --dark:         #222222;
  --white:        #ffffff;
  --off-white:    #f7f7f7;
  --light-gray:   #f0f0f0;
  --border:       #e2e2e2;
  --border-dark:  rgba(255,255,255,0.08);
  --text:         #111111;
  --text-2:       #555555;
  --text-3:       #888888;
  --text-light:   #cccccc;
  --blue:         #1666cc;
  --blue-h:       #1258b5;
  --blue-light:   #4a9ef5;
  --blue-pale:    #e8f1fc;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --r: 8px;
  --rl: 12px;
  --ease: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  animation: pageEnter 0.35s ease both;
}

body.page-exit { animation: pageExit 0.28s ease forwards; pointer-events: none; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   PAGE TRANSITIONS & KEYFRAMES
============================================================ */
@keyframes pageEnter { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageExit  { from { opacity: 1; } to { opacity: 0; } }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes lineGrow {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

@keyframes dotPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes dotDrift {
  from { background-position: 0 0; }
  to   { background-position: 30px 30px; }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,158,245,0); }
  50%       { box-shadow: 0 0 16px 5px rgba(74,158,245,0.18); }
}

@keyframes cursorGlowFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  z-index: 9999;
  pointer-events: none;
  will-change: width;
}

/* ============================================================
   SCROLL ANIMATION SYSTEM
============================================================ */
[data-anim] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-anim="left"]  { transform: translateX(-26px); }
[data-anim="right"] { transform: translateX(26px); }
[data-anim="fade"]  { transform: none; }
[data-anim="scale"] { transform: scale(0.94); }
[data-anim="up"]    { transform: translateY(26px); }

[data-anim].anim-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   LOGO
============================================================ */
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.site-logo-img {
  height: 55px;
  width: auto;
  display: block;
}

.footer-logo { display: inline-flex; margin-bottom: 14px; }
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6)) drop-shadow(0 0 2px rgba(255,255,255,0.9));
  opacity: 0.92;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-h);
  border-color: var(--blue-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,102,204,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-sm  { padding: 8px 18px; font-size: 13px; }
.btn-lg  { padding: 15px 36px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-dark { background: var(--black-soft); color: var(--white); border-color: var(--black-soft); }
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); }

/* ============================================================
   SECTION SHARED
============================================================ */
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--dark { background: var(--black-soft); }
.section--gray { background: var(--off-white); }
.section--black { background: var(--black); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid rgba(22,102,204,0.18);
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-tag--light {
  color: var(--blue-light);
  background: rgba(74,158,245,0.1);
  border-color: rgba(74,158,245,0.25);
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}
.section-title--light { color: var(--white); }
.section-title--left { text-align: left; }

.section-subtitle { font-size: 16px; color: var(--text-2); line-height: 1.7; }
.section-subtitle--light { color: rgba(255,255,255,0.5); }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  transition: padding var(--ease), box-shadow var(--ease);
}
.header.scrolled {
  padding: 11px 0;
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: 6px;
  transition: all var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--light-gray); }
.nav-link--active { color: var(--blue) !important; background: var(--blue-pale) !important; }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--blue-h) !important; }
/* Nav dropdown */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-link--has-dropdown { display: flex; align-items: center; gap: 4px; }
.nav-arrow {
  font-size: 8px;
  display: inline-block;
  transition: transform 0.2s ease;
  opacity: 0.5;
  line-height: 1;
}
.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow { transform: rotate(180deg); opacity: 1; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 164px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 200;
}
/* Invisible bridge fills the gap between nav link and menu so hover is never broken */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.nav-dropdown-item {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 6px;
  transition: background var(--ease), color var(--ease);
}
.nav-dropdown-item:hover { background: var(--off-white); color: var(--text); }
.nav-dropdown-item--active { color: var(--blue) !important; background: var(--blue-pale) !important; }
.nav-dropdown-item--overview { font-weight: 600; color: var(--text); }
.nav-dropdown-item--overview:hover { background: var(--off-white); color: var(--blue); }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 4px 6px; }

/* Mobile dropdown: show items flat in overlay */
@media (max-width: 768px) {
  .nav-dropdown { flex-direction: column; width: 100%; }
  .nav-link--has-dropdown { justify-content: center; }
  .nav-arrow { display: none; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: none;
    min-width: 0;
  }
  .nav-dropdown-item {
    font-size: 15px;
    color: rgba(255,255,255,0.45) !important;
    padding: 8px 22px;
  }
  .nav-dropdown-item:hover { color: var(--white) !important; background: rgba(255,255,255,0.05) !important; }
  .nav-dropdown-item--active { color: var(--blue-light) !important; background: transparent !important; }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black-soft); border-radius: 2px; transition: all var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HOME HERO (shader + black bg)
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--black);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 0%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 840px; }

.hero-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(74,158,245,0.1);
  border: 1px solid rgba(74,158,245,0.28);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 26px;
  animation: heroUp 0.6s ease 0.1s both;
}
.hero-title {
  font-size: clamp(30px, 6vw, 64px);
  font-weight: 800; line-height: 1.07; letter-spacing: -0.035em;
  color: var(--white); margin-bottom: 20px;
  animation: heroUp 0.7s ease 0.22s both;
}
.hero-title-accent { color: var(--blue-light); }
.hero-subtitle {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255,255,255,0.5);
  max-width: 560px; margin: 0 auto 34px; line-height: 1.75;
  animation: heroUp 0.7s ease 0.38s both;
	font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: heroUp 0.7s ease 0.52s both; }

/* Pulse badge */
.hero-badge { animation: heroUp 0.6s ease 0.1s both, badgePulse 3.5s ease-in-out 1.2s infinite; }

/* Hero title lines */
.hero-line { display: block; }
.hero-line--accent { color: var(--blue-light); }

/* Cursor glow layer inside hero */
.hero-cursor-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle 420px at var(--cx, -999px) var(--cy, -999px), rgba(22,102,204,0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s;
}

/* Hero data ticker */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.32);
  padding: 8px 0;
  pointer-events: none;
}
.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74,158,245,0.45);
  white-space: nowrap;
}
.hero-ticker-sep { color: rgba(74,158,245,0.18); font-size: 8px; }

/* Section title word-by-word reveal */
.t-word { display: inline-block; overflow: hidden; vertical-align: bottom; margin-bottom: 0.05em; line-height: inherit; }
.t-inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.t-inner.t-in { transform: translateY(0); }

/* ============================================================
   INNER PAGE HERO
============================================================ */
.inner-hero {
  position: relative;
  background: var(--black);
  padding: 160px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.inner-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -5%, rgba(22,102,204,0.22) 0%, transparent 65%),
    radial-gradient(circle at 10% 90%, rgba(22,102,204,0.07) 0%, transparent 40%);
  pointer-events: none;
}
.inner-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  animation: dotDrift 18s linear infinite;
}
.inner-hero__content {
  position: relative; z-index: 1;
  text-align: center; max-width: 720px; margin: 0 auto;
}
.inner-hero .section-tag--light { animation: heroUp 0.6s ease 0.05s both; }
.inner-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 18px;
  animation: heroUp 0.7s ease 0.18s both;
}
.inner-hero__subtitle {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255,255,255,0.45); line-height: 1.75;
  animation: heroUp 0.7s ease 0.32s both;
}
.inner-hero .hero-actions { animation: heroUp 0.7s ease 0.45s both; }

/* ============================================================
   HERO PROOF LINE
============================================================ */
.hero-proof {
  font-size: clamp(12px, 1.6vw, 14px);
  color: rgba(255,255,255,0.32);
  max-width: 580px;
  margin: -16px auto 34px;
  line-height: 1.7;
  animation: heroUp 0.7s ease 0.52s both;
	font-weight: 400;
}

/* ============================================================
   STATS
============================================================ */
.stats { background: var(--black-soft); padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item { text-align: center; padding: 14px 12px; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 1px;
  background: rgba(255,255,255,0.07);
}
.stat-number {
  font-size: clamp(24px, 3.5vw, 40px); font-weight: 800;
  color: var(--blue-light); letter-spacing: -0.03em; line-height: 1;
}
.stat-suffix { font-size: clamp(18px, 2.5vw, 28px); font-weight: 800; color: var(--blue); }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 7px; line-height: 1.4; }

/* ============================================================
   CLIENTS — SCROLLING MARQUEE
============================================================ */
.clients { background: var(--white); padding: 56px 0 0; border-bottom: 1px solid var(--border); }
.clients-header { text-align: center; margin-bottom: 28px; }
.clients-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--black-soft); color: var(--white);
  padding: 8px 24px; border-radius: 4px;
}
.clients-marquee-wrapper {
  overflow: hidden;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.clients-marquee { display: flex; width: 100%; }
.clients-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerScroll 125s linear infinite;
}
.client-logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  min-width: 140px;
  border-right: 1px solid var(--border);
  transition: background var(--ease);
}
.client-logo-tile:hover { background: var(--off-white); }
.client-logo-img {
  display: block;
  max-height: 36px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter var(--ease);
}
.client-logo-tile:hover .client-logo-img { filter: grayscale(0%) opacity(1); }
.client-logo-tile:has([alt="Casumo"]) .client-logo-img { max-height: 72px; max-width: 190px; }
.client-logo-tile:has([alt="Greentube"]) .client-logo-img { max-height: 56px; max-width: 160px; }
.client-logo-tile:has([alt="BGaming"]) .client-logo-img { max-height: 78px; max-width: 173px; }
.client-logo-tile:has([alt="Bragg Gaming"]) .client-logo-img { max-height: 50px; max-width: 148px; }
.client-logo-tile:has([alt="Aviator Studio"]) .client-logo-img { max-height: 87px; max-width: 207px; }
.client-logo-tile:has([alt="bet365"]) .client-logo-img { max-height: 80px; max-width: 200px; }
.client-logo-tile:has([alt="3 Oaks Gaming"]) .client-logo-img { max-height: 77px; max-width: 187px; }
.client-logo-tile:has([alt="FashionTV Gaming"]) .client-logo-img,
.client-logo-tile:has([alt="Galaxy Gaming"]) .client-logo-img { max-height: 65px; max-width: 175px; }
.client-logo-tile:has([alt="EveryMatrix"]) .client-logo-img { max-height: 55px; max-width: 160px; }
.client-logo-tile:has([alt="Gaming1"]) .client-logo-img { max-height: 38px; max-width: 130px; }
.client-logo-tile:has([alt="Webdice"]) .client-logo-img { max-height: 92px; max-width: 225px; }
.client-logo-tile:has([alt="Aristocrat"]) .client-logo-img { max-height: 122px; max-width: 270px; }
.client-logo-tile:has([alt="Betsson Group"]) .client-logo-img { max-height: 215px; max-width: 440px; }
.client-logo-tile:has([alt="Hõmmerson.nl"]) .client-logo-img { max-height: 130px; max-width: 205px; }
.client-logo-tile:has([alt="Morgan Stanley"]) .client-logo-img { max-height: 90px; max-width: 175px; }
.client-logo-tile:has([alt="Betty"]) .client-logo-img { max-height: 50px; max-width: 160px; }
.client-logo-tile:has([alt="Hard Rock"]) .client-logo-img { max-height: 50px; max-width: 135px; }
.client-logo-tile:has([alt="Lady Luck Games"]) .client-logo-img { max-height: 68px; max-width: 175px; }
.client-logo-tile:has([alt="Amatin Industries"]) .client-logo-img { max-height: 65px; max-width: 185px; }
.client-logo-tile:has([alt="Duelbits"]) .client-logo-img { max-height: 48px; max-width: 145px; }
.client-logo-tile:has([alt="Mohegan Gaming"]) .client-logo-img { max-height: 50px; max-width: 155px; }
.client-logo-tile:has([alt="Platipus"]) .client-logo-img { max-height: 46px; max-width: 145px; }
.client-logo-tile:has([alt="Red Rake Gaming"]) .client-logo-img { max-height: 62px; max-width: 168px; }
.client-logo-tile:has([alt="Rela Gaming"]) .client-logo-img { max-height: 44px; max-width: 145px; }
.client-logo-tile:has([alt="Royal Casino"]) .client-logo-img { max-height: 58px; max-width: 120px; }
.client-logo-tile:has([alt="SiS"]) .client-logo-img { max-height: 58px; max-width: 120px; }
.client-logo-tile:has([alt="Softgenius"]) .client-logo-img { max-height: 58px; max-width: 120px; }
.client-logo-tile:has([alt="Stakelogic"]) .client-logo-img { max-height: 55px; max-width: 165px; }
.client-logo-tile:has([alt="The Workshop"]) .client-logo-img { max-height: 110px; max-width: 190px; }
.client-logo-tile:has([alt="Zeal"]) .client-logo-img { max-height: 90px; max-width: 150px; }
.client-logo-tile:has([alt="Alvarez and Marsal"]) .client-logo-img { max-height: 80px; max-width: 195px; }
.client-logo-tile:has([alt="Blexr"]) .client-logo-img { max-height: 44px; max-width: 135px; }
.client-logo-tile:has([alt="Blixx Gaming"]) .client-logo-img { max-height: 72px; max-width: 185px; }
.client-logo-tile:has([alt="Bloomreach"]) .client-logo-img { height: 22px; max-height: none; width: auto; max-width: 220px; }
.client-logo-tile:has([alt="Good Luck Media"]) .client-logo-img { height: 52px; max-height: none; width: auto; max-width: 300px; }
.client-logo-tile:has([alt="ITSCR"]) .client-logo-img { max-height: 54px; max-width: 140px; }
.client-logo-tile:has([alt="Quantifyx"]) .client-logo-img { max-height: 48px; max-width: 155px; }
.client-logo-tile:has([alt="Veikkaus"]) .client-logo-img { max-height: 55px; max-width: 130px; }
.client-logo-tile:has([alt="SoftConstruct"]) .client-logo-img { max-height: 38px; max-width: 175px; }
.client-logo-tile:has([alt="Tote"]) .client-logo-img { max-height: 55px; max-width: 155px; }
.client-logo-tile:has([alt="White Swan"]) .client-logo-img { max-height: 90px; max-width: 175px; }
.client-logo-text {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.client-tile-sep {
  display: inline-flex;
  align-items: center;
  padding: 16px 16px;
  color: var(--border);
  font-size: 18px;
  border-right: 1px solid var(--border);
}

/* ============================================================
   MEDIA PARTNERS
============================================================ */
.media-partners {
  background: var(--off-white);
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.media-partners-header { text-align: center; margin-bottom: 32px; }
.media-partners-sub {
  font-size: 14px; color: var(--text-3);
  margin-top: 10px; line-height: 1.6;
}
.media-partners-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.media-partner-tile {
  flex: 0 0 auto;
  min-width: 200px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 28px 36px;
  transition: all var(--ease);
}
.media-partner-tile:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.media-partner-name {
  font-size: 26px; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 6px;
}
.media-partner-sub {
  font-size: 11px; color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ============================================================
   PRODUCTS (home overview)
============================================================ */
.products { background: var(--off-white); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 26px; transition: all var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.product-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-3px); }
.product-card--featured { background: var(--black-soft); border-color: var(--black-soft); }
.product-card--featured:hover { border-color: var(--blue); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.product-card-header { display: flex; align-items: center; justify-content: space-between; }
.product-card-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--blue-pale); color: var(--blue); border: 1px solid rgba(22,102,204,0.15);
}
.product-card--featured .product-card-icon { background: rgba(74,158,245,0.12); color: var(--blue-light); border-color: rgba(74,158,245,0.2); }
.product-card-icon svg { width: 19px; height: 19px; }
.product-card-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-light); background: rgba(74,158,245,0.12); border: 1px solid rgba(74,158,245,0.22); padding: 3px 9px; border-radius: 50px; }
.product-card-title { font-size: 18px; font-weight: 700; color: var(--text); }
.product-card--featured .product-card-title { color: var(--white); }
.product-card-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.65; flex: 1; }
.product-card--featured .product-card-desc { color: rgba(255,255,255,0.5); }
.product-card-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 2px; }
.product-card-features li { font-size: 12.5px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 8px; }
.product-card-features li::before { content: ''; width: 5px; height: 5px; background: var(--blue-light); border-radius: 50%; flex-shrink: 0; }
.product-card--featured .btn-outline { color: var(--blue-light); border-color: rgba(74,158,245,0.4); }
.product-card--featured .btn-outline:hover { background: rgba(74,158,245,0.15); color: var(--white); }

/* 4-card homepage product grid */
.products-grid--4 { grid-template-columns: repeat(3, 1fr); }
.product-card--wide { grid-column: span 3; }

/* Article card as link */
a.article-card { text-decoration: none; color: inherit; }
a.article-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.07); }
.article-card-link { font-size: 12px; font-weight: 600; color: var(--blue); margin-top: auto; display: block; padding-top: 8px; }

/* ============================================================
   PRODUCTS FULL PAGE
============================================================ */
.product-detail-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.product-detail-section:last-of-type { border-bottom: none; }
.product-detail-section--dark { background: var(--black-soft); border-color: rgba(255,255,255,0.07); }
.product-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.product-detail-inner--reverse { direction: rtl; }
.product-detail-inner--reverse > * { direction: ltr; }
.product-detail-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); background: var(--blue-pale); border: 1px solid rgba(22,102,204,0.15); padding: 4px 12px; border-radius: 50px; margin-bottom: 14px; }
.product-detail-tag--light { color: var(--blue-light); background: rgba(74,158,245,0.1); border-color: rgba(74,158,245,0.22); }
.product-detail-title { font-size: clamp(22px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); margin-bottom: 16px; }
.product-detail-title--light { color: var(--white); }
.product-detail-desc { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.product-detail-desc--light { color: rgba(255,255,255,0.5); }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.feature-list li { font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.feature-list li::before { content: ''; width: 18px; height: 2px; background: var(--blue); flex-shrink: 0; margin-top: 11px; }
.feature-list--light li { color: rgba(255,255,255,0.7); }
.feature-list--light li::before { background: var(--blue-light); }
.product-visual {
  background: var(--black-soft); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--rl); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 12px; min-height: 280px;
}
.product-visual--light {
  background: var(--off-white); border: 1px solid var(--border);
}
.product-visual-bar { height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; position: relative; overflow: hidden; }
.product-visual-bar::after {
  content: ''; position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 4px;
  width: 0;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-visual-bar.bar-in::after { width: var(--bar-w, 65%); }
.product-visual-bar--light { background: var(--border); }
.product-visual-bar--light::after { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.product-visual-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.product-visual-label--dark { color: var(--text-3); }

.products-secondary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
.product-mini-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 24px; transition: all var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.product-mini-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.product-mini-card-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--blue-pale); color: var(--blue); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(22,102,204,0.15); }
.product-mini-card-icon svg { width: 18px; height: 18px; }
.product-mini-card h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.product-mini-card p  { font-size: 13px; color: var(--text-2); line-height: 1.6; flex: 1; }

/* ============================================================
   PLATFORM SHOWCASE & DASHBOARD UI MOCK
============================================================ */
.platform-showcase {
  background: var(--black);
  padding: 96px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.platform-showcase::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(22,102,204,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.platform-showcase .section-header { margin-bottom: 48px; }
.platform-showcase-footer {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  margin-top: 32px; flex-wrap: wrap;
}
.platform-showcase-note {
  font-size: 12px; color: rgba(255,255,255,0.48);
  max-width: 440px; text-align: center; line-height: 1.65;
}

/* Dashboard window chrome */
.dash-ui {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7),
              0 0 0 1px rgba(255,255,255,0.04),
              0 0 60px rgba(22,102,204,0.06);
  max-width: 920px;
  margin: 0 auto;
}
.product-detail-inner .dash-ui {
  max-width: none; margin: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.dash-ui-chrome {
  background: #181818;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
}
.dash-chrome-dots { display: flex; gap: 6px; flex-shrink: 0; }
.dash-chrome-dot { width: 11px; height: 11px; border-radius: 50%; }
.dash-chrome-dot:nth-child(1) { background: #ef4444; }
.dash-chrome-dot:nth-child(2) { background: #f59e0b; }
.dash-chrome-dot:nth-child(3) { background: #22c55e; }
.dash-chrome-title {
  flex: 1; text-align: center;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.18); letter-spacing: 0.03em;
}
.dash-chrome-live {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #22c55e; flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.dash-chrome-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  animation: livePulse 2s ease-in-out infinite;
}
.dash-ui-nav {
  background: #141414;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 16px;
  display: flex;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.dash-ui-nav::-webkit-scrollbar { display: none; }
.dash-nav-tab {
  padding: 9px 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.22);
  border-bottom: 2px solid transparent;
  white-space: nowrap; cursor: default;
}
.dash-nav-tab--active { color: var(--blue-light); border-bottom-color: var(--blue-light); }

.dash-kpi-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-kpi { padding: 13px 16px; border-right: 1px solid rgba(255,255,255,0.06); }
.dash-kpi:last-child { border-right: none; }
.dash-kpi-value { font-size: 19px; font-weight: 800; color: var(--blue-light); letter-spacing: -0.03em; line-height: 1.1; }
.dash-kpi-label { font-size: 9px; color: rgba(255,255,255,0.22); margin-top: 3px; letter-spacing: 0.07em; text-transform: uppercase; }
.dash-kpi-change { font-size: 10px; color: #22c55e; margin-top: 4px; font-weight: 600; }

.dash-body { display: grid; grid-template-columns: 1.3fr 1fr; }
.dash-chart-area { padding: 16px; border-right: 1px solid rgba(255,255,255,0.06); }
.dash-chart-area-title { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.18); margin-bottom: 14px; }
.dash-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.dash-bar-label { font-size: 10px; color: rgba(255,255,255,0.3); width: 72px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-bar-track { flex: 1; height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.dash-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%); width: 0; transition: width 1.1s cubic-bezier(0.16,1,0.3,1); }
.dash-bar-row.bar-in .dash-bar-fill { width: var(--bar-w, 60%); }
.dash-bar-pct { font-size: 10px; color: rgba(255,255,255,0.2); width: 26px; text-align: right; flex-shrink: 0; }

.dash-table-area { padding: 16px; }
.dash-table-area-title { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.18); margin-bottom: 14px; }
.dash-table-row { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.dash-table-row:last-child { border-bottom: none; }
.dash-table-rank { width: 16px; font-size: 9px; color: rgba(255,255,255,0.14); font-weight: 700; flex-shrink: 0; text-align: center; }
.dash-table-name { flex: 1; font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-table-change { font-size: 10px; color: #22c55e; font-weight: 700; width: 32px; text-align: right; flex-shrink: 0; }
.dash-table-change--neg { color: #f87171; }
.dash-table-count { font-size: 10px; color: rgba(255,255,255,0.16); width: 38px; text-align: right; flex-shrink: 0; }

@keyframes dashRowPulse {
  0%, 100% { background: transparent; }
  50% { background: rgba(74,158,245,0.05); }
}
.dash-table-row--live { animation: dashRowPulse 3s ease-in-out infinite; }

/* ============================================================
   CONSULTANCY
============================================================ */
.consultancy { background: var(--black-soft); }
.consultancy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.consultancy-content .section-title { text-align: left; margin-bottom: 16px; }
.consultancy-text { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 18px; }
.consultancy-list { margin-bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
.consultancy-list li { font-size: 14px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 10px; }
.consultancy-list li::before { content: ''; width: 16px; height: 2px; background: var(--blue); flex-shrink: 0; }
.consultancy-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 6px; }
.consultancy-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--rl); padding: 22px 18px; transition: all var(--ease); }
.consultancy-card:last-child { grid-column: span 2; }
.consultancy-card:hover { border-color: rgba(74,158,245,0.3); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.consultancy-card-icon { width: 36px; height: 36px; background: rgba(74,158,245,0.1); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--blue-light); margin-bottom: 12px; }
.consultancy-card-icon svg { width: 18px; height: 18px; }
.consultancy-card h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.consultancy-card p  { font-size: 13px; color: rgba(255,255,255,0.4); }

/* Consultancy FULL PAGE */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 28px; transition: all var(--ease); }
.service-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.service-card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-pale); color: var(--blue); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(22,102,204,0.15); margin-bottom: 14px; }
.service-card-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.service-card p  { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }

/* Founders section */
.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.founder-full-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--rl); padding: 32px; transition: all var(--ease); }
.founder-full-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.founder-avatar-lg { width: 64px; height: 64px; border-radius: 50%; background: var(--black-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 18px; border: 2px solid rgba(22,102,204,0.3); }
.founder-full-card h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.founder-full-card .founder-role { font-size: 11px; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.founder-full-card p  { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
.founder-cv { display: flex; flex-direction: column; gap: 6px; }
.founder-cv-item { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.founder-cv-item::before { content: ''; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   PRESS
============================================================ */
.press { background: var(--off-white); }
.press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 44px; }
.press-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 26px; transition: all var(--ease); }
.press-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.press-card-meta { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 9px; }
.press-card-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 9px; }
.press-card-desc  { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.press-partner { text-align: center; padding: 26px; background: var(--black-soft); border-radius: var(--rl); }
.press-partner p  { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.press-partner-logo { font-size: 19px; font-weight: 800; color: var(--white); }
.press-partner-logo sup { font-size: 11px; }

/* Press FULL PAGE */
.igb-feature {
  background: var(--black-soft); border-radius: var(--rl);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 48px; margin-bottom: 60px;
  border: 1px solid rgba(255,255,255,0.07);
}
.igb-feature h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -0.02em; }
.igb-feature p  { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 8px; }
.igb-visual { display: flex; align-items: center; justify-content: center; }
.igb-badge { border: 2px solid rgba(74,158,245,0.3); border-radius: var(--rl); padding: 32px 40px; text-align: center; }
.igb-badge-title { font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.igb-badge-sub { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 24px; transition: all var(--ease); display: flex; flex-direction: column; gap: 10px; }
.article-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.07); }
.article-card-meta { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.article-card h3 { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.3; }
.article-card p  { font-size: 13px; color: var(--text-2); line-height: 1.6; flex: 1; }

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--white); border-top: 1px solid var(--border); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-founders { display: flex; flex-direction: column; gap: 16px; }
.founder-card { display: flex; gap: 16px; align-items: flex-start; background: var(--off-white); border: 1px solid var(--border); border-radius: var(--rl); padding: 20px; transition: all var(--ease); }
.founder-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateX(3px); }
.founder-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--black-soft); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--white); flex-shrink: 0; border: 2px solid rgba(22,102,204,0.3); }
.founder-info h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.founder-role { font-size: 11px; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.founder-info span { font-size: 12px; color: var(--text-3); line-height: 1.6; }
.about-content .section-title { text-align: left; margin-bottom: 18px; }
.about-text { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.about-highlights { display: flex; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin: 26px 0; }
.about-highlight { flex: 1; text-align: center; padding: 16px 10px; border-right: 1px solid var(--border); background: var(--off-white); }
.about-highlight:last-child { border-right: none; }
.about-highlight-year  { display: block; font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.about-highlight-label { display: block; font-size: 11px; color: var(--text-3); margin-top: 4px; }
.about-address { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* About FULL PAGE - Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding: 0 0 40px 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); z-index: 1; transition: all var(--ease); }
.timeline-item:hover .timeline-dot { background: var(--blue); transform: scale(1.2); }
.timeline-item.anim-in .timeline-dot { animation: dotPop 0.4s ease both; }
.timeline-year { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.timeline-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.timeline-desc  { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.mission-block { background: var(--black-soft); border-radius: var(--rl); padding: 48px; border: 1px solid rgba(255,255,255,0.07); }
.mission-block h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.02em; }
.mission-block p  { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 700px; }

/* ============================================================
   CONTACT
============================================================ */
.contact { background: var(--black-soft); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-content .section-title { text-align: left; margin-bottom: 14px; }
.contact-text { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 26px; }
.contact-info-block { display: flex; flex-direction: column; gap: 12px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.45); }
.contact-info-item svg { margin-top: 2px; flex-shrink: 0; opacity: 0.4; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 12px 14px;
  color: var(--white); font-size: 14px; font-family: var(--font);
  transition: all var(--ease); outline: none; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.18); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(22,102,204,0.08);
  box-shadow: 0 0 0 3px rgba(22,102,204,0.14);
}
.form-group select option { background: #1a1a1a; color: var(--white); }
.form-success { display: none; text-align: center; color: #52c49f; font-size: 14px; font-weight: 600; padding: 12px; background: rgba(82,196,159,0.08); border: 1px solid rgba(82,196,159,0.2); border-radius: var(--r); }

/* Contact full page standalone layout */
.quick-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.contact-standalone { background: var(--off-white); }
.contact-standalone .contact-inner { grid-template-columns: 1fr 1.5fr; gap: 80px; }
.contact-standalone .contact-content .section-title { color: var(--text); }
.contact-standalone .section-tag { color: var(--blue); background: var(--blue-pale); border-color: rgba(22,102,204,0.18); }
.contact-standalone .contact-text { color: var(--text-2); }
.contact-standalone .contact-info-item { color: var(--text-3); }
.contact-standalone .contact-info-item svg { opacity: 0.5; }
.contact-standalone .contact-form .form-group label { color: var(--text-3); }
.contact-standalone .contact-form input,
.contact-standalone .contact-form select,
.contact-standalone .contact-form textarea {
  background: var(--white); border-color: var(--border); color: var(--text);
}
.contact-standalone .contact-form input::placeholder,
.contact-standalone .contact-form textarea::placeholder { color: var(--text-3); }
.contact-standalone .contact-form input:focus,
.contact-standalone .contact-form select:focus,
.contact-standalone .contact-form textarea:focus { border-color: var(--blue); background: var(--white); }
.contact-standalone .contact-form select option { background: var(--white); color: var(--text); }
.contact-standalone .form-success { color: #2e9966; background: rgba(46,153,102,0.08); border-color: rgba(46,153,102,0.2); }

/* ============================================================
   CTA BAND (shared across pages)
============================================================ */
.cta-band { background: var(--black-soft); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; color: var(--white); margin-bottom: 6px; letter-spacing: -0.02em; }
.cta-band__text  { font-size: 14px; color: rgba(255,255,255,0.45); }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; padding-bottom: 44px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; line-height: 1.5; }
.footer-address { font-size: 12px; color: rgba(255,255,255,0.48); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.38); margin-bottom: 8px; transition: color var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 18px 0; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.18); text-align: center; }

/* ============================================================
   LEGAL PAGES (Terms & Privacy)
============================================================ */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
}
.legal-intro {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-intro p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.legal-section p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  margin: 0 0 14px 0;
  padding-left: 22px;
}
.legal-section ul li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-section a { color: var(--blue); text-decoration: underline; }
.legal-section a:hover { color: var(--blue-h); }
.legal-updated {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   DEDICATED PRODUCT PAGES
============================================================ */

/* Q&A question cards */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.qa-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 24px 28px;
  border-left: 3px solid var(--blue);
  transition: all var(--ease);
}
.qa-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateY(-2px); }
.qa-card-q { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.qa-card-a { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* Roles grid (used in Casino Data "Built For" and AskEGM "Who It's For") */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.role-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
}
.role-item::before { content: ''; display: block; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.role-item--light {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
}
.role-item--light::before { background: var(--blue-light); }

/* Data includes list */
.data-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.data-includes-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  transition: border-color var(--ease);
}
.data-includes-item:hover { border-color: #bbb; }
.data-includes-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; margin-top: 5px; flex-shrink: 0; }

/* Market proof stats (Casino Data page) */
.market-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.market-proof-stat {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--rl);
}
.market-proof-number { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 10px; line-height: 1; }
.market-proof-number .stat-number { font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: var(--white); }
.market-proof-number .stat-suffix { font-size: inherit; font-weight: inherit; color: rgba(255,255,255,0.45); }
.market-proof-label { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.market-proof-text { max-width: 680px; margin: 0 auto; text-align: center; }
.market-proof-text p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.55); }

/* AskEGM example questions */
.questions-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.questions-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
}
.questions-category-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 20px;
  background: var(--black-soft);
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.questions-list { padding: 12px 0; }
.question-item {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  transition: background var(--ease), color var(--ease);
}
.question-item:last-child { border-bottom: none; }
.question-item:hover { background: var(--off-white); color: var(--text); }
.question-item::before { content: '↗ '; color: var(--blue); font-size: 11px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .data-includes-grid { grid-template-columns: repeat(2, 1fr); }
  .market-proof-stats { gap: 16px; }
  .questions-categories { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-card--featured { grid-column: span 2; }
  .product-card--wide { grid-column: span 2; }
  .media-partners-grid { gap: 12px; }
  .media-partner-tile { min-width: 160px; padding: 22px 24px; }
  .consultancy-inner, .about-inner, .contact-inner { gap: 44px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .client-item--wide { grid-column: span 3; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-inner { gap: 44px; }
  .founders-grid { gap: 18px; }
  .igb-feature { gap: 32px; padding: 36px; }
  .products-secondary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-chart-area { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .platform-showcase-footer { flex-direction: column; align-items: center; }
  .section { padding: 68px 0; }
  .nav {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; z-index: 99;
  }
  .nav.open { display: flex; }
  .nav-link { font-size: 17px; padding: 12px 26px; color: rgba(255,255,255,0.65) !important; background: transparent !important; }
  .nav-link:hover, .nav-link--active { color: var(--white) !important; background: rgba(255,255,255,0.07) !important; }
  .nav-cta { margin-left: 0; margin-top: 10px; background: var(--blue) !important; }
  .hamburger { display: flex; z-index: 100; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
  .stat-item:last-child { grid-column: span 2; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-item--wide { grid-column: span 2; }
  .products-grid, .products-grid--4, .products-secondary-grid, .services-grid { grid-template-columns: 1fr; }
  .product-card--featured, .product-card--wide { grid-column: span 1; }
  .media-partners-grid { flex-direction: column; align-items: center; }
  .media-partner-tile { width: 100%; max-width: 320px; }
  .qa-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .data-includes-grid { grid-template-columns: 1fr; }
  .market-proof-stats { grid-template-columns: 1fr; gap: 12px; }
  .consultancy-inner, .about-inner, .contact-inner, .contact-standalone .contact-inner, .product-detail-inner { grid-template-columns: 1fr; gap: 36px; }
  .product-detail-inner--reverse { direction: ltr; }
  .product-detail-inner > * { min-width: 0; }
  .product-detail-inner .dash-ui { max-width: 100%; }
  .consultancy-visual { grid-template-columns: 1fr; }
  .consultancy-card:last-child { grid-column: span 1; }
  .press-grid, .founders-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .igb-feature { grid-template-columns: 1fr; padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 270px; }
  .timeline { padding-left: 26px; }
  .timeline-dot { left: -26px; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .quick-links-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ENQUIRY INFO BOX
============================================================ */
.btn--active { background: var(--blue) !important; color: var(--white) !important; border-color: var(--blue) !important; }
.enquiry-info-box {
  display: none;
  margin-top: 18px;
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  animation: enquiryFadeIn 0.22s ease;
}
.enquiry-info-box.is-visible { display: block; }
@keyframes enquiryFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.enquiry-info-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.enquiry-info-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.enquiry-info-points li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}
.enquiry-info-bullet {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 6px;
}
