/* ============================================================
   PlatinumOne — Shared Stylesheet
   Layout: fixed left sidebar, near-black bg, blue-pink gradient
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg-deep:       #020010;
  --bg-base:       #060018;
  --bg-rise:       #0A001E;
  --bg-card:       rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --blue-500:   #566FF0;
  --violet-400: #7F6DE8;
  --violet-500: #987BF0;
  --pink-500:   #B974DD;
  --pink-hot:   #FB6DC3;

  /* backwards-compat aliases */
  --purple-200: #C4B5FD;
  --purple-300: #987BF0;
  --purple-400: #7F6DE8;
  --purple-500: #566FF0;
  --purple-glow: rgba(86, 111, 240, 0.35);

  --gradient-brand: linear-gradient(135deg, #566FF0 0%, #987BF0 50%, #FB6DC3 100%);

  --yellow:      #FBBF24;
  --yellow-hot:  #F59E0B;
  --yellow-glow: rgba(251, 191, 36, 0.35);

  --text-primary:   #FFFFFF;
  --text-secondary: #C7BEE0;
  --text-muted:     #8A82A8;
  --text-dim:       #5C5479;

  --bg-light:           #F5F3FF;
  --text-dark:          #0D0826;
  --text-dark-secondary:#4A4168;
  --text-dark-muted:    #7A7098;

  --border-subtle: rgba(86, 111, 240, 0.18);
  --border-strong: rgba(86, 111, 240, 0.45);

  --sidebar-w:   260px;
  --container:   1280px;
  --radius-pill: 999px;
  --radius-card: 18px;
  --radius-lg:   28px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-left: var(--sidebar-w);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 15% 0%,  rgba(86, 111, 240, 0.20), transparent 60%),
    radial-gradient(800px 500px at 85% 20%, rgba(152, 123, 240, 0.14), transparent 60%),
    radial-gradient(700px 500px at 50% 90%, rgba(251, 109, 195, 0.09), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 50%, var(--bg-rise) 100%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1.25rem;
}

.accent { color: var(--violet-500); }
.accent-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}

.section       { padding: 96px 0; position: relative; }
.section-sm    { padding: 64px 0; }
.section-flush { padding: 0; position: relative; }

/* ---------- Light sections ---------- */
.section-light { background: var(--bg-light); position: relative; }

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5 { color: var(--text-dark); }

