/* =========================================================================
   COMPONENTS DESIGN SYSTEM
   bclarkcodes.dev — Dark Circuit Architecture (BclarkCodes Logo Alignment)
   ========================================================================= */

/* =========================================================================
   1. NAVBAR & NAVIGATION (WITH LOGO EMBLEM & PILL BADGE)
   ========================================================================= */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-navbar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  text-decoration: none;
  transition: transform var(--transition-fast);
  margin-right: clamp(16px, 3vw, 32px);
  flex-shrink: 0;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.3);
  transition: all var(--transition-normal);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.55);
}

.brand-text-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.brand-clark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-codes-pill {
  display: inline-block;
  background-color: var(--pill-bg);
  color: var(--pill-text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.brand-dot {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-lavender);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.75rem);
  list-style: none;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  transition: width var(--transition-normal);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.25rem;
  padding: 6px 10px;
  cursor: pointer;
}

/* =========================================================================
   2. BUTTONS & CTAs
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px 0 rgba(99, 102, 241, 0.35), 0 0 12px rgba(129, 140, 248, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9b94f6 0%, #818cf8 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px 0 rgba(129, 140, 248, 0.5), 0 0 16px rgba(129, 140, 248, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  background-color: var(--accent-primary-active);
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--accent-lavender);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(162, 158, 193, 0.2);
  transform: translateY(-1px);
}

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

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

/* =========================================================================
   3. HERO SECTION (LOGO-ALIGNED TYPOGRAPHY & AMBIENT GLOW)
   ========================================================================= */
.hero-section {
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(129, 140, 248, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-primary-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(129, 140, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}

/* Oversized Headline (Logo Sans Proportions) */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 24px;
  max-width: 960px;
  position: relative;
  z-index: 1;
  overflow-wrap: break-word;
}

.hero-headline .highlight {
  background: linear-gradient(135deg, #a29ec1 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subhead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 780px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

/* Proof / Trust Metrics Banner */
.hero-proof-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.proof-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================================
   4. SERVICES ROW (3 DISTINCT COLOR BLOCKS WITH PRICING)
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.service-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 36px);
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Tile 1: WordPress Development (Deep Sapphire Midnight Block) */
.tile-wp {
  background-color: var(--tile-wp-bg);
  border: 1px solid var(--tile-wp-border);
}

.tile-wp .tile-tag {
  background: var(--tile-wp-badge-bg);
  color: var(--tile-wp-badge-text);
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.tile-wp .tile-price {
  color: #ffffff;
}

/* Tile 2: AI Integration & Automation (Deep Emerald Circuit Block) */
.tile-ai {
  background-color: var(--tile-ai-bg);
  border: 1px solid var(--tile-ai-border);
}

.tile-ai .tile-tag {
  background: var(--tile-ai-badge-bg);
  color: var(--tile-ai-badge-text);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.tile-ai .tile-price {
  color: #ffffff;
}

/* Tile 3: Custom Bots & Workflow (Deep Obsidian Violet Block) */
.tile-bots {
  background-color: var(--tile-bot-bg);
  border: 1px solid var(--tile-bot-border);
}

.tile-bots .tile-tag {
  background: var(--tile-bot-badge-bg);
  color: var(--tile-bot-badge-text);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.tile-bots .tile-price {
  color: #ffffff;
}

.tile-header {
  margin-bottom: 20px;
}

.tile-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.tile-title {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #ffffff;
}

.tile-price-anchor {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(162, 158, 193, 0.2);
}

.tile-price-prefix {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tile-price {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tile-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.tile-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-secondary);
}

.tile-features li strong {
  color: #ffffff;
}

.tile-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-lavender);
}

.tile-footer {
  padding-top: 16px;
  border-top: 1px dashed rgba(162, 158, 193, 0.25);
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: rgba(162, 158, 193, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(162, 158, 193, 0.25);
  transition: all var(--transition-fast);
}

.proof-pill:hover {
  background: rgba(162, 158, 193, 0.25);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.3);
}

/* Pre-Qualifying Lead Banner */
.services-scope-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: var(--shadow-xs);
}

.services-scope-note p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
}

.services-scope-note strong {
  color: #ffffff;
}

/* =========================================================================
   5. CASE STUDIES (3 CARDS, CLICK-THROUGH TO DETAIL SUB-PAGES)
   ========================================================================= */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  text-decoration: none;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.8), 0 0 24px rgba(129, 140, 248, 0.25);
  border-color: var(--accent-primary);
}

