/* ============================================================
   MESSENGER2050 GAME STUDIO — MAIN STYLESHEET
   Dark cyber-neon aesthetic: deep space black, electric cyan, 
   neon magenta accents, sharp grid geometry
   ============================================================ */

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

/* ── CSS VARIABLES ── */
:root {
  --bg-void:        #030508;
  --bg-dark:        #070b12;
  --bg-card:        #0c1220;
  --bg-card-hover:  #111a2e;
  --border-glow:    #00e5ff;
  --border-subtle:  rgba(0, 229, 255, 0.15);
  --accent-cyan:    #00e5ff;
  --accent-magenta: #ff0080;
  --accent-yellow:  #ffe600;
  --accent-rose:    #e8274b;
  --accent-rose-soft: #ff4d6d;
  --glow-rose:      0 0 20px rgba(232,39,75,0.45), 0 0 40px rgba(232,39,75,0.15);
  --text-primary:   #e8f4f8;
  --text-secondary: #7fa8bf;
  --text-muted:     #3d6070;
  --grad-cyan:      linear-gradient(135deg, #00e5ff, #0099cc);
  --grad-magenta:   linear-gradient(135deg, #ff0080, #cc00aa);
  --grad-hero:      linear-gradient(160deg, #00e5ff11 0%, transparent 50%, #ff008011 100%);
  --font-display:   'Inter', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-small:     'Inter', sans-serif;
  --nav-h:          72px;
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-cyan:      0 0 20px rgba(0, 229, 255, 0.4), 0 0 40px rgba(0, 229, 255, 0.15);
  --glow-magenta:   0 0 20px rgba(255, 0, 128, 0.4), 0 0 40px rgba(255, 0, 128, 0.15);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.72;
  overflow-x: hidden;
  cursor: default;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* Selection */
::selection { background: rgba(0, 229, 255, 0.3); color: white; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* Orbitron only on hero h1 and page hero h1 */
.hero h1,
.page-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

h1 { font-size: clamp(2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { font-size: 0.975rem; line-height: 1.78; color: var(--text-secondary); }

a { color: var(--accent-cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: white; }

ul { list-style: none; }

/* ── LAYOUT UTILITIES ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section--dark { background: var(--bg-dark); }

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

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── SECTION HEADERS ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.section-tag--magenta {
  color: var(--accent-magenta);
  border-color: rgba(255, 0, 128, 0.35);
}

.section-header { margin-bottom: 3.5rem; }

.section-title {
  margin-bottom: 0.75rem;
}

.section-title .highlight {
  -webkit-text-stroke: 1px var(--accent-cyan);
  color: transparent;
  position: relative;
}

/* Headings on white sections use #ff6666 not cyan */
.section--white .section-title span,
.section--white h2 span[style*='accent-cyan'],
.section--white h2 span[style*='color:var(--accent-cyan)'] {
  color: #ff6666 !important;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Decorative line */
.deco-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.deco-line::before {
  content: '';
  width: 48px;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}
.deco-line::after {
  content: '';
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent-cyan);
  transform: rotate(45deg);
  box-shadow: var(--glow-cyan);
}

/* ── GRID BACKGROUND ── */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.section > .container { position: relative; z-index: 1; }

/* ── NAVIGATION ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(3, 5, 8, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(3, 5, 8, 0.98);
  border-bottom-color: rgba(0, 229, 255, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

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

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-cyan);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
  flex-shrink: 0;
}

.logo-icon span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--bg-void);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-small);
  font-size: 0.6rem;
  color: var(--accent-cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: var(--transition);
  box-shadow: var(--glow-cyan);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-void);
  background: var(--accent-cyan);
  padding: 0.55rem 1.2rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: var(--transition);
  box-shadow: var(--glow-cyan);
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: white;
  color: var(--bg-void);
  box-shadow: 0 0 30px rgba(255,255,255,0.4);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition);
}

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

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(3,5,8,0.98);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 2rem;
    gap: 0.25rem;
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 0.75rem 0; font-size: 0.75rem; }
  .nav-cta { margin: 0.75rem 0 0; align-self: flex-start; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-void);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  background: white;
  color: var(--bg-void);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255,255,255,0.3);
}

.btn-outline {
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  background: transparent;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-magenta {
  background: var(--accent-magenta);
  color: white;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: var(--glow-magenta);
}

.btn-magenta:hover {
  background: #ff4da6;
  transform: translateY(-2px);
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.08);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  font-size: 1.4rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── FEATURE LIST ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '▸';
  color: var(--accent-cyan);
  font-size: 0.7rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0, 229, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(255, 0, 128, 0.05) 0%, transparent 60%),
    var(--bg-void);
  z-index: 0;
}

.hero .grid-bg { opacity: 0.6; }

.hero-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  animation: scan 4s ease-in-out infinite;
  opacity: 0.4;
  z-index: 2;
}

@keyframes scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { top: 100%; opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-small);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.hero-badge::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-title .line-glow {
  display: block;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.hero-title .line-stroke {
  display: block;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.platform-tag {
  font-family: var(--font-small);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  transition: var(--transition);
}

.platform-tag:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-small);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ── PROCESS STEPS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
}

.process-step {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: var(--bg-card);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: var(--accent-cyan);
  color: var(--bg-void);
  box-shadow: var(--glow-cyan);
}

.step-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::after { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ── TECH PILLS ── */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1rem;
  transition: var(--transition);
}

.tech-pill:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.tech-pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ── WHO WE WORK WITH CARDS ── */
.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  transition: var(--transition);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.client-card:hover {
  border-color: var(--accent-magenta);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 0, 128, 0.1);
}

.client-type {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  margin-bottom: 0.75rem;
}

.client-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-magenta), transparent);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo-name { font-size: 1rem; }

.footer-about {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-small);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-divider {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-cyan);
  margin: 0 0.5rem;
  vertical-align: middle;
}

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

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 3.5rem;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero .grid-bg { opacity: 0.4; }

.page-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-small);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover { color: var(--accent-cyan); }

.breadcrumb span { color: var(--accent-cyan); }

/* ── ACCORDION / COLLAPSE ── */
.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: var(--transition);
  user-select: none;
}

.accordion-trigger:hover { color: var(--accent-cyan); }

.accordion-icon {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 0 0 1.5rem;
}

.accordion-item.open .accordion-body { display: block; }

/* ── PORTFOLIO CARD ── */
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.portfolio-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
}

