/* ========================================
   PE101 — Prompt Engineering 101
   Retro Arcade Theme
   ======================================== */

/* --- Custom Properties --- */
:root {
  /* Surfaces */
  --bg-deep: #07070c;
  --bg-primary: #0a0a12;
  --bg-surface: #10101c;
  --bg-surface-alt: #161626;
  --bg-card: #12122080;

  /* Neon accents */
  --neon-cyan: #00e8ff;
  --neon-magenta: #ff2d9b;
  --neon-green: #00ff88;
  --neon-amber: #ffaa00;
  --neon-purple: #b44dff;

  /* Glow variants (lower opacity for subtle effects) */
  --glow-cyan: rgba(0, 232, 255, 0.15);
  --glow-magenta: rgba(255, 45, 155, 0.15);
  --glow-green: rgba(0, 255, 136, 0.15);
  --glow-amber: rgba(255, 170, 0, 0.15);

  /* Text */
  --text-primary: #e8e6e1;
  --text-secondary: #9a98a0;
  --text-muted: #5e5c66;
  --text-bright: #ffffff;

  /* Borders */
  --border-default: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.03);
  --border-neon: rgba(0, 232, 255, 0.25);

  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Typography */
  --font-display: 'Press Start 2P', monospace;
  --font-body: 'Space Grotesk', system-ui, sans-serif;

  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-xl: clamp(1.15rem, 1rem + 0.75vw, 1.35rem);
  --text-2xl: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  --text-3xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-hero: clamp(1.8rem, 1.2rem + 3vw, 3.5rem);

  /* Pixel font needs different sizing — it's much wider */
  --pixel-xs: clamp(0.5rem, 0.4rem + 0.25vw, 0.6rem);
  --pixel-sm: clamp(0.6rem, 0.5rem + 0.25vw, 0.7rem);
  --pixel-base: clamp(0.65rem, 0.55rem + 0.3vw, 0.8rem);
  --pixel-lg: clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
  --pixel-xl: clamp(0.85rem, 0.7rem + 0.75vw, 1.25rem);
  --pixel-2xl: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --pixel-hero: clamp(1.1rem, 0.7rem + 2vw, 2.2rem);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --content-max: 1200px;
  --content-narrow: 800px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
a:hover {
  color: var(--neon-green);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--neon-cyan);
  color: var(--bg-deep);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  z-index: 1000;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: var(--space-4);
}

/* --- Focus Ring --- */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Scanline Overlay --- */
.scanlines::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* --- Grid Background --- */
.grid-bg {
  position: relative;
}
.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 232, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 232, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-bright);
  text-decoration: none;
  transition: opacity var(--transition-interactive);
}
.logo-link:hover {
  opacity: 0.85;
  color: var(--text-bright);
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--pixel-sm);
  letter-spacing: 1px;
  color: var(--neon-cyan);
}

