/* ============================================================
   APPSPARK — Global Mobile Media Network
   Stylesheet v2.0  |  White / Premium / Enterprise B2B
   ============================================================ */

/* 1 · Reset & Custom Properties
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #FFFFFF;
  --bg-subtle:     #F8FAFC;
  --bg-muted:      #F1F5F9;
  --border:        #E2E8F0;
  --border-strong: #CBD5E1;
  --text:          #0F172A;
  --text-2:        #334155;
  --text-3:        #64748B;
  --text-4:        #94A3B8;
  --accent:        #2563EB;
  --accent-h:      #1D4ED8;
  --accent-bg:     #EFF6FF;
  --accent-border: #BFDBFE;
  --dark:          #0F172A;
  --dark-2:        #1E293B;

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w:  1200px;
  --pad-x:  clamp(20px, 4vw, 48px);
  --nav-h:  68px;

  --rad-s:  6px;
  --rad-m:  12px;
  --rad-l:  20px;
  --rad-xl: 32px;

  --sh-s:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh-m:  0 4px 16px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --sh-l:  0 16px 48px rgba(0,0,0,.08);
  --sh-xl: 0 24px 80px rgba(0,0,0,.1);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: 150ms;
  --t:      250ms;
  --t-slow: 400ms;
}

/* 2 · Base
   ------------------------------------------------------------ */
html   { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body   { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img    { max-width: 100%; height: auto; display: block; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* 3 · Layout
   ------------------------------------------------------------ */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section     { padding: clamp(72px, 9vw, 120px) 0; }
.section-sm  { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-subtle); }

/* 4 · Navigation
   ------------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--sh-s); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 800; color: var(--text);
  letter-spacing: -.025em;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 18px; height: 18px; fill: white; }

/* Desktop links */
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-3);
  transition: color var(--t-fast) var(--ease);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform var(--t-fast) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }

/* Nav CTA */
.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-nav {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 600;
  padding: 8px 22px; border-radius: var(--rad-s);
  background: var(--accent); color: white;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn-nav:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }

/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-m); z-index: 199; padding: 8px 0 20px;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block; padding: 13px var(--pad-x);
  font-size: 15px; font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--bg-subtle);
  transition: background var(--t-fast);
}
.nav-drawer a:hover, .nav-drawer a.active { color: var(--accent); background: var(--accent-bg); }
.nav-drawer .btn-drawer {
  display: block; margin: 16px var(--pad-x) 0;
  text-align: center; padding: 12px;
  background: var(--accent); color: white;
  border-radius: var(--rad-s); font-weight: 600; font-size: 15px;
}

/* 5 · Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: var(--rad-s);
  transition: all var(--t-fast) var(--ease);
  font-size: 15px; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  padding: 13px 30px;
  background: var(--accent); color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.3); }

.btn-outline {
  padding: 12px 28px;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-white { padding: 13px 30px; background: white; color: var(--accent); }
.btn-white:hover { background: var(--bg-subtle); transform: translateY(-2px); box-shadow: var(--sh-m); }

.btn-ghost-white {
  padding: 12px 28px;
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: white; }

.btn-lg { padding: 15px 38px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* Arrow icon in buttons */
.btn-arrow { display: inline-flex; align-items: center; gap: 6px; }
.btn-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

/* 6 · Section Labels
   ------------------------------------------------------------ */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 100px;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2s ease infinite; }

/* 7 · Typography helpers
   ------------------------------------------------------------ */
.heading-display {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--text);
}
.heading-xl {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700; line-height: 1.12; letter-spacing: -.025em; color: var(--text);
}
.heading-lg {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--text);
}
.heading-md {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600; line-height: 1.3; letter-spacing: -.015em;
}
.body-lg  { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; color: var(--text-3); }
.body-md  { font-size: 15px; line-height: 1.7; color: var(--text-3); }
.body-sm  { font-size: 14px; line-height: 1.65; color: var(--text-3); }
.text-accent { color: var(--accent); }

/* Section header pattern */
.section-header         { max-width: 680px; margin-bottom: 56px; }
.section-header.center  { margin-left: auto; margin-right: auto; text-align: center; }

/* 8 · Hero
   ------------------------------------------------------------ */
.hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 7vw, 96px));
  padding-bottom: clamp(64px, 8vw, 112px);
  overflow: hidden; position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: .04em; margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: blink 2s ease infinite;
}
.hero-h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 22px;
}
.hero-h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7; color: var(--text-3);
  max-width: 540px; margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 20px;
  font-size: 13px; color: var(--text-4); font-weight: 500;
}
.hero-trust-items { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 6px; }
.hero-trust-item svg { width: 14px; height: 14px; stroke: var(--success, #059669); fill: none; stroke-width: 2.5; }

/* 9 · Hero Visual — Globe
   ------------------------------------------------------------ */
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  min-height: 440px;
}
.globe-wrap {
  position: relative; width: 380px; height: 380px;
  flex-shrink: 0;
}
/* Orbital rings behind globe */
.globe-orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--accent-border);
  animation: orbit-rotate 0.5s linear infinite;
  animation-play-state: paused;
}
.globe-orbit-1 { inset: -32px; border-color: rgba(37,99,235,.08); }
.globe-orbit-2 { inset: -64px; border-color: rgba(37,99,235,.05); }
.globe-orbit-3 { inset: -96px; border-color: rgba(37,99,235,.03); }

.globe-svg { position: relative; z-index: 2; width: 100%; height: 100%; }

/* Floating metric pills */
.f-pill {
  position: absolute; z-index: 10;
  background: white; border: 1px solid var(--border);
  border-radius: var(--rad-m); padding: 10px 16px;
  box-shadow: var(--sh-m); white-space: nowrap;
}
.f-pill-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-4); margin-bottom: 2px; }
.f-pill-value { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -.02em; line-height: 1; }
.f-pill-unit  { color: var(--accent); }

.f-pill-1 { top: 8%;  left: -12%; animation: float 7s ease-in-out infinite; }
.f-pill-2 { top: 62%; left: -8%;  animation: float 7s ease-in-out infinite 2.5s; }
.f-pill-3 { top: 5%;  right: -8%; animation: float 7s ease-in-out infinite 1.2s; }
.f-pill-4 { bottom: 8%; right: -10%; animation: float 7s ease-in-out infinite 3.5s; }

/* Pulse rings on globe dots */
.dot-pulse {
  animation: dot-pulse 2.5s ease-in-out infinite;
  transform-origin: center;
}
.dot-pulse-2 { animation-delay: .8s; }
.dot-pulse-3 { animation-delay: 1.6s; }

/* 10 · Metrics Bar
   ------------------------------------------------------------ */