.portfolio-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-dark));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.portfolio-thumb-icon {
  font-size: 3rem;
  position: relative;
  z-index: 1;
}

.portfolio-card-body {
  padding: 1.5rem;
}

.portfolio-tag {
  font-family: var(--font-small);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  margin-bottom: 0.5rem;
}

.portfolio-card h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ── CONTACT FORM ── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select option { background: var(--bg-dark); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ── MISC UTILS ── */
.text-cyan { color: var(--accent-cyan); }
.text-magenta { color: var(--accent-magenta); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ── RESPONSIVE TWO-COL (inline-style grids on inner pages) ── */
@media (max-width: 768px) {
  .about-grid,
  [class*="grid"] {
    /* already handled by grid-2/3/4 breakpoints */
  }
  /* Fix inline-style grids used on inner pages */
  section .container > div[style*="grid-template-columns:1fr 1fr"],
  section .container > div[style*="grid-template-columns: 1fr 1fr"],
  section > .container > div[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  section .container > div[style*="grid-template-columns:80px 1fr"],
  section .container > div[style*="grid-template-columns: 80px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .about-grid { grid-template-columns: 1fr !important; }
  .hero-stats  { flex-wrap: wrap; gap: 1.5rem; }
  .cta-band-inner { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .stats-band-grid { grid-template-columns: repeat(2,1fr) !important; }
  .stats-band-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stats-band-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
  .hero-stats  { gap: 1rem; }
  .process-grid { grid-template-columns: 1fr !important; }
}

/* ── VIDEO HERO BACKGROUND ── */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: brightness(0.6);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3,5,8,0.85) 0%, rgba(3,5,8,0.3) 30%, rgba(3,5,8,0.1) 60%, transparent 100%);
  z-index: 1;
}

/* ── IMAGE CARDS ── */
.img-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
  filter: saturate(0.85) brightness(0.9);
}
.img-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) brightness(1);
}
.img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,5,8,0.85) 0%, transparent 55%);
  z-index: 1;
  transition: opacity 0.4s;
}
.img-card-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

