/**
 * EarlyWell Next-Gen Health-Tech Platform
 * Core Design System, Variables & Global Reset
 * Style Direction: Style C - Dark Tech Premium
 * (Obsidian Slate, Neon Metabolic Emerald & High-Energy Coral)
 */

/* ==========================================================================
   1. CSS Custom Properties (:root) - Style C: Dark Tech Premium
   ========================================================================== */
:root {
  /* Brand Primary Palette (Dark Tech Canvas) */
  --color-bg-base: #070a11;          /* Deepest Obsidian Void */
  --color-bg-surface: #0e1422;       /* Technical Dark Surface */
  --color-bg-card: #141c2e;          /* Elevated Health-Tech Card */
  --color-bg-card-hover: #19243b;    /* Highlight Card Surface */
  --color-bg-subtle: #1c273e;        /* Subtle Container Fill */
  --color-bg-glass: rgba(14, 20, 34, 0.82); /* Frosted Glass Container */
  --color-bg-glass-card: rgba(20, 28, 46, 0.65);

  /* Neon Health-Tech Signatures */
  --color-primary: #00f5a0;          /* Neon Metabolic Emerald (Glucose Target Color) */
  --color-primary-glow: rgba(0, 245, 160, 0.35);
  --color-primary-subtle: rgba(0, 245, 160, 0.12);
  --color-primary-border: rgba(0, 245, 160, 0.28);
  --color-primary-hover: #00dc8f;

  /* Accent Signatures */
  --color-accent-cyan: #00e5ff;      /* Pulse Cyber Cyan (Sensors & Tech Data) */
  --color-accent-cyan-glow: rgba(0, 229, 255, 0.35);
  --color-accent-cyan-subtle: rgba(0, 229, 255, 0.12);

  --color-accent-coral: #ff4d6d;     /* High-Energy Electric Coral (Urgent CTAs & Alerts) */
  --color-accent-coral-glow: rgba(255, 77, 109, 0.4);
  --color-accent-coral-hover: #ff3357;
  --color-accent-coral-subtle: rgba(255, 77, 109, 0.12);

  --color-gold: #ffbe3b;             /* Bio-Telemetry Amber (Warnings / Ratings) */
  --color-gold-subtle: rgba(255, 190, 59, 0.12);

  /* High-Definition Text Hierarchy */
  --color-text-main: #f8fafc;        /* Crisp Pure White */
  --color-text-secondary: #cbd5e1;   /* Technical High-Contrast Silver */
  --color-text-muted: #8492a6;       /* Subdued Slate (Accessible > 4.5:1) */
  --color-text-dim: #4e5d78;         /* Micro-details & Watermarks */
  --color-text-inverse: #070a11;     /* Dark text for bright neon buttons */

  /* Borders & Dividers */
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-subtle: rgba(255, 255, 255, 0.05);
  --color-border-highlight: rgba(0, 245, 160, 0.4);
  --color-border-cyan: rgba(0, 229, 255, 0.35);

  /* Status Colors */
  --color-success: #00f5a0;
  --color-warning: #ffbe3b;
  --color-danger: #ff4d6d;
  --color-info: #00e5ff;

  /* Typography */
  --font-family-base: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --font-size-xs: 0.8125rem;  /* 13px - clean legibility */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.0625rem;  /* 17px */
  --font-size-lg: 1.1875rem;  /* 19px */
  --font-size-xl: 1.375rem;   /* 22px */
  --font-size-2xl: 1.625rem;  /* 26px */
  --font-size-3xl: 1.95rem;   /* 31px */
  --font-size-4xl: 2.35rem;   /* 37.5px */
  --font-size-5xl: 2.75rem;   /* 44px - refined, not oversized */

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.15;
  --line-height-snug: 1.35;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* Shadows & Glows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.65);
  --shadow-glow-primary: 0 0 24px rgba(0, 245, 160, 0.28);
  --shadow-glow-cyan: 0 0 24px rgba(0, 229, 255, 0.28);
  --shadow-glow-coral: 0 0 24px rgba(255, 77, 109, 0.35);

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  /* Spacing Scale */
  --space-2xs: 0.25rem; /* 4px */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 0.75rem;  /* 12px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4.5rem;  /* 72px */
  --space-4xl: 6rem;    /* 96px */

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Reset & Base HTML Elements
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: var(--line-height-base);
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Ambient Health-Tech Background Pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(0, 245, 160, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(0, 229, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(255, 77, 109, 0.02) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  body::before {
    display: none;
  }
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   3. Containers & Layout Grids
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  position: relative;
  z-index: 1;
}

.container-fluid {
  width: 100%;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  position: relative;
  z-index: 1;
}

.container-narrow {
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .container, .container-fluid, .container-narrow {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 480px) {
  .container, .container-fluid, .container-narrow {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 360px) {
  .container, .container-fluid, .container-narrow {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.section-py {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.section-py-sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section-py-lg {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: var(--space-md); }
  .section-py { padding-top: 28px !important; padding-bottom: 28px !important; }
  .section-py-lg { padding-top: 32px !important; padding-bottom: 32px !important; }
  .section-py-sm { padding-top: 20px !important; padding-bottom: 20px !important; }
}

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; min-width: 0; }
.shrink-0 { flex-shrink: 0; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 720px; }
.max-w-xl { max-width: 900px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.gap-2xs { gap: var(--space-2xs); }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg);
}

.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-7 { grid-column: span 7; }
.bento-col-5 { grid-column: span 5; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

@media (max-width: 1024px) {
  .bento-col-4, .bento-col-6, .bento-col-7, .bento-col-5, .bento-col-8 {
    grid-column: span 12;
  }
}

/* ==========================================================================
   4. Typography Utilities
   ========================================================================== */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-md { font-size: var(--font-size-md); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }

.font-regular { font-weight: var(--font-weight-regular); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }

.font-mono { font-family: var(--font-family-mono); }

.text-primary { color: var(--color-primary); }
.text-cyan { color: var(--color-accent-cyan); }
.text-coral { color: var(--color-accent-coral); }
.text-gold { color: var(--color-gold); }
.text-main { color: var(--color-text-main); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-dim { color: var(--color-text-dim); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.uppercase { text-transform: uppercase; letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.08em; }

/* Word Break & Overflow Protection */
h1, h2, h3, h4, h5, h6, .hero-title, .section-title, p, span, a, label {
  overflow-wrap: break-word;
  hyphens: manual;
  -webkit-hyphens: manual;
}

.hero-title {
  font-size: clamp(1.45rem, 5.5vw, 2.65rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(1.28rem, 4.8vw, 1.45rem) !important;
    line-height: 1.25 !important;
  }
}

/* Section Header Styles */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 5px 14px;
  background: var(--color-primary-subtle);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  max-width: 100%;
}

.section-tag--cyan {
  background: var(--color-accent-cyan-subtle);
  border-color: var(--color-border-cyan);
  color: var(--color-accent-cyan);
}

.section-tag--coral {
  background: var(--color-accent-coral-subtle);
  border-color: rgba(255, 77, 109, 0.3);
  color: var(--color-accent-coral);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .section-title { font-size: 1.35rem; line-height: 1.25; }
  .section-subtitle { font-size: 0.85rem; line-height: 1.5; }
  .section-header { margin-bottom: 18px; }
  .text-5xl { font-size: 1.55rem !important; }
  .text-4xl { font-size: 1.35rem !important; }
  .text-3xl { font-size: 1.2rem !important; }
  .text-2xl { font-size: 1.05rem !important; }
  .section-tag { font-size: 9.5px; padding: 2.5px 9px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.25rem !important; line-height: 1.25 !important; }
  .section-subtitle { font-size: 0.8125rem !important; }
  .section-header { margin-bottom: 14px !important; }
}

.section-subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  max-width: 680px;
  margin-top: var(--space-xs);
  line-height: var(--line-height-base);
}

/* ==========================================================================
   5. Buttons & Interactive Controls (Touch-Friendly & Anti-Collision)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-align: center;
  transition: all var(--transition-normal);
  user-select: none;
  white-space: normal;
  line-height: 1.25;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

/* Primary High-Contrast Neon CTA */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #00d2b4 100%);
  color: var(--color-text-inverse);
  border: 1px solid rgba(0, 245, 160, 0.8);
  box-shadow: 0 4px 18px rgba(0, 245, 160, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #22f9ab 0%, #00e5c6 100%);
  box-shadow: 0 6px 26px rgba(0, 245, 160, 0.45);
  transform: translateY(-2px);
  color: var(--color-text-inverse);
}

/* Coral Urgent CTA */
.btn-coral {
  background: linear-gradient(135deg, var(--color-accent-coral) 0%, #ff1f4b 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 77, 109, 0.8);
  box-shadow: 0 4px 18px rgba(255, 77, 109, 0.35);
}

.btn-coral:hover {
  background: linear-gradient(135deg, #ff6681 0%, #ff3357 100%);
  box-shadow: 0 6px 26px rgba(255, 77, 109, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Secondary / Tech Glass Outline */
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Cyan Glow Button */
.btn-cyan {
  background: rgba(0, 229, 255, 0.12);
  color: var(--color-accent-cyan);
  border: 1px solid var(--color-border-cyan);
}

.btn-cyan:hover {
  background: rgba(0, 229, 255, 0.22);
  border-color: var(--color-accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid transparent;
  padding: 8px 14px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-main);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--font-size-xs);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--font-size-base);
  border-radius: var(--radius-lg);
}

@media (max-width: 640px) {
  .btn {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    gap: 8px;
  }
  .btn-lg {
    min-height: 40px;
    padding: 9px 18px;
    font-size: 13px;
    border-radius: var(--radius-sm);
  }
  .btn-sm {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 11.5px;
    border-radius: var(--radius-xs);
  }
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .btn-group {
    gap: 10px;
    width: 100%;
  }
}

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

/* ==========================================================================
   6. Badges & Health Telemetry Indicators
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

.badge-primary {
  background: rgba(0, 245, 160, 0.16);
  color: #00f5a0;
  border: 1px solid rgba(0, 245, 160, 0.7);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.25);
  text-shadow: 0 0 8px rgba(0, 245, 160, 0.35);
}

.badge-cyan {
  background: rgba(0, 229, 255, 0.16);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
}

.badge-coral {
  background: rgba(255, 77, 109, 0.18);
  color: #ff4d6d;
  border: 1px solid rgba(255, 77, 109, 0.75);
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.3);
  text-shadow: 0 0 8px rgba(255, 77, 109, 0.35);
}

.badge-secondary {
  background: rgba(14, 20, 34, 0.85);
  color: #c5d1e8;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Pulsing Status Dot */
.status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  position: relative;
}

.status-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   7. Cards & Surface Elevation
   ========================================================================== */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.card-glow-primary:hover {
  border-color: var(--color-border-highlight);
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 160, 0.2);
}

.card-glow-coral:hover {
  border-color: rgba(255, 77, 109, 0.5);
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 77, 109, 0.25);
}

.card-glow-cyan:hover {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.25);
}

.card-glass {
  background: var(--color-bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
}

.p-3 { padding: var(--space-sm); }
.p-4 { padding: var(--space-md); }
.p-5 { padding: var(--space-lg); }
.p-6 { padding: var(--space-xl); }

@media (max-width: 640px) {
  .p-6 { padding: 14px 14px !important; }
  .p-5 { padding: 12px 12px !important; }
  .p-4 { padding: 10px 12px !important; }
  .card { border-radius: var(--radius-md) !important; }
}
.mb-1 { margin-bottom: var(--space-2xs); }
.mb-2 { margin-bottom: var(--space-xs); }
.mb-3 { margin-bottom: var(--space-sm); }
.mb-4 { margin-bottom: var(--space-md); }
.mb-5 { margin-bottom: var(--space-lg); }
.mt-1 { margin-top: var(--space-2xs); }
.mt-2 { margin-top: var(--space-xs); }
.mt-3 { margin-top: var(--space-sm); }
.mt-4 { margin-top: var(--space-md); }
.mt-5 { margin-top: var(--space-lg); }
.block { display: block; }

/* ==========================================================================
   8. Form Controls (Dark Tech Inputs)
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.15);
  background-color: var(--color-bg-card);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300f5a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
