/* ==============================================================================
   EDGEWEB — HIGH PERFORMANCE MASTER STYLESHEET
   100% LIGHTHOUSE COMPLIANT • GPU COMPOSITED • WCAG AAA ACCESSIBLE
   ============================================================================== */

/* --- 1. DESIGN SYSTEM VARIABLES --- */
:root {
  --bg-black: #000000;
  --bg-ground: #050608;
  --bg-surface: #0a0c10;
  --bg-surface-elevated: #10131a;
  --bg-surface-hover: #161a24;

  --edge-orange: #ff5500;
  --edge-orange-hover: #ff6a1a;
  --edge-orange-subtle: rgba(255, 85, 0, 0.12);
  --edge-orange-glow: rgba(255, 85, 0, 0.25);
  --edge-orange-border: rgba(255, 85, 0, 0.45);

  --status-live: #10b981;
  --status-live-glow: rgba(16, 185, 129, 0.35);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Contrast Hierarchy (WCAG AAA) */
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-tertiary: #a1a1aa;
  --text-muted: #71717a;

  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 0.95rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.625rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3.25rem;

  --datum-hairline: rgba(255, 255, 255, 0.08);
  --datum-subtle: rgba(255, 255, 255, 0.16);
  --datum-strong: rgba(255, 255, 255, 0.28);
  --datum-accent: var(--edge-orange);

  --shadow-flat: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 35px var(--edge-orange-glow);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max: 1200px;
  --container-narrow: 840px;

  --ease-edge: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.18s var(--ease-edge);
  --trans-normal: 0.3s var(--ease-edge);
  --z-floating: 1000;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--bg-black);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--edge-orange);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

/* --- 3. GPU COMPOSITED ANIMATIONS --- */
@keyframes edgeBeaconGpuPulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.status-beacon-live {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-live);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.status-beacon-live::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--status-live);
  animation: edgeBeaconGpuPulse 2.2s infinite ease-out;
  pointer-events: none;
  will-change: transform, opacity;
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}

.btn-shimmer:hover::before {
  left: 150%;
  transition: left 0.65s ease-in-out;
}

@keyframes wppRippleGpu {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* --- 4. FLOATING BRANDED WHATSAPP (EDGE CAT) --- */
.floating-wpp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  background: #0a0c10;
  border: 2px solid var(--edge-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-floating);
  box-shadow: 0 8px 28px rgba(255, 85, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.8);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
  padding: 6px;
  cursor: pointer;
}

.floating-wpp-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

.floating-wpp-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.floating-wpp-badge svg {
  width: 13px;
  height: 13px;
  fill: #ffffff;
}

.floating-wpp::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid var(--edge-orange);
  animation: wppRippleGpu 2.6s infinite ease-out;
  pointer-events: none;
  will-change: transform, opacity;
}

.floating-wpp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 85, 0, 0.55), 0 4px 16px rgba(0, 0, 0, 0.9);
}

/* --- 5. BUTTONS & CONTRAST (WCAG AAA) --- */
.btn-edge-primary, .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  background: var(--edge-orange);
  color: #000000 !important;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  text-decoration: none;
  transition: all var(--trans-fast);
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.35);
  cursor: pointer;
  white-space: nowrap;
}

.btn-edge-primary:hover, .btn-hero-primary:hover {
  background: var(--edge-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.5);
}

.btn-edge-secondary, .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1px solid var(--datum-subtle);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--trans-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-edge-secondary:hover, .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--datum-strong);
  transform: translateY(-2px);
}

/* --- 6. FLOATING NAVBAR --- */
.header-wrapper {
  position: fixed;
  top: 1rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 0.85rem;
  pointer-events: none;
}

.floating-navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1040px;
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-full);
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.5rem;
}

.nav-logo-thumb {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-brand-text span {
  color: var(--edge-orange);
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link-item {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.nav-link-item:hover, .nav-link-item.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-contact-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--edge-orange-subtle);
  border: 1px solid var(--edge-orange-border);
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-contact-pill:hover {
  background: rgba(255, 85, 0, 0.2);
  border-color: var(--edge-orange);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--datum-subtle);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--trans-fast);
}

.nav-mobile-toggle:hover {
  background: var(--edge-orange-subtle);
  border-color: var(--edge-orange);
  color: var(--edge-orange);
}

/* --- 7. HERO SECTION & KINETIC CANVAS --- */
.hero-wrapper {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

#hero-edge-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--datum-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  white-space: nowrap;
  max-width: 100%;
}

.hero-display-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-display-title .highlight-orange {
  color: var(--edge-orange);
}

.hero-body-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Matrix Column */
.hero-engine-matrix {
  background: var(--bg-surface);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--datum-hairline);
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.matrix-cells-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.matrix-cell-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

.matrix-cell-item:hover {
  border-color: var(--edge-orange);
  background: rgba(255, 85, 0, 0.06);
  transform: translateX(4px);
}

.matrix-cell-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.matrix-cell-code {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--edge-orange);
  font-weight: 700;
}

