/**
 * Authentic & Original Platform UI Showcase Component Styles
 *
 * Implements pixel-accurate, unedited platform interfaces:
 * 1. Google Search Console & Google AI Overview (SEO)
 * 2. Google Ads & Meta CAPI Manager (Paid Media)
 * 3. Google PageSpeed Insights & Lighthouse (Web Dev)
 * 4. Apple App Store Connect & TestFlight (App Dev)
 * 5. Klaviyo Lifecycle Automation Flow Builder (Email)
 * 6. Google Analytics 4 (GA4) Attribution Matrix (Digital Marketing)
 *
 * @package GeneratePressChild
 */

/* ==========================================================================
   1. Base Showcase UI Container
   ========================================================================== */
.service-showcase-ui {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  color: #202124;
  font-family: 'Roboto', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  user-select: none;
  box-sizing: border-box;
}

.service-showcase-ui * {
  box-sizing: border-box;
}

/* Card Variant (Services Grid Catalog) */
.service-showcase-ui--card {
  height: 240px;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

/* Hero Variant (Single Service Hero Stage) */
.service-showcase-ui--hero {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.service-showcase-ui--hero .gsc-authentic-window,
.service-showcase-ui--hero .adops-authentic-window,
.service-showcase-ui--hero .pagespeed-authentic-window,
.service-showcase-ui--hero .appstore-authentic-window,
.service-showcase-ui--hero .klaviyo-authentic-window,
.service-showcase-ui--hero .ga4-authentic-window {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
}

.service-showcase-ui--hero .gsc-view-pane {
  flex: 1;
  justify-content: space-between;
}

.service-showcase-ui--hero .gsc-chart-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 135px;
  margin-bottom: 0.65rem;
}

.service-showcase-ui--hero .gsc-chart-svg {
  height: 100%;
  min-height: 110px;
  max-height: 145px;
}

/* AdOps ROAS Chart */
.adops-chart-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  justify-content: center;
}
.adops-chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
}
.adops-chart-title { color: #94A3B8; font-weight: 500; }
.adops-chart-badge { color: #34D399; font-weight: 600; }
.adops-chart-svg { width: 100%; height: 60px; display: block; }

/* PageSpeed Passed Audits List */
.pagespeed-audits-list {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ps-audit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid #F3F4F6;
}
.ps-audit-row:last-child { border-bottom: none; }
.ps-pass-icon { color: #00CC66; font-weight: 700; margin-right: 0.4rem; }
.ps-audit-name { color: #4B5563; flex: 1; }
.ps-audit-val { color: #008844; font-weight: 600; font-size: 0.7rem; }

/* AppStore Telemetry Box */
.appstore-telemetry-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  justify-content: center;
}
.appstore-telemetry-head { display: flex; justify-content: space-between; font-size: 0.6875rem; }
.telemetry-lbl { color: #8B949E; }
.telemetry-val { color: #58A6FF; font-weight: 600; }
.appstore-telemetry-svg { width: 100%; height: 50px; display: block; }

/* Klaviyo Campaign Strip */
.klaviyo-campaign-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.6875rem;
  color: #4B5563;
}
.klaviyo-campaign-strip strong { color: #111827; }
.klaviyo-campaign-strip .green { color: #059669; }
.klaviyo-campaign-strip .blue { color: #2563EB; }

/* GA4 Chart Box */
.ga4-chart-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  justify-content: center;
}
.ga4-chart-head { display: flex; justify-content: space-between; font-size: 0.6875rem; }
.ga4-chart-title { color: #6B7280; font-weight: 500; }
.ga4-chart-val { color: #059669; font-weight: 600; }
.ga4-chart-svg { width: 100%; height: 50px; display: block; }

/* Animation */
@keyframes gscFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   2. Google Search Console & Google AI Overview (SEO & AI Optimisation)
   ========================================================================== */
.gsc-authentic-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  color: #202124;
}

/* GSC Real Top Chrome Bar */
.gsc-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border-bottom: 1px solid #DADCE0;
}

.gsc-brand-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gsc-logo-icon {
  flex-shrink: 0;
  border-radius: 3px;
}

.gsc-brand-text {
  font-family: 'Google Sans', 'Roboto', -apple-system, sans-serif;
  font-size: 0.875rem;
  color: #5F6368;
  letter-spacing: -0.01em;
}

.gsc-brand-text strong {
  color: #202124;
  font-weight: 600;
}

.gsc-property-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F8F9FA;
  border: 1px solid #DADCE0;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: #3C4043;
  font-family: monospace, -apple-system, sans-serif;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.gsc-property-pill svg {
  flex-shrink: 0;
}

.gsc-domain-url {
  font-weight: 600;
  color: #202124;
}

/* Dual Interactive Switcher: Search Console vs AI Overview */
.gsc-view-switcher {
  display: inline-flex;
  align-items: center;
  background: #F1F3F4;
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.gsc-switch-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  font-family: 'Google Sans', 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #5F6368;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gsc-switch-btn:hover {
  color: #202124;
}

.gsc-switch-btn.is-active {
  background: #FFFFFF;
  color: #1A73E8;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.25);
}

/* View Panes */
.gsc-view-pane {
  display: none;
  flex-direction: column;
  flex: 1;
  padding: 0.9rem 1.15rem;
  background: #FFFFFF;
  overflow: hidden;
}

.gsc-view-pane.is-active {
  display: flex;
  animation: gscFadeIn 0.25s ease-out;
}

/* Filter Chips */
.gsc-filters-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.gsc-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid #DADCE0;
  border-radius: 16px;
  font-size: 0.72rem;
  background: #FFFFFF;
  color: #3C4043;
}

.gsc-filter-chip .chip-lbl {
  color: #70757A;
  font-weight: 400;
}

.gsc-filter-chip .chip-val {
  color: #202124;
  font-weight: 600;
}

.gsc-filter-chip--live {
  background: #F8F9FE;
  border-color: #D2E3FC;
  color: #1A73E8;
}

.gsc-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1A73E8;
  box-shadow: 0 0 6px rgba(26, 115, 232, 0.6);
  animation: gscPulse 2s infinite ease-in-out;
}

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

/* The Iconic GSC 4 Scorecard Tabs */
.gsc-scorecards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.gsc-card {
  background: #FFFFFF;
  border: 1px solid #DADCE0;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  position: relative;
  transition: all 0.2s ease;
}

.gsc-card-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.gsc-checkbox {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gsc-card-lbl {
  font-size: 0.72rem;
  font-weight: 500;
  color: #5F6368;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gsc-card-val {
  font-family: 'Google Sans', 'Roboto', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

/* 1. Total Clicks: Google Blue */
.gsc-card--clicks {
  border-top: 3.5px solid #1A73E8;
}
.gsc-card--clicks .gsc-checkbox {
  background: #1A73E8;
  border: 1.5px solid #1A73E8;
}
.gsc-card--clicks .gsc-card-val {
  color: #1A73E8;
}

/* 2. Total Impressions: Google Purple */
.gsc-card--impr {
  border-top: 3.5px solid #8430CE;
}
.gsc-card--impr .gsc-checkbox {
  background: #8430CE;
  border: 1.5px solid #8430CE;
}
.gsc-card--impr .gsc-card-val {
  color: #8430CE;
}

/* 3. Average CTR: Google Teal */
.gsc-card--ctr {
  border-top: 3.5px solid #00897B;
}
.gsc-card--ctr .gsc-checkbox {
  background: #00897B;
  border: 1.5px solid #00897B;
}
.gsc-card--ctr .gsc-card-val {
  color: #00897B;
}

/* 4. Average Position: Google Orange */
.gsc-card--pos {
  border-top: 3.5px solid #E8710A;
}
.gsc-card--pos .gsc-checkbox {
  background: #E8710A;
  border: 1.5px solid #E8710A;
}
.gsc-card--pos .gsc-card-val {
  color: #E8710A;
}

/* The Iconic GSC Dual-Line Performance Chart */
.gsc-chart-container {
  background: #FAFAFA;
  border: 1px solid #ECEFF1;
  border-radius: 8px;
  padding: 0.75rem 0.85rem 0.5rem;
  position: relative;
  margin-bottom: 0;
}

.gsc-chart-svg {
  width: 100%;
  height: 125px;
  display: block;
  overflow: visible;
}

.gsc-timeline-dates {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #70757A;
  margin-top: 0.4rem;
  padding: 0 4px;
}

.gsc-timeline-dates .date-now {
  color: #1A73E8;
  font-weight: 600;
}

/* Real Queries Telemetry Row */
.gsc-queries-deck {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #FFFFFF;
  border: 1px solid #ECEFF1;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.gsc-query-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid #F1F3F4;
}

.gsc-query-cell:last-child {
  border-bottom: none;
}

.gsc-query-cell .q-keyword {
  color: #1A0DAB;
  font-weight: 500;
  cursor: pointer;
}

.gsc-query-cell .q-keyword:hover {
  text-decoration: underline;
}

.gsc-query-cell .q-data {
  color: #5F6368;
  font-size: 0.7rem;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.gsc-query-cell--ai {
  background: #FDF9FF;
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  margin-top: 0.15rem;
}

.q-badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #F3E8FD;
  color: #6B21A8;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.72rem;
}

/* ==========================================================================
   3. View 2: Authentic Google AI Search & Overview Interface
   ========================================================================== */
.gsc-view-pane--ai {
  padding: 1rem 1.15rem;
}

/* Google Search Input Bar */
.google-search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  border: 1px solid #DFE1E5;
  border-radius: 24px;
  padding: 0.55rem 1rem;
  margin-bottom: 0.95rem;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.14);
}

.google-logo-svg {
  flex-shrink: 0;
}

.search-input-mock {
  flex: 1;
  font-size: 0.875rem;
  color: #202124;
  font-weight: 400;
}

.search-tools-icons {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #5F6368;
}

.search-tools-icons svg {
  cursor: pointer;
}

/* Authentic Google AI Overview Box */
.google-ai-overview-box {
  background: #F8F9FE;
  border: 1px solid #E8DEF8;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0;
  position: relative;
}

.ai-overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.ai-star-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #7C3AED;
  font-size: 0.85rem;
  font-family: 'Google Sans', 'Roboto', sans-serif;
}

.ai-star-badge strong {
  color: #1F1F1F;
  font-weight: 700;
}

.ai-exp-notice {
  font-size: 0.6875rem;
  color: #70757A;
}

.ai-overview-split {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 0.85rem;
  align-items: start;
}

.ai-overview-para p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #3C4043;
}

.ai-overview-para strong {
  color: #1F1F1F;
  font-weight: 600;
}

/* Citation Card */
.ai-citation-tile {
  background: #FFFFFF;
  border: 1px solid #DADCE0;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.citation-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.cite-favicon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1A73E8;
  color: #FFFFFF;
  font-size: 0.5rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cite-url {
  font-size: 0.65rem;
  color: #5F6368;
}

.cite-headline {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1A0DAB;
  line-height: 1.25;
}

/* Organic SERP Result #1 */
.google-serp-organic {
  background: #FFFFFF;
  border: 1px solid #ECEFF1;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.serp-cite-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.serp-fav {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1A73E8;
  color: #FFFFFF;
  font-size: 0.55rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.serp-domain {
  font-size: 0.8rem;
  font-weight: 600;
  color: #202124;
}

.serp-path {
  font-size: 0.72rem;
  color: #5F6368;
}

.serp-blue-title {
  font-size: 1rem;
  font-weight: 500;
  color: #1A0DAB;
  margin-bottom: 0.3rem;
  line-height: 1.3;
  cursor: pointer;
}

.serp-blue-title:hover {
  text-decoration: underline;
}

.serp-desc-text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #4D5156;
}

/* ==========================================================================
   4. Discipline 01: Google & Meta Ads Manager (.adops-authentic-window)
   ========================================================================== */
.adops-authentic-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #0F172A;
  color: #F8FAFC;
  padding: 0.85rem 1rem;
}

.adops-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.adops-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: #FFFFFF;
}

.adops-icon {
  color: #38BDF8;
}

.adops-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  color: #34D399;
}

.adops-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.adops-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.adops-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
}