/* ── ABOUT IMAGE ── */
.about-img-wrap {
  position: relative;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: saturate(0.7) brightness(0.75);
  transition: filter 0.5s ease;
}
.about-img-wrap:hover img { filter: saturate(0.9) brightness(0.85); }
.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(3,5,8,0.88);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  backdrop-filter: blur(8px);
}
.about-img-badge span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

/* ── PORTFOLIO THUMB IMAGES ── */
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.4s;
  filter: saturate(0.8) brightness(0.8);
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(0.95);
}
.portfolio-thumb { overflow: hidden; }

/* ── PLATFORM SHOWCASE ROW ── */
.platform-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.platform-showcase-item {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-card);
}
.platform-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.6);
  transition: filter 0.5s, transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.platform-showcase-item:hover img {
  filter: saturate(1) brightness(0.85);
  transform: scale(1.06);
}
.platform-showcase-item-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: linear-gradient(to top, rgba(3,5,8,0.7) 0%, rgba(3,5,8,0.1) 100%);
  transition: background 0.4s;
}
.platform-showcase-item:hover .platform-showcase-item-label {
  background: linear-gradient(to top, rgba(3,5,8,0.5) 0%, rgba(3,5,8,0.05) 100%);
}
.platform-showcase-item-label .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.platform-showcase-item-label .name {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}
@media (max-width: 700px) {
  .platform-showcase { grid-template-columns: repeat(2,1fr); }
}

/* ── SECTION IMAGE SPLIT ── */
.split-img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 360px;
}
.split-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: saturate(0.75) brightness(0.7);
}
.split-img-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.08) 0%, rgba(255,0,128,0.05) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ── HORIZONTAL RULE ── */
.hr-glow {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.3), transparent);
  margin: 3rem 0;
}

/* ── GLOW NUMBER ── */
.glow-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 229, 255, 0.15);
  position: absolute;
  top: -1rem;
  right: 1rem;
  pointer-events: none;
  user-select: none;
}

/* ── WHY CHOOSE cards ── */
.why-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: var(--bg-card-hover);
}

.why-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.why-content h3 {
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.why-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── INLINE TAG ── */
.inline-highlight {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ── PREVIEW STRIP for homepage sections ── */
.preview-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.preview-strip::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-cyan);
}

.preview-strip:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0,229,255,0.3);
}

.preview-strip-content h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.preview-strip-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.preview-strip-action {
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   WHITE / LIGHT SECTIONS
══════════════════════════════════════════════════ */
:root {
  --white-bg:     #f1f2f9;
  --white-card:   #e8eaf2;
  --white-border: #d4d8e8;
  --dark-heading: #12151e;
  --dark-body:    #3d4460;
}

.section--white {
  background: var(--white-bg);
}

.section--white .section-tag {
  color: var(--accent-cyan);
  border-color: rgba(0,229,255,0.45);
  background: rgba(0,229,255,0.08);
}

.section--white .deco-line::before,
.section--white .deco-line::after {
  filter: none;
}

/* Light why-card variant */
.why-card--light {
  background: var(--white-card);
  border: 1px solid var(--white-border);
}
.why-card--light:hover {
  border-color: var(--accent-cyan);
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,229,255,0.1);
}
.why-card--light .why-content h3 { color: var(--dark-heading); }
.why-card--light .why-content p  { color: var(--dark-body); }
.why-card--light .why-icon {
  background: rgba(0,229,255,0.08);
  border-color: rgba(0,229,255,0.25);
}

/* Light client-card variant */
.client-card--light {
  background: var(--white-card);
  border: 1px solid var(--white-border);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.client-card--light:hover {
  border-color: var(--accent-cyan);
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,229,255,0.12);
  transform: translateY(-4px);
}
.client-card--light .client-type { color: var(--accent-cyan); }

