/* ═══════════════════════════════════════════════════════════════
   KATALYST LABS — LUXURY MODERN STYLESHEET
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --bg-primary:    #06060f;
  --bg-secondary:  #0d0d1e;
  --bg-card:       #111128;
  --bg-card-hover: #16163a;
  --accent:        #00a8ff;
  --accent-alt:    #00fff0;
  --accent-glow:   rgba(0, 168, 255, 0.18);
  --accent-glow2:  rgba(0, 255, 240, 0.10);
  --text-primary:  #ffffff;
  --text-secondary:#8892b0;
  --text-muted:    #4a5568;
  --border:        rgba(255, 255, 255, 0.07);
  --border-hover:  rgba(0, 168, 255, 0.35);
  --radius:        14px;
  --radius-lg:     22px;
  --transition:    0.65s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: 0.3s ease;
  --font-head:     'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  height: 100vh;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── CURSOR ─────────────────────────────────────────────────── */
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed; z-index: 9998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), width 0.4s, height 0.4s, opacity 0.3s;
  opacity: 0.6;
}
.cursor.hovered { width: 14px; height: 14px; background: var(--accent-alt); }
.cursor-follower.hovered { width: 56px; height: 56px; opacity: 0.3; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  transition: background var(--transition-fast), padding var(--transition-fast);
}
.navbar.scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  padding: 16px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: none;
}
.logo-text { color: var(--text-primary); }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  cursor: none;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.nav-cta {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-link.nav-cta:hover {
  background: var(--accent-alt);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--accent-glow);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  transition: var(--transition-fast);
}

/* ── MOBILE MENU ────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 6, 15, 0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateY(-100%);
  transition: transform var(--transition);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-link {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.mobile-link:hover { color: var(--accent); }

/* ── SECTION DOTS ───────────────────────────────────────────── */
.section-dots {
  position: fixed;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: width 0.3s, height 0.3s, background 0.3s, transform 0.3s;
}
.dot.active {
  width: 10px; height: 10px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scale(1.2);
}
.dot:hover { background: var(--accent-alt); }

/* ── PROGRESS BAR ───────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  left: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  z-index: 2000;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ── FULL PAGE SYSTEM ───────────────────────────────────────── */
.fullpage-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.fp-section {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Start all sections off-screen below */
  transform: translateY(100%);
  opacity: 0;
  will-change: transform, opacity;
}
/* Only add transitions AFTER page has loaded (class added by JS) */
body.page-loaded .fp-section {
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.7s ease;
}
.fp-section.active {
  transform: translateY(0%);
  opacity: 1;
}
.fp-section.exit-up {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
}
.fp-section.exit-down {
  transform: translateY(100%) !important;
  opacity: 0 !important;
}

/* ── SECTION INNER ──────────────────────────────────────────── */
.section-inner {
  width: 100%;
  max-width: 1240px;
  padding: 72px 48px 56px;
  margin: 0 auto;
  overflow-y: hidden;
  max-height: 100vh;
}
/* CTA section has footer so needs scrolling */
#section-cta .section-inner {
  overflow-y: visible;
  max-height: none;
  padding-top: 80px;
  padding-bottom: 40px;
}

/* ── TYPOGRAPHY ANIMATIONS ──────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
/* Triggered by JS adding .revealed class to each element */
.reveal-up.revealed,
.reveal-right.revealed,
.reveal-left.revealed { opacity: 1; transform: none; }

/* ── GRADIENT TEXT ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── TAG LABELS ─────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 168, 255, 0.25);
  border-radius: 100px;
  background: rgba(0, 168, 255, 0.05);
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

/* ── SECTION TITLES ─────────────────────────────────────────── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 28px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--accent-alt);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,168,255,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  background: rgba(0,168,255,0.08);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.btn-large { padding: 14px 36px; font-size: 0.95rem; }

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */
#section-hero { position: relative; }
.hero-canvas {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,168,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 32px;
  padding: 10px 20px;
  border: 1px solid rgba(0,168,255,0.25);
  border-radius: 100px;
  background: rgba(0,168,255,0.05);
  backdrop-filter: blur(10px);
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
/* Floating stats */
.hero-stats {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 28px;
  background: var(--border);
}

/* ══════════════════════════════════════════════════════════════
   TRUST / LOGOS
   ══════════════════════════════════════════════════════════════ */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  justify-content: center;
}
.logo-item { }
.logo-box {
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  filter: saturate(0) brightness(0.5);
}
.logo-box:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  filter: saturate(1) brightness(1);
  box-shadow: 0 0 30px var(--accent-glow);
}
.logo-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  white-space: nowrap;
}
.logo-box:hover .logo-name { color: var(--text-primary); }
.logo-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES GRID
   ══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.service-card {
  padding: 22px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,168,255,0.12);
}
.service-icon {
  width: 36px; height: 36px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 100%; height: 100%; }