.case-preview {
  position: relative;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.case-card:hover .case-preview img {
  transform: scale(1.03);
}

.case-card-body {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.case-domain-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.case-title {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Problem -> What Was Built -> Result Structure */
.case-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--text-sm);
}

.breakdown-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.label-problem { color: #f87171; }
.label-built { color: var(--accent-lavender); }
.label-result { color: #4ade80; }

.breakdown-text {
  color: var(--text-secondary);
  line-height: 1.45;
}

.case-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-primary);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* =========================================================================
   6. ABOUT SECTION (TECHNICAL CREDIBILITY)
   ========================================================================= */
.about-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-text p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.about-text p:last-of-type {
  margin-bottom: 28px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 32px);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-item svg {
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-item h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.pillar-item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* =========================================================================
   7. CONTACT SECTION & CONVERSION FORM
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 56px);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-panel h3 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  letter-spacing: -0.03em;
  color: #ffffff;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.contact-channel-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.25);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-primary-light);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
}

.copy-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.35);
}

/* Form Styling */
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: #ffffff;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
  outline: none;
}

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

.form-status-msg {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: 16px;
  display: none;
}

.form-status-msg.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.form-status-msg.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* =========================================================================
   8. FOOTER
   ========================================================================= */
.footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface);
  padding-top: 48px;
  padding-bottom: 48px;
  margin-top: 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

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

/* =========================================================================
   9. MODAL (BOOKING & CALL OVERLAY)
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 540px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-primary);
  color: #ffffff;
}

/* =========================================================================
   10. ASTRA-MODELED DESIGN SYSTEM ADDITIONS (wpastra.com)
   Harmonized with BclarkCodes Logo Colors (#0d0c15, #a29ec1, #818cf8, #ffffff)
   ========================================================================= */

/* Top Announcement Bar */
.top-announcement-bar {
  background: linear-gradient(90deg, rgba(92, 45, 221, 0.35) 0%, rgba(13, 12, 21, 0.95) 50%, rgba(92, 45, 221, 0.35) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 16px;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--text-secondary);
  text-align: center;
  position: relative;
  z-index: 1001;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34d399;
  font-weight: 700;
}

.announcement-live-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulseDot 2s infinite;
}

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

.announcement-tel-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.announcement-tel-link:hover {
  color: var(--accent-primary);
}

/* Astra-Style High-Conversion Pill Buttons */
.btn-pill-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-amber);
  color: var(--accent-amber-text) !important;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-amber);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-pill-amber:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 195, 0, 0.5);
  color: var(--accent-amber-text) !important;
}

.btn-pill-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: #0d0c15 !important;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-pill);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-pill-white:hover {
  background-color: #f1f0fb;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.4);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent-lavender);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-pill-outline:hover {
  border-color: #ffffff;
  background: rgba(162, 158, 193, 0.15);
  transform: translateY(-2px);
}

/* Call Button (Mobile & Desktop Tap Target) */
.btn-pill-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(129, 140, 248, 0.18);
  border: 1px solid var(--accent-primary);
  color: #ffffff !important;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-pill-tel:hover {
  background: var(--accent-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-glow);
}

/* Persona Grid (Astra Block 1: "Made for Everyone") */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: 40px;
}

.persona-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.persona-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-primary));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.persona-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

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

.persona-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.persona-title {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.persona-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

.persona-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.persona-list svg {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Trust Domain Strip (Astra Block 2) */
.trust-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
  background: rgba(13, 12, 21, 0.6);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.trust-badge-item:hover {
  border-color: var(--accent-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.trust-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

/* Performance 6-Card Telemetry Grid (Astra Block 8 & 9) */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: 48px;
}

.perf-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.perf-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.perf-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #ffffff;
}

.perf-stat-num.highlight-amber {
  color: var(--accent-amber);
}

.perf-stat-num.highlight-emerald {
  color: #34d399;
}

.perf-stat-num.highlight-cyan {
  color: var(--accent-cyan);
}

.perf-stat-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.perf-stat-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* Comparison Table (Why bclarkcodes vs Traditional Agencies) */
.comparison-wrap {
  margin-top: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: rgba(8, 8, 17, 0.5);
}

.comparison-table th.col-highlight,
.comparison-table td.col-highlight {
  background: rgba(129, 140, 248, 0.08);
  border-left: 1px solid var(--border-accent);
  border-right: 1px solid var(--border-accent);
}

.comparison-table td.col-highlight {
  color: #ffffff;
  font-weight: 600;
}

.comparison-feature-name {
  font-weight: 700;
  color: #ffffff;
}

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34d399;
  font-weight: 700;
  font-size: var(--text-xs);
}

.badge-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f87171;
  font-weight: 600;
  font-size: var(--text-xs);
}

