/* ==========================================================================
   DevForge - Professional Web Developer Portfolio & Digital Storefront
   Design System: High-End Developer Dark Aesthetic (Modern Slate, Emerald & Cyber Blue)
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
  /* Dark Slate Base Palette */
  --bg-primary: #090D16;
  --bg-secondary: #0F172A;
  --bg-tertiary: #1E293B;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.8);
  --bg-elevated: #1E293B;
  
  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(16, 185, 129, 0.35);
  --border-focus: #10B981;

  /* Text & Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #090D16;

  /* Accent & Status Colors */
  --accent-emerald: #10B981;
  --accent-emerald-light: #34D399;
  --accent-emerald-bg: rgba(16, 185, 129, 0.12);
  --accent-cyan: #06B6D4;
  --accent-cyan-bg: rgba(6, 182, 212, 0.12);
  --accent-blue: #3B82F6;
  --accent-blue-hover: #2563EB;
  --accent-blue-bg: rgba(59, 130, 246, 0.12);
  --accent-purple: #8B5CF6;
  --accent-purple-bg: rgba(139, 92, 246, 0.12);
  --accent-amber: #F59E0B;
  --accent-amber-bg: rgba(245, 158, 11, 0.12);
  --accent-rose: #F43F5E;
  --accent-rose-bg: rgba(244, 63, 94, 0.12);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', monospace;

  /* Layout & Spacing */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-glow-blue: 0 0 25px rgba(59, 130, 246, 0.25);

  /* 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.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Global Resets & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
  min-height: 100vh;
}

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

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

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

/* 3. Utility Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 860px;
}

.container-lg {
  max-width: 1380px;
}

/* 4. Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }

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

.text-gradient-emerald {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38BDF8 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* 5. Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-emerald);
  color: #042F1A;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-emerald-light);
  box-shadow: var(--shadow-glow-emerald);
  transform: translateY(-1px);
}

.btn-cyan {
  background-color: var(--accent-cyan);
  color: #082F49;
  font-weight: 700;
}

.btn-cyan:hover {
  background-color: #38BDF8;
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-1px);
}

.btn-blue {
  background-color: var(--accent-blue);
  color: #FFFFFF;
}

.btn-blue:hover {
  background-color: var(--accent-blue-hover);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-outline-emerald {
  background-color: var(--accent-emerald-bg);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald-light);
}

.btn-outline-emerald:hover {
  background-color: rgba(16, 185, 129, 0.22);
  border-color: var(--accent-emerald);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-icon-only {
  padding: 10px;
  border-radius: var(--radius-sm);
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-emerald {
  background-color: var(--accent-emerald-bg);
  color: var(--accent-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.experience-badge,
.badge-experience {
  background-color: rgba(16, 185, 129, 0.75) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.badge-cyan {
  background-color: var(--accent-cyan-bg);
  color: #38BDF8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-purple {
  background-color: var(--accent-purple-bg);
  color: #A78BFA;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-amber {
  background-color: var(--accent-amber-bg);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-subtle {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

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

/* 6. Navigation Bar & Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-symbol {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #042F1A;
  font-weight: 900;
  font-family: var(--font-mono);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.brand-name span {
  color: var(--accent-emerald-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-emerald);
  border-radius: 2px;
}

.nav-badge-new {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: var(--accent-emerald);
  color: #042F1A;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Cart Button in Header */
.header-cart-btn {
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header-cart-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
}

.cart-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-emerald);
  color: #042F1A;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-drawer.active {
  display: block;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-drawer-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 7. Hero Section & Developer Terminal */
