/* ==========================================================================
   HELOXA DUAL-SITE DESIGN SYSTEM
   1. index.html (heloxa.io) — Crisp Editorial Daylight (Parent + Price & Perks)
   2. data.html  (data.heloxa.io) — Deep Midnight Enterprise Data Platform
   ========================================================================== */

:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   SITE 1: HELOXA.IO PARENT & PRICE AND PERKS (theme-light)
   ========================================================================== */
body.theme-light {
  background-color: #f8fafc;
  color: #0b1528;
  line-height: 1.6;
}

.theme-light .navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #0b1528;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-navy {
  background: #0b1528;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 21, 40, 0.18);
}

.btn-navy:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 21, 40, 0.24);
}

.btn-brand {
  background: #2343d9;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(35, 67, 217, 0.22);
}

.btn-brand:hover {
  background: #1d37b8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(35, 67, 217, 0.28);
}

.btn-emerald {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.25);
}

.btn-emerald:hover {
  background: #047857;
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: #ffffff;
  color: #0b1528;
  border-color: #cbd5e1;
}

.btn-ghost-light:hover {
  border-color: #0b1528;
  background: #f1f5f9;
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Light Site Hero */
.parent-hero {
  padding: 72px 0 84px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.parent-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 22px;
}

.tag-pill.cobalt {
  background: rgba(35, 67, 217, 0.08);
  color: #2343d9;
  border: 1px solid rgba(35, 67, 217, 0.18);
}

.tag-pill.emerald {
  background: rgba(5, 150, 105, 0.08);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.18);
}

.tag-pill.dark-cobalt {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.parent-hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #0b1528;
  margin-bottom: 22px;
}

.text-ribbon {
  color: #2343d9;
}

.parent-hero p.lead {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 34px;
  max-width: 56ch;
}

/* Dual Ecosystem Bento on index.html Hero Right */
.ecosystem-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eco-card-consumer {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px -15px rgba(11, 21, 40, 0.07);
  position: relative;
  overflow: hidden;
}

.eco-card-consumer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #059669;
}

.eco-card-enterprise {
  background: #0b1528;
  color: #f8fafc;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 48px -12px rgba(11, 21, 40, 0.25);
  position: relative;
  overflow: hidden;
}

.eco-card-enterprise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2343d9;
}

/* Price and Perks Section on index.html */
.perks-section {
  padding: 96px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.perks-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.perks-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.perks-card-btn {
  text-align: left;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.perks-card-btn:hover {
  border-color: #94a3b8;
  background: #ffffff;
}

.perks-card-btn.active {
  background: #ffffff;
  border-color: #059669;
  box-shadow: 0 12px 24px -8px rgba(5, 150, 105, 0.16);
}

.perks-card-btn h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0b1528;
  margin-bottom: 4px;
}

.perks-card-btn p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

/* Realistic Phone Mockup for Price & Perks with Live Screenshot Display */
.phone-mockup-shell {
  background: linear-gradient(145deg, #ecfdf5 0%, #eff6ff 100%);
  border: 1px solid #d1fae5;
  border-radius: 28px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ios-phone-frame {
  width: 100%;
  max-width: 330px;
  background: #0b1528;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 30px 60px -15px rgba(11, 21, 40, 0.35);
  position: relative;
}

.ios-screen-inner {
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ios-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.phone-caption-bar {
  margin-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: #059669;
  font-weight: 600;
}

/* Division Bridge Banner on index.html */
.bridge-section {
  padding: 88px 0;
  background: #f8fafc;
}

.bridge-banner {
  background: #0b1528;
  color: #ffffff;
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 28px 60px -15px rgba(11, 21, 40, 0.3);
}

/* ==========================================================================
   SITE 2: HELOXA DATA SERVICES (data.html — theme-dark)
   Completely distinct Enterprise B2B Data Platform look & feel
   ========================================================================== */
body.theme-dark {
  background-color: #060a12;
  color: #f8fafc;
  line-height: 1.6;
}

.theme-dark .navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-dark .nav-menu a {
  color: #94a3b8;
}

.theme-dark .nav-menu a:hover,
.theme-dark .nav-menu a.active {
  color: #ffffff;
}

.data-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(123, 63, 228, 0.16);
  border: 1px solid rgba(123, 63, 228, 0.35);
  color: #c4b5fd;
}

/* Data Portal Hero (Centered into Interactive Pipeline Visualizer) */
.data-hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(35, 67, 217, 0.12) 0%, transparent 70%),
    #060a12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-hero-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}

.data-hero-center h1 {
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 22px;
  color: #ffffff;
}

.text-gradient-electric {
  color: #60a5fa;
}

.data-hero-center p {
  font-size: 1.18rem;
  color: #94a3b8;
  max-width: 66ch;
  margin: 0 auto 34px;
}

/* Interactive 3-Stage Pipeline Architecture Diagram in Hero */
.pipeline-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: rgba(13, 20, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7);
}

.pipe-node {
  background: #090f1d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  transition: all 0.25s var(--ease);
}

.pipe-node:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-2px);
}

