/* ==========================================================================
   Prak System - Edge AI & Computer Vision
   Pure Custom CSS (100% Vanilla CSS, Zero Tailwind)
   Red, Black, and White High-Precision Minimalist Style
   ========================================================================== */

/* Design Tokens & Theme Variables: Strict Red, Black, and White System */
:root {
  /* Surfaces & Canvas */
  --canvas-base: #FFFFFF;
  --surface: #FAFAFA;
  --surface-raised: #FFFFFF;
  --surface-container: #F4F4F5;
  --surface-container-high: #E4E4E7;
  --surface-variant: #F4F4F5;
  --surface-border: #E5E5E5;
  --surface-border-strong: #000000;

  /* Primary Palette: High-Precision Red */
  --primary: #DC2626;
  --primary-hover: #B91C1C;
  --primary-container: #FEF2F2;
  --primary-border: #FECACA;
  --on-primary: #FFFFFF;
  --on-primary-container: #DC2626;

  /* Red/Black/White Theme Mappings */
  --secondary: #DC2626;
  --secondary-container: #FEF2F2;
  --tertiary: #000000;
  --tertiary-container: #F4F4F5;

  --bio-moss: #DC2626;
  --bio-viridian: #B91C1C;
  --bio-cyan: #000000;

  /* Strict Font Colors: Red, Black, and White */
  --text-primary: #000000;          /* Jet Black for titles, headers, brand, primary text */
  --text-secondary: #111111;        /* Crisp Deep Black for descriptions and body copy */
  --text-muted: #111111;            /* Clean Black (no washed-out gray) */
  --text-accent: #DC2626;           /* Vivid Red for highlights, telemetry, active states */
  --text-white: #FFFFFF;            /* Pure White for buttons, badges, dark surfaces */
  --on-surface: #000000;
  --on-surface-variant: #111111;
  --outline: #000000;
  --outline-variant: #D4D4D8;

  /* All Poppins Typography Across All Elements */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1280px;
}

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