.service-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
}
.service-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}
.service-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--transition-fast);
}
.service-card:hover .service-arrow { transform: translateX(6px); }

/* ══════════════════════════════════════════════════════════════
   SPLIT LAYOUT
   ══════════════════════════════════════════════════════════════ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}

/* ── DASHBOARD MOCK ─────────────────────────────────────────── */
.dashboard-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green { background: #28c840; }
.dash-title { font-size: 0.75rem; color: var(--text-muted); margin-left: 8px; letter-spacing: 0.08em; }
.dash-metrics { padding: 24px 24px 16px; display: flex; flex-direction: column; gap: 20px; }
.dash-metric { }
.dash-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.dash-lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dash-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.dash-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  border-radius: 2px;
  animation: fillBar 1.5s ease forwards;
}
.dash-chart { padding: 16px 24px 24px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.chart-bar {
  flex: 1;
  background: rgba(0,168,255,0.15);
  border-radius: 4px 4px 0 0;
  transition: background var(--transition-fast);
}
.chart-bar.active { background: linear-gradient(to top, var(--accent), var(--accent-alt)); }
.chart-bars:hover .chart-bar:not(.active) { background: rgba(0,168,255,0.25); }

/* ── E-COM VISUAL ───────────────────────────────────────────── */
.ecom-visual {
  position: relative;
  height: 240px;
}
.ecom-card {
  position: absolute;
  padding: 24px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.ecom-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.ecom-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-alt);
}
.ecom-card.top-card { top: 0; left: 0; }
.ecom-card.mid-card { top: 60px; right: 0; border-color: var(--border-hover); }
.ecom-card.bot-card { top: 148px; left: 20px; }