.hero-section {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title span.role {
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.02em;
  margin-top: 8px;
  font-family: var(--font-mono);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.hero-stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive Developer Terminal Widget */
.terminal-window {
  background-color: #0A0F1D;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(16, 185, 129, 0.08);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  background-color: #111726;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-branch {
  font-size: 0.75rem;
  color: var(--accent-emerald-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.terminal-body {
  padding: 20px;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.7;
}

.terminal-line {
  margin-bottom: 8px;
}

.terminal-prompt {
  color: var(--accent-emerald-light);
}

.terminal-cmd {
  color: #F8FAFC;
  font-weight: 600;
}

.terminal-out {
  color: var(--text-secondary);
  padding-left: 14px;
}

.terminal-out-highlight {
  color: #38BDF8;
}

.terminal-out-success {
  color: var(--accent-emerald-light);
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  flex: 1;
}

.terminal-tags-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  background-color: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}

.terminal-hint-pill {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.terminal-hint-pill:hover {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald-light);
}

/* 8. Sections Layout */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* 9. Marketplace Filter & Product Grid */
.marketplace-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.filter-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background-color: var(--accent-emerald-bg);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald-light);
}

.search-input-wrapper {
  position: relative;
  min-width: 240px;
}

.search-input-wrapper input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input-wrapper input:focus {
  border-color: var(--accent-emerald);
}

.search-icon-svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Product Card (Themes & Plugins) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-preview {
  position: relative;
  height: 210px;
  background-color: #0A0F1D;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.product-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card-preview img {
  transform: scale(1.05);
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 22, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-card:hover .preview-overlay {
  opacity: 1;
}

.product-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-rating-top {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #FBBF24;
  border: 1px solid var(--border-subtle);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.product-framework-tag {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-bg);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.product-downloads-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-feature-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-feature-item {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-feature-item svg {
  color: var(--accent-emerald-light);
  flex-shrink: 0;
}

/* Product Pricing & License Select */
.product-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.license-select-wrapper {
  display: flex;
  gap: 4px;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.license-opt-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.license-opt-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.license-opt-btn.active {
  background-color: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald-light);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.product-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.price-original {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-btn-group {
  display: flex;
  gap: 8px;
}

/* 10. Developer Services & Capabilities */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-emerald-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.service-deliverable-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-deliverable-item svg {
  color: var(--accent-cyan);
}

/* 11. Case Studies & Portfolio Showcase */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.case-study-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.case-study-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-study-media {
  height: 220px;
  background-color: #0A0F1D;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.case-study-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-metrics-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 13, 22, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border-subtle);
}

.case-metric {
  text-align: center;
}

.case-metric-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-emerald-light);
  font-family: var(--font-mono);
}

.case-metric-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.case-study-body {
  padding: 24px;
}

.case-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.case-tech-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.case-study-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.case-study-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* 12. Tech Stack & Engineering Skills Grid */
.tech-stack-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stack-category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.stack-category-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stack-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.stack-pill:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 13. Interactive Project Cost Estimator */
.estimator-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.estimator-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.estimator-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: block;
}

.estimator-options-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.estimator-option-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
}

.estimator-option-label input {
  display: none;
}

.estimator-option-label:has(input:checked) {
  background-color: var(--accent-emerald-bg);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald-light);
}

.estimator-slider-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estimator-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.estimator-slider {
  width: 100%;
  accent-color: var(--accent-emerald);
}

.estimator-summary-panel {
  background-color: #0A0F1D;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-estimate-header {
  margin-bottom: 20px;
}

.summary-estimate-header span {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-estimate-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-emerald-light);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.summary-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.summary-detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.summary-detail-item span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

/* 14. Testimonials & Client Reviews */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #FBBF24;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-emerald);
}

.author-info h5 {
  font-size: 0.95rem;
}

.author-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 15. Pricing Tables */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border-color: var(--accent-emerald);
  background-color: rgba(16, 185, 129, 0.04);
  box-shadow: var(--shadow-glow-emerald);
}

.pricing-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10B981, #06B6D4);
  color: #042F1A;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-name {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-amount-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-feature-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-feature-item svg {
  color: var(--accent-emerald-light);
  flex-shrink: 0;
}

/* 16. Shopping Cart Drawer & Checkout Modal */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition-smooth);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
  transition: color var(--transition-fast);
}

.cart-close-btn:hover {
  color: var(--text-primary);
}

.cart-items-container {
  padding: 20px 24px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-row {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  gap: 12px;
  position: relative;
}

.cart-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background-color: #0A0F1D;
  border: 1px solid var(--border-subtle);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cart-item-license {
  font-size: 0.78rem;
  color: var(--accent-emerald-light);
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--accent-rose);
}

.cart-empty-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
  background-color: #0B1120;
}

.cart-promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.cart-promo-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.cart-totals-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-total-row.final {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
  margin-top: 4px;
}