/* ══════════════════════════════════════════════════
   ENGINE / TECHNOLOGY LOGOS GRID
══════════════════════════════════════════════════ */
.engine-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.engine-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 90px;
  cursor: default;
  transition: var(--transition);
  position: relative;
}

.engine-logo-item svg {
  width: 48px;
  height: 48px;
  color: #aab4c4;
  transition: color 0.3s ease, transform 0.3s ease;
}

.engine-logo-item span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.3s ease;
  text-align: center;
}

.engine-logo-item:hover svg {
  color: var(--accent-cyan);
  transform: translateY(-4px);
  filter: drop-shadow(0 0 8px rgba(0,229,255,0.5));
}
.engine-logo-item:hover span { color: var(--accent-cyan); }

/* On white sections, darken the default state */
.section--white .engine-logo-item svg { color: #9aa5b4; }
.section--white .engine-logo-item span { color: #666; }
.section--white .engine-logo-item:hover svg { color: var(--accent-cyan); }
.section--white .engine-logo-item:hover span { color: var(--accent-cyan); }

/* Dark tech pill variant for white sections */
.tech-pill--dark {
  color: #444;
  border-color: #d1d9e6;
  background: var(--white-card);
}
.tech-pill--dark .dot { background: var(--accent-cyan); }
.tech-pill--dark:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(0,229,255,0.06);
  box-shadow: 0 0 12px rgba(0,229,255,0.15);
}

/* ══════════════════════════════════════════════════
   TECHNOLOGIES PAGE — LOGO SECTION
══════════════════════════════════════════════════ */
.tech-logo-band {
  background: var(--white-bg);
  padding: 4rem 0;
  border-top: 1px solid var(--white-border);
  border-bottom: 1px solid var(--white-border);
}

.tech-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--white-border);
  border: 1px solid var(--white-border);
  overflow: hidden;
}

.tech-logo-cell {
  background: var(--white-bg);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}
