/* ==========================================================================
   UMBriva — Design System & Stylesheet
   Theme: Pure White Clean Sovereign Mesh / Enterprise Cybersecurity
   ========================================================================== */

:root {
  /* Color Palette - White / Crisp Light Theme */
  --bg-dark: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  --primary: #0097a9;
  --primary-hover: #3763eb;
  --primary-glow: rgba(0, 151, 169, 0.28);
  --accent-cyan: #0097a9;
  --accent-cyan-glow: rgba(0, 151, 169, 0.2);
  --accent-purple: #3763eb;
  
  --text-main: #051441;
  --text-muted: #475569;
  --text-subtle: #64748B;
  
  --border-light: #E2E8F0;
  --border-active: rgba(0, 151, 169, 0.35);
  --border-cyan: rgba(0, 151, 169, 0.35);
  
  --success: #0097a9;
  --warning: #D97706;
  --danger: #DC2626;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing & Layout */
  --container-max: 1220px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 18px 36px -8px rgba(79, 70, 229, 0.14);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background-color: #FFFFFF;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection styling */
::selection {
  background-color: #EEF2FF;
  color: var(--primary);
}

/* Background Atmosphere & Ambient Light */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.55;
}

.glow-top {
  width: 650px;
  height: 650px;
  top: -150px;
  right: -100px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14) 0%, rgba(99, 102, 241, 0.08) 60%, transparent 100%);
}

.glow-mid {
  width: 700px;
  height: 700px;
  top: 45%;
  left: -200px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(99, 102, 241, 0.05) 70%, transparent 100%);
}

.glow-bottom {
  width: 600px;
  height: 600px;
  bottom: -150px;
  right: 10%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(180deg, black 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, black 40%, transparent 95%);
}

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

/* ==========================================================================
   HEADER & NAVBAR (Pure Navigation Links, NO BUTTONS)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(79, 70, 229, 0.15);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.08);
}

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

/* Brand styling */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  outline: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.brand:hover .brand-logo-img {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
}

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

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

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

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #0F172A;
  background-color: #F1F5F9;
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.active {
  color: var(--primary);
  background-color: #EEF2FF;
  border: 1px solid #C7D2FE;
  font-weight: 600;
}

.nav-link.active::after {
  width: 70%;
  background: var(--primary);
}

/* Mobile Toggle: Pure accessible checkbox label (no <button>) */
.nav-toggle-input {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: #F8FAFC;
  border: 1px solid var(--border-light);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background-color var(--transition-fast);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #0F172A;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
}

.sub-heading {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #0369A1;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
  padding: 5px 16px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.gradient-text {
  background: linear-gradient(135deg, #0097a9 0%, #3763eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   1. HERO SECTION (#home)
   ========================================================================== */
.hero-section {
  padding-top: 48px;
  padding-bottom: 42px;
  min-height: auto;
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1380px;
  width: 95%;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background-color: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0284C7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.6);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.badge-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #3730A3;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin-bottom: 22px;
  max-width: 1240px;
  margin-inline: auto;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 1050px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1360px;
}

.stat-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: #93C5FD;
  box-shadow: 0 12px 24px -10px rgba(2, 132, 199, 0.18);
}

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Terminal & Shield Visual (Sleek Dark High-Contrast Terminal) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.terminal-shield-card {
  width: 100%;
  max-width: 520px;
  background-color: #0B0F19;
  border: 1px solid #1E293B;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 35px -10px rgba(79, 70, 229, 0.15);
  overflow: hidden;
  position: relative;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: #06080F;
  border-bottom: 1px solid #1E293B;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls .control {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.control.red { background-color: #EF4444; }
.control.yellow { background-color: #F59E0B; }
.control.green { background-color: #0097a9; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94A3B8;
  letter-spacing: 0.04em;
}

.status-indicator {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #38BDF8;
  background-color: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.terminal-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: #CBD5E1;
  border-bottom: 1px solid #1E293B;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-timestamp {
  color: #64748B;
}

.log-tag {
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.7rem;
}

.tag-sys { color: #C084FC; background: rgba(168, 85, 247, 0.2); }
.tag-ok { color: #38BDF8; background: rgba(0, 151, 169, 0.2); }
.tag-net { color: #38BDF8; background: rgba(56, 189, 248, 0.2); }
.tag-shield { color: #A5B4FC; background: rgba(129, 140, 248, 0.2); }

.highlight-cyan { color: #38BDF8; font-weight: 600; }
.highlight-green { color: #0097a9; font-weight: 600; }

/* Radar Simulation Box */
.shield-radar-box {
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.14) 0%, transparent 70%);
  overflow: hidden;
}

.radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.25);
}

.circle-1 { width: 70px; height: 70px; }
.circle-2 { width: 125px; height: 125px; }
.circle-3 { width: 180px; height: 180px; border-style: solid; border-color: rgba(255, 255, 255, 0.08); }

.radar-sweep {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.35) 0deg, transparent 60deg);
  animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}

.node-1 { top: 38%; left: 32%; }
.node-2 { top: 65%; right: 28%; }
.node-3 { top: 25%; right: 38%; }

.radar-center-icon {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 8px #38BDF8);
}

.card-footer-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 14px 18px;
  background-color: #06080F;
  border-top: 1px solid #1E293B;
}

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

.metric-key {
  font-size: 0.72rem;
  color: #64748B;
  font-family: var(--font-mono);
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
}

.status-active {
  color: #0097a9;
}

/* ==========================================================================
   2. ABOUT SECTION (#about)
   ========================================================================== */
.about-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}

.about-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: #C7D2FE;
  box-shadow: var(--shadow-hover);
}

.about-card.featured {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  border-color: #C7D2FE;
  box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.12);
}

