/* ==========================================================================
   DIGITAL PILOT - BRAND DESIGN SYSTEM
   Brand Colors:
   - Branco: #ffffff
   - Azul: #0012ea
   - Cinza Escuro: #333333
   Zero dependencies, ultra-fast performance, 100% accessible.
   ========================================================================== */

:root {
  /* Core Brand Tokens */
  --brand-white: #ffffff;
  --brand-blue: #0012ea;
  --brand-blue-hover: #000ec7;
  --brand-blue-light: #3042ff;
  --brand-blue-dim: rgba(0, 18, 234, 0.08);
  --brand-blue-border: rgba(0, 18, 234, 0.22);
  --brand-dark: #333333;
  --brand-dark-card: #282828;
  --brand-dark-surface: #1e1e1e;
  --brand-dark-border: #444444;

  /* Surfaces & Backgrounds */
  --bg-base: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f4fa;
  --bg-alt: #f3f5f9;
  --bg-dark-section: #333333;
  --bg-input: #ffffff;

  /* Typographic Tokens */
  --text-primary: #333333;
  --text-headings: #1e2430;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-inverse: #ffffff;
  --text-inverse-muted: #cbd5e1;

  /* Accents & Borders */
  --accent: #0012ea;
  --accent-hover: #000ec7;
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-strong: #333333;
  --border-focus: #0012ea;

  /* Typography Stack */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spatial Scale */
  --max-w-content: 1200px;
  --max-w-prose: 760px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 18, 234, 0.08);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.18s;
  --duration-normal: 0.28s;
}

/* Base & Reset */
*, *::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;
  background-color: var(--bg-base);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-headings);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-content {
  flex: 1 0 auto;
  padding-top: var(--header-height);
}

/* Section Spacing */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  background-color: var(--bg-dark-section);
  color: var(--text-inverse);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-inverse);
}

.section-dark p {
  color: var(--text-inverse-muted);
}

.section-header {
  margin-bottom: 48px;
  max-width: 720px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  margin-top: 12px;
  margin-bottom: 16px;
}

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--brand-blue-dim);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  box-shadow: 0 0 8px rgba(0, 18, 234, 0.4);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-dark .badge-dot {
  background-color: var(--brand-white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: var(--brand-white);
  box-shadow: 0 4px 14px rgba(0, 18, 234, 0.25);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  color: var(--brand-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 18, 234, 0.35);
}

.btn-secondary {
  background-color: var(--brand-white);
  color: var(--brand-dark);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-dark {
  background-color: var(--brand-dark);
  color: var(--brand-white);
}

.btn-dark:hover {
  background-color: #1a1a1a;
  color: var(--brand-white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--max-w-content);
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--brand-blue);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 18, 234, 0.25);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}

.brand-text span {
  color: var(--brand-blue);
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-menu-header,
.mobile-nav-cta,
.mobile-overlay {
  display: none;
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--brand-blue);
  background-color: var(--brand-blue-dim);
}

.nav-link.active {
  color: var(--brand-blue);
  background-color: var(--brand-blue-dim);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.dropdown-item:hover {
  background-color: #f1f5f9;
}

.dropdown-item-title {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--brand-dark);
  margin-bottom: 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--brand-blue);
}

.dropdown-item.active {
  background-color: #eff6ff;
}

.dropdown-item.active .dropdown-item-title {
  color: var(--brand-blue);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-desktop-cta {
  display: inline-flex;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-toggle:hover {
  background-color: var(--bg-alt);
  border-color: var(--brand-blue);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--brand-dark);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

/* Hero Section */
.hero-section {
  padding-top: 60px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  margin-top: 18px;
  margin-bottom: 20px;
}

.highlight {
  color: var(--brand-blue);
  position: relative;
}

.hero-lead {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.telemetry-number .unit {
  font-size: 1rem;
  color: var(--brand-blue);
  font-weight: 600;
}

.telemetry-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Jet Visual Stage */
.hero-jet-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  user-select: none;
}

.jet-motion-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
  animation: jetFlightEntrance 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.jet-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.jet-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  margin-top: -190px;
  margin-left: -190px;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 18, 234, 0.15);
  animation: radarRotate 25s linear infinite;
  pointer-events: none;
}

