/* ============================================
   DOPE ASS AI / DOPE AI — Shared Stylesheet
   Pure black. Neon everything. No mercy.
   ============================================ */

/* --- CSS Custom Properties --- */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Colors */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);

  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;

  --accent-pink: #ff2d7b;
  --accent-cyan: #00f0ff;
  --accent-green: #b8ff00;

  --glow-pink: rgba(255, 45, 123, 0.4);
  --glow-cyan: rgba(0, 240, 255, 0.4);
  --glow-green: rgba(184, 255, 0, 0.4);

  /* Typography */
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-subheading: 'Oswald', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-width: 1200px;
  --section-padding: clamp(4rem, 10vw, 8rem);
  --nav-height: 70px;
  --border-radius: 12px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

body.custom-cursor-enabled {
  cursor: none;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Scanline overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(0, 0, 0, 0.03) 1px,
    rgba(0, 0, 0, 0.03) 2px
  );
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-pink);
}

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

/* Show default cursor on touch devices */
@media (hover: none) {
  body { cursor: auto; }
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10001;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan), var(--accent-green));
  transition: width 0.1s linear;
}

/* --- Custom Cursor --- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-dot.hovering {
  transform: translate(-50%, -50%) scale(2);
  background: var(--accent-cyan);
}

.cursor-ring.hovering {
  width: 60px;
  height: 60px;
  border-color: var(--accent-pink);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-medium);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--accent-pink);
  color: var(--accent-pink) !important;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-pink);
  color: var(--bg-primary) !important;
  box-shadow: 0 0 20px var(--glow-pink);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav-mobile a:hover {
  color: var(--accent-pink);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .typed-cursor {
  -webkit-text-fill-color: var(--accent-pink);
  font-weight: 100;
}

.hero-subtitle {
  font-family: var(--font-subheading);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.hero-missouri {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  position: relative;
  cursor: help;
}

.hero-missouri .tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--accent-pink);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--accent-pink);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.hero-missouri:hover .tooltip {
  opacity: 1;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  font-family: var(--font-subheading);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-pink);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--glow-pink), 0 0 45px rgba(255, 45, 123, 0.2);
}

.btn-primary:hover {
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--glow-pink), 0 0 60px rgba(255, 45, 123, 0.3), 0 0 100px rgba(255, 45, 123, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-secondary:hover {
  color: var(--bg-primary);
  background: var(--accent-cyan);
  box-shadow: 0 0 20px var(--glow-cyan), 0 0 60px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-pink);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title.gradient-text {
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Glitch Effect --- */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
}

/* Background must match section for the glitch to mask correctly */
.problem .glitch::before,
.problem .glitch::after,
.about .glitch::before,
.about .glitch::after,
#how .glitch::before,
#how .glitch::after,
#proof .glitch::before,
#proof .glitch::after {
  background: var(--bg-secondary);
}

.hero .glitch::before,
.hero .glitch::after,
#deploy .glitch::before,
#deploy .glitch::after,
#stack .glitch::before,
#stack .glitch::after {
  background: var(--bg-primary);
}

.glitch.glitch-active::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent-cyan);
  animation: glitch-1 0.4s linear;
  opacity: 1;
  -webkit-text-fill-color: initial;
  color: var(--text-primary);
}

.glitch.glitch-active::after {
  left: -2px;
  text-shadow: 2px 0 var(--accent-pink);
  animation: glitch-2 0.4s linear;
  opacity: 1;
  -webkit-text-fill-color: initial;
  color: var(--text-primary);
}

@keyframes glitch-1 {
  0% { clip-path: inset(20% 0 60% 0); }
  20% { clip-path: inset(60% 0 10% 0); }
  40% { clip-path: inset(40% 0 30% 0); }
  60% { clip-path: inset(80% 0 5% 0); }
  80% { clip-path: inset(10% 0 70% 0); }
  100% { clip-path: inset(50% 0 30% 0); }
}

@keyframes glitch-2 {
  0% { clip-path: inset(70% 0 10% 0); }
  20% { clip-path: inset(10% 0 70% 0); }
  40% { clip-path: inset(50% 0 20% 0); }
  60% { clip-path: inset(30% 0 50% 0); }
  80% { clip-path: inset(60% 0 20% 0); }
  100% { clip-path: inset(20% 0 60% 0); }
}