/* E-Commerce Showcase Grid */
.ecom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.ecom-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition-normal);
}

.ecom-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ecom-icon {
  color: var(--accent-primary);
  margin-bottom: 6px;
}

.ecom-card h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.ecom-card p {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.is-active {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  gap: 16px;
}

.faq-question-btn svg {
  color: var(--accent-lavender);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.is-active .faq-question-btn svg {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer-panel {
  padding: 0 24px 20px 24px;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  display: none;
}

.faq-item.is-active .faq-answer-panel {
  display: block;
}

/* Astra-Modeled CTA Banner (Block 15) */
.astra-cta-banner {
  background: linear-gradient(135deg, rgba(92, 45, 221, 0.45) 0%, rgba(20, 18, 33, 0.95) 50%, rgba(92, 45, 221, 0.45) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-2xl);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  margin: 64px 0;
}

.astra-cta-banner::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 50% 0%, rgba(129, 140, 248, 0.35), transparent 70%);
  pointer-events: none;
}

.astra-cta-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.astra-cta-subhead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 32px auto;
  line-height: var(--leading-relaxed);
}

.astra-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Direct Phone Callout Card */
.direct-phone-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.phone-info-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-icon-round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.phone-number-big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.phone-number-big:hover {
  color: var(--accent-primary);
}

.phone-availability {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #34d399;
}

/* Multi-Column Astra Footer */
.astra-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
  .persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .perf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ecom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .astra-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .persona-grid {
    grid-template-columns: 1fr;
  }
  .perf-grid {
    grid-template-columns: 1fr;
  }
  .ecom-grid {
    grid-template-columns: 1fr;
  }
  .astra-footer-grid {
    grid-template-columns: 1fr;
  }
  .direct-phone-box {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   MODERN WORDPRESS BLOG & TECHNICAL PUBLICATION STYLES
   ========================================================================== */

/* Reading Progress Bar (Fixed Top) */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 9999;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-lavender) 50%, var(--accent-amber) 100%);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.7);
  transition: width 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography & Legibility Best Practices */
h1, h2, h3, h4, .post-title, .blog-card-title {
  text-wrap: balance;
}

p, .post-content li, .blog-card-excerpt, blockquote {
  text-wrap: pretty;
}

/* Single Article Layout */
.post-header {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.post-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.post-breadcrumbs a {
  color: var(--accent-lavender);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.post-breadcrumbs a:hover {
  color: #ffffff;
}

.post-meta-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.post-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(129, 140, 248, 0.12);
  color: var(--accent-lavender);
  border: 1px solid rgba(129, 140, 248, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-read-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  object-fit: cover;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.4);
}

.post-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-author-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
}

.post-author-title {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.post-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  align-items: start;
}

/* Sticky Table of Contents (TOC) */
.post-toc-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-lavender);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.4;
  display: block;
  padding-left: 10px;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.toc-link:hover {
  color: #ffffff;
  border-left-color: var(--accent-primary);
}

.toc-link.is-active {
  color: var(--accent-amber);
  font-weight: 700;
  border-left-color: var(--accent-amber);
  padding-left: 12px;
}

.toc-link.toc-sub {
  padding-left: 20px;
  font-size: 0.78rem;
  opacity: 0.85;
}

.toc-link.toc-sub.is-active {
  padding-left: 22px;
}

/* Article Prose Styling */
.post-main-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-main-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 48px 0 20px 0;
  letter-spacing: -0.025em;
  scroll-margin-top: 100px;
}

.post-main-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #ffffff;
  margin: 36px 0 16px 0;
  scroll-margin-top: 100px;
}

.post-main-content p {
  margin-bottom: 24px;
}

.post-main-content ul, .post-main-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.post-main-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.post-main-content strong {
  color: #ffffff;
}

.post-main-content blockquote {
  background: rgba(129, 140, 248, 0.05);
  border-left: 4px solid var(--accent-primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-primary);
}