.jet-radar-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  margin-top: -130px;
  margin-left: -130px;
  border-radius: 50%;
  border: 1px solid rgba(0, 18, 234, 0.1);
}

.jet-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  margin-top: -160px;
  margin-left: -160px;
  background: radial-gradient(circle, rgba(0, 18, 234, 0.12) 0%, rgba(0, 18, 234, 0.02) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-fighter-jet-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(0, 18, 234, 0.18)) drop-shadow(0 8px 15px rgba(0, 0, 0, 0.08));
  transition: filter var(--duration-fast) var(--ease-out);
  pointer-events: none;
}

.jet-speed-badge {
  position: absolute;
  bottom: 10px;
  right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
  animation: badgeFadeIn 1.2s ease 0.6s both;
}

.jet-speed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  box-shadow: 0 0 8px var(--brand-blue);
  animation: pulseDot 2s infinite ease-in-out;
}

/* Flight Entrance & Floating Animations */
@keyframes jetFlightEntrance {
  0% {
    opacity: 0;
    transform: translate3d(-140px, 120px, 0) scale(0.65) rotate(-18deg);
  }
  60% {
    opacity: 1;
    transform: translate3d(15px, -10px, 0) scale(1.03) rotate(3deg);
  }
  85% {
    transform: translate3d(-5px, 4px, 0) scale(0.99) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Terminal Card (kept for legacy if needed) */
.terminal-card {
  background-color: var(--brand-dark);
  border: 1px solid #444444;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  color: var(--brand-white);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
}

.terminal-dot:nth-child(1) { background-color: #ef4444; }
.terminal-dot:nth-child(2) { background-color: #f59e0b; }
.terminal-dot:nth-child(3) { background-color: #10b981; }

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-white);
  opacity: 0.8;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  color: #10b981;
}

.metric-name {
  font-size: 0.875rem;
  color: var(--brand-white);
}

.metric-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: 4px;
  background-color: rgba(0, 18, 234, 0.3);
  color: #7d8eff;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

/* Feature Cards */
.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-border);
}

.feature-card-accent {
  border-color: var(--brand-blue-border);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.feature-title {
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1 0 auto;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.feature-link:hover {
  color: var(--brand-blue-hover);
}

/* Process Steps Grid & Cards */
.process-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .process-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .process-grid-6 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.process-step-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--duration-fast) var(--ease-out);
}

.process-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-md);
}

.process-step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.process-step-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  background-color: var(--brand-blue-dim);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.process-step-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-blue);
}

.process-step-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.process-step-card-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1 0 auto;
  margin: 0;
}