/* --- Neon Flicker --- */
@keyframes neon-flicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 1; }
  42% { opacity: 0.8; }
  43% { opacity: 1; }
  45% { opacity: 0.3; }
  46% { opacity: 1; }
}

.neon-flicker {
  animation: neon-flicker 3s infinite;
}

/* --- Problem Section --- */
.problem {
  background: var(--bg-secondary);
}

.problem-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-primary);
}

.problem-statement em {
  font-style: normal;
  color: var(--accent-pink);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.problem-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-left: 2px solid var(--accent-pink);
  background: rgba(255, 45, 123, 0.03);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.problem-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.problem-killshot {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Deploy Section (What We Deploy) --- */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

/* --- Glass Card --- */
.glass-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  transition: all var(--transition-medium);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius);
  padding: 1px;
  background: conic-gradient(from var(--angle), var(--accent-pink), var(--accent-cyan), var(--accent-green), var(--accent-pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-medium);
  animation: rotate-border 4s linear infinite;
}

@keyframes rotate-border {
  to { --angle: 360deg; }
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-subtitle {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.card-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-pink);
}

.card-features li strong {
  color: var(--text-primary);
}

.card-quote {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent-green);
  line-height: 1.6;
}

/* --- How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 1.5rem);
  right: calc(16.66% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan), var(--accent-green));
  z-index: 0;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .steps::before {
    display: none;
  }
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-pink);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px var(--glow-pink);
  transition: all var(--transition-medium);
}

.step:hover .step-number {
  background: var(--accent-pink);
  color: var(--bg-primary);
  box-shadow: 0 0 30px var(--glow-pink), 0 0 60px rgba(255, 45, 123, 0.2);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Stack Section --- */
.stack-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.stack-category {
  margin-bottom: 2rem;
}

.stack-category-label {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-pink);
  margin-bottom: 0.75rem;
  text-align: center;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.stack-pill {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 100px;
  color: #ccc;
  background: rgba(0, 240, 255, 0.05);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.stack-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* --- Proof / Case Studies --- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.proof-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  transition: all var(--transition-medium);
}

.proof-card:hover {
  border-color: rgba(255, 45, 123, 0.3);
  transform: translateY(-4px);
}

.proof-meta {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.proof-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.proof-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.proof-stat {
  text-align: center;
}

.proof-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--accent-green);
}

.proof-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- About Section --- */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

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

.team-member {
  padding: 2rem;
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.team-member:hover {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.about-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.about-role {
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.about-bio {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.about-bio p {
  margin-bottom: 1rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-value {
  padding: 1.5rem;
  border-left: 2px solid var(--accent-pink);
  background: rgba(255, 45, 123, 0.03);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.about-value-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.about-value-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}

.contact-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

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

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0;
  text-align: center;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-text a {
  color: var(--accent-pink);
}

/* --- Reveal Animation Base --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Peach Rain (Konami Code) --- */
.peach {
  position: fixed;
  font-size: 2rem;
  z-index: 10002;
  pointer-events: none;
  animation: peach-fall linear forwards;
}

@keyframes peach-fall {
  0% {
    transform: translateY(-60px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* --- Section Divider --- */
.section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  margin: 0 auto 2rem;
}

/* --- Responsive Fine-Tuning --- */
@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

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

  .glass-card {
    padding: 1.5rem;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (min-width: 1440px) {
  :root {
    --container-width: 1300px;
  }
}

/* ============================================
   Scout Chat Widget
   ============================================ */

/* --- Floating Trigger Button --- */
.scout-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-pink);
  border: none;
  cursor: pointer;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--glow-pink), 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  color: #000;
}

.scout-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--glow-pink), 0 0 60px rgba(255, 45, 123, 0.3);
}

.scout-trigger-active {
  transform: scale(0) !important;
  opacity: 0;
  pointer-events: none;
}

.scout-trigger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.scout-trigger-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-pink);
  animation: scout-pulse 2s ease-out infinite;
}

@keyframes scout-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* --- Chat Panel (Floating) --- */
.scout-panel {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 400px;
  max-height: 550px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 45, 123, 0.3);
  border-radius: 16px;
  z-index: 9001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 45, 123, 0.15), 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}