.matrix-cell-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.matrix-cell-arrow {
  color: var(--text-tertiary);
  font-weight: 800;
  transition: transform var(--trans-fast);
}

.matrix-cell-item:hover .matrix-cell-arrow {
  color: var(--edge-orange);
  transform: translateX(4px);
}

/* --- 8. THE 4 UNIVERSES INTERACTIVE LAB --- */
.universe-switcher-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.universe-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-align: left;
}

.universe-tab-btn:hover {
  border-color: var(--datum-strong);
  background: var(--bg-surface-elevated);
}

.universe-tab-btn.active {
  border-color: var(--edge-orange);
  background: rgba(255, 85, 0, 0.08);
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.15);
}

.universe-tab-code {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--edge-orange);
  font-weight: 700;
}

.universe-tab-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text-primary);
}

/* Universe Panels */
.universe-panel-view {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-card);
}

.universe-panel-view.active {
  display: grid;
}

.universe-info-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.universe-spec-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--edge-orange);
  letter-spacing: 0.05em;
}

.universe-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.universe-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.universe-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.universe-artifact-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

/* Speed Engine Inside Universe 01 */
.speed-engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.speed-metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
  text-align: center;
}

.speed-metric-val {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--status-live);
  margin-bottom: 0.25rem;
}

.speed-metric-label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-tertiary);
}

/* Pipeline Inside Universe 02 */
.pipeline-flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pipeline-step-node {
  background: var(--bg-surface);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-xs);
  padding: 0.65rem 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-tertiary);
  text-align: center;
  flex: 1;
  transition: all var(--trans-fast);
}

.pipeline-step-node.completed {
  border-color: var(--status-live);
  color: var(--status-live);
  background: rgba(16, 185, 129, 0.08);
}

.pipeline-step-node.active {
  border-color: var(--edge-orange);
  color: var(--edge-orange);
  background: var(--edge-orange-subtle);
}

.pipeline-arrow {
  color: var(--datum-strong);
  font-size: var(--text-xs);
}

.pipeline-terminal-window {
  background: #000000;
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-xs);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #a1a1aa;
  line-height: 1.6;
  min-height: 80px;
}

/* Swatch Palette Inside Universe 03 */
.swatch-palette-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.interactive-swatch {
  flex: 1;
  height: 48px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--datum-hairline);
  transition: transform var(--trans-fast);
}

.interactive-swatch:hover {
  transform: scale(1.08);
  border-color: #ffffff;
}

/* 3D Bento Embed Inside Universe 04 */
.bento-3d-embed {
  width: 100%;
  height: 220px;
  background: #000000;
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.bento-3d-embed canvas {
  width: 100% !important;
  height: 100% !important;
}

/* --- 9. SHOWCASE DE SITES & PORTFÓLIO --- */
.showcase-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.showcase-filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.showcase-filter-btn:hover, .showcase-filter-btn.active {
  background: var(--edge-orange-subtle);
  border-color: var(--edge-orange);
  color: var(--text-primary);
  box-shadow: 0 0 16px var(--edge-orange-glow);
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-mockup-card {
  background: var(--bg-surface);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  box-shadow: var(--shadow-card);
  position: relative;
}

.project-mockup-card:hover {
  border-color: var(--edge-orange);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 85, 0, 0.15);
}

.mockup-browser-header {
  background: #12151d;
  border-bottom: 1px solid var(--datum-hairline);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mockup-browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-browser-url {
  background: #080a0e;
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-xs);
  padding: 0.2rem 0.65rem;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: #a1a1aa;
  flex: 1;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.mockup-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--status-live);
  font-weight: 700;
}

.mockup-preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000000;
  overflow: hidden;
  border-bottom: 1px solid var(--datum-hairline);
}

.mockup-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-edge);
}

.project-mockup-card:hover .mockup-preview-img {
  transform: scale(1.05);
}

.mockup-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.project-mockup-card:hover .mockup-preview-overlay {
  opacity: 1;
}

.project-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--datum-hairline);
  color: var(--text-secondary);
}

.project-tag.highlight {
  color: var(--edge-orange);
  background: var(--edge-orange-subtle);
  border-color: var(--edge-orange-border);
}

.project-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.project-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--datum-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.btn-visit-site {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--edge-orange);
  color: #000000 !important;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  transition: all var(--trans-fast);
}

.btn-visit-site:hover {
  background: var(--edge-orange-hover);
  transform: translateX(2px);
}

/* --- 10. SIMULATOR CONSOLE --- */
.edge-console-box {
  background: var(--bg-surface);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 860px;
  margin: 0 auto;
}

.sim-nav-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sim-pill-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.sim-pill-btn:hover {
  border-color: var(--datum-strong);
  color: var(--text-primary);
}

.sim-pill-btn.selected {
  background: var(--edge-orange);
  color: #000000 !important;
  border-color: var(--edge-orange);
  font-weight: 800;
}

#sim-suboptions-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.sim-opt-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.sim-opt-item:hover {
  border-color: var(--datum-strong);
}