.adops-lbl {
  display: block;
  font-size: 0.65rem;
  color: #94A3B8;
  margin-bottom: 0.15rem;
}

.adops-val {
  font-family: 'Google Sans', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.adops-val.green { color: #34D399; }
.adops-val.gold { color: #FBBF24; }
.adops-val.blue { color: #38BDF8; }

.adops-sub {
  display: block;
  font-size: 0.58rem;
  color: #64748B;
  margin-top: 0.15rem;
}

.adops-table-view {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
}

.adops-tr {
  display: grid;
  grid-template-columns: 40px 1fr 85px 75px 65px;
  align-items: center;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.adops-tr:last-child {
  border-bottom: none;
}

.adops-tr--head {
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.65rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
}

.toggle-on {
  width: 24px;
  height: 13px;
  background: #10B981;
  border-radius: 12px;
  display: inline-block;
  position: relative;
}

.toggle-on::after {
  content: '';
  position: absolute;
  top: 1.5px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border-radius: 50%;
}

.bold-green {
  color: #34D399;
  font-weight: 700;
}

/* ==========================================================================
   5. Discipline 03: Google PageSpeed & Lighthouse (.pagespeed-authentic-window)
   ========================================================================== */
.pagespeed-authentic-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  color: #202124;
  padding: 0.85rem 1rem;
}

.pagespeed-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #E5E7EB;
}

.pagespeed-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: #111827;
}

.pagespeed-target {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: #4B5563;
}

.badge-passed {
  background: #ECFDF5;
  color: #059669;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid #A7F3D0;
}

.pagespeed-gauges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.gauge-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.gauge-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3.5px solid #00CC66;
  background: #F0FDF4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 204, 102, 0.25);
}

.gauge-num {
  font-family: 'Google Sans', 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #008844;
}

.gauge-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #374151;
}