.scout-panel-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* --- Inline Panel (in Contact Section) --- */
.scout-panel-inline {
  position: relative;
  bottom: auto;
  right: auto;
  width: 100%;
  max-height: 600px;
  min-height: 0;
  transform: none;
  opacity: 1;
  pointer-events: all;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.08), 0 0 60px rgba(255, 45, 123, 0.04);
}

.scout-inline {
  width: 100%;
  max-width: 760px;
  margin-top: 22px;
}

.scout-contact {
  display: grid;
  gap: 18px;
}

.scout-contact-copy > :last-child {
  margin-bottom: 0;
}

/* --- Header --- */
.scout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}

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

.scout-status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: scout-dot-pulse 2s ease-in-out infinite;
}

@keyframes scout-dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--glow-green); }
  50% { opacity: 0.5; box-shadow: 0 0 8px var(--glow-green); }
}

.scout-header-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.scout-header-target {
  font-size: 0.9rem;
}

.scout-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scout-msg-count {
  font-family: var(--font-subheading);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.scout-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color var(--transition-fast);
}

.scout-close:hover {
  color: var(--accent-pink);
}

/* --- Messages Area --- */
.scout-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 250px;
  max-height: 350px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.scout-messages-inline {
  min-height: 220px;
  max-height: 300px;
}

.scout-messages::-webkit-scrollbar {
  width: 4px;
}

.scout-messages::-webkit-scrollbar-track {
  background: transparent;
}

.scout-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

/* --- Message Bubbles --- */
.scout-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: scout-msg-in 0.3s ease-out;
  word-wrap: break-word;
}

@keyframes scout-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.scout-msg-assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--accent-cyan);
  color: var(--text-secondary);
}

.scout-msg-user {
  align-self: flex-end;
  background: rgba(255, 45, 123, 0.1);
  border: 1px solid rgba(255, 45, 123, 0.2);
  color: var(--text-primary);
}

/* --- Typing Indicator --- */
.scout-typing {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1.25rem;
  align-items: center;
}

.scout-typing span {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: scout-typing-dot 1.4s ease-in-out infinite;
}

.scout-typing span:nth-child(2) { animation-delay: 0.2s; }
.scout-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes scout-typing-dot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1.2); }
}

/* --- Input Area --- */
.scout-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.scout-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.scout-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.scout-input::placeholder {
  color: var(--text-muted);
}

.scout-send {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-pink);
  border: none;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.scout-send:hover {
  box-shadow: 0 0 15px var(--glow-pink);
  transform: scale(1.05);
}

/* --- Complete State --- */
.scout-complete {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(57, 255, 20, 0.03);
}

.scout-complete p {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* --- Mobile Responsive --- */
@media (max-width: 480px) {
  .scout-panel:not(.scout-panel-inline) {
    bottom: 0;
    right: 0;
    width: 100%;
    max-height: 100vh;
    border-radius: 16px 16px 0 0;
    transform-origin: bottom center;
  }

  .scout-trigger {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
}

/* Demo section pulse */
@keyframes demoPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Demo section mobile */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem !important; }
  .hero-subtitle { font-size: 1.1rem !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem !important; }
  .section-title { font-size: 1.5rem !important; }
}

/* ============================================
   Stack / Platform Section (refactored from inline styles)
   ============================================ */
