/* ── [x-cloak] — must be first: hides Alpine-controlled elements before JS initialises ── */
[x-cloak] { display: none !important; }

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; overflow-wrap: break-word; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Figtree', sans-serif;
  background: #080C14;
  color: #FFFFFF;
  overflow-x: hidden;
  line-height: 1.6;
}
:root {
  /* ── Brand Guideline v3.0 — Digital Design Tokens ── */
  /* Primary dark backgrounds */
  --navy:      #080C14;   /* Base Black — page background */
  --surface:   #0D1525;   /* Card / section background */
  --surface2:  #111827;   /* Elevated card background */
  /* Accent palette */
  --cyan:      #00C8FF;   /* Electric Cyan — links, borders, highlights (digital spec) */
  --cyan-alt:  #00D4FF;   /* Electric Cyan alt — brand palette accent */
  --violet:    #7B5EA7;   /* Violet — secondary CTA, decorative, gradient pairs */
  --green:     #00FF9D;   /* Neon Green — success states, key conversion */
  --blue:      #0055FF;   /* Signal Blue — secondary button outline */
  /* Text */
  --text:      #FFFFFF;            /* Primary body text on dark */
  --text-sec:  rgba(255,255,255,0.6); /* Secondary / muted text */
  --muted:     #5B6478;   /* Steel Grey — captions, footnotes */
  /* Borders & glows */
  --border:    rgba(0,200,255,0.15);
  --glow-c:    rgba(0,200,255,0.25);
  --glow-v:    rgba(123,94,167,0.25);
  --glow-g:    rgba(0,255,157,0.25);
}
/* Typography — Syne headings, Figtree body (Brand Guideline §05) */
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.15; color: #FFFFFF; }
a { color: inherit; text-decoration: none; }
/* Link colour — #00C8FF, underline on hover §10 */
a.text-link { color: #00C8FF; }
a.text-link:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; height: auto; }