/* Terminal Window Code Blocks */
.code-terminal {
  background: #09080e;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  margin: 32px 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.code-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #13121d;
  border-bottom: 1px solid var(--border-light);
}

.code-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-copy-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.code-copy-btn:hover {
  background: rgba(129, 140, 248, 0.15);
  color: #ffffff;
  border-color: var(--accent-primary);
}

.code-terminal pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Technical Callout Alert Boxes */
.callout-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-xl);
  margin: 32px 0;
  border: 1px solid;
}

.callout-box.tip {
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.25);
  color: #a7f3d0;
}

.callout-box.insight {
  background: rgba(129, 140, 248, 0.08);
  border-color: rgba(129, 140, 248, 0.25);
  color: #c7d2fe;
}

.callout-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.callout-content {
  font-size: 0.95rem;
  line-height: 1.6;
}

.callout-content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

/* Author Credibility Card */
.author-bio-card {
  margin-top: 56px;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 24px;
  align-items: center;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.35);
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-text h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.author-bio-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.author-bio-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Bento Grid Blog Architecture */
.blog-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(129, 140, 248, 0.15);
}

.blog-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #09080e;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.blog-card-tag {
  color: var(--accent-lavender);
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-read {
  color: var(--text-muted);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent-amber);
}

/* Category Filter Tabs */
.blog-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-primary);
  color: #ffffff;
}

.filter-btn.is-active {
  background: rgba(129, 140, 248, 0.18);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.3);
}


/* ==========================================================================
   ASTRA-STYLE LAYERED CARD STACK SCROLL ANIMATION
   ========================================================================== */
.case-stack-wrapper {
  display: flex;
  flex-direction: column;
  gap: 70px;
  position: relative;
  margin-top: 48px;
  padding-bottom: 80px;
}

.stack-card {
  position: sticky;
  border-radius: var(--radius-2xl);
  background: #11101d;
  border: 1px solid var(--border-light);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.7), 0 24px 60px rgba(0, 0, 0, 0.9);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease, box-shadow 0.35s ease;
  will-change: transform, filter;
  overflow: hidden;
}

/* Staggered sticky top offsets */
.stack-card:nth-child(1) {
  top: calc(var(--header-height) + 24px);
  z-index: 10;
}

.stack-card:nth-child(2) {
  top: calc(var(--header-height) + 52px);
  z-index: 20;
}

.stack-card:nth-child(3) {
  top: calc(var(--header-height) + 80px);
  z-index: 30;
}

.stack-card-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4.5vw, 48px);
  align-items: center;
}

.stack-card-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.stack-badge-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-lavender);
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.stack-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.stack-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.stack-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.stack-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.spec-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stack-narrative-points {
  font-size: var(--text-xs);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
}

.stack-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stack-card-visual {
  width: 100%;
}

.browser-mockup-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #09080e;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-normal);
}

.stack-card:hover .browser-mockup-frame {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.4);
}

.browser-mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #161523;
  border-bottom: 1px solid var(--border-subtle);
}

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