.about-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: #F1F5F9;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.about-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 14px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #0369A1;
  background-color: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.milestones-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.milestone-box {
  text-align: center;
}

.milestone-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0F172A, #0284C7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.milestone-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.milestone-separator {
  width: 1px;
  height: 44px;
  background-color: var(--border-light);
}

/* ==========================================================================
   3. SERVICES SECTION (#services)
   ========================================================================== */
.services-section {
  position: relative;
  background-color: #FFFFFF;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #BAE6FD;
  box-shadow: 0 18px 36px -10px rgba(2, 132, 199, 0.16);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: #F8FAFC;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.service-checklist {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-checklist li {
  font-size: 0.88rem;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-checklist li::before {
  content: '→';
  color: #0284C7;
  font-weight: 700;
}

/* ==========================================================================
   4. FAQ SECTION (#faq)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.faq-wrapper {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: #C7D2FE;
  box-shadow: 0 10px 25px -6px rgba(79, 70, 229, 0.12);
  background-color: #FFFFFF;
}

.faq-trigger {
  list-style: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

/* Hide default disclosure triangle on Webkit & Firefox */
.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
  padding-right: 20px;
}

.faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #F1F5F9;
  border: 1px solid var(--border-light);
  color: var(--text-subtle);
  transition: transform var(--transition-smooth), color var(--transition-smooth), border-color var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: #0284C7;
  border-color: #BAE6FD;
  background-color: #F0F9FF;
}

.faq-content {
  padding: 0 26px 24px 26px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

/* ==========================================================================
   5. WHY US SECTION (#why-us)
   ========================================================================== */
.why-us-section {
  position: relative;
  background-color: #FFFFFF;
}

.comparison-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}

.comparison-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.comparison-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
}

.comparison-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369A1;
  background-color: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Table-Free Modern Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.compare-card {
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--border-light);
  background-color: #FFFFFF;
}

.compare-card.legacy {
  background-color: #F8FAFC;
  border-color: #E2E8F0;
}

.compare-card.featured {
  background-color: #FFFFFF;
  border: 2px solid #4F46E5;
  box-shadow: 0 10px 30px -4px rgba(79, 70, 229, 0.12);
  position: relative;
}

.compare-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.compare-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
}

.compare-badge-featured {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #4F46E5;
  background-color: #EEF2FF;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.compare-badge-legacy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  background-color: #E2E8F0;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: #334155;
}

.compare-icon-cross {
  color: #EF4444;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-icon-check {
  color: #0097a9;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Us Pillars */
.why-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: #C7D2FE;
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: #C7D2FE;
  line-height: 1;
  margin-bottom: 14px;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
}

.pillar-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   6. CONTACT SECTION (#contact)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: #F1F5F9;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
}

.info-subtitle {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.node-locations {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background-color: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.loc-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #0369A1;
  background-color: #F0F9FF;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #BAE6FD;
  margin-top: 2px;
}

.location-item strong {
  display: block;
  font-size: 0.92rem;
  color: #0F172A;
}

.location-item span {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.comm-line {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.comm-line strong {
  color: #0F172A;
  margin-right: 6px;
}

.code-mono {
  font-family: var(--font-mono);
  color: #0369A1;
  background-color: #F0F9FF;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #BAE6FD;
}

/* Contact Form Panel */
.contact-form-panel {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.form-title-wrap {
  margin-bottom: 26px;
}

.form-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}

.form-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E293B;
}

.form-input {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #0F172A;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-input::placeholder {
  color: #94A3B8;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

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

.form-error {
  display: none;
  font-size: 0.78rem;
  color: var(--danger);
  font-weight: 500;
}

.form-group.has-error .form-input {
  border-color: var(--danger);
}

.form-group.has-error .form-error {
  display: block;
}

.form-submit-row {
  margin-top: 10px;
}

.submit-input-btn {
  width: 100%;
  padding: 15px 24px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  background: linear-gradient(to right, #0097a9 0%, #3763eb 50%, #0097a9 100%) !important;
  background-size: 200% auto !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 151, 169, 0.28) !important;
  transition: all 0.4s ease-in-out !important;
}

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

.submit-input-btn:active {
  transform: translateY(0);
}

.form-status-notice {
  margin-top: 16px;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status-notice.success {
  display: block;
  background-color: rgba(0, 151, 169, 0.08);
  border: 1px solid rgba(0, 151, 169, 0.25);
  color: #065F46;
}

.form-status-notice.error {
  display: block;
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ==========================================================================
   FOOTER (Clean White / Soft Off-White Palette)
   ========================================================================== */
.site-footer {
  background-color: #F8FAFC;
  border-top: 1px solid var(--border-light);
  padding-top: 72px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #1E293B;
  background-color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.4);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0F172A;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-text-light {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.latency-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-main);
  background-color: #FFFFFF;
  border: 1px solid #BAE6FD;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

.latency-pill strong {
  color: #0284C7;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 26px;
  padding-bottom: 28px;
  background-color: #FFFFFF;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

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

.footer-legal-links a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #0F172A;
}

.dot-sep {
  opacity: 0.4;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    max-width: 720px;
  }

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

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  /* Hamburger toggle activated */
  .nav-toggle-label {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 6px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .nav-toggle-input:checked ~ .nav-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle-input:checked ~ .nav-toggle-label .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle-input:checked ~ .nav-toggle-label .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-input:checked ~ .nav-toggle-label .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-link {
    width: 100%;
    padding: 12px 18px;
    font-size: 1.05rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .milestones-bar {
    flex-direction: column;
    gap: 24px;
  }

  .milestone-separator {
    display: none;
  }

  .why-pillars-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-container {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

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