/* ── BRAND TYPE SCALE — Brand Guideline §05 ── */
/* Display: Syne 800 / 48px / lh 1.1 */
.type-display { font-family:'Syne',sans-serif; font-weight:800; font-size:clamp(2rem,5vw,3rem); line-height:1.1; }
/* H1: Syne 700 / 34px / lh 1.15 */
h1,.type-h1  { font-family:'Syne',sans-serif; font-weight:700; font-size:clamp(1.75rem,3.5vw,2.125rem); line-height:1.15; }
/* H2: Syne 700 / 26px / lh 1.2 */
h2,.type-h2  { font-family:'Syne',sans-serif; font-weight:700; font-size:clamp(1.25rem,2.5vw,1.625rem); line-height:1.2; }
/* H3: Syne 600 / 20px / lh 1.25 */
h3,.type-h3  { font-family:'Syne',sans-serif; font-weight:600; font-size:1.25rem; line-height:1.25; }
/* Body Large: Figtree 400 / 18px / lh 1.6 */
.type-body-lg { font-family:'Figtree',sans-serif; font-weight:400; font-size:1.125rem; line-height:1.6; }
/* Body: Figtree 400 / 14px / lh 1.6 */
.type-body    { font-family:'Figtree',sans-serif; font-weight:400; font-size:0.875rem; line-height:1.6; }
/* Navigation: Figtree 500 / 14px / lh 1.4 */
.type-nav     { font-family:'Figtree',sans-serif; font-weight:500; font-size:0.875rem; line-height:1.4; }
/* Caption: Figtree 300 / 12px / lh 1.5 */
.type-caption { font-family:'Figtree',sans-serif; font-weight:300; font-size:0.75rem; line-height:1.5; color:var(--muted); }
/* Label / UI: Figtree 600 */
.type-label   { font-family:'Figtree',sans-serif; font-weight:600; font-size:0.75rem; letter-spacing:0.08em; text-transform:uppercase; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block;
  font-size: 11px; font-family: 'Figtree', sans-serif;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid var(--border);
  background: rgba(0,200,255,0.06);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
/* ── BUTTONS — Brand Guideline §10 Digital Applications ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Figtree', sans-serif; font-weight: 600;
  font-size: 15px; padding: 12px 24px; border-radius: 6px;
  cursor: pointer; border: none; transition: all 0.2s ease;
  text-decoration: none; white-space: nowrap;
}
/* Primary CTA: #00C8FF bg + #080C14 text — per Digital Applications spec */
.btn-primary {
  background: #00C8FF; color: #080C14;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 0 24px rgba(0,200,255,0.4); }
/* Secondary CTA: Signal Blue #0055FF 2px outline — per Digital Applications spec */
.btn-secondary {
  background: transparent; color: #FFFFFF;
  border: 2px solid #0055FF;
}
.btn-secondary:hover { opacity: 0.85; background: rgba(0,85,255,0.12); transform: translateY(-2px); }
/* Neon Green — success states & key conversion (not primary CTA) */
.btn-green {
  background: var(--green); color: #080C14; border: none;
}
.btn-green:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 0 24px var(--glow-g); }
/* Outline / ghost variants */
.btn-outline {
  background: transparent; color: var(--cyan); border: 1.5px solid var(--cyan);
}
.btn-outline:hover { opacity: 0.85; background: rgba(0,200,255,0.08); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── FADE-IN ANIMATION ── */
/* ── Spring-physics reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity  0.7s cubic-bezier(0.22,1,0.36,1),
    transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0 24px;
}
#nav.scrolled {
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
/* Nav logo — supports both <img> (brand package) and text fallback */
.nav-logo {
  display: flex; align-items: center; flex-shrink: 0;
  text-decoration: none;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px;
  color: #fff; letter-spacing: -0.5px;
}
.nav-logo img {
  display: block;
  max-height: 44px;
  width: auto;
  /* Ensure image is always crisp — don't blur on non-retina */
  image-rendering: -webkit-optimize-contrast;
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; /* Figtree 500 — Navigation per §05 */
  color: rgba(255,255,255,0.6); /* Secondary text per §10 */
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #FFFFFF; }
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: -16px;
  background: rgba(12,15,30,0.97); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px; min-width: 220px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  list-style: none;
  z-index: 1001;
  /* 12px invisible top gap so the menu visually floats below the nav */
  margin-top: 12px;
}
/* Invisible hover bridge fills the 12px gap — mouse never loses hover */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu li a,
.nav-dropdown-menu a {
  padding: 9px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.85);  /* was var(--muted)=#5B6478 — too low contrast on dark bg */
  transition: all 0.2s; display: block; white-space: nowrap;
}
.nav-dropdown-menu li a:hover,
.nav-dropdown-menu a:hover { background: rgba(0,200,255,0.1); color: var(--cyan); }

.nav-cta { margin-left: 16px; padding: 10px 22px; font-size: 14px; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(12,15,30,0.97); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); padding: 24px;
  z-index: 999;
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text); display: block; padding: 12px 0; min-height: 44px; }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; min-height: 48px; display: inline-flex; align-items: center; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  position: relative; min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(0,200,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 20%, transparent 100%);
  animation: hero-grid-drift 20s linear infinite;
}
@keyframes hero-grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 56px 56px; }
}
/* Radial ambient glow in hero */
#hero::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(0,200,255,0.09) 0%,
    rgba(123,94,167,0.06) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center;
}
.hero-content {
  min-width: 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--cyan);
}
h1.hero-headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; color: #fff; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: 24px;
}
h1.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--muted); line-height: 1.7;
  max-width: 520px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px; border-radius: 999px;
}
.trust-badge::before {
  content: '✓'; color: var(--green); font-size: 10px; font-weight: 800;
}

/* Dashboard Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.dashboard-frame {
  background: rgba(12,15,30,0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 40px rgba(0,212,255,0.08);
  position: relative; overflow: hidden;
}
.dashboard-frame::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.dash-topbar {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot:nth-child(1) { background: #FF5F57; }
.dash-dot:nth-child(2) { background: #FFBD2E; }
.dash-dot:nth-child(3) { background: #28C840; }
.dash-title {
  margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 500;
}
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-panel {
  background: rgba(5,7,15,0.7); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 14px;
}
.dash-panel-title {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 10px; font-weight: 600;
}
/* IAM Graph */
.iam-graph { width: 100%; height: 120px; position: relative; }
.iam-graph svg { width: 100%; height: 100%; }
/* AI Chat */
.chat-messages { display: flex; flex-direction: column; gap: 8px; }
.chat-msg {
  font-size: 11px; padding: 7px 10px; border-radius: 8px; line-height: 1.4;
  max-width: 90%;
}
.chat-msg.user {
  background: rgba(0,212,255,0.12); color: var(--cyan);
  align-self: flex-end; text-align: right;
}
.chat-msg.ai {
  background: rgba(123,94,167,0.15); color: #C4B5FD;
  align-self: flex-start;
}
.chat-typing {
  display: flex; gap: 3px; align-items: center; padding: 7px 10px;
  background: rgba(123,94,167,0.1); border-radius: 8px; width: fit-content;
}
.chat-typing span {
  width: 5px; height: 5px; background: var(--violet); border-radius: 50%;
  animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100%{opacity:0.3;transform:translateY(0)} 30%{opacity:1;transform:translateY(-4px)} }