.browser-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-dots .dot.red { background: #ff5f56; }
.browser-dots .dot.yellow { background: #ffbd2e; }
.browser-dots .dot.green { background: #27c93f; }

.browser-url-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.browser-mockup-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   UNIQUE FEATURE: INTERACTIVE AUTOMATION & SPEED ROI CALCULATOR
   ========================================================================== */
.roi-calculator-box {
  background: linear-gradient(135deg, rgba(26, 23, 44, 0.95) 0%, rgba(13, 12, 21, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  margin-top: 48px;
}

.roi-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.calc-slider-group {
  margin-bottom: 28px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-slider-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
}

.calc-slider-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-amber);
}

.custom-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #232236;
  outline: none;
  -webkit-appearance: none;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-amber);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(255, 195, 0, 0.7);
  transition: transform 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-results-card {
  background: #0d0c15;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(129, 140, 248, 0.05);
}

.roi-stat-big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #34d399;
  line-height: 1.1;
  margin: 12px 0 6px 0;
  text-shadow: 0 0 24px rgba(52, 211, 153, 0.35);
}

.roi-stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.roi-breakdown-row {
  display: flex;
  justify-content: space-around;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.roi-substat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roi-substat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

/* ==========================================================================
   UNIQUE FEATURE: FLOATING DIRECT CONNECT QUICK-DOCK
   ========================================================================== */
.floating-quick-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(19, 18, 29, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(129, 140, 248, 0.2);
  transition: all 0.3s ease;
}

.floating-quick-dock:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(129, 140, 248, 0.35);
}

.dock-tel-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.dock-tel-link:hover {
  background: rgba(255, 195, 0, 0.2);
  color: var(--accent-amber);
}

@media (max-width: 900px) {
  .stack-card-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .roi-calc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .floating-quick-dock {
    bottom: 16px;
    width: 90%;
    justify-content: space-between;
    padding: 8px 12px;
  }
  .dock-tel-link span {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   UNIQUE FEATURE: LIVE WEB SPEED & ARCHITECTURE DIAGNOSTIC TERMINAL
   ========================================================================== */
.diagnostic-box {
  background: linear-gradient(135deg, rgba(20, 18, 33, 0.96) 0%, rgba(10, 9, 16, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(129, 140, 248, 0.1);
  margin-top: 40px;
}

.diagnostic-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.diagnostic-input-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.diagnostic-input-wrap svg {
  position: absolute;
  left: 16px;
  color: var(--accent-lavender);
  pointer-events: none;
}

.diagnostic-url-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: #09080e;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.diagnostic-url-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
}

.preset-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.preset-pill-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.preset-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--accent-lavender);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-pill:hover {
  background: rgba(129, 140, 248, 0.15);
  border-color: var(--accent-primary);
  color: #ffffff;
}

.diagnostic-terminal-window {
  background: #08070d;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

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

.terminal-header-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseDot 2s infinite ease-in-out;
}

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

.terminal-logs {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #a29ec1;
  min-height: 180px;
  max-height: 240px;
  overflow-y: auto;
}

.terminal-line {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.terminal-prefix {
  color: var(--accent-primary);
  font-weight: 700;
}

.terminal-success {
  color: #34d399;
}

.terminal-warn {
  color: var(--accent-amber);
}

.terminal-error {
  color: #f87171;
}

.diagnostic-results-panel {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeIn 0.4s ease-out forwards;
}

.diagnostic-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.diag-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}

.diag-metric-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.diag-metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.diag-summary-banner {
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   UNIQUE FEATURE: REAL-TIME SUB-50MS VALUATION & SPOT MATH ENGINE
   ========================================================================== */
.valuation-sandbox-box {
  background: linear-gradient(135deg, rgba(22, 20, 36, 0.95) 0%, rgba(12, 11, 20, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  margin-top: 40px;
}

.spot-ticker-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #09080e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  white-space: nowrap;
}

.ticker-metal {
  font-weight: 700;
  color: #ffffff;
}

.ticker-price {
  font-weight: 800;
  color: var(--accent-amber);
}

.ticker-change {
  color: #34d399;
  font-size: 0.72rem;
}

.ticker-divider {
  width: 1px;
  height: 16px;
  background: var(--border-subtle);
}

.melt-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.metal-select-group {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.metal-select-btn {
  flex: 1;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.metal-select-btn.is-active {
  background: rgba(255, 195, 0, 0.15);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.latency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: 12px;
}

/* ==========================================================================
   UNIQUE FEATURE: DEVELOPER COMMAND PALETTE & HUD (Cmd + K)
   ========================================================================== */
.cmd-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--accent-lavender);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmd-trigger-btn:hover {
  background: rgba(129, 140, 248, 0.18);
  border-color: var(--accent-primary);
  color: #ffffff;
}

.cmd-kbd-badge {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.68rem;
}

.cmd-palette-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(60px, 12vh, 120px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cmd-palette-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.cmd-palette-modal {
  width: 90%;
  max-width: 600px;
  background: #11101d;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(129, 140, 248, 0.2);
  overflow: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.2s ease;
}

.cmd-palette-backdrop.is-open .cmd-palette-modal {
  transform: translateY(0) scale(1);
}

.cmd-palette-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: #161524;
}

.cmd-palette-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: #ffffff;
  padding-left: 12px;
}

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

.cmd-palette-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
}

.cmd-palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmd-palette-item:hover,
.cmd-palette-item.is-selected {
  background: rgba(129, 140, 248, 0.15);
  color: #ffffff;
}

.cmd-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmd-item-action {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-lavender);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.cmd-palette-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #09080e;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .diagnostic-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .melt-calc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .diagnostic-metrics-grid {
    grid-template-columns: 1fr;
  }
  .diag-summary-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}