.metrics-bar { background: var(--dark); padding: clamp(48px, 6vw, 72px) 0; }
.metrics-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.metric-item {
  text-align: center; padding: 24px 20px; position: relative;
}
.metric-item + .metric-item::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.1);
}
.metric-number {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800; letter-spacing: -.03em;
  color: white; line-height: 1; margin-bottom: 8px;
}
.metric-number .unit { color: #60A5FA; }
.metric-label { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 500; }
.metric-sub   { font-size: 11px; color: rgba(255,255,255,.25); margin-top: 4px; font-weight: 400; }

/* 11 · Feature / Why Cards
   ------------------------------------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--rad-m); padding: 32px 28px;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.feature-card:hover { box-shadow: var(--sh-m); border-color: var(--accent-border); transform: translateY(-4px); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--rad-s); background: var(--accent-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -.01em; }
.feature-desc  { font-size: 14px; line-height: 1.7; color: var(--text-3); }

/* 12 · Partner Ecosystem
   ------------------------------------------------------------ */
.partner-intro { text-align: center; max-width: 580px; margin: 0 auto 52px; }
.partner-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner-card  {
  background: white; border: 1px solid var(--border);
  border-radius: var(--rad-m); padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 88px; gap: 6px;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  cursor: default;
}
.partner-card:hover { box-shadow: var(--sh-m); border-color: var(--border-strong); }
.partner-card-name { font-size: 14px; font-weight: 700; color: var(--text-2); text-align: center; letter-spacing: -.01em; }
.partner-card-type { font-size: 11px; color: var(--text-4); text-align: center; font-weight: 500; }

/* Nav / footer logo image */
.nav-logo-img { height: 30px; width: auto; max-width: 110px; object-fit: contain; display: block; }

/* Partner logo image (loads if available) */
.partner-logo-img { height: 28px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(0.2); }
.partner-logo-img.hidden { display: none; }

/* 13 · Inventory / Audience
   ------------------------------------------------------------ */
.inventory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.inventory-panel {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: var(--rad-l); padding: 36px;
}
.inv-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.inv-stat {
  background: white; border: 1px solid var(--border);
  border-radius: var(--rad-m); padding: 20px 18px;
}
.inv-stat-value { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.025em; margin-bottom: 4px; }
.inv-stat-label { font-size: 12px; color: var(--text-3); font-weight: 500; }

.inv-audience-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 600;
}
.tag-blue  { background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-border); }
.tag-gray  { background: var(--bg-muted); color: var(--text-2); border: 1px solid var(--border); }
.tag-green { background: #F0FDF4; color: #059669; border: 1px solid #A7F3D0; }

.inv-list { margin-top: 0; }
.inv-list-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.inv-list-item:last-child { border: none; padding-bottom: 0; }
.inv-list-item:first-child { padding-top: 0; }
.inv-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.inv-check svg { width: 11px; height: 11px; stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.inv-item h4  { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; letter-spacing: -.01em; }
.inv-item p   { font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* 14 · Why Buyers
   ------------------------------------------------------------ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.reason-list { display: grid; gap: 16px; }
.reason-card {
  display: flex; gap: 16px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--rad-m); padding: 22px 24px;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.reason-card:hover { border-color: var(--accent-border); box-shadow: var(--sh-s); }
.reason-num {
  font-size: 12px; font-weight: 800; color: var(--accent);
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  border-radius: var(--rad-s); padding: 4px 10px;
  height: fit-content; flex-shrink: 0; margin-top: 2px; letter-spacing: .04em;
}
.reason-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -.01em; }
.reason-desc  { font-size: 13px; color: var(--text-3); line-height: 1.65; }

.why-side { }
.why-side-box {
  background: var(--dark); color: white;
  border-radius: var(--rad-l); padding: 40px;
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.why-side-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; color: white; line-height: 1.25; }
.why-side-box p  { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.why-side-box .btn-white { width: 100%; justify-content: center; }

/* 15 · CTA Banner
   ------------------------------------------------------------ */
.cta-banner { background: var(--dark); padding: clamp(64px, 8vw, 96px) 0; }
.cta-inner  { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: -.025em; color: white; margin-bottom: 16px; line-height: 1.15; }
.cta-banner p  { font-size: clamp(15px, 1.4vw, 17px); color: rgba(255,255,255,.6); margin-bottom: 40px; line-height: 1.7; }
.cta-actions   { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* 16 · Footer
   ------------------------------------------------------------ */
.footer { background: var(--dark); color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.08); }
.footer-main { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; }

.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; color: white;
  letter-spacing: -.02em; margin-bottom: 16px;
}
.footer-logo-mark { width: 32px; height: 32px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-logo-mark svg { width: 16px; height: 16px; fill: white; }
.footer-tagline { font-size: 13px; line-height: 1.7; max-width: 260px; color: rgba(255,255,255,.45); margin-bottom: 24px; }

.footer-col h4 { font-size: 11px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.45); transition: color var(--t-fast); }
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.3); transition: color var(--t-fast); }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* 17 · Inner Page Header
   ------------------------------------------------------------ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(56px, 7vw, 84px)) 0 clamp(56px, 7vw, 80px);
  background: var(--bg-subtle); border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 760px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 18px; }
.page-hero p  { font-size: clamp(16px, 1.5vw, 18px); color: var(--text-3); line-height: 1.7; max-width: 580px; }