/* Cloud Metrics */
.metrics-list { display: flex; flex-direction: column; gap: 8px; }
.metric-row { display: flex; align-items: center; gap: 8px; }
.metric-label { font-size: 10px; color: var(--muted); flex: 1; }
.metric-bar { flex: 2; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.metric-fill { height: 100%; border-radius: 2px; }
.metric-val { font-size: 10px; font-weight: 600; width: 28px; text-align: right; }
/* Alerts panel */
.alert-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; color: var(--muted); padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.alert-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; justify-content: center; }
}

/* ═══════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════ */
#stats {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(8,12,20,1) 100%);
  border-top: 1px solid rgba(0,200,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px;
  position: relative;
}
#stats::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.5), transparent);
  pointer-events: none;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
  position: relative;
}
/* Vertical dividers between stat items */
.stats-inner .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}
.stat-item {
  padding: 8px 32px;
  position: relative;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px,4vw,52px);
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-number .stat-suffix {
  font-size: 0.6em;
  vertical-align: super;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner .stat-item:not(:last-child)::after { display: none; }
}

/* ═══════════════════════════════════════════
   THREE PILLARS
═══════════════════════════════════════════ */
#pillars { padding: 72px 24px; }
.pillars-inner { max-width: 1200px; margin: 0 auto; }
.pillars-header { text-align: center; margin-bottom: 60px; }
.pillars-header h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: #fff;
  letter-spacing: -1px;
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
  cursor: pointer; /* was: default — now entire card is clickable */
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit; /* safe for <a> wrapper */
}
.pillar-card:hover { transform: translateY(-6px) rotateX(2deg) rotateY(-2deg); }
.pillar-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  opacity: 0; transition: opacity 0.35s ease;
}
.pillar-card.card-ai::before { box-shadow: inset 0 0 60px rgba(0,212,255,0.08); opacity: 1; }
.pillar-card.card-iam::before { box-shadow: inset 0 0 60px rgba(123,94,167,0.1); opacity: 1; }
.pillar-card.card-cloud::before { box-shadow: inset 0 0 60px rgba(0,255,157,0.07); opacity: 1; }
.pillar-card:hover.card-ai { box-shadow: 0 20px 60px rgba(0,212,255,0.15); }
.pillar-card:hover.card-iam { box-shadow: 0 20px 60px rgba(123,94,167,0.2); }
.pillar-card:hover.card-cloud { box-shadow: 0 20px 60px rgba(0,255,157,0.12); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.pillar-icon.ai-icon { background: rgba(0,212,255,0.1); }
.pillar-icon.iam-icon { background: rgba(123,94,167,0.15); }
.pillar-icon.cloud-icon { background: rgba(0,255,157,0.1); }
.pillar-card h3 {
  font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 14px;
}
.pillar-card p {
  font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px;
}
.service-pills {
  display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px;
}
.pill {
  font-size: 11px; font-weight: 600; padding: 4px 11px;
  border-radius: 999px; border: 1px solid;
}
.pill-cyan { color: var(--cyan); border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.06); }
.pill-violet { color: #C4B5FD; border-color: rgba(123,94,167,0.4); background: rgba(123,94,167,0.08); }
.pill-green { color: var(--green); border-color: rgba(0,255,157,0.3); background: rgba(0,255,157,0.06); }
.pillar-link {
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s ease;
}
.pillar-link.lnk-cyan { color: var(--cyan); }
.pillar-link.lnk-violet { color: #C4B5FD; }
.pillar-link.lnk-green { color: var(--green); }
.pillar-link:hover { gap: 10px; }
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   WHY WEBXCELL
═══════════════════════════════════════════ */
#why {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--surface) 50%, var(--navy) 100%);
}
.why-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.why-text h2 {
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 800; color: #fff;
  letter-spacing: -0.8px; margin-bottom: 40px; line-height: 1.2;
}
.feature-list { display: flex; flex-direction: column; gap: 28px; }
.feature-row {
  display: flex; gap: 16px; align-items: flex-start;
}
.feature-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(0,212,255,0.08); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.feature-row h4 {
  font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px;
}
.feature-row p { font-size: 14px; color: var(--muted); line-height: 1.6; }
/* Why visual */
.why-visual {
  position: relative;
}
.why-graphic {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.expertise-bars { display: flex; flex-direction: column; gap: 18px; }
.exp-bar-row {}
.exp-bar-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.exp-bar-label { font-size: 13px; font-weight: 600; color: var(--text); }
.exp-bar-pct { font-size: 12px; color: var(--muted); }
.exp-track {
  height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden;
}
.exp-fill {
  height: 100%; border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}
@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ═══════════════════════════════════════════
   SERVICES PREVIEW
═══════════════════════════════════════════ */
#services {
  padding: 100px 24px;
  position: relative;
}
/* Ambient glow behind services heading */
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at top,
    rgba(0,200,255,0.06) 0%,
    rgba(123,94,167,0.04) 50%,
    transparent 70%);
  pointer-events: none;
}
.services-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 800; color: #fff;
  letter-spacing: -0.8px;
}
.section-header p { font-size: 17px; color: var(--muted); margin-top: 12px; }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
/* View All Services CTA */
.services-cta { display: flex; justify-content: center; margin-top: 56px; }
.services-cta__btn {
  padding: 14px 36px; font-size: 15px; gap: 10px;
  box-shadow: 0 0 0 0 rgba(0,200,255,0.4);
  animation: services-cta-pulse 2.5s ease-in-out infinite;
}
.services-cta__btn:hover {
  animation: none; transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0,200,255,0.45);
}
@keyframes services-cta-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(0,200,255,0.4); }
  60%  { box-shadow: 0 0 0 12px rgba(0,200,255,0);   }
  100% { box-shadow: 0 0 0 0   rgba(0,200,255,0);   }
}
.service-tile {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 28px;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  cursor: pointer;
  position: relative; overflow: hidden;
}
/* Animated top accent line — slides in on hover */
.service-tile::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    var(--tile-color, rgba(0,200,255,0.8)),
    transparent);
  transition: left 0.4s ease, right 0.4s ease;
  z-index: 2;
}
.service-tile:hover::before {
  left: 0; right: 0;
}
/* Decorative radial glow overlay — pointer-events:none so it NEVER blocks clicks */
.service-tile::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(0,200,255,0.06) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.service-tile:hover::after { opacity: 1; }
.service-tile:hover {
  border-color: rgba(0,200,255,0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
/* Icon — glow + scale on hover */
.service-tile-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease;
}
.service-tile:hover .service-tile-icon {
  transform: scale(1.15) rotate(4deg);
  box-shadow: 0 0 20px var(--tile-color, rgba(0,200,255,0.35));
}
.service-tile h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.service-tile p { font-size: 13px; color: var(--muted); line-height: 1.6; position: relative; z-index: 1; }
.service-tile-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.service-tile-title a { color: inherit; text-decoration: none; }
.service-tile-title a:hover { color: var(--cyan); }
.service-tile-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; position: relative; z-index: 1; }
/* Arrow — slides right on tile hover */
.service-tile-arrow {
  position: relative; z-index: 1;
  display: inline-flex;
  color: var(--cyan);
  transition: transform 0.25s ease;
}
.service-tile:hover .service-tile-arrow { transform: translateX(4px); }
/* Stretched link — makes the ENTIRE card clickable */
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--cyan);
  text-decoration: none; transition: gap 0.2s;
  position: relative; z-index: 1;
}
.service-card-link::before {
  content: '';
  position: absolute;
  inset: -28px;
  z-index: 0;
}
.service-card-link:hover { gap: 10px; }
.service-tile-title a { position: relative; z-index: 2; }
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-cta__btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════
   CASE STUDIES