/* Service Box */
.service-box {
  display: block;
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.service-box.reverse {
  display: block;
}

.service-box-title {
  margin-top: 12px;
  margin-bottom: 16px;
  color: var(--brand-dark);
}

.service-box-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.service-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.service-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--brand-dark);
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-box-meta {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta-header {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.meta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.meta-stat-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.meta-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Simulator Card */
.simulator-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.simulator-step {
  margin-bottom: 36px;
}

.simulator-step-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.simulator-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  color: var(--brand-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sim-categories-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sim-category-group {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.sim-category-heading {
  margin-bottom: 14px;
}

.sim-category-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  background-color: var(--brand-blue-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.sim-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.sim-grid-6 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.sim-option {
  position: relative;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 18px 18px 40px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  background-color: var(--brand-white);
  user-select: none;
}

.sim-option::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 20px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background-color: var(--brand-white);
  transition: all var(--duration-fast) var(--ease-out);
}

.sim-option.sim-type::before {
  border-radius: 50%;
}

.sim-option:hover {
  border-color: var(--brand-blue-border);
  background-color: var(--bg-surface);
}

.sim-option.selected {
  border-color: var(--brand-blue);
  background-color: var(--brand-blue-dim);
  box-shadow: 0 0 0 1px var(--brand-blue);
}

.sim-option.selected::before {
  border-color: var(--brand-blue);
  background-color: var(--brand-blue);
  box-shadow: inset 0 0 0 3px var(--brand-white);
}

.sim-option-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--brand-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.sim-option-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

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

.sim-summary-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sim-summary-sub {
  font-size: 0.9375rem;
  color: var(--brand-dark);
  margin-top: 4px;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background-color: var(--brand-white);
}

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

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
}

.comparison-table th {
  background-color: var(--bg-alt);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-dark);
}

.col-highlight {
  background-color: var(--brand-blue-dim);
  font-weight: 600;
  color: var(--brand-dark);
}

.table-check {
  color: var(--brand-blue);
  font-weight: 800;
  margin-right: 6px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--brand-white);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.faq-item.open {
  border-color: var(--brand-blue-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Search and Filters for Hubs & Blog */
.hub-search-wrapper {
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}

.hub-search-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--brand-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.hub-search-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 18, 234, 0.1);
}

.search-icon-inside {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.category-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.category-chip {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background-color: var(--brand-white);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.category-chip:hover {
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
}

.category-chip.active {
  background-color: var(--brand-blue);
  color: var(--brand-white);
  border-color: var(--brand-blue);
}

/* Hub Catalog Grid */
.hub-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.hub-item-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.hub-item-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hub-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.hub-item-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hub-item-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.hub-item-action {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Article Cards */
.article-card-item {
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.article-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-md);
}

.article-card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.article-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1 0 auto;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Article Single Page */
.reading-progress-bar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  height: 3px;
  background-color: var(--brand-blue);
  width: 0%;
  z-index: 1001;
}

.article-single-header {
  padding-top: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

.article-single-body {
  max-width: var(--max-w-prose);
  margin: 0 auto 60px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--brand-dark);
}

.article-single-body h2 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 1.625rem;
}

.article-single-body h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.article-single-body p {
  margin-bottom: 20px;
}

.article-single-body ul,
.article-single-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-single-body li {
  margin-bottom: 8px;
}

.article-single-body blockquote {
  border-left: 4px solid var(--brand-blue);
  padding: 16px 20px;
  background-color: var(--bg-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT PAGE & FORMS (MODERN & ELEGANT DESIGN)
   ========================================================================== */
.contact-hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.contact-benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.contact-benefit-pill svg {
  color: var(--brand-blue);
  flex-shrink: 0;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.contact-form-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-form-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  background-color: var(--brand-blue-dim);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.contact-form-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

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

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.form-label-required {
  color: var(--brand-blue);
  font-weight: 700;
}

.form-label-optional {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-fast) var(--ease-out);
}

.form-input,
.form-select {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--brand-dark);
  outline: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-input-wrapper:focus-within .form-field-icon {
  color: var(--brand-blue);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-blue);
  background-color: var(--brand-white);
  box-shadow: 0 0 0 4px rgba(0, 18, 234, 0.09);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
  font-size: 0.875rem;
}

.form-textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--brand-dark);
  outline: none;
  resize: vertical;
  line-height: 1.5;
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 18, 234, 0.25);
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 18, 234, 0.35);
}

.form-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

.form-security-note svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Contact Direct Channels Column */
.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-md);
}

.contact-channel-card.contact-channel-featured {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-color: rgba(0, 18, 234, 0.25);
  box-shadow: 0 4px 16px rgba(0, 18, 234, 0.08);
}

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

.contact-channel-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-blue-dim);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.channel-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.contact-channel-main {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-dim);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-channel-card:hover .contact-channel-icon {
  background-color: var(--brand-blue);
  color: var(--brand-white);
}

.contact-channel-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 2px;
}

.contact-channel-value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.contact-channel-desc {
  font-size: 0.84375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.contact-channel-cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.contact-channel-card:hover .contact-channel-cta {
  transform: translateX(4px);
}

.contact-schedule-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-schedule-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-schedule-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-schedule-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
}

