/* ==========================================================================
   QUALUNO - Comprehensive B2B Data & Intelligence Services
   Modern Design System & Core Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Palette (Datalense Services Signature Palette) */
  --primary: #0097a9;
  --primary-light: #3763eb;
  --primary-dark: #051441;
  --accent-cyan: #0097a9;
  --accent-teal: #0097a9;
  --accent-purple: #0097a9;
  --accent-amber: #f59e0b;
  --accent-emerald: #0097a9;

  /* Surfaces & Canvas (Default Pure Crisp White as requested) */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-input: #ffffff;
  --bg-badge: rgba(0, 151, 169, 0.08);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Text Colors */
  --text-main: #334155;
  --text-heading: #051441;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-brand: #0097a9;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-light: rgba(0, 151, 169, 0.16);
  --border-focus: #0097a9;
  --border-card-glow: rgba(0, 151, 169, 0.2);

  /* Gradients */
  --grad-primary: linear-gradient(to right, #0097a9 0%, #3763eb 50%, #0097a9 100%);
  --grad-cyan-blue: linear-gradient(135deg, #0097a9 0%, #3763eb 100%);
  --grad-dark-card: #ffffff;
  --grad-glow: none;
  --grad-accent-border: linear-gradient(90deg, #051441, #0097a9, #3763eb);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-cyan-glow: 0 0 20px rgba(0, 151, 169, 0.16);
  --shadow-blue-glow: 0 0 25px rgba(0, 151, 169, 0.22);

  /* Layout & Spacing */
  --container-max: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dark Theme Variations (Toggled via [data-theme="dark"]) --- */
[data-theme="dark"] {
  --bg-body: #060b17;
  --bg-surface: #0b1329;
  --bg-surface-elevated: #111e3f;
  --bg-card: #0d1733;
  --bg-card-hover: #13224b;
  --bg-glass: rgba(11, 19, 41, 0.92);
  --bg-input: #091024;
  --bg-badge: rgba(0, 210, 255, 0.12);

  --text-main: #94a3b8;
  --text-heading: #ffffff;
  --text-muted: #64748b;
  --text-dim: #475569;
  --text-brand: #38bdf8;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 210, 255, 0.2);
  --border-focus: #00d2ff;
  --border-card-glow: rgba(0, 210, 255, 0.3);

  --grad-dark-card: linear-gradient(145deg, #0d1733 0%, #080f24 100%);
  --grad-glow: linear-gradient(180deg, rgba(0, 82, 255, 0.15) 0%, transparent 70%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-cyan-glow: 0 0 24px rgba(0, 210, 255, 0.25);
  --shadow-blue-glow: 0 0 30px rgba(0, 82, 255, 0.3);
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

/* ==========================================================================
   Header & Centered Navigation (User preferred centered menu)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  height: 72px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Nav Menu - Centered in middle of header */
.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav Actions on Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.nav-quote-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 24px !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  background: linear-gradient(to right, #0097a9 0%, #3763eb 50%, #0097a9 100%) !important;
  background-size: 200% auto !important;
  border-radius: 50px !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(0, 151, 169, 0.28) !important;
  transition: all 0.3s ease-in-out !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.nav-quote-btn:hover {
  background-position: right center !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(55, 99, 235, 0.42) !important;
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .nav-quote-btn {
    padding: 0 16px !important;
    font-size: 13px !important;
    height: 36px !important;
  }
}

@media (max-width: 768px) {
  .nav-quote-btn {
    display: none !important;
  }
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(15deg);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
}

/* ==========================================================================
   Buttons & Interactive Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(to right, #0097a9 0%, #3763eb 50%, #0097a9 100%) !important;
  background-size: 200% auto !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 151, 169, 0.28) !important;
  transition: all 0.4s ease-in-out !important;
}

.btn-primary:hover {
  background-position: right center !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(55, 99, 235, 0.42) !important;
  color: #ffffff !important;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-outline-brand {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Section Tag / Badge */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-badge);
  border: 1px solid var(--border-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 800;
}

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

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  .section-header p {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Hero Section (#home)
   ========================================================================== */
.hero-section {
  padding: 48px 0 45px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="dark"] .hero-section {
  background: var(--bg-body);
}

.hero-section .container {
  max-width: 1420px;
  width: 95%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 850px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

/* Live Telemetry Pill */
.live-telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

.telemetry-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 151, 169, 0.12);
  color: #0097a9;
  font-weight: 700;
  font-size: 0.76rem;
}

.telemetry-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0097a9;
  animation: pingCyan 1.5s infinite;
}

@keyframes pingCyan {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Trust Metric Badges */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
}

.stat-item-number span {
  color: var(--primary);
}

.stat-item-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Visual / Telemetry Radar Card */
.hero-visual {
  position: relative;
  z-index: 2;
}

.telemetry-radar-card {
  background: var(--bg-surface-elevated, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 20px;
  box-shadow: 0 20px 45px -10px rgba(0, 82, 255, 0.18), 0 0 0 1px rgba(0, 82, 255, 0.08);
  padding: 24px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

[data-theme="dark"] .telemetry-radar-card {
  background: #0f172a;
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(6, 182, 212, 0.15);
}

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle, #edf2f7);
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.radar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-heading);
}

.radar-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0097a9;
  box-shadow: 0 0 10px #0097a9;
  animation: pingCyan 1.5s infinite;
}

.radar-scan-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0, 82, 255, 0.08);
  color: var(--primary, #0052ff);
  letter-spacing: 0.04em;
}

.radar-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radar-item {
  background: var(--bg-surface, #f8fafc);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 12px;
  padding: 14px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .radar-item {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.radar-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary, #0052ff);
}

.radar-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.radar-company {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-heading);
}

.intent-score {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.intent-score.high {
  background: rgba(0, 151, 169, 0.15);
  color: #0097a9;
  border: 1px solid rgba(0, 151, 169, 0.3);
}

.intent-score.mid {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.radar-item-details {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.radar-item-details strong {
  color: var(--text-main);
}

.radar-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 6px;
  border-top: 1px dashed var(--border-subtle, #e2e8f0);
}

.radar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle, #edf2f7);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.radar-badge-pill {
  font-weight: 700;
  color: #0097a9;
}
  justify-content: center;
  color: var(--primary);
}

.floating-intel-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

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

/* ==========================================================================
   Enterprise Trust Bar
   ========================================================================== */
.trust-bar-section {
  padding: 36px 0;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-bar-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.trust-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo-item {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dim);
  opacity: 0.7;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.trust-logo-item:hover {
  color: var(--text-heading);
  opacity: 1;
  transform: translateY(-2px);
}

/* ==========================================================================
   Section: Why Qualuno (#why-us)
   ========================================================================== */
.why-us-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="dark"] .why-us-section {
  background: var(--bg-body);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg), var(--shadow-blue-glow);
}

.why-card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--bg-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.why-card:hover .why-card-icon {
  background: var(--grad-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.why-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.why-card-metric {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Section: Interactive Data Intelligence Explorer
   ========================================================================== */
.explorer-section {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.explorer-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.explorer-toolbar {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.explorer-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.explorer-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.explorer-tab-btn.active,
.explorer-tab-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.explorer-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  width: 280px;
}

.explorer-search-input {
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-main);
}

/* Table Preview */
.explorer-table-wrap {
  overflow-x: auto;
}

.explorer-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.explorer-table th {
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.explorer-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}

.explorer-table tr:hover td {
  background: var(--bg-card-hover);
}

.table-person-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-badge);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.person-name {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.94rem;
}

.person-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 151, 169, 0.12);
  color: #0097a9;
  font-weight: 700;
  font-size: 0.78rem;
}

.badge-intent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 82, 255, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
}

.explorer-footer {
  padding: 20px 30px;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Section: Comprehensive Services (#services)
   ========================================================================== */
.services-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="dark"] .services-section {
  background: var(--bg-body);
}

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

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg), var(--shadow-blue-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--bg-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 28px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--grad-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-features-list li svg {
  color: #0097a9;
  flex-shrink: 0;
}

.service-card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: 12px;
}

/* ==========================================================================
   Section: About Qualuno & Global Intelligence Infrastructure (#about)
   ========================================================================== */
.about-section {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

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

.about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 24px;
}

.about-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.about-metrics-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-stats-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md), var(--shadow-blue-glow);
}

.about-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-badge);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.about-stat-box h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.about-stat-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.about-compliance-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.compliance-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 151, 169, 0.12);
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compliance-badge-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compliance-badge-text strong {
  font-size: 0.92rem;
  color: var(--text-heading);
  font-weight: 700;
}