═══════════════════════════════════════════ */
#cases {
  padding: 100px 24px;
  background: var(--surface);
}
.cases-inner { max-width: 1200px; margin: 0 auto; }
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.case-card {
  background: var(--navy); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.case-industry {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
}
.case-stat {
  font-family: 'Syne', sans-serif; font-size: 52px; font-weight: 800;
  color: var(--cyan); line-height: 1; margin-bottom: 12px;
}
.case-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 8px;
  margin-bottom: 16px;
}
.case-title-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.case-title-link:hover {
  color: var(--cyan);
}
.case-desc {
  font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 24px;
}
.case-link {
  font-size: 13px; font-weight: 600; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.case-link:hover { gap: 10px; }
@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PODCAST
═══════════════════════════════════════════ */
#podcast {
  padding: 80px 24px;
  background: linear-gradient(135deg, #1A0B2E 0%, #0C0F1E 50%, #0A1628 100%);
  border-top: 1px solid rgba(123,94,167,0.2);
  border-bottom: 1px solid rgba(123,94,167,0.2);
}
.podcast-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 56px;
  flex-wrap: wrap;
}
.podcast-badge {
  width: 100px; height: 100px; border-radius: 20px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet), #4F3780);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(123,94,167,0.4);
}
.podcast-text { flex: 1; min-width: 260px; }
.podcast-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #C4B5FD; margin-bottom: 10px;
}
.podcast-text h2 {
  font-size: clamp(20px, 3vw, 32px); font-weight: 800; color: #fff;
  margin-bottom: 10px; letter-spacing: -0.5px;
}
.podcast-text p { font-size: 15px; color: var(--muted); }
.podcast-episode {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(123,94,167,0.2);
  border-radius: 12px; padding: 16px 20px; min-width: 220px;
}
.ep-label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--violet); letter-spacing: 0.1em; margin-bottom: 6px; }
.ep-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.4; }
.ep-duration { font-size: 11px; color: var(--muted); }
.podcast-ctas { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.podcast-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 10px; font-size: 13px; font-weight: 600;
  transition: all 0.25s;
}
.podcast-btn.spotify {
  background: #1DB954; color: #000;
}
.podcast-btn.apple {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.podcast-btn:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   PARTNER LOGOS & MARQUEE LOOP
═══════════════════════════════════════════ */
#partners {
  padding: 80px 24px;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.partners-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.partners-label-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}