.contact-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84375rem;
  color: var(--text-secondary);
}

.contact-schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-schedule-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  margin-top: 6px;
  flex-shrink: 0;
}

.contact-schedule-note {
  font-size: 0.78125rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 10px;
  margin-top: 4px;
  line-height: 1.45;
}

/* Guarantees Ribbon */
.contact-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.contact-guarantee-box {
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.contact-guarantee-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-dim);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-guarantee-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.contact-guarantee-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 991px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-guarantees-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 24px 18px;
  }

  .contact-hero-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-benefit-pill {
    justify-content: center;
  }
}

/* Footer */
.site-footer {
  background-color: var(--brand-dark);
  color: var(--brand-white);
  border-top: 1px solid #444444;
  margin-top: auto;
}

.footer-top {
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-grid {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col .brand-text {
  color: var(--brand-white);
}

.footer-bio {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.footer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-white);
  margin-bottom: 18px;
}

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

.footer-links a {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--brand-white);
}

.footer-contact-item {
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 600;
}

.contact-val {
  color: var(--brand-white);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0 45px 0;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.footer-bottom-container {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-right: 140px; /* Respiro amplo para não colidir com o WhatsApp flutuante */
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: #9ca3af;
}

.footer-legal a:hover {
  color: var(--brand-white);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-blue);
  color: var(--brand-white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(0, 18, 234, 0.4);
  z-index: 999;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.floating-whatsapp:hover {
  transform: scale(1.04);
  background-color: var(--brand-blue-hover);
  color: var(--brand-white);
}

.whatsapp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.wa-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .service-box,
  .service-box.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile Navigation Drawer */
  .header-desktop-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    box-shadow: -6px 0 32px rgba(15, 23, 42, 0.22);
    padding: 20px 20px 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    z-index: 1010;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
  }

  .mobile-menu-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-dark);
  }

  .mobile-close-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
  }

  .mobile-close-btn:hover,
  .mobile-close-btn:active {
    background-color: var(--border-subtle);
    color: var(--brand-dark);
  }

  .nav-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
  }

  .nav-links-wrapper .nav-link {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
  }

  .nav-links-wrapper .nav-link:hover,
  .nav-links-wrapper .nav-link.active {
    background-color: var(--brand-blue-dim);
    color: var(--brand-blue);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    border: none;
    background: none;
    cursor: pointer;
  }

  .nav-dropdown-toggle:hover,
  .nav-dropdown.open .nav-dropdown-toggle {
    background-color: var(--brand-blue-dim);
    color: var(--brand-blue);
  }

  .nav-dropdown-toggle .dropdown-chevron {
    transition: transform 0.25s ease;
  }

  .nav-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background-color: var(--bg-alt);
    padding: 6px;
    display: none;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nav-dropdown-menu .dropdown-item {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9375rem;
  }

  .nav-dropdown-menu .dropdown-item:hover,
  .nav-dropdown-menu .dropdown-item.active {
    background-color: #e2e8f0;
    color: var(--brand-blue);
    font-weight: 600;
  }

  .mobile-nav-cta {
    display: block;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
  }

  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 995;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

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

  .footer-bottom {
    padding-bottom: 90px;
  }

  .footer-bottom-container {
    padding-right: 120px;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-telemetry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-bottom {
    padding-bottom: 100px;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 90px;
    gap: 12px;
  }
}

/* ==========================================================================
   PROGRAMMATIC SEO & CIDADE HUB ENHANCEMENTS
   ========================================================================== */
.hub-uf-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-dark);
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  appearance: auto;
}

.hub-uf-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 18, 234, 0.12);
}

.uf-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
  padding: 4px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.uf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-dark);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.uf-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background-color: var(--brand-blue-soft);
}

.uf-chip.active {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--brand-white);
}

.uf-chip.active .uf-count {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--brand-white);
}