.section-light p  { color: var(--text-dark-secondary); }
.section-light .eyebrow { color: var(--blue-500); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  background: rgba(2, 0, 16, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid var(--border-subtle);
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar-logo { display: block; margin-bottom: 4px; flex-shrink: 0; }
.sidebar-logo-img { width: 188px; height: auto; }

.sidebar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.sidebar-phone-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(86, 111, 240, 0.45);
}
.sidebar-phone-icon svg { width: 13px; height: 13px; }

.sidebar-nav { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.sidebar-links a:hover { background: rgba(86, 111, 240, 0.12); color: #ffffff; }
.sidebar-links a.active { background: rgba(86, 111, 240, 0.16); color: #A09CF8; }

/* Expandable submenu (Solutions ▸ products) */
.has-submenu { display: flex; flex-direction: column; gap: 2px; }
.submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.submenu-toggle:hover { background: rgba(86, 111, 240, 0.12); color: #ffffff; }
.has-submenu.active > .submenu-toggle { color: #A09CF8; }
.submenu-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.has-submenu.open .submenu-chevron { transform: rotate(180deg); }

.submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s var(--ease-out);
}
.has-submenu.open .submenu { max-height: 320px; }
.submenu a {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.submenu a:hover { background: rgba(86, 111, 240, 0.12); color: #ffffff; }
.submenu a.active { background: rgba(86, 111, 240, 0.16); color: #A09CF8; }
.submenu-label {
  padding: 12px 14px 4px;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.sidebar-bottom {
  flex-shrink: 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-links-secondary a { font-size: 0.95rem; padding: 9px 14px; }

.sidebar-cta { width: 100%; justify-content: center; font-size: 0.88rem; padding: 11px 20px; }

/* Mobile toggle */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 16px; left: 16px;
  z-index: 300;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(2, 0, 16, 0.92);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s;
}
.sidebar-toggle:hover { background: rgba(86, 111, 240, 0.15); }
.sidebar-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.sidebar-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sidebar-toggle.active span:nth-child(2) { opacity: 0; }
.sidebar-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 199;
  backdrop-filter: blur(4px);
}
.sidebar-overlay.active { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #FCD34D 0%, #F59E0B 100%);
  color: #1A0F3D;
  box-shadow: 0 8px 24px -8px var(--yellow-glow), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 32px -10px var(--yellow-glow); }
.btn-primary svg { width: 16px; height: 16px; }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

.section-light .btn-ghost {
  background: rgba(86,111,240,0.08);
  color: var(--text-dark);
  border-color: rgba(86,111,240,0.3);
}
.section-light .btn-ghost:hover { background: rgba(86,111,240,0.14); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: clamp(560px, 78vh, 800px);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease-out); }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,0,16,0.95) 0%, rgba(2,0,16,0.60) 55%, rgba(2,0,16,0.20) 100%),
    linear-gradient(180deg, rgba(2,0,16,0.30) 0%, transparent 30%, rgba(2,0,16,0.70) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 640px; padding-left: max(32px, 4vw); }
.hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.hero-copy h1 .accent-gradient { display: block; }
.hero-copy p { font-size: 1.15rem; color: var(--text-secondary); max-width: 520px; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 4;
}
.hero-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s var(--ease-out);
  padding: 0;
}
.hero-dots button.active { background: var(--text-primary); width: 32px; border-radius: 4px; }

/* ============================================================
   BANNER (light)
   ============================================================ */
.banner { text-align: center; padding: 72px 32px; }
.banner h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
.banner-sub {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: var(--text-dark-secondary);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach { padding: 80px 0 40px; text-align: center; }
.approach h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 20ch; margin: 0 auto; font-weight: 600; }
.approach .eyebrow,
.eyebrow-lg { font-size: 1rem; letter-spacing: 0.22em; }

.approach-cards-heading { text-align: center; margin-bottom: 48px; }
.approach-cards-heading h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; }
.approach-cards-heading::after {
  content: '';
  display: block;
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-500), transparent);
  margin: 24px auto 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  padding: 36px 32px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  display: flex; flex-direction: column;
  min-height: 340px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 180px;
  background: radial-gradient(ellipse at center, var(--purple-glow), transparent 70%);
  opacity: 0.4; pointer-events: none;
  transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 28px 56px -28px rgba(86,111,240,0.5); }
.card:hover::before { opacity: 0.9; }

.card-icon { width: 48px; height: 48px; margin-bottom: 24px; color: var(--text-primary); }
.card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: 0.96rem; margin-bottom: 28px; flex-grow: 1; }
.card .btn { align-self: stretch; }

.section-light .card {
  background: #FFFFFF;
  border-color: rgba(86,111,240,0.12);
  box-shadow: 0 4px 20px rgba(86,111,240,0.06);
}
.section-light .card:hover { box-shadow: 0 16px 40px rgba(86,111,240,0.12); }
.section-light .card::before { background: radial-gradient(ellipse, rgba(86,111,240,0.06), transparent 70%); }
.section-light .card h3 { color: var(--text-dark); }
.section-light .card p { color: var(--text-dark-secondary); }
.section-light .card-icon { color: var(--blue-500); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding: 80px 0 64px; text-align: center; overflow: hidden; position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 14ch; margin: 0 auto 1.25rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(86,111,240,0.25), transparent 70%);
  pointer-events: none;
}

/* ============================================================
   FEATURE STRIPES
   ============================================================ */
