/* ==========================================================================
   FIELDVOICE AI - HOMEPAGE CUSTOM STYLES
   ========================================================================== */

/* Hero Section (Atmospheric Dark Anchor for High Visual Punch) */
.hero-section {
  background: radial-gradient(circle at 50% 20%, #1A0D1B 0%, #0A0A0F 70%);
  color: var(--text-on-dark);
  padding-top: 10.5rem;
  padding-bottom: 7rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(122, 40, 123, 0.25) 0%, rgba(10, 10, 15, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-title {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
}

.hero-title span {
  background: linear-gradient(135deg, #FFFFFF 0%, #E6A5E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: #CBD5E1;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Live Audio Interactive Preview Widget */
.hero-mockup-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-dark), 0 0 40px rgba(71, 24, 72, 0.3);
  backdrop-filter: blur(20px);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.mockup-controls {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}

.mockup-speech-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-speech-text {
  font-size: 1.05rem;
  color: #F8FAFC;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
}

.mockup-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #94A3B8;
}

.mockup-actions-panel {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(71, 24, 72, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}

.action-label {
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-value {
  color: #FFFFFF;
  font-weight: 600;
}

.verified-pill {
  color: #00E599;
  background: rgba(0, 229, 153, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Section 2: Problem & Time-Waste Statistics
   -------------------------------------------------------------------------- */
.stats-banner {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.gap-compare-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.gap-step-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.gap-step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.gap-step-item.bad {
  color: var(--color-danger);
}

.gap-step-item.good {
  color: var(--color-success);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Section 3: 7-Step Workflow Pipeline
   -------------------------------------------------------------------------- */
.workflow-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.workflow-step-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.workflow-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  background: var(--accent-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Section 4: Live Interactive Simulation Playground
   -------------------------------------------------------------------------- */
.demo-playground {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-dark);
}

.scenario-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.scenario-pill-btn:hover, .scenario-pill-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary-hover);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(71, 24, 72, 0.5);
}

.live-audio-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.live-output-card {
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(71, 24, 72, 0.6);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* --------------------------------------------------------------------------
   Section 5: Multimodal Vision + Voice
   -------------------------------------------------------------------------- */
.multimodal-preview-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.multimodal-photo-frame {
  background: #111827;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  color: #FFFFFF;
  overflow: hidden;
}

.target-bounding-box {
  position: absolute;
  border: 2px dashed #E6A5E8;
  background: rgba(71, 24, 72, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   Responsive Rules for Homepage
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-section {
    padding-top: calc(76px + 3.5rem);
    padding-bottom: 5rem;
  }
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  .stats-banner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: calc(76px + 2.5rem);
    padding-bottom: 4rem;
  }
}
