@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

/* ==========================================================================
   KITETAP™ DEFINITIVE PRODUCTION STYLESHEET
   Engineering Architecture Standards:
   - Palette & Background Canvas: #07070A Base Obsidian
   - Ambient technical coordinate grid & subtle orange lighting
   - Surfaces: #101017 (Primary), #161624 (Elevated), #1C1C2E (Hover)
   - 1px Crisp Steel Borders (#222235) & Hard 0px-blur Shadows (4px 4px 0 #000)
   - Accents: Electric Burnt Orange (#FF4D00), Signal Green (#00E878), Muted Steel (#8E8EA0)
   - Fixed Single-Row Navigation Bar (#nav)
   - Seamless 3D Canvas (.canvas-card, #kite-canvas)
   ========================================================================== */

:root {
  /* Surfaces & Visual Depth */
  --c-base:        #07070A; /* Deep Obsidian Canvas */
  --c-card:        #101017; /* Primary Card Surface */
  --c-elevated:    #161624; /* Elevated Card Surface */
  --c-hover:       #1C1C2E; /* Hover Surface */
  --c-border:      #222235; /* 1px Crisp Steel Line */
  --c-border-hover:#FF4D00;

  /* Accents & Signals */
  --c-signal:      #FF4D00; /* Electric Burnt Orange */
  --c-signal-hover:#FF6622;
  --c-green:       #00E878; /* Signal Green */
  --c-blue:        #4D7CFF; /* Steel Blue */
  --c-amber:       #FFAA00; /* Amber Warning */
  --c-danger:      #EF4444; /* Critical Red */

  /* Text Hierarchy */
  --c-text:        #F5F3EF; /* Crisp Off-White */
  --c-text-muted:  #8E8EA0; /* Technical Muted Steel */
  --c-text-dim:    #55556E;

  /* Typography */
  --font-head:     'Syne', sans-serif;
  --font-body:     'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Industrial Hard Shadows (0px blur) */
  --shadow-hard:   4px 4px 0 #000000;
  --shadow-btn:    2px 2px 0 #000000;
  --shadow-lg:     6px 6px 0 #000000;

  /* Radii */
  --r-sm:          2px;
  --r-md:          4px;
  --r-full:        9999px;

  /* Transitions */
  --t-fast:        120ms ease;
  --t-norm:        200ms ease;
}

/* ==========================================================================
   RESET & FOUNDATIONS WITH ATMOSPHERIC GRID
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--c-base);
  color: var(--c-text);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #07070A;
  background-image: 
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(255, 77, 0, 0.12), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
  color: var(--c-text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.015em;
}

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

ul, ol { list-style: none; }
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Custom Technical Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--c-base); }
::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--c-text-muted); }

/* Selection */
::selection { background: var(--c-signal); color: #000000; }

/* ==========================================================================
   NAVIGATION BAR (#nav)
   ========================================================================== */
#nav,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  background: rgba(7, 7, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #222235;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #FFF;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #8E8EA0;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s ease;
  position: relative;
  padding: 0.4rem 0.2rem;
}

.nav-link:hover,
.nav-link.active {
  color: #FFF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-signal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* Strictly hide hamburger on desktop */
.nav-toggle,
.mobile-toggle,
.hamburger {
  display: none !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-btn);
}

.nav-toggle span,
.mobile-toggle span,
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  transition: all var(--t-fast);
}

/* ==========================================================================
   BUTTON ARCHITECTURE (Industrial Hard-Edge)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-btn);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #000;
}

.btn-primary,
.btn-accent {
  background: var(--c-signal);
  color: #07070A;
  border: 1px solid var(--c-signal);
}
.btn-primary:hover,
.btn-accent:hover {
  background: var(--c-signal-hover);
  border-color: var(--c-signal-hover);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #000;
}

.btn-outline,
.btn-secondary {
  background: var(--c-elevated);
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn-outline:hover,
.btn-secondary:hover {
  background: var(--c-hover);
  border-color: var(--c-signal);
  color: var(--c-signal);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #000;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
}

/* ==========================================================================
   CARD & PANEL ARCHITECTURE
   ========================================================================== */
.card,
.panel,
.fluid-card {
  background: #101017;
  border: 1px solid #222235;
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: 4px 4px 0 #000000;
  transition: border-color var(--t-norm), transform var(--t-norm), background var(--t-norm);
}