.stripe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
}
.stripe-media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; }
.stripe-media img, .stripe-media video { width: 100%; height: 100%; object-fit: cover; }
.stripe-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2,0,16,0.45) 100%);
  pointer-events: none;
}
.stripe-text { padding: 64px 6vw; }
.stripe.reverse .stripe-media { order: 2; }
.stripe h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 1.25rem; }
.stripe p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 1.05rem; }
ul.feature-list { margin-top: 1.5rem; display: grid; gap: 12px; }
ul.feature-list li { position: relative; padding-left: 26px; color: var(--text-secondary); }
ul.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gradient-brand);
}
/* Light sections (e.g. case study Challenge & Results): stronger, legible text */
.section-light ul.feature-list li { color: var(--text-dark-secondary); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; }
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--violet-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.stat-label { color: var(--text-muted); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px; }

.section-light .stats {
  background: rgba(86,111,240,0.06);
  border-color: rgba(86,111,240,0.15);
}
.section-light .stat-num {
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--blue-500) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.section-light .stat-label { color: var(--text-dark-muted); }

/* ============================================================
   HUMAN CTA ("Talk to someone who gets it")
   ============================================================ */
.human-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.human-cta-text h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 1.25rem; }
.human-cta-text p { color: var(--text-secondary); font-size: 1.08rem; margin-bottom: 2rem; max-width: 440px; }
.human-cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.human-cta-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 520px;
}
.human-cta-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.human-cta-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(86,111,240,0.18) 0%, transparent 55%);
  pointer-events: none;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border-strong); }

.faq-q {
  width: 100%; text-align: left;
  padding: 22px 28px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-primary);
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(86,111,240,0.06); }
.faq-item.open .faq-q { color: var(--violet-400); }

.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out), color 0.2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue-500); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 16px 28px 24px;
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.75;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================================
   INDUSTRY VERTICAL GRID
   ============================================================ */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vertical-card {
  position: relative;
  min-height: 400px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}
.vertical-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.vertical-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2,0,16,0.95) 100%);
}
.vertical-card-content { position: absolute; bottom: 28px; left: 28px; right: 28px; z-index: 2; }
.vertical-card h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--text-primary); }
.vertical-card p { color: var(--text-secondary); font-size: 0.93rem; }
.vertical-card:hover { transform: translateY(-4px); }
.vertical-card:hover img { transform: scale(1.06); }

/* ============================================================
   CASE STUDY CARDS
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card); overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.case-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.case-card:hover .case-thumb img { transform: scale(1.08); }
.case-body { padding: 28px; flex-grow: 1; display: flex; flex-direction: column; }
.case-tag { display: inline-block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--violet-500); margin-bottom: 12px; }
.case-body h3 { font-size: 1.3rem; margin-bottom: 12px; line-height: 1.3; }
.case-body p { color: var(--text-secondary); font-size: 0.96rem; margin-bottom: 24px; flex-grow: 1; }
.case-meta { display: flex; gap: 24px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.case-meta-item .num { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700; }
.case-meta-item .lbl { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* Offset for in-page anchor targets (e.g. industry sections linked from cards) */
.stripe[id] { scroll-margin-top: 32px; }

