/* ============================================================
   CRMSpire — crmspire.css
   Full design system: tokens, base, components, utilities
   Compatible with Elementor Free & Pro
   ============================================================ */

/* ─────────────────────────────
   1. DESIGN TOKENS
───────────────────────────── */
:root {
  /* Navy palette */
  --cs-navy-950: #050d1f;
  --cs-navy-900: #0a1428;
  --cs-navy-800: #0f1d3a;
  --cs-navy-700: #152649;
  --cs-navy-600: #1e3160;
  --cs-navy-500: #2b4580;

  /* Accent */
  --cs-teal-400:  #00c0c0;
  --cs-teal-500:  #0888b8;
  --cs-cyan-400:  #30a8e0;
  --cs-cyan-300:  #68d0f0;

  /* Brand */
  --cs-brand-navy:   #0a2250;
  --cs-brand-royal:  #1858a8;
  --cs-brand-medium: #2070c0;
  --cs-brand-sky:    #30a8e0;
  --cs-brand-teal:   #00c0c0;
  --cs-brand-ocean:  #0888b8;

  /* Ink scale */
  --cs-ink-50:  #F6F8FC;
  --cs-ink-100: #E8EDF5;
  --cs-ink-200: #C9D2E2;
  --cs-ink-300: #94A3B8;
  --cs-ink-400: #64748B;

  /* Gradients */
  --cs-grad-accent:       linear-gradient(135deg, #00c0c0 0%, #30a8e0 50%, #1858a8 100%);
  --cs-grad-accent-hover: linear-gradient(135deg, #68d0f0 0%, #30a8e0 50%, #2070c0 100%);
  --cs-grad-navy:         linear-gradient(135deg, #0A1428 0%, #152649 60%, #0F1D3A 100%);

  /* Glass */
  --cs-glass-border: rgba(255,255,255,0.08);
  --cs-glass-bg:     rgba(15,29,58,0.5);

  /* Typography */
  --cs-font-display: 'Playfair Display', 'Georgia', serif;
  --cs-font-body:    'DM Sans', system-ui, sans-serif;
  --cs-font-mono:    'Space Mono', ui-monospace, monospace;

  /* Radius */
  --cs-radius:    14px;
  --cs-radius-lg: 24px;
  --cs-radius-xl: 32px;

  /* Layout */
  --cs-max-w:  1240px;
  --cs-gutter: clamp(20px, 4vw, 48px);

  /* Easing */
  --cs-ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --cs-ease-quint:  cubic-bezier(0.22, 1, 0.36, 1);
  --cs-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─────────────────────────────
   2. RESET + BASE
───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--cs-navy-950) !important;
  color: var(--cs-ink-100) !important;
  font-family: var(--cs-font-body) !important;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 20%, rgba(0,192,192,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 85% 80%, rgba(48,168,224,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(24,88,168,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: csAmbient 20s ease-in-out infinite alternate;
}

/* Subtle grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes csAmbient {
  0%   { opacity: 1; }
  50%  { opacity: 0.7; }
  100% { opacity: 1; }
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* Elementor wrapper z-index fix */
.elementor-section-wrap,
.e-con,
.elementor { position: relative; z-index: 1; }

/* ─────────────────────────────
   3. TYPOGRAPHY HELPERS
───────────────────────────── */
.cs-display {
  font-family: var(--cs-font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.cs-display em {
  font-style: italic;
  background: linear-gradient(135deg, var(--cs-brand-teal), var(--cs-brand-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-eyebrow {
  font-family: var(--cs-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cs-teal-400);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cs-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--cs-brand-teal), var(--cs-brand-sky));
  border-radius: 2px;
  flex-shrink: 0;
}

.cs-gradient-text {
  background: var(--cs-grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─────────────────────────────
   4. BUTTONS
───────────────────────────── */
.cs-btn,
.elementor-button.cs-btn-primary,
.elementor-button.cs-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  transition: all 0.4s var(--cs-ease-expo);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  font-family: var(--cs-font-body);
  border: none;
  text-decoration: none;
}

.cs-btn-primary,
.elementor-button.cs-btn-primary {
  background: var(--cs-grad-accent);
  color: #fff !important;
  box-shadow: 0 0 0 1px rgba(0,192,192,0.25), 0 12px 28px -10px rgba(0,192,192,0.4);
}
.cs-btn-primary::before,
.elementor-button.cs-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cs-grad-accent-hover);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}
.cs-btn-primary:hover::before,
.elementor-button.cs-btn-primary:hover::before { opacity: 1; }
.cs-btn-primary:hover,
.elementor-button.cs-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(0,192,192,0.5), 0 20px 40px -10px rgba(0,192,192,0.55);
}

.cs-btn-ghost,
.elementor-button.cs-btn-ghost {
  color: var(--cs-ink-100) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.02);
}
.cs-btn-ghost:hover,
.elementor-button.cs-btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25) !important;
}

/* ─────────────────────────────
   5. SECTION HEADER
───────────────────────────── */
.cs-sec-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.cs-sec-header h2 {
  font-family: var(--cs-font-body);
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 52px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 16px 0 18px;
}
.cs-sec-header h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--cs-brand-teal), var(--cs-brand-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-sec-header p {
  font-size: 17px;
  color: var(--cs-ink-300);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─────────────────────────────
   6. HERO SECTION
───────────────────────────── */
.cs-hero-section {
  padding-top: 160px !important;
  padding-bottom: 80px !important;
  position: relative;
  overflow: hidden;
}
.cs-hero-title {
  font-family: var(--cs-font-display) !important;
  font-size: clamp(42px, 6.5vw, 78px) !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
.cs-hero-sub {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--cs-ink-200);
  max-width: 540px;
  line-height: 1.55;
}

/* Stat strip */
.cs-stats-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 44px;
}
.cs-stat-item {}
.cs-stat-value {
  font-family: var(--cs-font-display);
  font-size: 34px;
  color: #fff;
  line-height: 1;
}
.cs-stat-value em {
  background: linear-gradient(135deg, var(--cs-brand-teal), var(--cs-brand-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}
.cs-stat-label {
  font-family: var(--cs-font-mono);
  font-size: 11px;
  color: var(--cs-ink-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ─────────────────────────────
   7. CARDS — Glass style
───────────────────────────── */
.cs-card {
  background: linear-gradient(180deg, rgba(21,38,73,0.45), rgba(15,29,58,0.2));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--cs-radius);
  padding: 32px;
  transition: all 0.4s var(--cs-ease-expo);
  position: relative;
  overflow: hidden;
}
.cs-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0,192,192,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.cs-card:hover {
  border-color: rgba(0,192,192,0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.4);
}
.cs-card:hover::before { opacity: 1; }

.cs-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,192,192,0.15), rgba(48,168,224,0.05));
  border: 1px solid rgba(0,192,192,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-cyan-300);
  margin-bottom: 20px;
}
.cs-card h3 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}
.cs-card p {
  font-size: 14px;
  color: var(--cs-ink-300);
  line-height: 1.6;
}

/* ─────────────────────────────
   8. CASE STUDY CARDS
───────────────────────────── */
.cs-case-card {
  background: linear-gradient(180deg, rgba(21,38,73,0.45), rgba(15,29,58,0.2));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--cs-radius-lg);
  padding: 36px;
  transition: all 0.4s var(--cs-ease-expo);
}
.cs-case-card:hover {
  border-color: rgba(0,192,192,0.22);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.5);
}
.cs-case-industry {
  font-family: var(--cs-font-mono);
  font-size: 11px;
  color: var(--cs-teal-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.cs-case-card h3 {
  font-size: 19px;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
}
.cs-case-card > p {
  font-size: 14px;
  color: var(--cs-ink-300);
  line-height: 1.65;
  margin-bottom: 28px;
}
.cs-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cs-metric-value {
  font-family: var(--cs-font-display);
  font-size: 26px;
  color: var(--cs-cyan-300);
  line-height: 1;
  font-weight: 500;
}
.cs-metric-label {
  font-size: 11px;
  color: var(--cs-ink-400);
  font-family: var(--cs-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 6px;
}

/* ─────────────────────────────
   9. PRICING CARDS
───────────────────────────── */
.cs-price-card {
  background: linear-gradient(180deg, rgba(15,29,58,0.7), rgba(10,20,40,0.5));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--cs-radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--cs-ease-expo);
}
.cs-price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px -20px rgba(0,0,0,0.5);
}

.cs-price-card.featured {
  border-color: rgba(0,192,192,0.3);
  background: linear-gradient(180deg, rgba(24,88,168,0.3), rgba(10,20,40,0.5));
  box-shadow: 0 0 60px -20px rgba(0,192,192,0.2);
}
.cs-price-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cs-grad-accent);
}