/* 18 · About Page
   ------------------------------------------------------------ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-visual {
  background: linear-gradient(135deg, var(--accent-bg) 0%, #DBEAFE 100%);
  border: 1px solid var(--accent-border); border-radius: var(--rad-xl);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.about-visual-inner { text-align: center; }
.about-visual-num  { font-size: clamp(56px, 8vw, 88px); font-weight: 800; color: var(--accent); letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.about-visual-label { font-size: 14px; font-weight: 600; color: var(--accent); opacity: .7; text-transform: uppercase; letter-spacing: .08em; }

.values-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.value-card   { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--rad-m); padding: 24px; }
.value-icon   { width: 36px; height: 36px; border-radius: var(--rad-s); background: var(--accent-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.value-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; }
.value-title  { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.value-desc   { font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* 19 · Supply / Inventory Page
   ------------------------------------------------------------ */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.format-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--rad-m); padding: 28px 24px;
  transition: box-shadow var(--t), border-color var(--t);
}
.format-card:hover { box-shadow: var(--sh-m); border-color: var(--accent-border); }
.format-badge {
  display: inline-block; padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}
.format-name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -.01em; }
.format-desc { font-size: 14px; color: var(--text-3); line-height: 1.65; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: var(--rad-m); padding: 32px 24px; text-align: center;
}
.audience-icon { width: 52px; height: 52px; border-radius: var(--rad-m); background: var(--accent-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.audience-icon svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 2; }
.audience-num   { font-size: 30px; font-weight: 800; color: var(--text); letter-spacing: -.03em; margin-bottom: 6px; }
.audience-lbl   { font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.audience-desc  { font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* 20 · Partners Page
   ------------------------------------------------------------ */
.partner-page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-page-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--rad-m); padding: 32px 24px;
  transition: box-shadow var(--t), border-color var(--t);
}
.partner-page-card:hover { box-shadow: var(--sh-m); border-color: var(--accent-border); }
.partner-cat {
  display: inline-block; padding: 3px 10px; border-radius: 100px; margin-bottom: 14px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-border);
}
.partner-pg-name { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 10px; letter-spacing: -.02em; }
.partner-pg-desc { font-size: 13px; color: var(--text-3); line-height: 1.65; }