/* Inline "read the case study" link inside content stripes */
.case-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--violet-500);
  transition: gap 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.case-link:hover { gap: 12px; color: #ffffff; }
.case-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #ffffff; border: 1px solid var(--border-subtle-dark, rgba(13,8,38,0.1));
  border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(13,8,38,0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(86,111,240,0.16); }
.blog-thumb { aspect-ratio: 3 / 2; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-body { padding: 24px 26px 26px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-body h3 { font-size: 1.2rem; line-height: 1.35; color: var(--text-dark); margin-bottom: 16px; }
.blog-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.9rem;
  color: var(--blue-500);
  transition: gap 0.2s var(--ease-out);
}
.blog-card:hover .blog-link { gap: 12px; }
.blog-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   TESTIMONIAL CAROUSEL
   ============================================================ */
.testimonial-carousel { max-width: 880px; margin: 0 auto; }

.testimonial-track { display: grid; }

.testimonial {
  grid-area: 1 / 1;
  text-align: center;
  padding: 48px 32px 36px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.testimonial blockquote {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.testimonial blockquote::before {
  content: '"';
  display: block;
  font-size: 5.5rem; line-height: 0.5;
  color: var(--blue-500); opacity: 0.32;
  margin-bottom: 20px;
  font-family: serif;
}
.testimonial cite {
  font-style: normal;
  display: flex; align-items: center; gap: 14px; justify-content: center;
  color: var(--text-secondary);
}
.testimonial cite strong { color: var(--text-primary); font-weight: 600; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.testimonial-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  padding: 0;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.testimonial-dots button.active {
  background: var(--blue-500);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   LOGO STRIP
   ============================================================ */
.logo-strip { padding: 48px 0; border-top: 1px solid rgba(86,111,240,0.12); border-bottom: 1px solid rgba(86,111,240,0.12); }
.logo-strip-title { text-align: center; color: var(--text-dark-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.24em; margin-bottom: 32px; }
.logo-row { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 32px; }
.logo-row .logo {
  font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 700;
  color: var(--text-dark-muted); opacity: 0.65;
  transition: opacity 0.3s, color 0.3s;
}
.logo-row .logo:hover { opacity: 1; color: var(--text-dark); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  position: relative;
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(86,111,240,0.22), transparent 70%),
    linear-gradient(135deg, #0A001E 0%, #140030 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.cta-strip p { color: var(--text-secondary); max-width: 540px; margin: 0 auto 2rem; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding: 32px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--blue-500), transparent);
  transform: translateX(-50%);
}
.timeline-item { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-bottom: 48px; gap: 24px; }
.timeline-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 24px rgba(86,111,240,0.5);
  margin: 0 auto; position: relative; z-index: 2;
}
.timeline-content { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 24px 28px; }
.timeline-content .year { font-family: 'Sora', sans-serif; color: var(--blue-500); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 8px; }
.timeline-content h4 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline-content p { color: var(--text-secondary); font-size: 0.94rem; }
.timeline-item:nth-child(even) > .timeline-content:first-child { visibility: hidden; }
.timeline-item:nth-child(odd) > .timeline-content:last-child { visibility: hidden; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center; background: var(--bg-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 32px 24px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 2px solid var(--border-strong); }
.team-card h4 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card .role { color: var(--violet-500); font-size: 0.88rem; margin-bottom: 12px; }
.team-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; padding: 80px 0 32px; border-top: 1px solid var(--border-subtle); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.8fr; gap: 48px; margin-bottom: 48px; align-items: start; }
.footer-brand p { color: var(--text-secondary); max-width: 280px; font-size: 0.96rem; }
.footer-col h5, .footer-brand h5 { font-family: 'Sora', sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-secondary); font-size: 0.96rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text-primary); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: var(--text-muted); font-size: 0.88rem;
}
.map-pin-icon {
  width: 13px; height: 13px;
  display: inline;
  vertical-align: text-top;
  margin-right: 4px;
  color: var(--blue-500);
  flex-shrink: 0;
}
.maps-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--blue-500);
  margin-top: 4px;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: grid; place-items: center;
  transition: background 0.25s, border-color 0.25s;
}
.footer-socials a:hover { background: rgba(255,255,255,0.06); border-color: var(--border-strong); }
.footer-socials svg { width: 16px; height: 16px; color: var(--text-secondary); }

/* ============================================================
   CAREERS — JOB ROLES + APPLICATION FORM
   ============================================================ */
.job-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.job-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Sora', sans-serif; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--violet-400);
  background: rgba(86,111,240,0.10);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.job-chip svg { width: 13px; height: 13px; }
.faq-q .job-title { display: flex; flex-direction: column; gap: 10px; text-align: left; }

.job-block { margin-bottom: 20px; }
.job-block:last-of-type { margin-bottom: 24px; }
.job-block h4 {
  font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 10px;
}
.job-block p { margin-bottom: 8px; }
.job-block ul { display: grid; gap: 8px; }
.job-block ul li { position: relative; padding-left: 22px; color: var(--text-secondary); }
.job-block ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand);
}
.job-apply { align-self: flex-start; }

