/* ================================
   360DASH PRODUCT PAGE
   Page-specific styles for pages/360dash.html
   Mockup base styles recreated here (index.css not loaded on this page)
   ================================ */

/* ---- Hero Override ---- */

.hero-360dash {
  min-height: auto;
  text-align: center;
}

.hero-360dash .container {
  max-width: 42rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.hero-360dash .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-360dash .badge {
  margin-bottom: 1.5rem;
}

.hero-360dash .hero-buttons {
  align-items: center;
}

@media (min-width: 640px) {
  .hero-360dash .hero-buttons {
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-360dash .container {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
}

/* ---- Problem Statement ---- */

.problem-content {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.problem-content p {
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

.problem-pivot {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-teal-700);
}

.problem-tagline {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

/* ---- Dash Section Layout ---- */

.dash-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.dash-content h2 {
  margin-bottom: 1rem;
}

.dash-content > p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

.dash-mockup {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .dash-section {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Secondary Note Text ---- */

.dash-note {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-teal-700);
  font-style: italic;
  margin-top: 1rem;
}

/* ---- Mockup Base Styles ---- */

.mockup-browser {
  background: var(--color-gray-100);
  border-radius: var(--radius-2xl);
  padding: 1rem;
  box-shadow: var(--shadow-2xl);
}

.mockup-window {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.mockup-bar {
  background: var(--bg-page);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-dots {
  display: flex;
  gap: 0.375rem;
}

.mockup-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-full);
}

.mockup-dot-red { background: var(--mockup-dot-red); }
.mockup-dot-yellow { background: var(--mockup-dot-yellow); }
.mockup-dot-green { background: var(--mockup-dot-green); }

.mockup-url {
  flex: 1;
  background: var(--color-gray-200);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-left: 0.5rem;
}

.mockup-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---- Decorative Blobs ---- */

.blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(64px);
  opacity: 0.5;
  z-index: -1;
  display: none;
}

.blob-teal { background: rgba(153, 246, 228, 0.5); }
.blob-green { background: rgba(187, 247, 208, 0.5); }

.blob-1 {
  top: 2rem;
  right: -1rem;
  width: 18rem;
  height: 18rem;
}

.blob-2 {
  bottom: -1rem;
  left: -1rem;
  width: 12rem;
  height: 12rem;
}

@media (min-width: 924px) {
  .blob {
    display: block;
  }
}

/* ---- Mockup 1: Dashboard Welcome ---- */

.dash-logo {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  font-family: var(--font-heading);
}

.dash-logo-teal { color: var(--color-teal-700); }
.dash-logo-green { color: var(--color-green-500); }

.dash-welcome {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
}

.dash-welcome-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.dash-welcome-company {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.dash-welcome-site {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

.dash-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-green-500);
  display: inline-block;
}

.dash-live-text {
  color: var(--color-green-500);
  font-weight: var(--weight-medium);
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.dash-stat {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  text-align: center;
}

.dash-stat-value {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.dash-stat-value-green { color: var(--color-green-500); }

.dash-stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.dash-trend {
  font-size: var(--text-xs);
  color: var(--color-green-500);
}

.dash-milestone {
  background: var(--badge-teal-bg);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
}

.dash-milestone-text {
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

.dash-milestone-badge {
  background: var(--color-green-500);
  color: var(--text-white);
  font-size: 0.625rem;
  font-weight: var(--weight-bold);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-full);
}

.dash-mockup-actions {
  display: flex;
  gap: 0.5rem;
}

.dash-mockup-btn {
  flex: 1;
  padding: 0.375rem;
  background: var(--color-teal-700);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-align: center;
}

/* ---- Mockup 2: Change Request Selector ---- */

.dash-selector-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.dash-selector {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
}

.dash-section-toggle {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  padding: 0.375rem 0;
}

.dash-section-toggle-collapsed {
  color: var(--text-tertiary);
}

.dash-element-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.375rem;
  margin: 0.25rem 0;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
}

.dash-element-item-selected {
  border-left-color: var(--color-teal-700);
  background: rgba(2, 115, 115, 0.05);
}

.dash-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.dash-checkbox-checked {
  background: var(--color-teal-700);
  color: var(--text-white);
}

.dash-checkbox-unchecked {
  border: 2px solid var(--color-gray-400);
}

.dash-element-info {
  display: flex;
  flex-direction: column;
}

.dash-element-label {
  font-size: var(--text-xs);
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

.dash-element-type {
  font-size: var(--text-xs);
  color: var(--color-gray-400);
}

.dash-selected-count {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-teal-700);
  padding-top: 0.5rem;
}

.dash-continue-btn {
  width: 100%;
  padding: 0.5rem;
  background: var(--color-teal-700);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-align: center;
}

/* ---- Mockup 3: Onboarding Progress ---- */

.dash-progress-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.dash-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.dash-progress-pct {
  font-size: var(--text-xs);
  color: var(--color-teal-700);
  font-weight: var(--weight-medium);
}

.dash-progress-bar-wrap {
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
  height: 0.625rem;
  overflow: hidden;
}

.dash-progress-fill {
  height: 100%;
  background: var(--color-teal-700);
  border-radius: var(--radius-full);
  width: 75%;
}

.dash-step-list {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-step-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.dash-step-complete .dash-step-dot { background: var(--color-green-500); }
.dash-step-active .dash-step-dot {
  background: var(--color-teal-700);
  animation: pulse-dot 2s ease-in-out infinite;
}
.dash-step-pending .dash-step-dot {
  border: 2px solid var(--color-gray-400);
  background: transparent;
}

.dash-step-name {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

.dash-step-status {
  font-size: var(--text-xs);
  margin-left: auto;
}

.dash-step-complete .dash-step-status { color: var(--color-green-500); }
.dash-step-active .dash-step-status { color: var(--color-teal-700); }
.dash-step-pending .dash-step-status { color: var(--text-tertiary); }

.dash-next-step {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.dash-next-btn {
  width: 100%;
  padding: 0.5rem;
  background: var(--color-teal-700);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-align: center;
}

/* ---- Dash Icon (Section 8 override) ---- */

.dash-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--badge-teal-bg);
  color: var(--color-teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.dash-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---- Comparison Section ---- */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.comparison-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: var(--bg-page);
}

.comparison-card-featured {
  background: var(--card-bg);
  border: 2px solid var(--color-teal-700);
  box-shadow: var(--shadow-lg);
  order: -1;
}

.comparison-header {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.comparison-card:not(.comparison-card-featured) .comparison-header {
  color: var(--text-secondary);
}

.comparison-card-featured .comparison-header {
  color: var(--color-teal-700);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.comparison-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.comparison-x { color: var(--color-gray-400); }
.comparison-check { color: var(--color-green-500); }

/* ---- CTA Additions ---- */

.page-360dash .cta-buttons {
  margin-bottom: 1.5rem;
}

.cta-note {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* ---- Animations ---- */

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---- Reduced Motion ---- */

@media (prefers-reduced-motion: reduce) {
  .dash-step-active .dash-step-dot {
    animation: none;
  }
}

/* ---- Responsive ---- */

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-card-featured {
    transform: scale(1.02);
    order: 0;
  }
}