html, body {
  background-color: var(--canvas-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Text Selection: Crisp Red & White */
::selection {
  background-color: var(--primary);
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

/* Typography Helpers */
.font-space, h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.font-mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
}

/* Italic & Italian Typography Accents (Ultra-Attractive Editorial Styling) */
em, .font-italic, .text-italic {
  font-style: italic;
}

.text-red {
  color: var(--primary) !important;
}

.italic-accent, .text-italic-red {
  font-style: italic;
  color: var(--primary) !important;
  font-weight: 600;
  display: inline-block;
  padding: 0 0.05em;
  letter-spacing: -0.01em;
}

.text-italic-dark {
  font-style: italic;
  color: #000000;
  font-weight: 600;
  display: inline-block;
  padding: 0 0.05em;
}

.italian-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-style: italic;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
}

.italian-subtag {
  font-style: italic;
  font-weight: 400;
  color: #111111;
  margin-left: 0.35rem;
  display: inline-block;
}
.italian-subtag em {
  color: var(--primary);
  font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
  background: #D4D4D8;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

@media (min-width: 1024px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.hidden {
  display: none !important;
}

.flex {
  display: flex;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.w-full { width: 100%; }
.flex-1 { flex: 1; }

/* Grid Systems */
.grid {
  display: grid;
}
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

/* Radar & Reticle animations */
@keyframes radar-pulse {
  0% { transform: scale(0.9); opacity: 0.95; }
  50% { transform: scale(1.4); opacity: 0.25; }
  100% { transform: scale(0.9); opacity: 0.95; }
}
.animate-radar {
  animation: radar-pulse 2s infinite ease-in-out;
  display: inline-block;
}

.radar-dot, .radar-dot-green {
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

/* Light-adapted scanline and technical grid */
.scanline-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,0) 50%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0.12)
  );
  background-size: 100% 4px;
}

.tech-grid {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

/* ==========================================================================
   COMPONENT STYLES (Red, Black, White Minimalist)
   ========================================================================== */

/* Fixed Header with Transparent Initial State & White on Scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 72px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 50;
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled state: Clean white background with shadow */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 64px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.15s ease;
}
.brand-logo:hover {
  opacity: 0.85;
}
.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

/* Nav links default (white text when over hero image) */
.nav-link {
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  font-weight: 700;
  text-shadow: none;
}

/* Nav links when scrolled or on white pages (black text) */
.site-header.scrolled .nav-link,
body.non-hero-view .site-header .nav-link {
  color: #000000;
  text-shadow: none;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active,
body.non-hero-view .site-header .nav-link:hover,
body.non-hero-view .site-header .nav-link.active {
  color: var(--primary);
}

/* Mobile toggle button color adapts */
.mobile-menu-btn {
  color: #FFFFFF;
  transition: color 0.2s ease;
}

.site-header.scrolled .mobile-menu-btn,
body.non-hero-view .site-header .mobile-menu-btn {
  color: #000000;
}
.nav-badge-3d {
  padding: 1px 6px;
  background: #FEF2F2;
  color: var(--primary);
  font-size: 9px;
  font-weight: 700;
  border: 1px solid #FECACA;
  border-radius: 2px;
  margin-left: 4px;
}

.btn-pill {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background-color: #000000;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1.5px solid #000000;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-pill:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
}
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-dropdown {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--surface-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 49;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ==========================================================================
   IMMERSIVE FULL-WIDTH HERO (Cover Image with Dark Scrim Overlay)
   ========================================================================== */

.hero-immersive-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #000000;
  box-sizing: border-box;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Dark Gradient Layover: Clear image at top, deep black fade toward bottom */
.hero-dark-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.25) 30%,
    rgba(0, 0, 0, 0.65) 55%,
    rgba(0, 0, 0, 0.94) 80%,
    #000000 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Overlaid Content Structure shifted comfortably downward */
.hero-immersive-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 24rem;
  padding-bottom: 5.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Feature Tags with glowing dot */
.hero-feature-tags {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.feature-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

/* Hero Statement */
.hero-statement {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  color: #F3F4F6;
  max-width: 900px;
  margin: 0;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-statement {
    font-size: 2.15rem;
  }
}

/* Text link CTA */
.hero-link-action {
  margin-top: 0.25rem;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  padding-bottom: 0.35rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
  background: none;
  cursor: pointer;
}

.hero-text-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  transform: translateX(4px);
}

/* Giant Headline & Subtag */
.hero-giant-headline-wrapper {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-giant-headline {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .hero-giant-headline {
    font-size: 4.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-giant-headline {
    font-size: 5.75rem;
  }
}

.headline-red {
  color: var(--primary);
  font-style: italic;
}

.hero-giant-subtag {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: #9CA3AF;
  letter-spacing: -0.01em;
}

.subtag-red {
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================================================
   SUPPORTED BY STRIP (Faded/Muted Tone Just Below Hero)
   ========================================================================== */

.supported-by-strip {
  width: 100%;
  background: #FAFAFA;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  margin-top: 5rem;
  padding: 3rem 0;
}

.supported-by-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.supported-by-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.supported-by-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.supported-partner-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.25s ease;
}

.supported-partner-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.iima-logo {
  height: 28px;
}

.mti-logo {
  height: 36px;
}

.partner-text-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.partner-separator {
  color: #D1D5DB;
  font-size: 12px;
}

/* Action CTAs */
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary-cta:hover {
  background-color: #000000;
  border-color: #000000;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  background-color: #FFFFFF;
  border: 1.5px solid #000000;
  color: #000000;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary-cta:hover {
  background-color: #000000;
  border-color: #000000;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* Screen Box (High-Precision Card Container) */
.screen-box {
  background: #FFFFFF;
  border: 1px solid var(--surface-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
}

.screen-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000000;
  overflow: hidden;
}
@media (min-width: 768px) {
  .screen-viewport {
    aspect-ratio: 21 / 9;
  }
}

.screen-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.95);
}

.overlay-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Ecosystem Ribbon */
.section-ribbon {
  width: 100%;
  background-color: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 3rem 0;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--surface-border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
  cursor: pointer;
}
.partner-card:hover {
  border-color: var(--primary);
  background: #FEF2F2;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(220, 38, 38, 0.08);
}
.partner-card .card-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.partner-card .material-symbols-outlined {
  color: #000000;
  font-size: 24px;
  transition: color 0.2s ease;
}
.partner-card:hover .material-symbols-outlined {
  color: var(--primary);
}
.partner-card .partner-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000000;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.partner-card:hover .partner-name {
  color: var(--primary);
}

/* Generic Section Styles */
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.eyebrow-line {
  width: 20px;
  height: 2.5px;
  background: var(--primary);
}
.eyebrow-text {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 800;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #000000;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .section-heading {
    font-size: 2.75rem;
  }
}

.section-desc {
  font-size: 1.1rem;
  color: #111111;
  max-width: 750px;
  margin-bottom: 3.5rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Pillar Card */
.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--surface-border);
  padding: 2.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.pillar-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.08);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

/* Interactive Capability Switchers */
.feat-cap-btn {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--surface-border);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #000000;
}
.feat-cap-btn.active, .feat-cap-btn:hover {
  border-color: var(--primary);
  background: #FEF2F2;
  color: var(--primary);
  font-weight: 700;
}
.feat-cap-btn .material-symbols-outlined {
  font-size: 18px;
  color: #000000;
}
.feat-cap-btn.active .material-symbols-outlined {
  color: var(--primary);
}