/* Desktop nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--neon-cyan);
  background: var(--glow-cyan);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
.menu-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 7, 12, 0.97);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-4);
    gap: var(--space-1);
  }
  .nav-list.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    text-align: left;
    padding: var(--space-3) var(--space-4);
  }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-8);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--pixel-hero);
  line-height: 1.5;
  color: var(--text-bright);
  margin-bottom: var(--space-6);
}

.hero h1 .accent {
  color: var(--neon-cyan);
  text-shadow: 0 0 30px rgba(0, 232, 255, 0.4);
}

.hero-description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Decorative hero elements */
.hero-glow {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 232, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 45, 155, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  font-weight: 400;
  white-space: nowrap;
  min-height: 48px;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.btn-primary {
  background: var(--neon-cyan);
  color: var(--bg-deep);
  box-shadow: 0 0 20px rgba(0, 232, 255, 0.25);
}
.btn-primary:hover {
  background: #33edff;
  color: var(--bg-deep);
  box-shadow: 0 0 32px rgba(0, 232, 255, 0.4);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 12px rgba(0, 232, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--border-neon);
}
.btn-secondary:hover {
  background: var(--glow-cyan);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  transform: translateY(-1px);
}
.btn-secondary:active {
  transform: translateY(0);
}

.btn-magenta {
  background: var(--neon-magenta);
  color: var(--text-bright);
  box-shadow: 0 0 20px rgba(255, 45, 155, 0.25);
}
.btn-magenta:hover {
  background: #ff4dae;
  color: var(--text-bright);
  box-shadow: 0 0 32px rgba(255, 45, 155, 0.4);
  transform: translateY(-1px);
}

/* ========================================
   SECTION HEADINGS
   ======================================== */
.section-label {
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--pixel-xl);
  color: var(--text-bright);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.card-grid {
  display: grid;
  gap: var(--space-6);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .card-grid--3,
  .card-grid--2,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.card:hover {
  border-color: var(--border-neon);
  box-shadow: 0 0 24px rgba(0, 232, 255, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 28px;
}

.card-icon--cyan { color: var(--neon-cyan); }
.card-icon--magenta { color: var(--neon-magenta); }
.card-icon--green { color: var(--neon-green); }
.card-icon--amber { color: var(--neon-amber); }
.card-icon--purple { color: var(--neon-purple); }

.card h3 {
  font-family: var(--font-display);
  font-size: var(--pixel-sm);
  color: var(--text-bright);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

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

/* Feature card with neon border accent */
.card--featured {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 24px rgba(0, 232, 255, 0.1), inset 0 0 24px rgba(0, 232, 255, 0.02);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
  padding: var(--space-16) 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

.stat-item {
  padding: var(--space-6);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--pixel-2xl);
  color: var(--neon-cyan);
  margin-bottom: var(--space-2);
  text-shadow: 0 0 20px rgba(0, 232, 255, 0.3);
}

.stat-value--magenta {
  color: var(--neon-magenta);
  text-shadow: 0 0 20px rgba(255, 45, 155, 0.3);
}
.stat-value--green {
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
.stat-value--amber {
  color: var(--neon-amber);
  text-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

.stat-label {
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 232, 255, 0.03) 50%, transparent 100%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--pixel-xl);
  color: var(--text-bright);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.cta-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ========================================
   PAGE SECTIONS (general)
   ======================================== */
.page-section {
  padding: var(--space-20) 0;
}

.page-section + .page-section {
  border-top: 1px solid var(--border-subtle);
}

.page-section--alt {
  background: var(--bg-surface);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.about-text p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arcade-cabinet {
  width: 280px;
  height: 380px;
  background: var(--bg-surface-alt);
  border: 2px solid var(--border-neon);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 0 40px rgba(0, 232, 255, 0.1), inset 0 0 40px rgba(0, 232, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6);
}

.arcade-screen {
  width: 100%;
  flex: 1;
  background: var(--bg-deep);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
}

.arcade-screen-text {
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  color: var(--neon-cyan);
  text-align: center;
  animation: blink-text 2s step-end infinite;
}

@keyframes blink-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.arcade-controls {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.arcade-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid;
}
.arcade-btn--cyan { border-color: var(--neon-cyan); background: rgba(0, 232, 255, 0.15); }
.arcade-btn--magenta { border-color: var(--neon-magenta); background: rgba(255, 45, 155, 0.15); }
.arcade-btn--green { border-color: var(--neon-green); background: rgba(0, 255, 136, 0.15); }

/* Team member */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  max-width: 360px;
  margin-inline: auto;
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 40px;
  color: var(--neon-cyan);
}

.team-name {
  font-family: var(--font-display);
  font-size: var(--pixel-sm);
  color: var(--text-bright);
  margin-bottom: var(--space-2);
}

.team-role {
  font-size: var(--text-sm);
  color: var(--neon-magenta);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

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

/* Mission/Vision cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

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

.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.mv-card h3 {
  font-family: var(--font-display);
  font-size: var(--pixel-sm);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.mv-card p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================================
   FEATURES PAGE
   ======================================== */
.feature-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12) 0;
}

.feature-highlight:nth-child(even) {
  direction: rtl;
}
.feature-highlight:nth-child(even) > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .feature-highlight,
  .feature-highlight:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.feature-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  font-size: 56px;
}

.feature-info h3 {
  font-family: var(--font-display);
  font-size: var(--pixel-lg);
  color: var(--text-bright);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.feature-info p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid;
}

.feature-tag--speed {
  color: var(--neon-cyan);
  border-color: rgba(0, 232, 255, 0.3);
  background: rgba(0, 232, 255, 0.08);
}
.feature-tag--ai {
  color: var(--neon-magenta);
  border-color: rgba(255, 45, 155, 0.3);
  background: rgba(255, 45, 155, 0.08);
}
.feature-tag--craft {
  color: var(--neon-green);
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.08);
}
.feature-tag--debug {
  color: var(--neon-amber);
  border-color: rgba(255, 170, 0, 0.3);
  background: rgba(255, 170, 0, 0.08);
}
.feature-tag--social {
  color: var(--neon-purple);
  border-color: rgba(180, 77, 255, 0.3);
  background: rgba(180, 77, 255, 0.08);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 232, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-error {
  font-size: var(--text-xs);
  color: var(--neon-magenta);
  margin-top: var(--space-1);
  display: none;
}
.form-error.visible {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--neon-cyan);
}
.form-checkbox span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: var(--pixel-sm);
  color: var(--text-bright);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition:
    color var(--transition-interactive),
    border-color var(--transition-interactive),
    background var(--transition-interactive);
}
.social-link:hover {
  color: var(--neon-cyan);
  border-color: var(--border-neon);
  background: var(--glow-cyan);
}
.social-link svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  color: var(--text-bright);
  margin-bottom: var(--space-4);
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  padding: var(--space-1) 0;
  transition: color var(--transition-interactive);
}
.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-powered {
  font-family: var(--font-display);
  font-size: var(--pixel-xs);
  color: var(--text-muted);
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--pixel-2xl);
  color: var(--text-bright);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

.page-hero p {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ========================================
   SCROLL REVEAL (CSS-only with JS fallback)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for card grids */
.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }
.reveal-delay-4 { transition-delay: 240ms; }

/* ========================================
   GLOW PULSE ANIMATION (CTAs)
   ======================================== */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 232, 255, 0.25); }
  50% { box-shadow: 0 0 32px rgba(0, 232, 255, 0.45); }
}

.btn-primary {
  animation: glow-pulse 3s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}