.card:hover,
.panel:hover {
  border-color: rgba(255, 77, 0, 0.5);
  background: #1C1C2E;
}

.card-elevated {
  background: #161624;
  border: 1px solid #222235;
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: 4px 4px 0 #000000;
}

/* Terminal Box */
.terminal-card {
  background: #09090E;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-hard);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.terminal-dot.red { background: #EF4444; }
.terminal-dot.yellow { background: #FFAA00; }
.terminal-dot.green { background: #00E878; }

/* ==========================================================================
   BADGES & MONOSPACE DATA TAGS (No Checkmarks)
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #161624;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
}

.badge-pass {
  color: var(--c-green);
  border-color: rgba(0, 232, 120, 0.35);
  background: rgba(0, 232, 120, 0.08);
}

.badge-signal {
  color: var(--c-signal);
  border-color: rgba(255, 77, 0, 0.35);
  background: rgba(255, 77, 0, 0.08);
}

.badge-blue {
  color: var(--c-blue);
  border-color: rgba(77, 124, 255, 0.35);
  background: rgba(77, 124, 255, 0.08);
}

.tag-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: var(--r-sm);
  display: inline-block;
}
.tag-pass { background: rgba(0,232,120,0.15); color: var(--c-green); border: 1px solid rgba(0,232,120,0.3); }
.tag-na   { background: rgba(142,142,160,0.12); color: var(--c-text-muted); border: 1px solid var(--c-border); }

/* ==========================================================================
   LAYOUT CONTAINERS & SECTION SPACING
   ========================================================================== */
.wrap {
  width: min(1320px, 92vw);
  margin-inline: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

main {
  padding-top: 88px; /* Essential: Prevents header collision */
  flex: 1;
}

.section {
  margin-bottom: 4.5rem;
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-signal);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '■';
  font-size: 0.65rem;
  color: var(--c-signal);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* Grids */
.hero-grid {
  min-height: calc(88vh - 72px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  padding: 3rem 0;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   SEAMLESS 3D CANVAS (No Clunky Border)
   ========================================================================== */
.canvas-card,
.hero-visual {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  height: 480px;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#kite-canvas,
#hero-three-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  display: block;
}

.hero-fallback-vector {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: transparent;
  z-index: 1;
}

.hero-fallback-vector svg {
  width: 150px;
  height: 150px;
  animation: pulseKite 3s infinite ease-in-out;
}

@keyframes pulseKite {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 12px rgba(255,77,0,0.4)); }
  50% { transform: translateY(-8px) scale(1.02); filter: drop-shadow(0 0 20px rgba(255,77,0,0.7)); }
}

/* ==========================================================================
   TELEGRAM SIGNAL TAPE
   ========================================================================== */
.signal-tape {
  width: 100%;
  background: #101017;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  padding: 0.75rem 0;
  display: flex;
  user-select: none;
  margin-bottom: 4.5rem;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: tickerSlide 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.08em;
}

.ticker-track span.sep {
  color: var(--c-signal);
  font-weight: 700;
}

@keyframes tickerSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   THE HONEST POSTMASTER OATH
   ========================================================================== */
.oath-card {
  background: #101017;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-signal) !important;
  border-radius: var(--r-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-hard);
}

.oath-manifesto {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--c-border);
}

.oath-manifesto strong {
  color: var(--c-signal);
}

.oath-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.oath-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.oath-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--c-text);
}

.oath-item .tag-mono {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.oath-limits-box {
  background: #161624;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 1.5rem;
}

.oath-limits-box h4 {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}

/* ==========================================================================
   DYNAMIC FLEET ROI CALCULATOR
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.calc-panel {
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-hard);
}

.calc-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

.calc-val-pill {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-signal);
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: var(--c-border);
  border-radius: var(--r-full);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  background: var(--c-signal);
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  cursor: pointer;
}

.calc-select {
  background: #07070A;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  outline: none;
}
.calc-select:focus { border-color: var(--c-signal); }

.calc-output-card {
  background: #161624;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
}

.comparison-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.comparison-col.direct {
  border-left: 2px solid var(--c-green);
  padding-left: 1rem;
}

.comp-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.comp-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
}
.comp-num.green { color: var(--c-green); }
.comp-num.danger { color: var(--c-text-dim); text-decoration: line-through; }

.savings-banner {
  background: rgba(0, 232, 120, 0.08);
  border: 1px solid rgba(0, 232, 120, 0.3);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.savings-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-green);
  font-weight: 600;
}

.savings-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-green);
}

.cost-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--c-border);
  color: var(--c-text-muted);
}

.breakdown-row span:last-child {
  color: var(--c-text);
  font-weight: 600;
}

/* ==========================================================================
   AUTHENTIC TECHNICAL ARTIFACTS & VIDEO CARD
   ========================================================================== */
.proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.video-facade-card {
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.video-preview-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #161624 0%, #1C1C2E 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.video-preview-thumb:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--c-signal-hover);
}

.video-play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--c-signal);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(255, 77, 0, 0.2), var(--shadow-btn);
  transition: transform var(--t-fast), background var(--t-fast);
  z-index: 2;
}