/* Workflow Stage Box */
.stage-box {
  background: #FFFFFF;
  border: 1px solid var(--surface-border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: border-color 0.2s ease;
}
.stage-box:hover {
  border-color: var(--primary);
}

/* Capability Cards */
.cap-card {
  background: #FFFFFF;
  border: 1px solid var(--surface-border);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.02);
  transition: border-color 0.2s ease;
}
.cap-card:hover {
  border-color: var(--primary);
}

/* Badges / Chips: Clean White, Red, Black */
.tech-chip {
  padding: 0.35rem 0.75rem;
  background: #FFFFFF;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--surface-border);
  letter-spacing: 0.02em;
}
.tech-chip-green, .tech-chip-red {
  background: #FEF2F2;
  color: var(--primary);
  border-color: #FECACA;
  font-weight: 700;
}
.tech-chip-black {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
  font-weight: 600;
}

/* Forms: Sharp & High-Contrast */
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border: 1.5px solid var(--surface-border);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  color: #000000;
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: 0.06em;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #FFFFFF;
  border: 1.5px solid #000000;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s ease;
}
.modal-close-btn:hover {
  color: var(--primary);
}

/* 3D Lab Dock (Floating Minimal Control Panel) */
.lab-dock {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: calc(100% - 3rem);
  max-width: 380px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid var(--surface-border);
  padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 640px) {
  .lab-dock {
    left: 1.5rem;
    width: auto;
  }
}

.dock-btn {
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #FFFFFF;
  color: #000000;
  border: 1px solid var(--surface-border);
  transition: all 0.15s ease;
}
.dock-btn:hover {
  border-color: #000000;
  color: #000000;
}
.dock-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* Footer */
.site-footer {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  margin-top: 3rem;
  padding: 4.5rem 0 2.5rem 0;
  color: #000000;
}
.site-footer a:hover,
.site-footer button:hover {
  color: var(--primary) !important;
}


/* ==========================================================================
   HOW ROADEYE WORKS & DOCS VAULT EXTENSIONS
   ========================================================================== */

.how-roadeye-section {
  width: 100%;
  background: #FAFAFA;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 5rem 0;
}

.how-roadeye-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 3.5rem;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .workflow-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.workflow-step {
  display: flex;
  flex-direction: column;
}

.workflow-step-header {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 1.75rem;
}

.step-icon-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  z-index: 2;
}

.step-circle-number {
  width: 28px;
  height: 28px;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.step-svg-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-connecting-line {
  display: none;
}

@media (min-width: 768px) {
  .step-connecting-line {
    display: block;
    flex-grow: 1;
    height: 1.5px;
    background-color: var(--primary);
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    position: relative;
  }
  .step-connecting-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3.5px;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
  }
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.85rem;
}