.compliance-badge-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section: Comparison Matrix (Qualuno vs Legacy Databases)
   ========================================================================== */
.comparison-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="dark"] .comparison-section {
  background: var(--bg-body);
}

.comparison-table-wrap {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 22px 28px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  border-bottom: 2px solid var(--border-subtle);
}

.comparison-table th.col-qualuno {
  background: rgba(0, 82, 255, 0.05);
  color: var(--primary);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.comparison-table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  vertical-align: middle;
}

.comparison-table td.col-qualuno {
  background: rgba(0, 82, 255, 0.02);
  font-weight: 600;
  color: var(--text-heading);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Section: FAQ Accordion (#faqs)
   ========================================================================== */
.faq-section {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  background: none;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding: 0 26px 24px 26px;
}

/* ==========================================================================
   Section: Contact & Sample Batch Inquiry (#contact)
   ========================================================================== */
.contact-section {
  background: #ffffff;
  position: relative;
}

[data-theme="dark"] .contact-section {
  background: var(--bg-body);
}

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

.contact-info-panel h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-info-panel p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-perks-list {
  margin-bottom: 40px;
}

.contact-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.perk-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.perk-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.perk-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Contact Form Box */
.contact-form-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-heading);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

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

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px 0;
  position: relative;
}

[data-theme="dark"] .footer {
  background: var(--bg-body);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--text-heading);
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Modal Dialogs & Toast Notifications
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--primary);
  background: var(--bg-badge);
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: #0097a9;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 20px;
  }
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 30px 24px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    transform: none;
    gap: 16px;
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