.video-play-btn svg {
  margin-left: 4px;
}

.video-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.video-meta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.video-meta p {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

.proof-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.telemetry-card {
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-hard);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.telemetry-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(0, 232, 120, 0.1);
  border: 1px solid rgba(0, 232, 120, 0.3);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--c-green);
  flex-shrink: 0;
}

.telemetry-info {
  flex: 1;
}

.telemetry-metric {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--c-green);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.telemetry-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--c-text);
  font-weight: 600;
}

.telemetry-sub {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   INTERACTIVE PROCESS DECK ("HOW WE WORK")
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.process-step-card {
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: all var(--t-norm);
}

.process-step-card:hover {
  border-color: var(--c-signal);
  background: #161624;
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-signal);
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-sm);
  align-self: flex-start;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFF;
}

.step-desc {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FLEET ARCHITECTURE PACKAGES (services.html)
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.package-card {
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  position: relative;
  transition: all var(--t-norm);
}

.package-card:hover {
  border-color: var(--c-signal);
  background: #161624;
}

.package-card.featured {
  border-color: var(--c-signal);
  box-shadow: 6px 6px 0 #000;
}

.package-card.featured::before {
  content: 'MOST POPULAR FLEET';
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--c-signal);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-sm);
  letter-spacing: 0.06em;
}

.package-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.package-sub {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--c-text);
  line-height: 1.5;
}

.package-features li .tag-mono {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Feature pills */
.feature-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.feature-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: #161624;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-text-muted);
}

/* ==========================================================================
   TWO-SIDED SPRINT INTAKE & CONFIRMATION TICKET
   ========================================================================== */
.sprint-ticket-portal {
  display: none;
  background: #101017;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-green);
  border-radius: var(--r-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-hard);
  animation: ticketPop 300ms ease forwards;
}

@keyframes ticketPop {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ticket-id {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-signal);
}

.ticket-details-box {
  background: #161624;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--c-text);
}

.ticket-details-box span.lbl {
  color: var(--c-text-muted);
  display: inline-block;
  min-width: 140px;
}

.whatsapp-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: #25D366;
  color: #07070A;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  box-shadow: 2px 2px 0 #000;
  transition: all var(--t-fast);
  text-decoration: none;
}

.whatsapp-direct-btn:hover {
  background: #20BA5C;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #000;
  color: #000;
}

/* ==========================================================================
   PROCEDURAL INBOX DEFENDER ARCADE GAME
   ========================================================================== */
.game-card {
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-hard);
  position: relative;
  overflow: hidden;
}

.game-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}

.game-timer-container {
  width: 100%;
  height: 6px;
  background: #07070A;
  border-radius: var(--r-full);
  margin-bottom: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.game-timer-bar {
  height: 100%;
  width: 100%;
  background: var(--c-signal);
  transition: width 100ms linear;
}

.game-scenario-text {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 2rem;
  min-height: 70px;
}

.game-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.game-btn-choice {
  background: #161624;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 1.25rem;
  color: var(--c-text);
  font-size: 0.9375rem;
  text-align: left;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: all var(--t-fast);
}

.game-btn-choice:hover:not(:disabled) {
  background: #1C1C2E;
  border-color: var(--c-signal);
  transform: translate(-1px, -1px);
}

.game-btn-choice.correct {
  background: rgba(0, 232, 120, 0.12) !important;
  border-color: var(--c-green) !important;
  color: var(--c-green);
}

.game-btn-choice.wrong {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: var(--c-danger) !important;
  color: var(--c-danger);
}

.game-feedback-box {
  background: #161624;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  display: none;
  margin-top: 1rem;
}

/* ==========================================================================
   FORMS & INTAKE
   ========================================================================== */
.form-card {
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-hard);
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #07070A;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--t-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-signal);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--c-text-muted);
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 0.25rem;
  accent-color: var(--c-signal);
}

