/* ==========================================================================
   l2cweb Showcase Design System — Glassmorphic Dark Tech Aesthetic
   Zero External Dependencies • Pure Modern CSS3 • Responsive System
   ========================================================================== */

:root {
  /* Color Palette - Deep Dark Tech */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-surface: #1f2937;
  --bg-glass: rgba(17, 24, 39, 0.75);
  --bg-glass-card: rgba(31, 41, 55, 0.65);
  --bg-glass-input: rgba(17, 24, 39, 0.85);

  /* Borders & Overlays */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(99, 102, 241, 0.40);
  --border-glass-active: rgba(59, 130, 246, 0.60);
  --glass-overlay: rgba(255, 255, 255, 0.03);

  /* Accents & Gradients */
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-cyan: #38bdf8;
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18), transparent 70%);
  --glow-primary: 0 0 25px rgba(99, 102, 241, 0.35);

  /* Status Badges */
  --badge-published: #10b981;
  --badge-published-bg: rgba(16, 185, 129, 0.15);
  --badge-published-border: rgba(16, 185, 129, 0.30);
  --badge-warning: #f59e0b;
  --badge-warning-bg: rgba(245, 158, 11, 0.15);
  --badge-warning-border: rgba(245, 158, 11, 0.30);
  --badge-danger: #ef4444;
  --badge-danger-bg: rgba(239, 68, 68, 0.15);
  --badge-danger-border: rgba(239, 68, 68, 0.30);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-accent: #60a5fa;

  /* Elevations & Blurs */
  --backdrop-blur: blur(12px);
  --backdrop-blur-heavy: blur(16px);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --modal-shadow: 0 20px 50px rgba(0, 0, 0, 0.70);

  /* Layout */
  --header-height: 72px;
  --container-max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glow Mesh */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.12), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.14), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--badge-published); }
.text-indigo { color: var(--accent-indigo); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-glass);
  color: var(--text-primary);
  backdrop-filter: var(--backdrop-blur);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  backdrop-filter: var(--backdrop-blur);
}
.btn-glass:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
}

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

.btn-primary-sm {
  padding: 0.4375rem 0.9375rem;
  font-size: 0.875rem;
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-primary-sm:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-outline-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-accent);
  background: rgba(56, 189, 248, 0.05);
  transition: all var(--transition-fast);
}
.btn-outline-sm:hover {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
}

.btn-lg {
  padding: 0.8125rem 1.625rem;
  font-size: 1rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 1.75rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), var(--glow-primary);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(11, 15, 25, 0.82);
  backdrop-filter: var(--backdrop-blur-heavy);
  -webkit-backdrop-filter: var(--backdrop-blur-heavy);
  border-bottom: 1px solid var(--border-glass);
  z-index: 100;
  transition: background var(--transition-normal);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.logo-icon {
  font-size: 1.35rem;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.7));
}

.brand-logo .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 0.25rem 0.5rem;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.nav-admin-link {
  font-size: 0.8125rem;
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.nav-admin-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--badge-published);
  box-shadow: 0 0 10px var(--badge-published);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.contact-pill.zalo-pill:hover {
  border-color: #0088ff;
  color: #38bdf8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Visual Preview Card */
.hero-visual {
  position: relative;
}

.hero-preview-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.card-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  pointer-events: none;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.875rem;
  margin-bottom: 1.25rem;
}

.traffic-lights {
  display: flex;
  gap: 6px;
}

.light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.light.red { background-color: #ef4444; }
.light.yellow { background-color: #f59e0b; }
.light.green { background-color: #10b981; }

.preview-title {
  font-size: 0.8125rem;
  font-family: monospace;
  color: var(--text-muted);
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.metric-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.metric-val {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preview-terminal {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.875rem;
  font-family: monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #a5b4fc;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Highlights Section (USPs)
   ========================================================================== */
.highlights-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  padding: 1.75rem;
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.highlight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.625rem;
  color: #ffffff;
}

.highlight-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Solutions Catalog Section
   ========================================================================== */
.solutions-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.filter-pill {
  padding: 0.4375rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.filter-pill.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.search-box input {
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass-input);
  color: var(--text-primary);
  outline: none;
  min-width: 260px;
  transition: all var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2rem;
}

/* Solution Card Component */
.solution-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-badge {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.solution-badge.popular {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.35);
  color: #f472b6;
}

.solution-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.solution-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.solution-pricing {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.price-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.price-item:last-child {
  margin-bottom: 0;
}

.price-item .label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.price-item .amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.price-item .unit {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.features-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.feature-check {
  color: var(--badge-published);
  font-weight: bold;
  flex-shrink: 0;
}

.solution-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

/* Skeleton Loading */
.skeleton-card {
  height: 420px;
  background: linear-gradient(90deg, rgba(31, 41, 55, 0.4) 25%, rgba(55, 65, 81, 0.5) 50%, rgba(31, 41, 55, 0.4) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
}

@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  max-width: 900px;
  margin: 0 auto;
}

.skill-badge {
  padding: 0.5rem 1.125rem;
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all var(--transition-fast);
}

.skill-badge:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-indigo);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cta-card {
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.7));
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.15);
}

.cta-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   Consultation Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: var(--backdrop-blur-heavy);
  -webkit-backdrop-filter: var(--backdrop-blur-heavy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity var(--transition-normal);
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--modal-shadow);
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: #ffffff;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #ffffff;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
}

label .req {
  color: var(--badge-danger);
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--bg-glass-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.field-error {
  font-size: 0.8125rem;
  color: var(--badge-danger);
  margin-top: 0.25rem;
  min-height: 1rem;
}

.form-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.form-alert.hidden {
  display: none;
}

.form-alert.alert-error {
  background: var(--badge-danger-bg);
  border: 1px solid var(--badge-danger-border);
  color: #fca5a5;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  box-shadow: var(--modal-shadow);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-success { border-left: 4px solid var(--badge-published); }
.toast.toast-error { border-left: 4px solid var(--badge-danger); }
.toast.toast-info { border-left: 4px solid var(--accent-blue); }

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: rgba(11, 15, 25, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-left {
  max-width: 400px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0.75rem 0 0.5rem;
}

.copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-contacts a {
  color: var(--text-secondary);
}

.footer-contacts a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: var(--backdrop-blur);
    border-right: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 2rem 1.5rem;
    transition: left var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.open {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
  }

  .solution-actions {
    grid-template-columns: 1fr;
  }
}