/* 17. Live Demo Preview Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.preview-modal-dialog {
  width: 100%;
  max-width: 1180px;
  height: 88vh;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.preview-modal-bar {
  padding: 12px 20px;
  background-color: #0A0F1D;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.device-switcher-group {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: var(--radius-xs);
}

.device-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.device-btn.active {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
}

.preview-viewport-wrapper {
  flex: 1;
  background-color: #040810;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  overflow: hidden;
}

.preview-frame-container {
  width: 100%;
  height: 100%;
  transition: all var(--transition-normal);
  background-color: #0F172A;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  overflow: auto;
}

.preview-frame-container.tablet {
  width: 768px;
  height: 96%;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.preview-frame-container.mobile {
  width: 380px;
  height: 96%;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

/* 18. Simulated Instant Checkout & License Generator Modal */
.checkout-modal-dialog {
  width: 100%;
  max-width: 580px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.license-key-box {
  background: #0A0F1D;
  border: 1px dashed var(--accent-emerald);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-emerald-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}

/* 19. Forms & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-input, .form-textarea, .form-select,
.wpcf7-text, .wpcf7-email, .wpcf7-select, .wpcf7-textarea, .wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-input:focus, .form-textarea:focus, .form-select:focus,
.wpcf7-text:focus, .wpcf7-email:focus, .wpcf7-select:focus, .wpcf7-textarea:focus, .wpcf7 select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

/* Contact Form 7 Complete Theme Styling */
.wpcf7 {
  width: 100%;
}

.wpcf7 form {
  display: block;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
}

.wpcf7 input[type="submit"],
.wpcf7-submit {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  font-size: 1.05rem;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #059669 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  width: 100%;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7-submit:hover {
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
}

.wpcf7-not-valid-tip {
  color: var(--accent-rose, #F43F5E);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.wpcf7-not-valid {
  border-color: var(--accent-rose, #F43F5E) !important;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.2) !important;
}

.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid var(--accent-emerald) !important;
  color: var(--accent-emerald-light, #34D399) !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: rgba(244, 63, 94, 0.15) !important;
  border: 1px solid var(--accent-rose, #F43F5E) !important;
  color: #FDA4AF !important;
}

.wpcf7 .ajax-loader {
  display: none !important;
}

.wpcf7 form.submitting input[type="submit"],
.wpcf7 form.submitting .wpcf7-submit {
  opacity: 0.75;
  cursor: not-allowed;
  position: relative;
}

/* 20. Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  background-color: #0F172A;
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-emerald);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-in-toast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-in-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* 21. Documentation Hub Styles */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 40px 0 80px;
}

.docs-section {
  scroll-margin-top: 100px;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.docs-sidebar::-webkit-scrollbar {
  width: 4px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.docs-nav-group {
  margin-bottom: 20px;
}

.docs-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.docs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-nav-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  display: block;
}

.docs-nav-link:hover, .docs-nav-link.active {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald-light);
}

.code-block-wrapper {
  position: relative;
  background: #0A0F1D;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin: 16px 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  overflow-x: auto;
}

.code-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.code-copy-btn:hover {
  background: var(--accent-emerald);
  color: #042F1A;
}

/* 22. Enhanced Professional Footer */
.site-footer {
  background: linear-gradient(180deg, #070B13 0%, #030712 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  padding: 0 0 36px;
  color: var(--text-secondary);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.5) 30%, rgba(6, 182, 212, 0.5) 70%, transparent 100%);
}

/* Footer Trust Highlights Bar */
.footer-trust-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0;
  margin-bottom: 56px;
  background: rgba(255, 255, 255, 0.015);
}

.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.footer-trust-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.footer-trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-trust-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.footer-trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Footer Main 5-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-desc {
  margin: 16px 0 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 360px;
}

.footer-availability-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
  margin-bottom: 20px;
  width: fit-content;
}

.footer-social-links,
.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link,
.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover,
.footer-social-link:hover {
  color: var(--accent-emerald-light);
  background: var(--accent-emerald-bg);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col-title::before {
  content: '//';
  color: var(--accent-emerald);
  font-size: 0.75rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin: 0;
  padding: 0;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-links-list a:hover {
  color: var(--accent-emerald-light);
  transform: translateX(4px);
}

/* Footer Newsletter / Ecosystem Box */
.footer-newsletter-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.footer-newsletter-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-newsletter-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-primary);
  flex: 1;
  outline: none;
}

.footer-newsletter-input:focus {
  border-color: var(--accent-emerald);
}

.footer-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* Footer Bottom Bar */
.footer-bottom,
.footer-bottom-bar {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--accent-emerald-light);
}

.footer-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald-light);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 23. Media Queries / Responsiveness */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .footer-newsletter-col {
    grid-column: span 4;
  }
  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0 60px;
  }
  .docs-sidebar {
    position: relative;
    top: 0;
    max-height: 280px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-actions .btn {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .product-grid, .services-grid, .case-studies-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-newsletter-col {
    grid-column: auto;
  }
  .footer-trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom,
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 14px;
  }
  .footer-legal-links {
    justify-content: center;
  }
}