.pagespeed-vitals-table {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vital-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.vital-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00CC66;
  margin-right: 0.35rem;
}

.vital-name {
  color: #4B5563;
  flex: 1;
}

.vital-metric {
  font-weight: 700;
  color: #008844;
}

/* ==========================================================================
   6. Discipline 04: Apple App Store Connect & TestFlight (.appstore-authentic-window)
   ========================================================================== */
.appstore-authentic-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #0D1117;
  color: #F0F6FC;
  padding: 0.85rem 1rem;
}

.appstore-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.appstore-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.82rem;
}

.appstore-build-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  color: #60A5FA;
}

.build-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60A5FA;
}

.appstore-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.app-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
}

.app-card-lbl {
  display: block;
  font-size: 0.65rem;
  color: #8B949E;
  margin-bottom: 0.15rem;
}

.app-card-val {
  font-size: 1.15rem;
  font-weight: 700;
}

.app-card-val.green { color: #3FB950; }
.app-card-val.blue { color: #58A6FF; }
.app-card-val.gold { color: #F2CC60; }

.app-card-sub {
  display: block;
  font-size: 0.58rem;
  color: #6E7681;
  margin-top: 0.15rem;
}

.appstore-preview-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}

.mini-app-specs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.spec-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  color: #C9D1D9;
}

/* ==========================================================================
   7. Discipline 05: Klaviyo Lifecycle Automation Flow (.klaviyo-authentic-window)
   ========================================================================== */
.klaviyo-authentic-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #F4F4F6;
  color: #1E1E24;
  padding: 0.85rem 1rem;
}