.tech-logo-cell:hover {
  background: rgba(0,229,255,0.04);
}
.tech-logo-cell svg {
  width: 44px;
  height: 44px;
  color: #9aa5b4;
  transition: color 0.3s, transform 0.3s;
}
.tech-logo-cell:hover svg {
  color: var(--accent-cyan);
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(0,229,255,0.4));
}
.tech-logo-cell .tech-logo-name {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  text-align: center;
}
.tech-logo-cell:hover .tech-logo-name { color: var(--accent-cyan); }
.tech-logo-cell .tech-logo-desc {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════
   REFINED WHITE SECTION — #f1f2f9 BASE
   Text must be dark & readable, not washed-out blue
══════════════════════════════════════════════════ */

/* All paragraphs inside white sections */
.section--white p,
.section--white .card-text,
.section--white .why-card--light .why-content p {
  color: var(--dark-body);
  font-size: 0.95rem;
}

.section--white h2,
.section--white h3,
.section--white h4 {
  color: var(--dark-heading);
}

.section--white .section-subtitle {
  color: #505878;
}

/* Tech pills on white */
.tech-pill--dark {
  color: #353b5a;
  border-color: #c2c8dc;
  background: #eceef6;
  font-size: 0.65rem;
}

/* Engine logos on white — darker default so they're visible */
.section--white .engine-logo-item svg { color: #6b7494; }
.section--white .engine-logo-item span { color: #505878; }

/* Tech logo cells on white */
.tech-logo-cell {
  background: var(--white-bg);
}
.tech-logo-cell svg { color: #7a829e; }
.tech-logo-cell .tech-logo-name { color: #505878; }
.tech-logo-cell .tech-logo-desc { color: #7a829e; }

/* ══════════════════════════════════════════════════
   DARK "WHO WE WORK WITH" — ROSE / RED ACCENT
   Replaces the ugly white version
══════════════════════════════════════════════════ */

.client-card--rose {
  background: var(--bg-card);
  border: 1px solid rgba(232,39,75,0.15);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: var(--transition);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.client-card--rose::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-rose-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.client-card--rose:hover {
  border-color: rgba(232,39,75,0.4);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232,39,75,0.12);
}

.client-card--rose:hover::before {
  transform: scaleX(1);
}

.client-card--rose .client-type {
  color: var(--accent-rose-soft);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.client-card--rose h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.client-card--rose p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Rose section tag variant */
.section-tag--rose {
  color: var(--accent-rose-soft);
  border-color: rgba(232,39,75,0.35);
  background: rgba(232,39,75,0.06);
}

/* Rose button variant */
.btn-rose {
  background: var(--accent-rose);
  color: #fff;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: var(--glow-rose);
}
.btn-rose:hover {
  background: var(--accent-rose-soft);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(232,39,75,0.5);
}

/* ══════════════════════════════════════════════════
   HERO VIDEO — fixed overlay so text is always readable
══════════════════════════════════════════════════ */

.hero-video-wrap video {
  opacity: 1;
  filter: brightness(0.75);
}

.hero-video-overlay {
  background:
    linear-gradient(to top, rgba(3,5,8,0.85) 0%, rgba(3,5,8,0.3) 30%, rgba(3,5,8,0.1) 60%, transparent 100%);
}

/* ══════════════════════════════════════════════════
   REDUCE BLUE OVERLOAD — selective de-blue
══════════════════════════════════════════════════ */

/* Process steps: alternate cyan / rose */
.process-step:nth-child(2) .step-num,
.process-step:nth-child(4) .step-num {
  border-color: rgba(232,39,75,0.4);
  color: var(--accent-rose-soft);
}
.process-step:nth-child(2):hover .step-num,
.process-step:nth-child(4):hover .step-num {
  background: var(--accent-rose);
  color: #fff;
  box-shadow: var(--glow-rose);
}

/* Why-cards: every other one gets rose icon border */
.why-card:nth-child(even) .why-icon,
.why-card--light:nth-child(even) .why-icon {
  background: rgba(232,39,75,0.07);
  border-color: rgba(232,39,75,0.22);
}





/* CTA band top border: cyan-to-rose gradient */
.cta-band::before {
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-rose), transparent);
}

/* Marquee dots: alternate rose */
.marquee-item:nth-child(even)::before {
  background: var(--accent-rose-soft);
  box-shadow: 0 0 6px rgba(232,39,75,0.5);
}

/* Footer heading accent */
.footer-col h4 {
  color: var(--accent-rose-soft);
}

/* Card top border on hover: rose for every other card */
.card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-rose-soft));
}

/* ══════════════════════════════════════════════════
   SECTION DIVIDER — thin rose/cyan gradient line
══════════════════════════════════════════════════ */
.section-divider-rc {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.3), rgba(232,39,75,0.3), transparent);
  border: none;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   PAGE HERO — moodlevel video on inner pages
══════════════════════════════════════════════════ */
.page-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(1.3) brightness(0.85);
}
.page-hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(7,11,18,0.96) 40%, rgba(7,11,18,0.7) 100%),
    linear-gradient(to top,    rgba(7,11,18,1)    0%,  transparent 35%);
}
.page-hero .container { position: relative; z-index: 2; }


/* ══════════════════════════════════════════════════
   HEADING ACCENT ON LIGHT SECTIONS
   Use #ff6666 instead of cyan — better contrast on #f1f2f9
══════════════════════════════════════════════════ */
.section--white .text-accent-heading {
  color: #ff6666;
}

/* Override any inline cyan spans inside white section headings */
.section--white h1 span,
.section--white h2 span,
.section--white h3 span {
  color: #ff6666;
}

/* Except explicit overrides (buttons etc) */
.section--white .btn,
.section--white .section-tag,
.section--white .tech-pill,
.section--white .dot,
.section--white .engine-logo-item:hover svg {
  color: revert;
}
.section--white .section-tag { color: var(--accent-cyan); }
.section--white .tech-pill--dark:hover { color: var(--accent-cyan); }