.partners-label {
  display: inline-flex;
  align-items: center;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
  background: rgba(0, 200, 255, 0.05);
  border: 1px solid rgba(0, 200, 255, 0.18);
  padding: 8px 20px;
  border-radius: 99px;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.05);
}
.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Premium side-fade mask so logos blend seamlessly into darkness at edges */
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  gap: 24px;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
  padding: 12px 0;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); } /* Accounts for track gap alignment */
}
.logo-item {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 21, 37, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 24px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
}
.logo-item:hover {
  color: #fff;
  border-color: var(--item-color, var(--cyan));
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 12px 28px -6px rgba(0, 0, 0, 0.4),
    0 8px 20px -8px var(--item-color, var(--cyan));
}
.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-item:hover .logo-dot {
  transform: scale(1.4);
  box-shadow: 0 0 10px var(--item-color, var(--cyan));
}

#testimonials { padding: 100px 24px; background: var(--surface); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }

/* ── Carousel wrapper ── */
.testi-carousel {
  position: relative;
  margin-top: 56px;
  padding: 0 44px; /* space for arrows */
}
.testi-carousel__viewport {
  overflow: hidden;
  border-radius: 4px;
}
.testi-carousel__track {
  display: flex;
  will-change: transform;
}

/* ── Card ── */
.testi-card {
  flex-shrink: 0;
  /* min-width set by Alpine binding */
}
.testi-card__inner {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}
.testi-card__inner:hover { border-color: rgba(0,212,255,0.2); }

/* ── Quote mark ── */
.testi-quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.7;
  color: var(--cyan);
  opacity: 0.5;
  margin-bottom: 14px;
  user-select: none;
}

/* ── Card content (keep existing names) ── */
.testi-stars { display: flex; gap: 3px; margin-bottom: 16px; color: #FBBF24; font-size: 16px; }
.testi-quote {
  font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 24px;
  font-style: italic; flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
}
.testi-avatar--photo { object-fit: cover; }
.testi-name { font-size: 14px; font-weight: 700; color: #fff; }
.testi-role { font-size: 12px; color: var(--muted); }

/* ── Arrows ── */
.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--cyan);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 2;
}
.testi-arrow:hover {
  background: rgba(0,212,255,0.1);
  border-color: var(--cyan);
  transform: translateY(-50%) scale(1.08);
}
.testi-arrow--prev { left: 0; }
.testi-arrow--next { right: 0; }

/* ── Dot indicators ── */
.testi-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 28px;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none; cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.testi-dot--active {
  background: var(--cyan);
  transform: scale(1.35);
}
@media (max-width: 768px) {
  .testi-carousel { padding: 0 36px; }
  .testi-arrow { width: 32px; height: 32px; }
}
@media (max-width: 480px) {
  .testi-carousel { padding: 0 28px; }
}