/* ---- Application form ---- */
.application-form {
  max-width: 760px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--text-secondary);
}
.form-field label .req { color: var(--pink-hot); margin-left: 2px; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: 'Inter', sans-serif; font-size: 0.96rem; color: var(--text-primary);
  background: rgba(2,0,16,0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A82A8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(86,111,240,0.15);
  background: rgba(2,0,16,0.65);
}

.application-form .h-captcha { display: flex; justify-content: center; min-height: 78px; }
.application-form .btn-primary { margin-top: 4px; width: 100%; }
.form-hint { color: var(--text-muted); font-size: 0.82rem; text-align: center; margin-top: 16px; }

.form-status { display: none; border-radius: 12px; padding: 14px 18px; font-size: 0.94rem; margin-bottom: 4px; }
.form-status.show { display: block; }
.form-status.success { background: rgba(86,111,240,0.12); border: 1px solid var(--border-strong); color: var(--text-primary); }
.form-status.error { background: rgba(251,109,195,0.10); border: 1px solid rgba(251,109,195,0.4); color: var(--text-primary); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .vertical-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .stripe { grid-template-columns: 1fr; }
  .stripe-text { padding: 48px 32px; }
  .stripe.reverse .stripe-media { order: 0; }
  .stripe-media { aspect-ratio: 16 / 10; }
  .vertical-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .human-cta-grid { gap: 40px; }
  .timeline::before { left: 12px; }
  .timeline-item { grid-template-columns: 24px 1fr; }
  .timeline-item > .timeline-content:first-child { display: none; }
  .timeline-item:nth-child(even) > .timeline-content:first-child { visibility: visible; display: block; }
  .timeline-item:nth-child(odd) > .timeline-content:last-child { visibility: visible; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  body { padding-left: 0; }

  .sidebar {
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
    box-shadow: none;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 80px rgba(0,0,0,0.6);
  }
  .sidebar-toggle { display: flex; }

  .human-cta-grid { grid-template-columns: 1fr; }
  .human-cta-image { aspect-ratio: 16 / 9; max-height: 300px; order: -1; }
  .card-grid { grid-template-columns: 1fr; }
  .vertical-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding: 32px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .hero { height: auto; min-height: 520px; }
  .cta-strip { padding: 48px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .application-form { padding: 32px 22px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 2.2rem; }
  .container { padding: 0 20px; }
  .human-cta-grid { gap: 28px; }
}

.bg-black{
  background: #000 !important;
}

.h2-financial-result{
  font-size: 30px;
  text-align: center;
  padding-bottom: 20px;

}

.bg-section-light{
  background: var(--bg-light) !important;
}

.table-container {
  width: 100%;
  overflow-x: auto; /* Enables horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

table {
  width: 100%;
  border-collapse: collapse; /* Cleaner table borders */
  color: #000;
}

.tr-head{
  background: var(--bg-light) !important;
}

th{
  text-align: center;
  padding: 5px !important;
  border: 1px solid #000 !important;
  background: #A09CF8 !important;
}

td{
  text-align: center;
  padding: 5px !important;
  border: 1px solid #000 !important;
  background: var(--bg-light) !important;
}

.text-white{
  color: #000;
}

.btn-table{
  padding: 5px 10px !important;
}

.f12{
  font-size: 12px !important;
}

.min-height230{
  min-height : 230px !important;
}

.grid-none{
  grid: none !important;
}