/* ==========================================================================
   DNS INSPECTOR TABLES & SKELETON
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
}

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

.dns-table th {
  background: #161624;
  color: #FFF;
  border: 1px solid var(--c-border);
  padding: 1rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.dns-table td {
  background: #101017;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.dns-table tr:hover td {
  background: #161624;
  color: #FFF;
}

.skeleton {
  background: var(--c-border);
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  animation: shimmer 1.6s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-text { height: 1rem; margin-bottom: 0.5rem; width: 100%; border-radius: var(--r-sm); }

/* ==========================================================================
   SVG SOCIAL & TECH ICONS
   ========================================================================== */
.social-icons-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: #101017;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  box-shadow: var(--shadow-btn);
  transition: all var(--t-fast);
}

.social-icon-btn:hover {
  background: #161624;
  border-color: var(--c-signal);
  color: var(--c-signal);
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #07070A;
  border-top: 1px solid var(--c-border);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

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

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

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

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--c-signal);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-text-dim);
}

/* ==========================================================================
   VIDEO MODAL OVERLAY
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  width: 100%;
  max-width: 900px;
  position: relative;
  background: #101017;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  color: var(--c-text);
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.modal-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 3000;
  pointer-events: none;
}

.toast {
  pointer-events: all;
  background: #161624;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-signal);
  border-radius: var(--r-sm);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-text);
  box-shadow: var(--shadow-hard);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInToast 200ms ease forwards;
}

.toast-success { border-left-color: var(--c-green); }
.toast-error   { border-left-color: var(--c-danger); }
.toast-info    { border-left-color: var(--c-signal); }

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

/* ==========================================================================
   RESPONSIVE OVERRIDES (@media max-width: 960px)
   ========================================================================== */
@media (max-width: 960px) {
  #nav,
  .site-header {
    padding: 0 1.25rem;
  }

  /* Nav Links collapsed on mobile */
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #09090E;
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
    display: none;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(35, 35, 56, 0.4);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-actions .btn-accent {
    display: none;
  }

  /* Show mobile menu button */
  .nav-toggle,
  .mobile-toggle,
  .hamburger {
    display: flex !important;
  }

  /* Grids collapse to 1 column */
  .hero-grid,
  .calc-grid,
  .process-grid,
  .packages-grid,
  .two-col-grid,
  .three-col-grid,
  .proof-grid,
  .oath-columns,
  .game-options-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .hero-grid {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .canvas-card,
  .hero-visual {
    height: 380px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.15rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .card, .panel, .fluid-card, .oath-card, .calc-panel, .game-card, .package-card {
    padding: 1.5rem;
  }

  .comparison-box {
    grid-template-columns: 1fr;
  }
}

/* --- DEFINITIVE MOBILE FLUID OVERRIDES --- */
@media (max-width: 960px) {
  html, body {
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 1.2rem !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }

  /* Force all multi-column grids to 100% single column */
  .hero-grid,
  .calc-grid,
  .process-grid,
  .two-col-grid,
  .three-col-grid,
  .telemetry-grid,
  .game-grid,
  div[class*="grid"] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
  }

  /* Force all cards, game panels, and timeline steps to 100% width */
  .card,
  .panel,
  .fluid-card,
  #game,
  .game-container,
  .process-step,
  .telemetry-card,
  div[style*="max-width"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Seamless 3D Hero on Mobile */
  .canvas-card,
  .hero-visual {
    width: 100% !important;
    height: 300px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  #kite-canvas {
    width: 100% !important;
    height: 100% !important;
  }

  /* Mobile Typography */
  h1, .hero-h1 {
    font-size: clamp(2rem, 7.5vw, 2.7rem) !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
  }

  h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.9rem) !important;
    line-height: 1.25 !important;
  }
}