/* ═══════════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════════ */
#cta-strip {
  padding: 80px 24px;
  background: var(--green);
  text-align: center;
}
.cta-strip-inner { max-width: 800px; margin: 0 auto; }
#cta-strip h2 {
  font-size: clamp(28px, 4vw, 52px); font-weight: 800; color: #05070F;
  letter-spacing: -1px; margin-bottom: 12px;
}
#cta-strip p { font-size: 18px; color: rgba(0,0,0,0.6); margin-bottom: 36px; }
.cta-strip-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-dark { background: #05070F; color: #fff; }
.btn-dark:hover { background: #0C0F1E; box-shadow: 0 8px 24px rgba(0,0,0,0.3); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent; color: #05070F;
  border: 2px solid rgba(0,0,0,0.3);
}
.btn-outline-dark:hover { background: rgba(0,0,0,0.08); transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#footer {
  background: #020409; border-top: 1px solid var(--border);
  padding: 72px 24px 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 56px;
}
/* Footer logo */
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-logo {
  display: block;
  max-width: 200px;
  height: auto;
  /* Ensure SVG fills naturally */
  width: 200px;
}
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 24px; }
.social-icons { display: flex; gap: 12px; margin-bottom: 20px; }
.social-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 16px; transition: all 0.25s;
}
.social-icon:hover { background: rgba(0,212,255,0.1); border-color: var(--border); color: var(--cyan); }
.podcast-footer-link {
  font-size: 12px; color: var(--violet); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: var(--muted); transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.5;
}
.contact-icon { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  #footer { padding: 32px 16px 0; }
  .footer-bottom { padding: 16px 0; }
}