.stack-section-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.stack-section-inner .section-lobster {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stack-text {
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.stack-text-secondary {
  font-size: 1rem;
  color: #999;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.stack-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stack-box {
  padding: 16px 24px;
  border-radius: 8px;
  min-width: 160px;
}

.stack-box-cloud {
  border: 1px solid rgba(0,240,255,0.2);
  background: rgba(0,240,255,0.03);
}

.stack-box-vdi {
  border: 1px solid rgba(255,45,123,0.2);
  background: rgba(255,45,123,0.03);
}

.stack-box-scale {
  border: 1px solid rgba(184,255,0,0.2);
  background: rgba(184,255,0,0.03);
}

.stack-box-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.stack-box-cloud .stack-box-title { color: #00f0ff; }
.stack-box-vdi .stack-box-title { color: #ff2d7b; }
.stack-box-scale .stack-box-title { color: #b8ff00; }

.stack-box-sub {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 1px;
}

/* Mission callout */
.mission-callout {
  padding: 80px 20px;
  text-align: center;
}

.mission-callout-inner {
  max-width: 700px;
  margin: 0 auto;
}

.mission-divider {
  width: 60px;
  height: 2px;
  margin: 0 auto 2rem;
}

.mission-divider-top {
  background: linear-gradient(90deg, #00f0ff, #ff2d7b);
}

.mission-divider-bottom {
  background: linear-gradient(90deg, #ff2d7b, #b8ff00);
  margin: 2rem auto 0;
}

.mission-quote {
  font-size: 1.4rem;
  font-style: italic;
  color: #e0e0e0;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
}

/* Demo section */
.demo-container {
  margin: 2rem auto;
  max-width: 900px;
}

.demo-box {
  position: relative;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.08);
  background: #000;
}

.demo-header {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-header-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00f0ff;
}

.demo-live-indicator {
  font-size: 10px;
  color: #666;
  margin-left: 12px;
}

.demo-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b8ff00;
  border-radius: 50%;
  margin-left: 4px;
  animation: demoPulse 2s ease-in-out infinite;
}

.demo-cta {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff2d7b;
  text-decoration: none;
  border: 1px solid rgba(255, 45, 123, 0.4);
  padding: 4px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.demo-body {
  padding: 60px 20px;
  text-align: center;
}

.demo-body p {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 1.5rem;
}

.demo-body .demo-small {
  font-size: 0.9rem;
  color: #666;
}

/* ============================================
   Responsive Fixes — Medium Screens (Laptops)
   ============================================ */

/* --- Medium screens: tablets & small laptops (769px - 1024px) --- */
@media (max-width: 1024px) {
  .deploy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .steps::before {
    display: none;
  }

  /* Stack section boxes - force wrap */
  .stack-boxes {
    flex-direction: column;
    align-items: center;
  }

  /* Proof stats - keep 2 cols but smaller */
  .proof-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .proof-stat-value {
    font-size: 1.5rem;
  }

  /* Glass cards - reduce padding */
  .glass-card {
    padding: 2rem;
  }

  /* Section padding - tighten */
  :root {
    --section-padding: clamp(3rem, 8vw, 6rem);
  }

  /* Scout floating panel - ensure it doesn't go offscreen */
  .scout-panel {
    width: min(400px, calc(100vw - 2rem));
    max-height: min(550px, calc(100vh - 6rem));
  }

  /* Stack boxes wrap vertically */
  .stack-boxes {
    flex-direction: column;
    align-items: center;
  }

  .stack-box {
    width: 100%;
    max-width: 280px;
  }

  /* Mission quote smaller */
  .mission-quote {
    font-size: 1.2rem;
  }

  .mission-callout {
    padding: 50px 20px;
  }

  /* Demo body padding */
  .demo-body {
    padding: 40px 16px;
  }

  .demo-body p {
    font-size: 1rem;
  }
}

/* --- Small screens: ensure nothing overflows --- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.4rem;
  }

  .card-features li {
    font-size: 0.85rem;
  }

  .about-name {
    font-size: 2rem;
  }

  .about-role {
    font-size: 0.8rem;
  }

  .problem-statement {
    font-size: 1.3rem;
  }

  .problem-killshot {
    font-size: 1.5rem !important;
  }

  /* Force Scout inline to be full width and properly contained */
  .scout-panel-inline {
    min-height: 400px;
    max-height: 500px;
  }

  .scout-messages-inline {
    min-height: 250px;
    max-height: 300px;
  }

  /* Proof card padding */
  .proof-card {
    padding: 1.5rem;
  }

  .proof-title {
    font-size: 1.2rem;
  }

  /* Step circles smaller */
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* --- Extra small: phones --- */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.1rem !important;
  }

  .glass-card {
    padding: 1.25rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-quote {
    font-size: 0.8rem;
  }

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

  .problem-item {
    padding: 1rem;
  }

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

  .proof-stat-value {
    font-size: 1.5rem;
  }

  .scout-panel-inline {
    min-height: 350px;
    border-radius: 12px;
  }

  .contact-heading {
    font-size: 1.8rem !important;
  }
}