.klaviyo-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #E2E2E6;
}

.klaviyo-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.82rem;
}

.klaviyo-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #E6F4EA;
  color: #137333;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.klaviyo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #137333;
}

.klaviyo-flow-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.flow-step-box {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #DADAE0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.flow-step-trigger { border-left: 3.5px solid #F59E0B; }
.flow-step-delay   { border-left: 3.5px solid #6366F1; }
.flow-step-action  { border-left: 3.5px solid #10B981; }

.flow-icon {
  font-size: 0.95rem;
}

.flow-head {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #1F2937;
}

.flow-desc {
  display: block;
  font-size: 0.625rem;
  color: #6B7280;
}

.flow-v-line {
  width: 2px;
  height: 10px;
  background: #9CA3AF;
}

.klaviyo-footer-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid #DADAE0;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  text-align: center;
}

.kl-stat .kl-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.kl-stat .kl-num.green { color: #10B981; }
.kl-stat .kl-num.violet { color: #8B5CF6; }
.kl-stat .kl-num.gold { color: #F59E0B; }

.kl-stat .kl-lbl {
  font-size: 0.625rem;
  color: #6B7280;
}

/* ==========================================================================
   8. Discipline 06: Google Analytics 4 Multichannel Attribution (.ga4-authentic-window)
   ========================================================================== */
.ga4-authentic-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  color: #202124;
  padding: 0.85rem 1rem;
}

.ga4-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #E5E7EB;
}

.ga4-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: #1F2937;
}

.ga4-date-range {
  font-size: 0.6875rem;
  color: #6B7280;
}

.ga4-summary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.ga4-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
}

.ga4-lbl {
  display: block;
  font-size: 0.65rem;
  color: #6B7280;
  margin-bottom: 0.15rem;
}

.ga4-val {
  font-family: 'Google Sans', 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.ga4-val.green { color: #059669; }
.ga4-val.blue { color: #2563EB; }
.ga4-val.gold { color: #D97706; }

.ga4-sub {
  display: block;
  font-size: 0.58rem;
  color: #9CA3AF;
  margin-top: 0.15rem;
}

.ga4-table {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}

.ga4-tr {
  display: grid;
  grid-template-columns: 1fr 85px 85px 85px;
  align-items: center;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  border-bottom: 1px solid #F3F4F6;
}

.ga4-tr:last-child {
  border-bottom: none;
}

.ga4-tr--head {
  background: #F9FAFB;
  font-size: 0.65rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
}

.ga4-tr .bold {
  font-weight: 700;
  color: #111827;
}

/* ==========================================================================
   9. Compact View Scaling (Grid Cards: .service-showcase-ui--card)
   ========================================================================== */
.service-showcase-ui--card .gsc-top-bar {
  padding: 0.45rem 0.65rem;
}

.service-showcase-ui--card .gsc-brand-text {
  font-size: 0.75rem;
}

.service-showcase-ui--card .gsc-property-pill {
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
}

.service-showcase-ui--card .gsc-switch-btn {
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
}

.service-showcase-ui--card .gsc-view-pane {
  padding: 0.55rem 0.75rem;
}

.service-showcase-ui--card .gsc-filters-bar {
  display: none;
}

.service-showcase-ui--card .gsc-scorecards-row {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0.45rem;
  gap: 0.45rem;
}

.service-showcase-ui--card .gsc-card--ctr,
.service-showcase-ui--card .gsc-card--pos {
  display: none;
}

.service-showcase-ui--card .gsc-card {
  padding: 0.35rem 0.6rem;
}

.service-showcase-ui--card .gsc-card-lbl {
  font-size: 0.6rem;
}

.service-showcase-ui--card .gsc-card-val {
  font-size: 0.95rem;
}

.service-showcase-ui--card .gsc-chart-container {
  padding: 0.35rem 0.45rem 0.25rem;
  margin-bottom: 0;
}

.service-showcase-ui--card .gsc-chart-svg {
  height: 70px;
}

.service-showcase-ui--card .gsc-timeline-dates {
  font-size: 0.58rem;
  margin-top: 0.15rem;
}

.service-showcase-ui--card .gsc-queries-deck {
  display: none;
}

.service-showcase-ui--card .adops-top-bar,
.service-showcase-ui--card .pagespeed-top-bar,
.service-showcase-ui--card .appstore-top-bar,
.service-showcase-ui--card .klaviyo-top-bar,
.service-showcase-ui--card .ga4-top-bar {
  padding-bottom: 0.35rem;
  margin-bottom: 0.45rem;
}

.service-showcase-ui--card .adops-val,
.service-showcase-ui--card .app-card-val,
.service-showcase-ui--card .ga4-val {
  font-size: 0.95rem;
}

.service-showcase-ui--card .adops-tr--head {
  display: none;
}

.service-showcase-ui--card .adops-table-view {
  border: none;
  background: transparent;
}

.service-showcase-ui--card .adops-tr {
  padding: 0.25rem 0;
  font-size: 0.68rem;
}

.service-showcase-ui--card .gauge-circle {
  width: 40px;
  height: 40px;
  border-width: 2.5px;
}

.service-showcase-ui--card .gauge-num {
  font-size: 0.9rem;
}

.service-showcase-ui--card .pagespeed-vitals-table {
  padding: 0.35rem 0.55rem;
  gap: 0.15rem;
}

.service-showcase-ui--card .vital-item {
  font-size: 0.68rem;
}

.service-showcase-ui--card .ga4-table {
  display: none;
}

.service-showcase-ui--card .ga4-summary-row {
  margin-bottom: 0;
  height: 100%;
  align-items: center;
}

.service-showcase-ui--card .ga4-card {
  padding: 0.65rem 0.55rem;
}

.service-showcase-ui--card .flow-step-box {
  padding: 0.25rem 0.55rem;
}

.service-showcase-ui--card .flow-head {
  font-size: 0.65rem;
}

.service-showcase-ui--card .flow-desc {
  font-size: 0.58rem;
}

.service-showcase-ui--card .flow-v-line {
  height: 6px;
}

.service-showcase-ui--card .klaviyo-footer-metrics {
  padding: 0.35rem 0.5rem;
}

.service-showcase-ui--card .appstore-preview-strip {
  padding: 0.4rem 0.55rem;
}

/* ==========================================================================
   10. Interactive Category Filter Bar Component (Services Page)
   ========================================================================== */
.services-category-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 auto clamp(2rem, 3.5vw, 3rem);
}

.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(18, 20, 26, 0.12);
  color: #334155;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-pill-btn:hover {
  border-color: rgba(83, 74, 183, 0.4);
  color: #534AB7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(83, 74, 183, 0.1);
}

.filter-pill-btn.is-active {
  background: linear-gradient(135deg, #534AB7 0%, #D4537E 100%);
  border-color: transparent;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(83, 74, 183, 0.3);
}

.filter-pill-btn .filter-count {
  font-size: 0.6875rem;
  font-weight: 700;
  background: rgba(18, 20, 26, 0.06);
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
}

.filter-pill-btn.is-active .filter-count {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}