/* ═══════════════════════════════════════════
   FLOATING WIDGETS
═══════════════════════════════════════════ */
.float-widget {
  position: fixed; bottom: 28px; z-index: 900;
  cursor: pointer; transition: transform 0.25s ease;
}
.float-widget:hover { transform: scale(1.08); }
#whatsapp-btn {
  right: 28px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  border: none;
}
#chatbot-btn {
  right: 96px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,212,255,0.25);
}
.widget-tooltip {
  position: absolute; bottom: 68px; right: 0;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float-widget:hover .widget-tooltip { opacity: 1; }

/* AI Chat Panel */
#chat-panel {
  position: fixed; bottom: 100px; right: 96px;
  width: 340px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  z-index: 901; display: none; flex-direction: column;
  overflow: hidden;
}
#chat-panel.open { display: flex; }
.chat-panel-header {
  padding: 16px 20px; background: rgba(0,212,255,0.08);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.chat-panel-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.chat-panel-name { font-size: 14px; font-weight: 700; color: #fff; }
.chat-panel-status { font-size: 11px; color: var(--green); }
.chat-panel-close {
  margin-left: auto; background: none; border: none;
  color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1;
}
.chat-panel-messages {
  flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  max-height: 280px; overflow-y: auto;
}
.cpanel-msg {
  font-size: 13px; padding: 10px 13px; border-radius: 10px; line-height: 1.5;
  max-width: 85%;
}
.cpanel-msg.ai {
  background: rgba(123,94,167,0.15); color: var(--text); align-self: flex-start;
}
.cpanel-msg.user {
  background: rgba(0,212,255,0.1); color: var(--cyan); align-self: flex-end;
}
.chat-panel-input {
  padding: 12px 16px; border-top: 1px solid var(--border);
  display: flex; gap: 8px;
}
.chat-panel-input input {
  flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 9px 12px; font-size: 13px;
  outline: none; font-family: 'Figtree', sans-serif;
}
.chat-panel-input input:focus { border-color: var(--cyan); }
.chat-send {
  width: 36px; height: 36px; background: var(--cyan); border: none;
  border-radius: 8px; cursor: pointer; color: #05070F; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.chat-send:hover { background: #00b8d9; }
/* === ISSUE GROUP FIXES 2026-05-26 === */

/* Group 2: FAQ smooth transitions */
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-answer[hidden] { display: block !important; max-height: 0 !important; visibility: hidden; }
.faq-item.open .faq-answer { visibility: visible; }
.faq-icon { transition: transform 0.3s ease; display: inline-block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Group 3: Explore Other Services heading gap */
.service-related-section .services-grid { margin-top: 48px; }
.service-related-section .services-inner { padding-bottom: 48px; }

/* Group 5: Case Studies CTA centre */
.cs-archive-cta .cta-strip-inner { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 32px; max-width: 680px; margin: 0 auto; background: none !important; border: none !important; }
.cs-archive-cta .cta-strip-headline, .cs-archive-cta .cta-strip-sub { text-align: center; width: 100%; }
.cs-archive-cta .cta-strip-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) { .cs-archive-cta .cta-strip-actions { flex-direction: column; align-items: center; } .cs-archive-cta .cta-strip-actions .btn { width: 100%; max-width: 320px; } }

/* Group 7: What We Do sub-heading spacing */
#services .section-header, .services-section .section-header { margin-bottom: 48px; }

/* Group 8: Select dropdown custom styling */
.wxcl-modal__form select#modal-service { appearance: none; -webkit-appearance: none; width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; color: #fff; font-family: 'Figtree',sans-serif; font-size: 15px; padding: 12px 44px 12px 16px; cursor: pointer; outline: none; transition: border-color 0.2s; 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='%2300D4FF' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.wxcl-modal__form select#modal-service:focus { border-color: #00D4FF; box-shadow: 0 0 0 3px rgba(0,212,255,0.15); }
.wxcl-modal__form select#modal-service option { background: #0C0F1E; color: #fff; }

/* Group 9: Success state visibility */
.wxcl-modal__step--success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 32px; }
.wxcl-modal__success-header { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 24px; }
.wxcl-modal__success-icon { width: 72px; height: 72px; background: rgba(0,255,157,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(0,255,157,0.3); }
.wxcl-modal__success-title { color: #ffffff !important; font-size: clamp(1.4rem,3.5vw,1.9rem); font-weight: 800; font-family: 'Syne',sans-serif; margin: 0; }
.wxcl-modal__success-sub { color: #B0C4DE !important; font-size: 15px; line-height: 1.6; max-width: 480px; margin: 0 auto 24px; }
.wxcl-modal__calendly { width: 100%; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }

/* Group 11: Typing dots */
.chat-typing .typing-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #64748B; margin: 0 2px; animation: typingBounce 1.2s ease-in-out infinite; }
.chat-typing .typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing .typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }

/* Group 12: Hide duplicate AI buttons */
[id*="chatbase-bubble"], [class*="chatbase-bubble"], iframe[src*="chatbase.co"], [id*="tidio-chat"], .drift-widget-container, #wp-live-chat-by-3cx, #wpbot-widget-button, .wpchatbot-widget, button[aria-label*="AI Assistant"]:not(#chat-trigger), [class*="lightbulb-btn"] { display: none !important; visibility: hidden !important; }

/* ---------------------------------------------------------------------------
   AI ASSESSMENT � Nav button + Service page CTAs
--------------------------------------------------------------------------- */

/* -- Nav "AI Assessment" ghost button -------------------------------------- */
.nav-cta-assessment {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Figtree', sans-serif; font-size: 12px; font-weight: 600;
  color: #00D4FF; text-decoration: none;
  padding: 8px 16px; border-radius: 5px;
  border: 1px solid rgba(0,212,255,0.35);
  background: rgba(0,212,255,0.06);
  transition: all 0.2s ease; letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-cta-assessment:hover {
  background: rgba(0,212,255,0.14); border-color: rgba(0,212,255,0.6);
  color: #fff; transform: translateY(-1px);
}
.mobile-assessment-btn {
  display: block; text-align: center; width: 100%; margin-bottom: 10px;
}

/* -- Hero secondary button (AI services) ----------------------------------- */
.btn-assessment-hero {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Figtree', sans-serif; font-size: 14px; font-weight: 600;
  color: #00D4FF; text-decoration: none;
  padding: 12px 24px; border-radius: 8px;
  border: 1px solid rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.07);
  transition: all 0.2s ease;
}
.btn-assessment-hero:hover {
  background: rgba(0,212,255,0.15); border-color: rgba(0,212,255,0.7);
  color: #fff; transform: translateY(-1px);
}

/* -- Mid-page Assessment Banner -------------------------------------------- */
.service-assessment-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0D1525 0%, #080C14 60%, #0D1525 100%);
  border-top: 1px solid rgba(0,212,255,0.15);
  border-bottom: 1px solid rgba(0,212,255,0.15);
  padding: 72px 0;
}
.service-assessment-banner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.service-assessment-banner__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: center;
}
.sab-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: #00D4FF; background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.22);
  display: inline-block; padding: 4px 12px; border-radius: 2px; margin-bottom: 18px;
}
.sab-headline {
  font-family: 'Syne', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.sab-headline em { color: #00D4FF; font-style: normal; }
.sab-sub {
  font-size: 15px; font-weight: 300; color: #5B6478; line-height: 1.75;
  max-width: 520px; margin-bottom: 28px;
}
.sab-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sab-cta { font-size: 14px !important; padding: 13px 28px !important; }
.sab-meta {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
}
.sab-meta li {
  font-size: 12px; font-weight: 500; color: #5B6478;
  display: flex; align-items: center; gap: 8px;
}
.sab-meta li::before { content: '?'; color: #00FF9D; font-weight: 700; }

/* Score preview widget */
.sab-score-preview {
  background: rgba(13,21,37,0.8); border: 1px solid rgba(0,212,255,0.2);
  border-radius: 14px; padding: 28px 24px; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,255,0.06);
  position: relative; overflow: hidden;
}
.sab-score-preview::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #0055FF, #00D4FF, #00FF9D);
}
.sab-score-ring {
  display: inline-flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.sab-score-num {
  font-family: 'Syne', sans-serif; font-size: 64px; font-weight: 800;
  color: #fff; line-height: 1; letter-spacing: -0.04em;
}
.sab-score-lbl { font-size: 16px; color: #5B6478; font-family: 'Syne', sans-serif; font-weight: 600; }
.sab-tier-badge {
  display: inline-block; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  color: #00D4FF; font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 2px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.sab-bars { display: flex; flex-direction: column; gap: 8px; }
.sab-bar-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; color: #5B6478; font-weight: 500;
}
.sab-bar-row span { width: 80px; text-align: right; flex-shrink: 0; }
.sab-bar {
  flex: 1; height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden;
}
.sab-bar div { height: 100%; background: linear-gradient(90deg, #00D4FF, #00FF9D); border-radius: 2px; }

/* -- Inline CTA (after FAQ) ------------------------------------------------ */
.service-assessment-inline {
  max-width: 1200px; margin: 0 auto 0; padding: 0 5% 48px;
}
.service-assessment-inline__inner {
  background: linear-gradient(90deg, rgba(0,212,255,0.05) 0%, rgba(0,85,255,0.05) 100%);
  border: 1px solid rgba(0,212,255,0.2); border-radius: 12px;
  padding: 24px 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.sai-icon { font-size: 32px; flex-shrink: 0; }
.sai-text { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; }
.sai-text strong { font-size: 15px; font-weight: 700; color: #fff; }
.sai-text span { font-size: 13px; font-weight: 300; color: #5B6478; }

/* -- Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .service-assessment-banner__inner {
    grid-template-columns: 1fr; gap: 40px;
  }
  .sab-score-preview { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .service-assessment-banner { padding: 48px 0; }
  .sab-actions { flex-direction: column; align-items: flex-start; }
  .service-assessment-inline__inner { flex-direction: column; text-align: center; align-items: center; }
  /* Hide assessment button in nav on very small screens to save space */
  .nav-cta-assessment { display: none; }
}
@media (max-width: 480px) {
  .nav-cta-assessment { display: none; }
}

/* -- Mobile Scroll & Spacing Adjustments -- */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .type-body {
    font-size: 0.9375rem; /* 15px */
  }
  /* Logo scaling */
  .nav-logo img {
    max-width: 140px;
  }
  /* Reduce vertical padding on all sections on mobile */
  section, #hero, #pillars, #services, #cases, #why, #stats {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  /* Max-width containers: 16px horizontal padding */
  .container, .hero-inner, .pillars-inner, .services-inner, .cases-inner, .why-inner, .stats-inner, .footer-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Hero spacing reductions */
  #hero {
    min-height: auto;
    padding-top: 72px; /* Clears fixed 72px header exactly */
    padding-bottom: 16px;
  }
  .hero-inner {
    padding: 12px 16px 16px 16px !important;
    gap: 24px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }
  .hero-eyebrow {
    margin-bottom: 12px;
  }
  h1.hero-headline {
    margin-bottom: 12px;
  }
  .hero-sub {
    margin-bottom: 16px;
  }
  .hero-ctas {
    margin-bottom: 20px;
  }
  
  /* Stats & Pillars spacing */
  #stats {
    padding: 24px 20px;
  }
  #pillars {
    padding: 40px 20px;
  }

  /* Services preview section spacing & performance enhancements */
  #services {
    padding: 40px 20px;
  }
  .services-inner {
    position: relative;
  }
  /* Radial ambient glow can cause high GPU load on mobile scroll, let's tone it down */
  #services::before {
    width: 320px;
    height: 200px;
    opacity: 0.5;
  }
  
  .services-grid {
    transform: translateZ(0); /* Hardware accelerated context layer */
  }

  /* Disable hover translations & heavy shadow transitions on mobile to prevent scroll lag */
  .service-tile {
    transform: translate3d(0, 0, 0); /* Stabilize rendering context on iOS/Android */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease; /* No transforms/shadow transitions */
  }
  .service-tile:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(0, 200, 255, 0.2) !important;
  }
  
  /* Disable continuous pulse shadow animation to prevent GPU repaint loop on scroll */
  .services-cta {
    margin-top: 28px;
  }
  .services-cta__btn {
    animation: none !important; /* Stop pulse rendering loop */
    box-shadow: none !important;
  }
}