.step-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
}

.bold-red {
  color: var(--primary);
  font-weight: 700;
}

/* Docs Vault */
.docs-vault-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .docs-vault-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .docs-vault-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doc-file-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border: 1.5px solid var(--surface-border);
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.doc-file-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.08);
  transform: translateY(-2px);
}

.doc-file-icon {
  width: 44px;
  height: 44px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 4px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-file-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
}

.doc-file-name {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.01em;
}

.doc-file-meta {
  font-size: 11.5px;
  color: var(--text-muted);
}

.doc-reader-body {
  max-height: 65vh;
  overflow-y: auto;
  padding: 1.25rem;
  background: #FAFAFA;
  border: 1px solid var(--surface-border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #111111;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Footer & Sitemap */
.site-footer {
  width: 100%;
  background: #FAFAFA;
  border-top: 1.5px solid #000000;
  margin-top: 4rem;
  padding: 4.5rem 0 2.5rem 0;
  color: #000000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #000000;
  text-transform: uppercase;
}

.brand-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  color: #000000;
  font-weight: 700;
  line-height: 1.3;
}

.brand-description {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
  max-width: 440px;
}

.brand-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 13px;
  margin-top: 0.5rem;
}

.footer-github-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  transition: opacity 0.15s ease;
}
.footer-github-link:hover {
  opacity: 0.8;
}

.link-divider {
  color: #D1D5DB;
}

.footer-pilot-btn {
  color: #000000;
  font-weight: 700;
  transition: color 0.15s ease;
}
.footer-pilot-btn:hover {
  color: var(--primary);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.sitemap-heading {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 800;
  display: block;
  margin-bottom: 1.5rem;
}

.sitemap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: #374151;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}

.sitemap-list a, .sitemap-list button {
  transition: all 0.15s ease;
  text-align: left;
  color: #374151;
}

.sitemap-list a:hover, .sitemap-list button:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.subfooter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--surface-border);
  font-size: 11.5px;
  color: #6B7280;
  gap: 1rem;
}

@media (min-width: 640px) {
  .subfooter {
    flex-direction: row;
  }
}

.subfooter-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #000000;
  font-weight: 700;
}


/* ==========================================================================
   HARVESTED LABS STYLE CONTACT SECTION
   ========================================================================== */

.contact-header-block {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--surface-border);
  margin-bottom: 3.5rem;
}

.contact-headline-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .contact-headline-row {
    grid-template-columns: 1.2fr 1fr;
    align-items: flex-end;
    gap: 4rem;
  }
}

.contact-main-heading {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  color: #000000;
  letter-spacing: -0.035em;
  margin: 0;
}

@media (min-width: 640px) {
  .contact-main-heading {
    font-size: 4rem;
  }
}
@media (min-width: 1024px) {
  .contact-main-heading {
    font-size: 4.75rem;
  }
}

.contact-sub-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
  font-weight: 400;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .contact-split-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
  }
}

.contact-pane-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.harvested-form {
  display: grid;
  gap: 1.5rem;
}

.harvested-grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .harvested-grid-two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.harvested-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #6B7280;
  margin-bottom: 0.5rem;
}

.harvested-input,
.harvested-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #FFFFFF;
  border: 1.5px solid var(--surface-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #000000;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.harvested-input:focus,
.harvested-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.harvested-textarea {
  resize: vertical;
}

.harvested-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2rem;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 9999px;
  border: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.harvested-submit-btn:hover {
  background-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Contact Aside Info */
.contact-info-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--surface-border);
  margin-bottom: 2.5rem;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--surface-border);
}

.contact-info-icon {
  margin-top: 0.15rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-val {
  margin: 0.25rem 0 0 0;
  font-size: 14.5px;
  color: #4B5563;
  line-height: 1.5;
}

.harvested-link {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.harvested-link:hover {
  color: var(--primary);
}

.contact-map-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.contact-map-iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}
