/* =====================================================
   SYNCINSIGHT — PREMIUM STYLESHEET
   Africa's Data & Insights Leader
   ===================================================== */

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

:root {
  /* Brand Colors */
  --amber:       #F5A623;
  --orange:      #E8541E;
  --teal:        #00C9A7;
  --purple:      #8B5CF6;
  --yellow:      #F59E0B;
  --green:       #10B981;

  /* Dark Theme */
  --bg-primary:  #060D1F;
  --bg-secondary:#0B1628;
  --bg-card:     #0F1E35;
  --bg-card2:    #111F38;
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(245,166,35,0.25);

  /* Text */
  --text-primary:   #F0F4FF;
  --text-secondary: #8A9BBE;
  --text-muted:     #4A5A78;

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, #F5A623, #E8541E);
  --grad-teal:   linear-gradient(135deg, #00C9A7, #0891B2);
  --grad-purple: linear-gradient(135deg, #8B5CF6, #EC4899);
  --grad-bg:     linear-gradient(180deg, #060D1F 0%, #0B1628 100%);

  /* Spacing */
  --section-pad: 110px;
  --container:   1240px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --fast: 0.2s;
  --mid:  0.35s;
  --slow: 0.6s;

  /* Shadows */
  --shadow-card:  0 4px 30px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 40px rgba(245,166,35,0.15);
  --shadow-teal:  0 0 40px rgba(0,201,167,0.15);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

p { color: var(--text-secondary); }

a { text-decoration: none; color: inherit; }

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

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--mid) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,84,30,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,84,30,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION SHARED ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Split header: title left, subtitle right */
.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  text-align: left;
  max-width: 100%;
}
.section-header--split .section-title { margin-bottom: 0; flex-shrink: 0; }
.section-header--split .section-subtitle { max-width: 420px; margin-bottom: 4px; }

/* Left-aligned with eyebrow */
.section-header--left {
  text-align: left;
  max-width: 100%;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-header--left .section-title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 0; }

/* Ruled header: title + link on one line, then a rule */
.section-header--ruled {
  text-align: left;
  max-width: 100%;
  margin-bottom: 48px;
}
.ruled-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ruled-header .section-title { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ruled-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.ruled-link:hover { color: var(--amber); }
.ruled-line {
  height: 1px;
  background: var(--border);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--mid) var(--ease);
}

.navbar.scrolled {
  background: rgba(6,13,31,0.92);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  display: block;
  flex-shrink: 0;
  transition: opacity var(--mid) var(--ease);
}
.nav-logo:hover .logo-mark { opacity: 0.75; }

.logo-wordmark {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo-wordmark strong {
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  text-transform: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--fast) var(--ease);
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--fast) var(--ease);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}


.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 28px;
  animation: fadeInUp 0.7s var(--ease) both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeInUp 0.7s var(--ease) 0.15s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 42px;
  animation: fadeInUp 0.7s var(--ease) 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fadeInUp 0.7s var(--ease) 0.45s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.7s var(--ease) 0.6s both;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 8px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* =============================================
   TRUSTED BY
   ============================================= */
.trusted {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.trusted-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 32px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  color: var(--text-muted);
  transition: color var(--mid) var(--ease);
  border-right: 1px solid var(--border);
}
.logo-item:last-child { border-right: none; }
.logo-item svg { height: 22px; width: auto; display: block; }
.logo-item:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: all var(--mid) var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(245,166,35,0.04));
  opacity: 0;
  transition: opacity var(--mid) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,166,35,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,166,35,0.1);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: rgba(245,166,35,0.3);
  background: linear-gradient(150deg, #0F1E35, #111A2E);
  box-shadow: 0 0 0 1px rgba(245,166,35,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}

.featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-icon {
  width: 60px; height: 60px;
  background: rgba(var(--icon-color), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--icon-color);
  background: color-mix(in srgb, var(--icon-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color) 20%, transparent);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.75rem;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber);
  transition: gap var(--fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link:hover { gap: 8px; }

/* =============================================
   DATA POWER
   ============================================= */
.data-power {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.data-power-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.data-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--mid) var(--ease);
}
.pillar:hover {
  border-color: rgba(245,166,35,0.25);
  transform: translateX(6px);
}

.pillar-icon { font-size: 1.6rem; flex-shrink: 0; }

.pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Dashboard Card */
.dashboard-card {
  background: linear-gradient(160deg, rgba(26,42,74,0.6) 0%, rgba(13,31,60,0.8) 100%);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  box-shadow: 0 0 60px rgba(245,166,35,0.06), 0 24px 48px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.dashboard-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #00C9A7;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00C9A7;
  box-shadow: 0 0 8px #00C9A7;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #00C9A7; }
  50% { opacity: 0.5; box-shadow: 0 0 3px #00C9A7; }
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.kpi-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.08);
  align-self: center;
  margin: 0 24px;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kpi-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.kpi-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 2px;
}

.kpi-delta {
  font-size: 0.68rem;
  font-weight: 500;
  margin-top: 5px;
}
.kpi-delta.positive { color: #00C9A7; }
.kpi-delta.negative { color: #f87171; }

.dashboard-chart-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dashboard-chart-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.chart-range {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

.chart-legend {
  display: flex;
  gap: 18px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.legend-line {
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
}
.legend-line.brand { background: #F5A623; }
.legend-line.competitor { background: #00C9A7; opacity: 0.55; }

.dashboard-markets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.market-row {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  align-items: center;
  gap: 16px;
}

.market-name {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.market-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
}

.market-bar {
  height: 100%;
  border-radius: 3px;
}

.market-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-align: right;
  font-family: 'Outfit', sans-serif;
}

/* =============================================
   SOLUTIONS TABS
   ============================================= */
.solutions {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.solutions-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
}

.tab-btn.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(232,84,30,0.3);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.solution-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 54px;
}

.solution-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.solution-info p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.solution-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}
.solution-list li::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--grad-brand);
  border-radius: 50%;
  flex-shrink: 0;
}

.solution-metrics {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all var(--mid) var(--ease);
}
.metric-card:hover {
  transform: translateX(6px);
  border-color: rgba(245,166,35,0.2);
}

.metric-icon { font-size: 1.6rem; }
.metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amber);
  display: block;
}
.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--mid) var(--ease);
}
.about-card:hover {
  transform: translateX(8px);
  border-color: rgba(245,166,35,0.2);
  box-shadow: var(--shadow-glow);
}