.cs-price-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--cs-grad-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 18px;
  font-family: var(--cs-font-mono);
  letter-spacing: 0.05em;
}
.cs-price-tier {
  font-family: var(--cs-font-mono);
  font-size: 11px;
  color: var(--cs-teal-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-price-tier::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cs-brand-teal);
}
.cs-price-name {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.cs-price-for {
  font-size: 14px;
  color: var(--cs-ink-300);
  line-height: 1.55;
  margin-bottom: 24px;
  min-height: 44px;
}
.cs-price-amount {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cs-price-prefix {
  font-size: 12px;
  color: var(--cs-ink-400);
  font-family: var(--cs-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.cs-price-value {
  font-family: var(--cs-font-display);
  font-size: 38px;
  color: #fff;
  font-weight: 500;
  line-height: 1;
}
.cs-price-value em {
  font-size: 22px;
  background: var(--cs-grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-price-period {
  font-size: 14px;
  color: var(--cs-ink-400);
  font-family: var(--cs-font-body);
  font-weight: 400;
  font-style: normal;
}
.cs-price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--cs-ink-200);
  line-height: 1.5;
}
.cs-price-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cs-grad-accent);
  color: var(--cs-navy-950);
  font-weight: 800;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ─────────────────────────────
   10. TESTIMONIAL CARDS
───────────────────────────── */
.cs-testi-card {
  background: linear-gradient(180deg, rgba(21,38,73,0.4), rgba(15,29,58,0.2));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--cs-radius-lg);
  padding: 36px;
  transition: all 0.4s var(--cs-ease-expo);
}
.cs-testi-card:hover {
  border-color: rgba(0,192,192,0.2);
  transform: translateY(-3px);
}
.cs-testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #F59E0B;
  font-size: 16px;
}
.cs-testi-quote {
  font-size: 16px;
  color: var(--cs-ink-100);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}
.cs-testi-quote::before {
  content: '"';
  font-family: var(--cs-font-display);
  font-size: 60px;
  color: var(--cs-teal-400);
  opacity: 0.3;
  position: absolute;
  top: -20px; left: -8px;
  line-height: 1;
}
.cs-testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cs-testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cs-grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.cs-testi-name {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}
.cs-testi-role {
  font-size: 12px;
  color: var(--cs-ink-400);
  font-family: var(--cs-font-mono);
  margin-top: 2px;
}

/* ─────────────────────────────
   11. HERO DASHBOARD MOCKUP
───────────────────────────── */
.cs-dash-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, #0F1D3A, #0A1428);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(34,211,238,0.05);
  padding: 14px;
}
.cs-dash-glow {
  position: absolute;
  inset: -30px;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,192,192,0.2), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(48,168,224,0.18), transparent 55%);
  filter: blur(50px);
  z-index: 0;
  animation: csGlowPulse 6s ease-in-out infinite alternate;
}
@keyframes csGlowPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}
.cs-dash-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cs-dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.cs-dash-dot.r { background: #EF4444; }
.cs-dash-dot.y { background: #F59E0B; }
.cs-dash-dot.g { background: #2DD4BF; }
.cs-dash-url {
  margin-left: 12px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  font-family: var(--cs-font-mono);
  font-size: 10px;
  color: var(--cs-ink-400);
}

/* KPI bar inside mock */
.cs-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.cs-kpi-tile {
  padding: 10px 12px;
  background: rgba(21,38,73,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
}
.cs-kpi-label  { font-size: 9px;  color: var(--cs-ink-400); font-family: var(--cs-font-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.cs-kpi-value  { font-size: 20px; color: #fff; font-weight: 700; margin-top: 4px; }
.cs-kpi-delta  { font-size: 10px; color: var(--cs-teal-400); margin-top: 2px; }
.cs-kpi-tile.accent .cs-kpi-value { color: var(--cs-cyan-300); }

/* ─────────────────────────────
   12. FLOAT BADGES
───────────────────────────── */
.cs-float-badge {
  position: absolute;
  z-index: 10;
  background: linear-gradient(135deg, rgba(15,29,58,0.95), rgba(10,20,40,0.95));
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.cs-float-badge.b1 { top: -16px; left: -16px; animation: csBadgeFloat 4s ease-in-out infinite; }
.cs-float-badge.b2 { bottom: 60px; right: -16px; animation: csBadgeFloat 5s ease-in-out infinite reverse; }
.cs-float-badge small { display: block; font-size: 10px; color: var(--cs-ink-400); margin-top: 2px; }
.cs-fb-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(45,212,191,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cs-teal-400);
  flex-shrink: 0;
}
@keyframes csBadgeFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* ─────────────────────────────
   13. SERVICES GRID (Bento)
───────────────────────────── */
.cs-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.cs-bento-card {
  background: linear-gradient(180deg, rgba(21,38,73,0.4), rgba(15,29,58,0.15));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--cs-radius-lg);
  padding: 32px;
  transition: all 0.4s var(--cs-ease-expo);
  position: relative;
  overflow: hidden;
}
.cs-bento-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0,192,192,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.cs-bento-card:hover { border-color: rgba(0,192,192,0.22); transform: translateY(-4px); }
.cs-bento-card:hover::before { opacity: 1; }
.cs-bento-card.big { grid-column: span 2; }
.cs-bento-num {
  font-family: var(--cs-font-mono);
  font-size: 10px;
  color: var(--cs-teal-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 14px;
}
.cs-bento-card h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  color: #fff;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}
.cs-bento-card p {
  font-size: 14px;
  color: var(--cs-ink-300);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .cs-bento { grid-template-columns: 1fr 1fr; }
  .cs-bento-card.big { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cs-bento { grid-template-columns: 1fr; }
}

/* ─────────────────────────────
   14. INDUSTRY PILLS
───────────────────────────── */
.cs-industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.cs-industry-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(21,38,73,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--cs-radius);
  font-size: 14px;
  color: var(--cs-ink-200);
  font-weight: 500;
  transition: all 0.3s var(--cs-ease-expo);
  cursor: default;
}
.cs-industry-pill svg { color: var(--cs-teal-400); flex-shrink: 0; width: 20px; height: 20px; }
.cs-industry-pill:hover {
  border-color: rgba(0,192,192,0.25);
  background: rgba(21,38,73,0.55);
  color: #fff;
  transform: translateY(-2px);
}

/* ─────────────────────────────
   15. CTA BANNER
───────────────────────────── */
.cs-cta-banner {
  padding: clamp(60px, 8vw, 100px) clamp(32px, 5vw, 80px);
  border-radius: var(--cs-radius-xl);
  background: var(--cs-grad-navy);
  border: 1px solid rgba(0,192,192,0.15);
  box-shadow: 0 0 120px -40px rgba(0,192,192,0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cs-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0,192,192,0.15), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(48,168,224,0.12), transparent 50%);
  animation: csAmbient 12s ease-in-out infinite alternate;
}
.cs-cta-banner > * { position: relative; }
.cs-cta-banner h2 {
  font-family: var(--cs-font-display);
  font-size: clamp(32px, 5vw, 60px);
  color: #fff;
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 18px;
}
.cs-cta-banner h2 em {
  background: var(--cs-grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.cs-cta-banner p {
  font-size: 17px;
  color: var(--cs-ink-200);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* ─────────────────────────────
   16. FOOTER
───────────────────────────── */
.cs-footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cs-footer-tagline { font-size: 14px; color: var(--cs-ink-400); max-width: 340px; margin-top: 16px; line-height: 1.6; }
.cs-footer h4 {
  font-family: var(--cs-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cs-ink-400);
  margin-bottom: 18px;
  font-weight: 500;
}
.cs-footer ul { padding: 0; list-style: none; }
.cs-footer ul li { margin-bottom: 10px; }
.cs-footer ul a {
  font-size: 14px;
  color: var(--cs-ink-200);
  transition: color 0.2s;
  text-decoration: none;
}
.cs-footer ul a:hover { color: var(--cs-cyan-300); }
.cs-footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cs-footer-bottom p { font-size: 13px; color: var(--cs-ink-400); margin: 0; }

/* ─────────────────────────────
   17. CONTACT FORM
───────────────────────────── */
.cs-form-wrap {
  padding: 40px;
  background: linear-gradient(180deg, rgba(21,38,73,0.45), rgba(15,29,58,0.2));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--cs-radius-lg);
}
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea,
.cs-form-wrap input,
.cs-form-wrap select,
.cs-form-wrap textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5,11,31,0.6) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px;
  color: #fff !important;
  font-size: 15px;
  font-family: var(--cs-font-body);
  transition: all 0.2s;
  outline: none;
}
.wpcf7 textarea,
.cs-form-wrap textarea { min-height: 110px; resize: vertical; }
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.cs-form-wrap input:focus,
.cs-form-wrap textarea:focus {
  border-color: var(--cs-brand-teal) !important;
  box-shadow: 0 0 0 3px rgba(0,192,192,0.12), 0 0 20px -4px rgba(0,192,192,0.15) !important;
}
.wpcf7 input[type="submit"],
.cs-form-wrap button[type="submit"] {
  background: var(--cs-grad-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border-radius: 100px !important;
  padding: 14px 28px !important;
  font-size: 15px;
  transition: all 0.4s var(--cs-ease-expo);
  width: auto;
}
.wpcf7 input[type="submit"]:hover,
.cs-form-wrap button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0,192,192,0.5);
}

/* ─────────────────────────────
   18. CONTACT METHOD ITEMS
───────────────────────────── */
.cs-contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(21,38,73,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--cs-radius);
  transition: all 0.2s;
}
.cs-contact-method:hover { border-color: rgba(34,211,238,0.3); background: rgba(21,38,73,0.5); }
.cs-cm-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cs-cyan-300);
  flex-shrink: 0;
}
.cs-cm-label { font-size: 11px; font-family: var(--cs-font-mono); color: var(--cs-ink-400); letter-spacing: 0.1em; text-transform: uppercase; }
.cs-cm-value { font-size: 15px; color: #fff; font-weight: 500; margin-top: 2px; }

/* ─────────────────────────────
   19. COMPARISON TABLE
───────────────────────────── */
.cs-compare-wrap {
  overflow-x: auto;
  border-radius: var(--cs-radius-lg);
  border: 1px solid rgba(255,255,255,0.07);
}
.cs-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cs-compare-table thead tr {
  background: rgba(15,29,58,0.8);
}
.cs-compare-table th {
  padding: 18px 24px;
  text-align: left;
  font-family: var(--cs-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cs-ink-300);
  font-weight: 500;
}
.cs-compare-table th.popular {
  background: rgba(0,192,192,0.08);
  color: var(--cs-teal-400);
}
.cs-compare-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.cs-compare-table tbody tr:hover { background: rgba(21,38,73,0.3); }
.cs-compare-table tbody td {
  padding: 14px 24px;
  color: var(--cs-ink-200);
}
.cs-compare-table td.popular { background: rgba(0,192,192,0.04); }
.cs-tick-y { color: var(--cs-teal-400); font-weight: 700; }
.cs-tick-n { color: var(--cs-ink-400); }

/* ─────────────────────────────
   20. TIMELINE (About page)
───────────────────────────── */
.cs-timeline {
  position: relative;
  padding-left: 40px;
  max-width: 700px;
  margin: 0 auto;
}
.cs-timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cs-cyan-400), var(--cs-teal-500), transparent);
}
.cs-tl-item {
  padding: 0 0 40px 24px;
  position: relative;
}
.cs-tl-item::before {
  content: '';
  position: absolute; left: -34px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cs-brand-teal);
  box-shadow: 0 0 0 4px var(--cs-navy-950), 0 0 20px rgba(0,192,192,0.5);
}
.cs-tl-year {
  font-family: var(--cs-font-mono);
  color: var(--cs-teal-400);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.cs-tl-item h4 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.cs-tl-item p  { font-size: 14.5px; color: var(--cs-ink-300); line-height: 1.6; }

/* ─────────────────────────────
   21. CERT BADGES
───────────────────────────── */
.cs-cert-badge {
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(21,38,73,0.5), rgba(10,20,40,0.3));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--cs-radius);
  text-align: center;
  transition: all 0.5s var(--cs-ease-expo);
}
.cs-cert-badge:hover {
  border-color: rgba(0,192,192,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.4);
}
.cs-cert-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  color: var(--cs-cyan-300);
}
.cs-cert-badge h4 { font-size: 15px; color: #fff; margin-bottom: 6px; }
.cs-cert-badge p {
  font-size: 12px;
  color: var(--cs-ink-400);
  font-family: var(--cs-font-mono);
  letter-spacing: 0.05em;
}

/* ─────────────────────────────
   22. WHATSAPP FLOAT + STICKY
───────────────────────────── */
.cs-whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
  z-index: 999;
  transition: all 0.4s var(--cs-ease-expo);
  animation: csWaPulse 3s ease-in-out infinite;
}
@keyframes csWaPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 10px 30px rgba(37,211,102,0.35), 0 0 0 8px rgba(37,211,102,0.1); }
}
.cs-whatsapp-float:hover { transform: scale(1.1) translateY(-2px); animation: none; }
.cs-whatsapp-float svg { width: 28px; height: 28px; color: #fff; }

.cs-sticky-demo {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--cs-grad-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  box-shadow: 0 20px 40px -10px rgba(0,192,192,0.45), 0 0 0 1px rgba(0,192,192,0.3);
  transition: transform 0.5s var(--cs-ease-spring);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.cs-sticky-demo.show { transform: translateX(-50%) translateY(0); }

/* ─────────────────────────────
   23. SCROLL REVEAL
───────────────────────────── */
.cs-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--cs-ease-expo), transform 0.9s var(--cs-ease-expo), filter 0.9s var(--cs-ease-expo);
  filter: blur(3px);
}
.cs-reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.cs-reveal.d1 { transition-delay: 0.1s; }
.cs-reveal.d2 { transition-delay: 0.2s; }
.cs-reveal.d3 { transition-delay: 0.3s; }
.cs-reveal.d4 { transition-delay: 0.4s; }