.pipe-step-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 10px;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
}

.pipe-node h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.pipe-node p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.pipe-mini-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

/* Dark Section Layout */
.dark-section {
  padding: 96px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-head-split h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-head-split p {
  color: #94a3b8;
  max-width: 50ch;
  font-size: 1.02rem;
}

/* Dark IDE Schema Workbench */
.ide-window {
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.75);
}

.ide-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #0d1526;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vertical-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vertical-tab {
  padding: 9px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.vertical-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.vertical-tab.active {
  background: #2343d9;
  color: #ffffff;
  border-color: transparent;
}

.stage-toggles {
  display: inline-flex;
  background: #060a12;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-btn {
  padding: 8px 16px;
  border-radius: 7px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.stage-btn.active {
  background: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
}

.ide-body {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 480px;
}

.ide-sidebar {
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(13, 21, 38, 0.55);
}

.ide-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.ide-kpi {
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.ide-kpi .k-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: none;
  color: #64748b;
}

.ide-kpi .k-val {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 4px;
}

/* Enterprise Data Display Pane (Replaces raw code pane) */
.ide-display-pane {
  padding: 26px;
  background: #050811;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
}

.display-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.display-pane-header .dataset-title-pill {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 8px;
}

.data-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 14, 26, 0.6);
}

.enterprise-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.enterprise-data-table th {
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: -0.01em;
  text-transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.enterprise-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  vertical-align: middle;
}

.enterprise-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.035);
}

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

.table-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.table-tag.green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.table-tag.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.table-tag.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.table-tag.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.trend-down {
  color: #34d399;
  font-weight: 700;
  font-size: 0.82rem;
}

.trend-up {
  color: #f87171;
  font-weight: 700;
  font-size: 0.82rem;
}

.trend-stable {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.82rem;
}

/* Econometric Insights Pane */
.insights-pane-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.insight-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-card-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c5fd;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.insight-metric-val {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.insight-card p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Delivery & Formats Pane */
.delivery-pane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.delivery-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px;
}

.delivery-box h4 {
  font-size: 0.98rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.delivery-box li {
  padding: 7px 0;
  font-size: 0.84rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.delivery-box li:last-child {
  border-bottom: none;
}

/* Dark Cards & Compliance Grid */
.dark-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.dark-card {
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.22s var(--ease);
}

.dark-card:hover {
  border-color: rgba(96, 165, 250, 0.35);
  background: #0f172a;
}

.dark-card.featured {
  border-color: rgba(99, 102, 241, 0.45);
  background: #0d1526;
}

.check-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.check-list li strong {
  color: #f8fafc;
}

/* Configurator & Forms */
.config-box-dark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 44px;
}

.config-box-light {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 20px 40px -15px rgba(11, 21, 40, 0.06);
}

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

.field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  transition: border-color 0.2s ease;
}

.theme-light .field-input,
.theme-light .field-select,
.theme-light .field-textarea {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0b1528;
}

.theme-dark .field-input,
.theme-dark .field-select,
.theme-dark .field-textarea {
  background: #060a12;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
}

.pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pill {
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.choice-pill.active {
  background: #2343d9;
  border-color: #2343d9;
  color: #ffffff;
}

.manifest-box {
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  background: #060a12;
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-size: 0.88rem;
}

/* Footers */
.footer-light {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 64px 0 36px;
}

.footer-dark {
  background: #04070d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 36px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-cols h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.footer-cols a {
  text-decoration: none;
  font-size: 0.88rem;
  color: #64748b;
  transition: color 0.18s ease;
}

.footer-cols a:hover {
  color: #2343d9;
}

.theme-dark .footer-cols a:hover {
  color: #ffffff;
}

.footer-bar {
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
}

@media (max-width: 1024px) {
  .parent-hero-grid,
  .perks-showcase-grid,
  .bridge-banner,
  .pipeline-diagram,
  .ide-body,
  .dark-grid-3,
  .config-box-dark,
  .config-box-light {
    grid-template-columns: 1fr;
  }
  .dark-grid-4,
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive Breakpoints Handled in Unified Section at End of File */

/* Streamlined Layout & Micro-Copy Utilities */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.kpi-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0b1528;
  letter-spacing: -0.02em;
}

.kpi-num.text-emerald { color: #059669; }
.kpi-num.text-blue { color: #2343d9; }

.kpi-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

.eco-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.eco-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eco-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.live-dot {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
}

.domain-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #93c5fd;
}

.eco-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.eco-card-enterprise .eco-card-footer {
  border-top-color: rgba(255,255,255,0.08);
}

.link-emerald {
  font-size: 0.86rem;
  font-weight: 700;
  color: #059669;
  text-decoration: none;
}
.link-emerald:hover { text-decoration: underline; }

.link-dark {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0b1528;
  text-decoration: none;
}
.link-dark:hover { color: #2343d9; }

.link-blue {
  font-size: 0.86rem;
  font-weight: 700;
  color: #93c5fd;
  text-decoration: none;
}
.link-blue:hover { text-decoration: underline; }

.pipe-tags {
  font-size: 0.78rem;
  color: #94a3b8;
}

.section-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sub-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.header-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bridge-stats-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
}

.stat-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mini-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #93c5fd;
}

.compact-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compact-check-list li {
  padding: 7px 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.compact-check-list li:last-child { border-bottom: none; }
.compact-check-list li span { color: #34d399; font-weight: 700; }

.compliance-section-light {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-center-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-center-head h2 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 10px 0 8px;
}

.section-center-head p {
  color: #64748b;
  font-size: 0.98rem;
}

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

.card-clean {
  padding: 22px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.card-clean h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0b1528;
  margin-bottom: 6px;
}

.card-clean p {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.contact-section-light {
  padding: 76px 0;
  background: #f8fafc;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.contact-item {
  padding: 14px 18px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.contact-item .c-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-transform: none;
}

.contact-item .c-val {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0b1528;
  text-decoration: none;
}

.contact-item .c-val.text-brand { color: #2343d9; }
.contact-item .c-val:hover { text-decoration: underline; }

.footer-logo {
  height: 34px;
  width: auto;
}

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

@media (max-width: 640px) {
  .grid-4-clean {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   AUTHENTIC PRICE AND PERKS ORBITAL SHOWCASE (From website_final)
   ========================================================================== */
.perks-showcase-section {
  padding: 88px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.perks-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.perks-section-head h2 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.perks-section-head p {
  font-size: 1.22rem;
  color: #64748b;
}

.orbital-arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
}

.orbital-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.orbital-icon-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.orbital-text {
  max-width: 270px;
  transition: all 0.28s ease;
  opacity: 0.65;
}

.orbital-text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.orbital-text p {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Interactive Tile Cards (Sliding & Hover States) */
.orbital-item {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  user-select: none;
}

.left-col .orbital-item {
  flex-direction: row;
  justify-content: flex-end;
  text-align: right;
}

.right-col .orbital-item {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
}

.orbital-item:hover,
.orbital-item.active {
  background: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 14px 32px -4px rgba(79, 70, 229, 0.22), 0 0 0 1px #4f46e5;
  transform: translateY(-2px) scale(1.015);
}

.orbital-item.active .orbital-icon-btn,
.orbital-item:hover .orbital-icon-btn {
  background: #4f46e5;
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.4);
}

.orbital-item.active .orbital-text,
.orbital-item:hover .orbital-text {
  opacity: 1;
}

.orbital-item.active .orbital-text h3,
.orbital-item:hover .orbital-text h3 {
  color: #4f46e5;
}

/* Center Authentic iPhone */
.orbital-phone-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.iphone-realistic-frame {
  width: 290px;
  height: 610px;
  background: #000000;
  border-radius: 46px;
  border: 9px solid #111111;
  position: relative;
  box-shadow: 0 32px 72px -16px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.iphone-screen-viewport {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.iphone-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.22s ease-out;
  pointer-events: none;
}

.iphone-layer.active {
  opacity: 1;
  pointer-events: auto;
}

.iphone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 50;
  pointer-events: none;
}

.iphone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  z-index: 50;
  pointer-events: none;
}

/* Hardware Buttons */
.iphone-hardware-mute {
  position: absolute;
  top: 90px;
  left: -12px;
  width: 3px;
  height: 24px;
  background: #222222;
  border-radius: 2px 0 0 2px;
}

.iphone-hardware-volup {
  position: absolute;
  top: 140px;
  left: -12px;
  width: 3px;
  height: 48px;
  background: #222222;
  border-radius: 2px 0 0 2px;
}

.iphone-hardware-voldown {
  position: absolute;
  top: 200px;
  left: -12px;
  width: 3px;
  height: 48px;
  background: #222222;
  border-radius: 2px 0 0 2px;
}

.iphone-hardware-power {
  position: absolute;
  top: 140px;
  right: -12px;
  width: 3px;
  height: 70px;
  background: #222222;
  border-radius: 0 2px 2px 0;
}

/* ==========================================================================
   TABLET & MOBILE RESPONSIVE ENGINE (1024px, 768px, 600px, 400px)
   ========================================================================== */

/* Universal Mobile Classes */
.mobile-menu-cta {
  display: none;
}

@media (max-width: 1024px) {
  .parent-hero-grid,
  .perks-showcase-grid,
  .bridge-banner,
  .pipeline-diagram,
  .ide-body,
  .dark-grid-3,
  .config-box-dark,
  .config-box-light {
    grid-template-columns: 1fr;
  }
  .dark-grid-4,
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .orbital-arena {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
  }
  .orbital-phone-center {
    order: -1;
    margin-bottom: 12px;
  }
  .orbital-col {
    width: 100%;
    max-width: 540px;
  }
  .left-col .orbital-item,
  .right-col .orbital-item {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll globally */
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* Prevent iOS auto-zoom on inputs */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Navbar Container */
  .navbar {
    height: 64px;
  }
  .nav-inner {
    height: 64px;
    gap: 8px;
    padding: 0 16px;
  }
  .brand-link {
    gap: 8px;
  }
  .brand-logo-img {
    height: 28px;
    width: auto;
  }
  .data-badge {
    font-size: 0.65rem;
    padding: 2px 7px;
  }

  /* Hide CTA buttons in top bar on mobile to guarantee zero overflow */
  .nav-cta .btn {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: transparent;
    cursor: pointer;
    color: inherit;
    transition: all 0.2s ease;
  }
  .theme-light .mobile-menu-btn {
    color: #0b1528;
    background: rgba(0, 0, 0, 0.03);
  }
  .theme-dark .mobile-menu-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
  }

  /* Mobile Nav Dropdown Menu */
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 8px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .theme-light .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }
  .theme-dark .nav-menu {
    background: rgba(11, 14, 20, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }
  .nav-menu.open {
    display: flex;
    animation: menuSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-menu li {
    width: 100%;
  }
  .nav-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.15s ease;
  }
  .theme-light .nav-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
  }
  .theme-dark .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-menu-cta {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }
  .mobile-menu-cta .btn {
    display: flex !important;
    width: 100%;
    justify-content: center;
    min-height: 46px;
    font-size: 0.95rem;
  }

  /* Hero Layout & Section Spacing */
  .parent-hero {
    padding: 36px 0 40px;
  }
  .data-hero {
    padding: 36px 0 40px;
  }
  .parent-hero-grid,
  .perks-feature-grid,
  .dark-grid-4,
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .parent-hero h1,
  .data-hero h1 {
    font-size: clamp(2.1rem, 7.5vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
  }
  .parent-hero p.lead,
  .data-hero-center p {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 0.95rem;
  }

  /* Stat KPIs on Mobile */
  .hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    padding: 14px 10px;
    border-radius: 12px;
    margin-bottom: 0;
  }
  .theme-light .hero-kpis {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  .theme-dark .hero-kpis {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .kpi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .kpi-val {
    font-size: 1.35rem;
    font-weight: 800;
  }
  .kpi-lbl {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  /* Ecosystem Cards */
  .eco-card-consumer,
  .eco-card-enterprise {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .eco-card-consumer .btn,
  .eco-card-enterprise .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  /* Authentic Price and Perks Orbital Showcase */
  .perks-showcase-section {
    padding: 48px 0;
  }
  .perks-section-head {
    margin-bottom: 28px;
  }
  .perks-section-head h2 {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }
  .perks-section-head p {
    font-size: 1rem;
  }

  .orbital-arena {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }
  .orbital-phone-center {
    order: -1;
    margin-bottom: 8px;
  }
  .iphone-realistic-frame {
    width: 250px;
    height: 520px;
    border-radius: 38px;
    border-width: 6px;
  }
  .iphone-hardware-mute,
  .iphone-hardware-volup,
  .iphone-hardware-voldown {
    left: -8px;
    width: 2px;
  }
  .iphone-hardware-power {
    right: -8px;
    width: 2px;
  }

  /* 2-Column Responsive Feature Controller Grid for Mobile */
  .orbital-col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .orbital-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 12px 10px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .orbital-icon-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
  }
  .orbital-text strong {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    display: block !important;
  }
  .orbital-text small {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .orbital-item.active {
    background: #f0fdf4 !important;
    border-color: #22c55e !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.16) !important;
  }
  .orbital-item.active .orbital-icon-btn {
    background: #15803d !important;
    color: #ffffff !important;
  }
  .orbital-item.active .orbital-text strong {
    color: #15803d !important;
  }

  /* Pipeline Diagram (data.html) */
  .pipeline-diagram {
    padding: 18px 14px;
    border-radius: 16px;
    gap: 12px;
  }
  .pipe-node {
    padding: 18px 16px;
    border-radius: 12px;
  }
  .pipe-node h3 {
    font-size: 1.15rem;
  }
  .pipe-node p {
    font-size: 0.85rem;
  }

  /* IDE Playground (data.html) */
  .ide-window {
    border-radius: 14px;
  }
  .ide-header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
  }
  .vertical-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .vertical-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .stage-toggles {
    width: 100%;
    display: flex;
  }
  .stage-btn {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
    font-size: 0.78rem;
  }
  .ide-body {
    grid-template-columns: 1fr;
  }
  .ide-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    max-height: 200px;
    overflow-y: auto;
  }
  .code-editor-area {
    padding: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.78rem;
    line-height: 1.55;
  }

  /* Governance & Compliance Cards */
  .grid-4-clean {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card-clean {
    padding: 18px 16px;
    border-radius: 14px;
  }

  /* Solutions / Tiers Cards */
  .dark-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dark-card-tier {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .dark-card-tier .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  /* Forms & Touch Sizing */
  .config-box-light,
  .config-box-dark {
    padding: 24px 18px;
    border-radius: 16px;
    gap: 24px;
  }
  .field-label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  .field-input,
  .field-select,
  .field-textarea {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    width: 100%;
  }
  .config-box-light .btn,
  .config-box-dark .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
    justify-content: center;
  }

  /* Footer */
  .site-footer {
    padding: 44px 0 24px;
  }
  .footer-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Extra Small Phones (<= 400px - iPhone SE, Galaxy Fold) */
@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }
  .brand-logo-img {
    height: 26px;
  }
  .data-badge {
    display: none;
  }
  .iphone-realistic-frame {
    width: 225px;
    height: 470px;
  }
  .orbital-col {
    grid-template-columns: 1fr !important;
  }
  .hero-kpis {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