.ecosystem-grid  { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.ecosystem-card  { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--rad-m); padding: 28px; }
.ecosystem-icon  { width: 40px; height: 40px; border-radius: var(--rad-s); background: var(--accent-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ecosystem-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.ecosystem-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ecosystem-desc  { font-size: 13px; color: var(--text-3); line-height: 1.65; }

/* 21 · Contact Page
   ------------------------------------------------------------ */
.contact-grid  { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-info  { }
.contact-info h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.contact-info > p { font-size: 15px; color: var(--text-3); line-height: 1.7; margin-bottom: 36px; }

.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-item:first-of-type { padding-top: 0; }
.contact-item:last-of-type  { border: none; }
.contact-item-icon {
  width: 40px; height: 40px; border-radius: var(--rad-s);
  background: var(--accent-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.contact-item-lbl   { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-4); margin-bottom: 4px; }
.contact-item-value { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-item-sub   { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* Contact Form */
.contact-form-wrap {
  background: white; border: 1px solid var(--border);
  border-radius: var(--rad-l); padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--sh-l);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--rad-s);
  font-size: 14px; color: var(--text); background: var(--bg);
  transition: border-color var(--t-fast), box-shadow var(--t-fast); outline: none;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-input::placeholder { color: var(--text-4); }
textarea.form-input { resize: vertical; min-height: 110px; }
select.form-input  { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-btn  { grid-column: 1 / -1; width: 100%; padding: 14px; background: var(--accent); color: white; border-radius: var(--rad-s); font-size: 15px; font-weight: 600; cursor: pointer; transition: background var(--t-fast); margin-top: 6px; }
.form-btn:hover { background: var(--accent-h); }
.form-note { grid-column: 1/-1; font-size: 12px; color: var(--text-4); text-align: center; }

.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success-icon { width: 56px; height: 56px; background: #F0FDF4; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success-icon svg { width: 28px; height: 28px; stroke: #059669; fill: none; stroke-width: 2.5; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-success p  { font-size: 15px; color: var(--text-3); }

/* 22 · Divider / utilities
   ------------------------------------------------------------ */
.divider { height: 1px; background: var(--border); margin: clamp(48px, 6vw, 72px) 0; }
.mt-auto  { margin-top: auto; }
.text-center { text-align: center; }

/* 23 · Animations
   ------------------------------------------------------------ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
@keyframes dot-pulse {
  0%, 100% { opacity: .12; transform: scale(1); }
  50%       { opacity: .25; transform: scale(1.3); }
}

/* Scroll-in fade */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.fade-up.in { opacity: 1; transform: none; }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }
.fade-up.delay-5 { transition-delay: .5s; }

/* 24 · Responsive
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hero-grid        { grid-template-columns: 1fr; }
  .hero-visual      { min-height: 340px; order: -1; }
  .globe-wrap       { width: 300px; height: 300px; }
  .hero-h1          { font-size: clamp(30px, 5vw, 48px); }
  .hero-sub         { max-width: 100%; }
  .metrics-grid     { grid-template-columns: repeat(3, 1fr); }
  .metrics-grid .metric-item:nth-child(3)::before { display: none; }
  .feature-grid     { grid-template-columns: 1fr 1fr; }
  .partner-grid     { grid-template-columns: repeat(3, 1fr); }
  .partner-page-grid { grid-template-columns: repeat(3, 1fr); }
  .inventory-grid   { grid-template-columns: 1fr; gap: 40px; }
  .why-grid         { grid-template-columns: 1fr; gap: 40px; }
  .why-side-box     { position: static; }
  .about-split      { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid     { grid-template-columns: 1fr; }
  .ecosystem-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger        { display: flex; }
  .f-pill               { display: none; }
  .hero-visual          { min-height: 280px; }
  .globe-wrap           { width: 240px; height: 240px; }
  .metrics-grid         { grid-template-columns: 1fr 1fr; }
  .metrics-grid .metric-item:nth-child(2)::before,
  .metrics-grid .metric-item:nth-child(4)::before { display: none; }
  .feature-grid         { grid-template-columns: 1fr; }
  .partner-grid         { grid-template-columns: 1fr 1fr; }
  .partner-page-grid    { grid-template-columns: 1fr 1fr; }
  .audience-grid        { grid-template-columns: 1fr; }
  .format-grid          { grid-template-columns: 1fr; }
  .ecosystem-grid       { grid-template-columns: 1fr; }
  .values-grid          { grid-template-columns: 1fr; }
  .form-grid            { grid-template-columns: 1fr; }
  .form-group.full      { grid-column: 1; }
  .form-btn             { grid-column: 1; }
  .form-note            { grid-column: 1; }
  .footer-grid          { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom        { flex-direction: column; gap: 14px; text-align: center; }
  .cta-actions          { flex-direction: column; align-items: stretch; }
  .cta-actions .btn     { justify-content: center; }
  .hero-actions         { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .metrics-grid  { grid-template-columns: 1fr; }
  .metric-item + .metric-item::before { display: none; }
  .partner-grid  { grid-template-columns: 1fr 1fr; }
  .partner-page-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust    { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ============================================================
   APPSPARK v3.0 — Game Developer Positioning
   Additional styles appended
   ============================================================ */

/* ── Games Showcase ─────────────────────────────────────── */
.games-section { background: var(--bg-subtle); }
.games-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 52px;
}
.game-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--rad-l); padding: 22px 20px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.game-card:hover { box-shadow: var(--sh-m); border-color: var(--border-strong); transform: translateY(-3px); }
.game-icon-wrap {
  width: 64px; height: 64px; border-radius: 16px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.game-icon-wrap svg { width: 30px; height: 30px; }
.gi-pink    { background: linear-gradient(135deg, #FF6EB4 0%, #E0197D 100%); }
.gi-blue    { background: linear-gradient(135deg, #60AEFF 0%, #2563EB 100%); }
.gi-orange  { background: linear-gradient(135deg, #FFB340 0%, #F97316 100%); }
.gi-green   { background: linear-gradient(135deg, #4ADE80 0%, #16A34A 100%); }
.gi-purple  { background: linear-gradient(135deg, #C084FC 0%, #7C3AED 100%); }
.gi-teal    { background: linear-gradient(135deg, #2DD4BF 0%, #0891B2 100%); }
.gi-red     { background: linear-gradient(135deg, #FB7185 0%, #DC2626 100%); }
.gi-yellow  { background: linear-gradient(135deg, #FCD34D 0%, #D97706 100%); }

.game-info { flex: 1; min-width: 0; }
.game-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -.01em; line-height: 1.3; }
.game-cat  { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--accent-bg); border: 1px solid var(--accent-border); padding: 2px 9px; border-radius: 100px; margin-bottom: 8px; }
.game-desc { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 12px; }
.platform-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pbadge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600; color: var(--text-3);
  background: var(--bg-muted); padding: 3px 9px;
  border-radius: var(--rad-s); border: 1px solid var(--border); letter-spacing: .02em;
}
.pbadge svg { width: 11px; height: 11px; }
.games-note { text-align: center; font-size: 13px; color: var(--text-4); margin-top: 36px; font-style: italic; }

/* ── Hero adjustments for game identity ─────────────────── */
.hero-badge.game { background: linear-gradient(135deg, var(--accent-bg) 0%, #F0FDF4 100%); border-color: var(--accent-border); }
.hero-badge-dot.game { background: var(--accent); }

/* ── Studio feature strip ───────────────────────────────── */
.studio-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.studio-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.studio-strip-item { text-align: center; padding: 16px 24px; position: relative; }
.studio-strip-item + .studio-strip-item::before { content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--border); }
.strip-icon { width: 40px; height: 40px; border-radius: var(--rad-s); background: var(--accent-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.strip-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.strip-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.strip-desc  { font-size: 12px; color: var(--text-3); line-height: 1.55; }

/* ── Legal Pages ─────────────────────────────────────────── */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: clamp(48px,6vw,80px) 0 clamp(64px,8vw,100px); }
.legal-updated { font-size: 13px; color: var(--text-4); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal-wrap h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 44px 0 14px; padding-top: 12px; letter-spacing: -.015em; }
.legal-wrap h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 28px 0 10px; }
.legal-wrap p  { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.legal-wrap ul, .legal-wrap ol { margin: 8px 0 20px 22px; }
.legal-wrap ul { list-style: disc; }
.legal-wrap ol { list-style: decimal; }
.legal-wrap li { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 8px; }
.legal-wrap a  { color: var(--accent); }
.legal-wrap a:hover { text-decoration: underline; }
.legal-contact-box { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--rad-m); padding: 28px 32px; margin-top: 48px; }
.legal-contact-box h3 { margin-top: 0; }

/* ── Updated metric label for game context ──────────────── */
.metric-number.text-sm { font-size: clamp(18px, 2.2vw, 26px) !important; letter-spacing: -.01em; }

/* Responsive additions */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: 1fr 1fr; }
  .studio-strip-grid { grid-template-columns: 1fr 1fr; }
  .studio-strip-item:nth-child(2)::before { display: none; }
}
@media (max-width: 768px) {
  .games-grid { grid-template-columns: 1fr; }
  .studio-strip-grid { grid-template-columns: 1fr 1fr; }
  .studio-strip-item:nth-child(2)::before { display: none; }
}
@media (max-width: 480px) {
  .studio-strip-grid { grid-template-columns: 1fr; }
  .studio-strip-item + .studio-strip-item::before { display: none; }
  .game-card { flex-direction: column; }
}

/* ── Games Showcase V2 (real logos + proof metrics) ─────── */
.games-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.game-card-v2 {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--rad-l);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
  cursor: default;
}
.game-card-v2:hover {
  box-shadow: var(--sh-m);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.gcard-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.gcard-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.gcard-icon img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gcard-meta { flex: 1; min-width: 0; }
.gcard-title {
  font-size: 14px; font-weight: 700;
  color: var(--text); line-height: 1.35;
  letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gcard-genre {
  font-size: 11px; font-weight: 500;
  color: var(--text-4);
  margin-top: 4px;
  text-transform: uppercase; letter-spacing: .06em;
}
.gcard-metrics {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}
.gcard-metric {
  flex: 1;
  text-align: center;
  padding: 0 6px;
  position: relative;
}
.gcard-metric + .gcard-metric::before {
  content: '';
  position: absolute;
  left: 0; top: 8%; bottom: 8%;
  width: 1px;
  background: var(--border);
}
.gcard-metric-val {
  font-size: 15px; font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.gcard-metric-val.gm-star { color: #F59E0B; font-size: 14px; }
.gcard-metric-lbl {
  font-size: 9px; color: var(--text-4);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; margin-top: 4px;
}

@media (max-width: 1024px) { .games-grid-v2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .games-grid-v2 { grid-template-columns: 1fr; } }