/* ══════════════════════════════════════════════════
   WHO WE WORK WITH — MINIMAL DARK CARDS
   Remove rose from the cards entirely, keep neutral dark style
   Only the h3 client-type headings get the fun colors
══════════════════════════════════════════════════ */

/* Reset client-card--rose to clean dark neutral */
.client-card--rose {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: var(--transition);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.client-card--rose::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  transform: scaleX(1);
}
.client-card--rose:hover {
  border-color: rgba(255,255,255,0.12);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
/* Remove rose glow on hover */
.client-card--rose:hover::before {
  background: rgba(255,255,255,0.1);
}

/* The small label above the title — muted, not colourful */
.client-card--rose .client-type {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

/* The MAIN h3 heading — each card gets its own eyecatching color */
.client-card--rose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}
.client-card--rose p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Per-card heading colors — vivid & distinct */
.client-card--rose:nth-child(1) h3 { color: #4ade80; }   /* green   — Startups & Indie */
.client-card--rose:nth-child(2) h3 { color: #facc15; }   /* yellow  — Brands & Agencies */
.client-card--rose:nth-child(3) h3 { color: #60a5fa; }   /* blue    — Publishers & Studios */
.client-card--rose:nth-child(4) h3 { color: #f472b6; }   /* pink    — Education & Simulation */

/* Section subtitle centered and constrained */
.section-header[style*='text-align:center'] .section-subtitle,
.section-header[style*='text-align: center'] .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
  display: block;
  text-align: center;
}

/* ══════════════════════════════════════════════════
   MARQUEE — WHITE LOGO ICONS
══════════════════════════════════════════════════ */
.marquee-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  filter: brightness(0) invert(1); /* force white on dark bg */
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Remove the CSS ::before dot since we now have real logo images */
.marquee-item::before { display: none; }

/* ══════════════════════════════════════════════════
   ENGINE LOGOS — REAL COLORED ICONS ON WHITE BG
══════════════════════════════════════════════════ */
.engine-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.engine-logo-item:hover .engine-logo-img {
  transform: translateY(-4px);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Remove old SVG color rules — not needed with img tags */
.engine-logo-item svg { display: none; }

/* Fix text labels on white section — must be dark */
.section--white .engine-logo-item span {
  color: #505878;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.section--white .engine-logo-item:hover span {
  color: #12151e;
}

/* ══════════════════════════════════════════════════
   STAT NUMBERS — FLAT CYAN, NO GRADIENT
══════════════════════════════════════════════════ */
.stat-num,
.stats-band-num {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--accent-cyan) !important;
  background-clip: unset !important;
  color: var(--accent-cyan) !important;
}

/* ══════════════════════════════════════════════════
   TECH SECTION — BIGGER LOGOS, DARK PILL TEXT
══════════════════════════════════════════════════ */

/* Bigger engine logo items */
.engine-logo-item {
  width: 110px;
  gap: 0.75rem;
}

.engine-logo-img {
  width: 58px;
  height: 58px;
}

.engine-logo-item span {
  font-size: 0.68rem;
  font-weight: 600;
}

/* Fix ALL tech pill text on white bg — force dark */
.section--white .tech-pill,
.section--white .tech-pill--dark,
.tech-pill--dark {
  color: #1a1f35 !important;
  background: #eceef6 !important;
  border-color: #c8cce0 !important;
  font-size: 0.75rem !important;
  padding: 0.5rem 1.1rem !important;
}

.tech-pill--dark span,
.section--white .tech-pill span {
  color: #1a1f35 !important;
}

.tech-pill--dark:hover,
.section--white .tech-pill--dark:hover {
  color: var(--accent-cyan) !important;
  border-color: var(--accent-cyan) !important;
  background: rgba(0,229,255,0.07) !important;
}

/* ══════════════════════════════════════════════════
   SECTION TAGS ON WHITE BG — #007e8c
══════════════════════════════════════════════════ */
.section--white .section-tag {
  color: #007e8c !important;
  border-color: rgba(0, 126, 140, 0.4) !important;
  background: rgba(0, 126, 140, 0.06) !important;
}