.uf-count {
  font-size: 0.6875rem;
  font-weight: 600;
  background-color: var(--bg-alt);
  color: var(--text-muted);
  padding: 1px 5px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .filter-controls-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   BREADCRUMB COMPONENT
   ========================================================================== */
.breadcrumb-bar {
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  font-size: 0.8125rem;
  font-family: var(--font-body);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-link:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.6;
  font-weight: 600;
  font-size: 0.8125rem;
  user-select: none;
}

.breadcrumb-current {
  color: var(--brand-dark);
  font-weight: 700;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .breadcrumb-current {
    max-width: 220px;
  }
}

/* ==========================================================================
   CLIENTS LOGOS CAROUSEL COMPONENT
   ========================================================================== */
.section-clients-carousel {
  position: relative;
  background-color: var(--brand-white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.clients-carousel-container {
  position: relative;
  width: 100%;
  padding: 8px 0;
}

.clients-carousel-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 6px 2px 14px 2px;
  touch-action: pan-y;
  cursor: grab;
}

.clients-carousel-viewport:active {
  cursor: grabbing;
}

.clients-carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.client-carousel-slide {
  flex: 0 0 calc((100% - (4 * 16px)) / 5);
  min-width: 0;
  display: flex;
}

@media (max-width: 1100px) {
  .client-carousel-slide {
    flex: 0 0 calc((100% - (3 * 16px)) / 4);
  }
}

@media (max-width: 860px) {
  .client-carousel-slide {
    flex: 0 0 calc((100% - (2 * 14px)) / 3);
  }
  .clients-carousel-track {
    gap: 14px;
  }
}

@media (max-width: 580px) {
  .client-carousel-slide {
    flex: 0 0 calc((100% - 10px) / 2);
  }
  .clients-carousel-track {
    gap: 10px;
  }
}

.client-logo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 164px;
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px 12px 14px;
  text-decoration: none;
  position: relative;
  transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  user-select: none;
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 18, 234, 0.3);
  box-shadow: 0 10px 24px rgba(0, 18, 234, 0.08);
}

.client-logo-img-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 6px;
  background-color: transparent;
}

.client-logo-img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%) contrast(105%);
  transition: filter 0.28s var(--ease-out), transform 0.28s var(--ease-out);
  pointer-events: none;
}

.client-logo-card:hover .client-logo-img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.06);
}

.client-card-info {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.client-card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.client-card-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-display);
}

.client-external-icon {
  color: var(--text-muted);
  opacity: 0.55;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.client-logo-card:hover .client-external-icon {
  color: var(--brand-blue);
  opacity: 1;
  transform: translate(1px, -1px);
}

.client-card-segment {
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav Buttons */
.carousel-nav-btn {
  position: absolute;
  top: calc(50% - 4px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brand-white);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.24s var(--ease-out);
  outline: none;
}

.carousel-nav-prev {
  left: -20px;
}

.carousel-nav-next {
  right: -20px;
}

.carousel-nav-btn:hover {
  background-color: var(--brand-blue);
  color: var(--brand-white);
  border-color: var(--brand-blue);
  box-shadow: 0 6px 18px rgba(0, 18, 234, 0.32);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 900px) {
  .carousel-nav-prev {
    left: -8px;
  }
  .carousel-nav-next {
    right: -8px;
  }
  .carousel-nav-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 640px) {
  .carousel-nav-btn {
    display: none; /* Em mobile o usuário navega por swipe / toque e pelas bolinhas */
  }
}

/* Footer Dots & Hint */
.clients-carousel-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.clients-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 0, 0, 0.16);
  border: none;
  cursor: pointer;
  transition: all 0.28s var(--ease-out);
  padding: 0;
}

.carousel-dot:hover {
  background-color: rgba(0, 18, 234, 0.5);
  transform: scale(1.15);
}

.carousel-dot.active {
  width: 28px;
  background-color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(0, 18, 234, 0.35);
}

.clients-carousel-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.85;
  font-family: var(--font-body);
  text-align: center;
}