/* ─────────────────────────────
   24. ELEMENTOR OVERRIDES
───────────────────────────── */

/* Remove default Elementor section backgrounds */
.elementor-section.cs-hero-section { background: transparent !important; }

/* Page hero header */
.cs-page-hero {
  padding-top: 180px;
  padding-bottom: 60px;
  text-align: center;
}
.cs-page-hero h1 {
  font-family: var(--cs-font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.5vw, 80px);
  color: #fff;
  line-height: 1.08;
  margin: 24px 0;
  letter-spacing: -0.02em;
}
.cs-page-hero h1 em {
  background: var(--cs-grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.cs-page-hero p {
  font-size: 18px;
  color: var(--cs-ink-300);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Elementor headings in dark context */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4 {
  color: #fff;
}

/* Why/stat cards */
.cs-why-card {
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(21,38,73,0.35), rgba(15,29,58,0.15));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--cs-radius);
  text-align: center;
}
.cs-why-value {
  font-family: var(--cs-font-display);
  font-size: 44px;
  color: var(--cs-cyan-300);
  line-height: 1;
}
.cs-why-label { font-size: 14px; color: var(--cs-ink-200); margin-top: 8px; font-weight: 500; }

/* ─────────────────────────────
   25. RESPONSIVE
───────────────────────────── */
@media (max-width: 1024px) {
  .cs-hero-section { padding-top: 130px !important; }
}
@media (max-width: 768px) {
  .cs-hero-section { padding-top: 110px !important; }
  .cs-hero-title { font-size: clamp(36px, 8vw, 52px) !important; }
  .cs-stats-strip { gap: 24px; }
  .cs-case-metrics { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cs-price-card { padding: 28px 24px; }
  .cs-testi-card { padding: 28px; }
  .cs-form-wrap { padding: 28px 20px; }
  .cs-cta-banner { padding: 48px 28px; }
  .cs-sticky-demo { bottom: 90px; font-size: 13px; padding: 10px 16px; }
  .cs-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .cs-case-metrics { grid-template-columns: repeat(2, 1fr); }
  .cs-dash-kpis { grid-template-columns: 1fr 1fr; }
  .cs-whatsapp-float { bottom: 16px; right: 16px; }
}

/* ─────────────────────────────
   26. CURSOR GLOW (desktop)
───────────────────────────── */
@media (pointer: fine) {
  .cs-cursor-glow {
    position: fixed;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,192,192,0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: left, top;
  }
}
