/* ==========================================================================
   Mobio Technologies — Core UI Components (Compact Viewport Fitted)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Eyebrow Badge Pill
   -------------------------------------------------------------------------- */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.8rem;
  background-color: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 9999px;
  color: var(--badge-text);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
  margin-bottom: 0.45rem;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.15);
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 6px #38bdf8;
}

.eyebrow-icon {
  display: inline-flex;
  align-items: center;
}

/* 6-segment service indicator track */
.service-progress-track {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 360px;
  height: 3px;
  margin-top: 0.2rem;
  margin-bottom: 0.65rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.service-progress-bar {
  flex: 1;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
}

.service-progress-bar.active {
  background-color: var(--accent-yellow);
}

.service-progress-bar.completed {
  background-color: var(--accent-purple);
}

/* --------------------------------------------------------------------------
   2. Typography & Section Headlines (Tuned for Viewport Presence)
   -------------------------------------------------------------------------- */
.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.section-subheading {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.05vw, 0.98rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-highlight);
  max-width: 600px;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   3. Feature Pill / Box (Hero 2-column Grid)
   -------------------------------------------------------------------------- */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  max-width: 500px;
}

@media (max-width: 480px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
  }
}

.hero-feature-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.hero-feature-pill:hover,
.hero-feature-pill:focus-visible {
  border-color: rgba(139, 92, 246, 0.6);
  background-color: #1d1230;
  transform: translateY(-1px);
  color: #ffffff;
  text-decoration: none;
}

.hero-feature-pill svg {
  width: 16px;
  height: 16px;
  color: #38bdf8;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Feature Rows (Service Sections)
   -------------------------------------------------------------------------- */
.feature-rows-list {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-bottom: 0.75rem;
  width: 100%;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.feature-row:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background-color: #1a112c;
}

.feature-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background-color: rgba(139, 92, 246, 0.12);
  color: #ffffff;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.feature-row-content {
  flex: 1;
}

.feature-row-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.05rem;
}

.feature-row-desc {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   5. CTA Buttons (Straight sides, NO circular corners)
   -------------------------------------------------------------------------- */
.cta-button-pair {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.45rem;
  min-height: 42px;
  border-radius: 0 !important; /* Straight sides, no circular corners */
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  user-select: none;
}

.cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Primary Yellow */
.cta-btn.primary-yellow {
  background-color: var(--accent-yellow);
  color: var(--accent-yellow-text);
  box-shadow: 0 2px 12px rgba(245, 184, 61, 0.25);
}

/* Secondary Purple */
.cta-btn.secondary-purple {
  background-color: var(--accent-purple);
  color: var(--accent-purple-text);
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}

/* WhatsApp Green */
.cta-btn.whatsapp-green {
  background-color: var(--accent-green);
  color: var(--accent-green-text);
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.25);
}

/* Contact Red */
.cta-btn.contact-red {
  background-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
}

/* --------------------------------------------------------------------------
   6. Image Frame (Restored Original Longer Height)
   -------------------------------------------------------------------------- */
.hero-item-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.image-frame-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Restores longer, fuller vertical presence */
  max-height: clamp(240px, 40vh, 380px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: #150e24;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  flex-shrink: 1;
}

@media (min-width: 1024px) {
  .image-frame-container {
    aspect-ratio: 4 / 3;
    max-height: clamp(280px, 48vh, 450px);
  }
}

.image-frame-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-caption-text {
  font-size: 0.8rem;
  color: var(--text-highlight);
  margin-top: 0.35rem;
  line-height: 1.3;
  text-align: left;
}

/* --------------------------------------------------------------------------
   7. Stat Panels
   -------------------------------------------------------------------------- */
.stat-panel-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: rgba(23, 15, 38, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-top: 0.65rem;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--accent-blue);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a49cb5;
}

/* --------------------------------------------------------------------------
   8. Highlight / Callout Box
   -------------------------------------------------------------------------- */
.highlight-callout-box {
  width: 100%;
  padding: 0.75rem 1.15rem;
  background-color: #170f26;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-top: 0.55rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.callout-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.callout-subtitle {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   9. Tag Pill Row
   -------------------------------------------------------------------------- */
.tag-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.tag-pill {
  padding: 0.28rem 0.65rem;
  background-color: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 3px;
  color: #d1c4f5;
  font-size: 0.76rem;
  font-weight: 600;
  user-select: none;
}