/* ── HOSPITALITY GRID ───────────────────────────────────────── */
.hosp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 20px;
}
.hosp-card {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.hosp-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.hosp-icon {
  width: 32px; height: 32px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.hosp-icon svg { width: 100%; height: 100%; }
.hosp-card h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.hosp-card p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.55; }

/* ── CREATIVE SHOWCASE ──────────────────────────────────────── */
.creative-showcase {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 16px 0 20px;
  height: 160px;
}
.creative-item {
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  cursor: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: flex var(--transition), transform var(--transition-fast);
}
.creative-item:hover { transform: scale(1.02); border-color: var(--border-hover); }
.creative-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px;
  background: linear-gradient(to top, rgba(6,6,15,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.creative-item:hover .creative-overlay { opacity: 1; }
.creative-overlay h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.creative-overlay p { font-size: 0.75rem; color: var(--text-secondary); }
/* Placeholder background patterns for each creative tile */
.creative-item.photography  { background: linear-gradient(135deg, #0d0d1e, #1a1a3e); }
.creative-item.branding     { background: linear-gradient(135deg, #0d1a0d, #1a3e1a); }
.creative-item.content      { background: linear-gradient(135deg, #1a0d0d, #3e1a1a); }
.creative-item.drone        { background: linear-gradient(135deg, #1a1a0d, #3e3e1a); }
.creative-item.campaign     { background: linear-gradient(135deg, #1a0d1a, #3e1a3e); }

/* ── PILLS ──────────────────────────────────────────────────── */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.pill {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* ── CASE STUDY PLACEHOLDER ─────────────────────────────────── */
.case-study-placeholder {
  padding: 24px 28px;
  border: 1px dashed rgba(0,168,255,0.3);
  border-radius: var(--radius);
  background: rgba(0,168,255,0.04);
  margin-bottom: 32px;
}
.cs-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.case-study-placeholder p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════ */
#section-cta {
  align-items: flex-start;
  overflow-y: auto;
}
#section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,168,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-bg-layer { display: none; }
.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.cta-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }

/* ── CHATBOT TEASER ─────────────────────────────────────────── */
.chatbot-teaser {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  background: var(--bg-card);
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  margin-bottom: 32px;
}
.chatbot-teaser:hover {
  background: var(--bg-card-hover);
  box-shadow: 0 0 40px var(--accent-glow);
}
.chatbot-avatar {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  flex-shrink: 0;
}
.chatbot-avatar svg { width: 18px; height: 18px; }
.chatbot-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.chatbot-msg { display: block; font-size: 0.9rem; color: var(--text-secondary); }

.cta-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.cta-footer-links {
  display: flex;
  gap: 28px;
}
.cta-footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.cta-footer-links a:hover { color: var(--accent); }
.cta-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand .logo-text, .footer-brand .logo-accent {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); transition: color var(--transition-fast); cursor: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.6; }
.footer-disclaimer { max-width: 500px; }

/* ══════════════════════════════════════════════════════════════
   CHATBOT FAB & MODAL
   ══════════════════════════════════════════════════════════════ */
.chatbot-fab {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 800;
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0,168,255,0.4);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.chatbot-fab:hover { transform: scale(1.1); background: var(--accent-alt); }
.chatbot-fab svg { width: 22px; height: 22px; color: var(--bg-primary); }
.chatbot-modal {
  position: fixed;
  bottom: 110px; right: 36px;
  width: 360px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  z-index: 900;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), opacity 0.3s ease;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
}
.chatbot-modal.open { transform: none; opacity: 1; pointer-events: all; }
.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
}
.chatbot-header button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}
.chatbot-header button:hover { color: var(--text-primary); }
.chatbot-gate { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.chatbot-gate p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 4px; line-height: 1.6; }
.chat-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition-fast);
}
.chat-input:focus { border-color: var(--accent); }
.chatbot-body { padding-bottom: 0; }
.chat-messages { padding: 20px; max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.55;
}
.chat-msg.bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--accent);
  color: var(--bg-primary);
  align-self: flex-end;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border);
}
.chat-input-row .chat-input { margin: 0; }
.chat-send {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  color: var(--bg-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-send:hover { background: var(--accent-alt); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* Live chat: message wrap with timestamp */
.chat-msg-wrap { display: flex; flex-direction: column; gap: 3px; }
.chat-msg-wrap.user { align-items: flex-end; }
.chat-msg-wrap.bot  { align-items: flex-start; }
.chat-ts { font-size: 0.65rem; color: rgba(255,255,255,0.3); padding: 0 4px; }

/* Live chat: waiting for agent state */
.chat-waiting {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 24px 16px; color: rgba(255,255,255,0.5); font-size: 0.82rem;
}
.chat-waiting p { text-align: center; }
.chat-waiting-dots { display: flex; gap: 6px; }
.chat-waiting-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); opacity: 0.4;
  animation: waitDot 1.2s ease-in-out infinite;
}
.chat-waiting-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-waiting-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes waitDot { 0%,80%,100% { opacity:0.2; transform:scale(0.7); } 40% { opacity:1; transform:scale(1); } }

/* Live chat: typing indicator (three bouncing dots) */
.chat-typing-indicator {
  display: flex; gap: 4px; align-items: center;
  padding: 10px 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px;
  align-self: flex-start; margin: 4px 0;
}
.chat-typing-indicator span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: typingBounce 1s ease-in-out infinite;
}
.chat-typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-indicator span:nth-child(3) { animation-delay: 0.30s; }
@keyframes typingBounce { 0%,60%,100% { transform:translateY(0); } 30% { transform:translateY(-5px); } }

/* Live chat: FAB new-message pulse ring */
.chatbot-fab.has-new::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid var(--accent);
  animation: fabPulse 1s ease-out infinite;
}
@keyframes fabPulse { 0% { transform:scale(1); opacity:1; } 100% { transform:scale(1.6); opacity:0; } }


   ══════════════════════════════════════════════════════════════ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes scrollPulse {
  0% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
  100% { transform: scaleY(1); opacity: 1; }
}
@keyframes fillBar {
  from { width: 0%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ══════════════════════════════════════════════════════════════
   INNER PAGES SHARED
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,168,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero .section-tag { display: block; margin: 0 auto 24px; }
.page-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.page-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}

/* ── SCROLLABLE INNER PAGES ─────────────────────────────────── */
.page-mode body {
  overflow: auto;
  height: auto;
}
.page-mode .fullpage-wrapper {
  position: static;
  height: auto;
  overflow: visible;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-stats { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .split-layout.reverse { direction: ltr; }
  .split-right { display: none; }
  .hosp-grid { grid-template-columns: repeat(2, 1fr); }
  .creative-showcase { grid-template-columns: repeat(3, 1fr); height: auto; }
  .creative-item { height: 160px; }
}
@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section-dots { display: none; }
  .section-inner { padding: 100px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .hosp-grid { grid-template-columns: 1fr 1fr; }
  .creative-showcase { grid-template-columns: repeat(2, 1fr); }
  .logos-grid { gap: 10px; }
  .logo-box { padding: 14px 20px; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .footer-bottom { flex-direction: column; }
  .chatbot-modal { left: 16px; right: 16px; width: auto; bottom: 90px; }
  .chatbot-fab { right: 24px; bottom: 24px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hosp-grid { grid-template-columns: 1fr; }
  .creative-showcase { grid-template-columns: 1fr 1fr; }
  .page-body { padding: 60px 24px 80px; }
  .page-hero { padding: 120px 24px 60px; }
}