.sim-opt-item.selected {
  border-color: var(--edge-orange);
  background: rgba(255, 85, 0, 0.08);
}

.sim-opt-item .opt-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.sim-opt-item .opt-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.sim-fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sim-input-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sim-input-styled {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: border-color var(--trans-fast);
}

.sim-input-styled:focus {
  border-color: var(--edge-orange);
}

.sim-output-box {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sim-summary-text {
  background: #000000;
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 11. REGIONAL CITIES LIST --- */
.regional-coverage-box {
  background: var(--bg-surface);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.city-pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem 0;
}

.c-pill {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.c-pill.active-city {
  border-color: var(--edge-orange-border);
  color: var(--text-primary);
  background: var(--edge-orange-subtle);
}

/* --- 12. FAQ ACCORDION --- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-row {
  background: var(--bg-surface);
  border: 1px solid var(--datum-hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--trans-fast);
}

.faq-row.active {
  border-color: var(--datum-strong);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-chevron {
  color: var(--edge-orange);
  font-size: var(--text-xs);
  transition: transform var(--trans-fast);
}

.faq-row.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.faq-row.active .faq-content {
  display: block;
}

/* --- 13. SUBPAGES & BLOG GRIDS --- */
.subpage-hero {
  padding-top: 8rem;
  padding-bottom: 3.5rem;
  text-align: center;
}

.subpage-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: center;
}

.blog-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.edge-card-subpage {
  background: var(--bg-surface);
  border: 1px solid var(--datum-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-fast);
}

.edge-card-subpage:hover {
  border-color: var(--datum-strong);
  transform: translateY(-3px);
}

/* Section Header Typography */
.section-header-edge {
  margin-bottom: 3rem;
}

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

.datum-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--edge-orange);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  word-break: break-all;
}

.section-title-edge {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.section-subtitle-edge {
  font-size: var(--text-base);
  color: var(--text-tertiary);
  max-width: 680px;
  line-height: 1.65;
}

/* --- 14. FOOTER --- */
.footer-clean {
  border-top: 1px solid var(--datum-hairline);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background: var(--bg-black);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--datum-hairline);
  margin-bottom: 1.5rem;
}

.footer-copy-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--text-xs);
  color: #a1a1aa !important;
}

.footer-copy-text div, .footer-copy-text span, .footer-copy-text strong {
  color: #a1a1aa !important;
}

/* --- 15. RESPONSIVE BREAKPOINTS & MOBILE FIXES --- */
@media (max-width: 992px) {
  .hero-grid-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-body-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions-row {
    justify-content: center;
  }
  .universe-panel-view {
    grid-template-columns: 1fr;
  }
  .subpage-grid-2 {
    grid-template-columns: 1fr;
  }
  .blog-featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .header-wrapper {
    position: fixed;
    top: 0.5rem;
    left: 0;
    width: 100%;
    padding: 0 0.5rem;
  }
  .floating-navbar {
    padding: 0.4rem 0.65rem;
    position: relative;
  }
  .nav-mobile-toggle {
    display: flex;
  }
  .floating-navbar .nav-links-list {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--datum-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 1001;
  }
  .floating-navbar .nav-links-list.nav-open {
    display: flex !important;
  }
  .floating-navbar .nav-link-item {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: var(--text-sm);
    text-align: left;
  }
  .nav-brand-text {
    font-size: var(--text-sm);
  }
  .nav-contact-pill {
    padding: 0.35rem 0.65rem;
    font-size: var(--text-2xs);
  }
  .nav-contact-pill span:not(.status-beacon-live) {
    font-size: var(--text-2xs);
  }
  .universe-switcher-nav {
    grid-template-columns: 1fr 1fr;
  }
  #sim-suboptions-container {
    grid-template-columns: 1fr;
  }
  .sim-input-row-2 {
    grid-template-columns: 1fr;
  }
  .project-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-wrapper {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }
  .hero-display-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  .hero-body-text {
    font-size: var(--text-sm);
  }
  .hero-status-tag {
    font-size: clamp(0.56rem, 2.7vw, 0.72rem);
    padding: 0.3rem 0.65rem;
    gap: 0.4rem;
    white-space: nowrap;
    letter-spacing: -0.015em;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .status-beacon-live {
    width: 6px;
    height: 6px;
  }
  .universe-switcher-nav {
    grid-template-columns: 1fr;
  }
  .sim-nav-pills {
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-edge-primary, .btn-edge-secondary, .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: var(--text-sm);
  }
  .universe-panel-view {
    padding: 1.35rem;
  }
  .edge-console-box {
    padding: 1.35rem;
  }
  .floating-wpp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 56px;
    height: 56px;
  }
  .floating-wpp-badge {
    width: 20px;
    height: 20px;
  }
  .floating-wpp-badge svg {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 380px) {
  .hero-status-tag {
    font-size: 0.54rem;
    padding: 0.25rem 0.45rem;
    gap: 0.35rem;
  }
  .sim-nav-pills {
    grid-template-columns: 1fr;
  }
  .speed-engine-grid {
    grid-template-columns: 1fr;
  }
}