.about-card-1 { border-left: 3px solid var(--amber); }
.about-card-2 { border-left: 3px solid var(--orange); }
.about-card-3 { border-left: 3px solid var(--teal); }

.about-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.about-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.about-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

.about-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 36px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}
.value-icon { color: var(--amber); font-size: 0.75rem; }

/* =============================================
   INSIGHTS BLOG
   ============================================= */
.insights-section {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.insights-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--mid) var(--ease);
}
.insight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,166,35,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.insight-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.insight-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
}

.featured-insight h3 { font-size: 1.4rem; }

.insight-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}
.insight-author { color: var(--text-primary); font-weight: 600; }
.insight-date { color: var(--text-muted); }
.insight-meta::before { content: ''; flex: 1; height: 1px; background: var(--border); }

.insight-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber);
  transition: letter-spacing var(--fast);
}
.insight-link:hover { letter-spacing: 0.02em; }

/* =============================================
   DEMO SECTION (CTA)
   ============================================= */
.demo-section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.demo-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}
.demo-orb-1 {
  width: 500px; height: 500px;
  background: var(--amber);
  top: -200px; left: -100px;
}
.demo-orb-2 {
  width: 400px; height: 400px;
  background: var(--teal);
  bottom: -150px; right: -50px;
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.demo-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.demo-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.demo-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}
.demo-benefits li span {
  font-size: 1rem;
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
}

/* =============================================
   FORMS
   ============================================= */
.demo-form, .contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
}

.demo-form h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: all var(--fast) var(--ease);
  outline: none;
  width: 100%;
}

.form-group select option { background: var(--bg-card); color: var(--text-primary); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(245,166,35,0.4);
  background: rgba(245,166,35,0.04);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

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

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
}

.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }

.contact-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-btn {
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--fast) var(--ease);
}
.social-btn:hover {
  color: var(--amber);
  border-color: rgba(245,166,35,0.3);
  transform: translateY(-3px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 18px 0 20px;
}

.footer-cert {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-cert span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--fast) var(--ease);
}
.footer-col a:hover { color: var(--amber); }

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

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: var(--bg-card2);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--mid) var(--ease);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .data-power-inner { grid-template-columns: 1fr; gap: 48px; }
  .data-power-visual { display: flex; justify-content: center; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .featured-insight { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --section-pad: 72px; }

  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: rgba(6,13,31,0.98);
    backdrop-filter: blur(20px);
    padding: 40px 24px;
    gap: 8px;
    z-index: 999;
    border-top: 1px solid var(--border);
    align-items: flex-start;
    overflow-y: auto;
  }
  .nav-links.open + .nav-actions {
    display: none;
  }

  .hero-title { font-size: clamp(2.4rem, 7vw, 3.5rem); }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .stat-item { min-width: calc(50% - 16px); padding: 12px 0; }
  .stat-divider { display: none; }

  .about-inner,
  .demo-inner,
  .data-power-inner { grid-template-columns: 1fr; gap: 48px; }

  .solution-detail { grid-template-columns: 1fr; padding: 36px 28px; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .demo-form, .contact-form { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .solutions-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .how-steps { flex-direction: column; gap: 24px; }
  .how-arrow { transform: rotate(90deg); }
  .outcomes-bar { flex-direction: column; gap: 16px; }
  .outcome-divider { display: none; }
}

/* ===== OUTCOMES BAR ===== */
.outcomes-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.outcome-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  flex: 1;
  min-width: 180px;
}

.outcome-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.outcome-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.outcome-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
}

.how-step {
  flex: 1;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  transition: border-color var(--mid) var(--ease), transform var(--mid) var(--ease);
}

.how-step:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.how-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.how-step-body h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

.how-arrow {
  font-size: 1.8rem;
  color: var(--amber);
  opacity: 0.5;
  flex-shrink: 0;
  align-self: center;
  padding: 0 12px;
}

/* ===== SERVICES ALT (Market Intelligence alternating bg) ===== */
.services-alt {
  background: var(--bg-secondary);
}

@media (max-width: 860px) {
  .how-steps { flex-direction: column; gap: 24px; }
  .how-arrow { transform: rotate(90deg); align-self: center; }
  .outcomes-bar { flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px 20px; }
  .outcome-divider { display: none; }
  .outcome-item { padding: 0; }
}
