/* ============================================================
   Home Office OS LLC -- Home Office OS Product Page
   Hero, tab navigation, overview, modules, market, pricing
   ============================================================ */

/* ================================================================
   PAGE HERO (always visible, above tab bar)
   ================================================================ */

.hoos-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-md);
  text-align: center;
  overflow: hidden;
}

.hoos-hero .badge {
  margin-bottom: var(--space-2xl);
}

.hoos-hero .stat-badges {
  margin-top: var(--space-2xl);
}

.hoos-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(245, 158, 11, 0.04) 35%,
    transparent 65%
  );
  pointer-events: none;
}

.hoos-hero .container {
  position: relative;
  z-index: 1;
}

.hoos-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.hoos-hero-tagline {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-lg);
}

.hoos-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--line-height-relaxed);
}

.hoos-hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

/* (Tab bar and tab content panel styles removed — no longer using tabs) */

/* ================================================================
   SECTION DIVIDER
   ================================================================ */

.hoos-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin: 0 auto var(--space-xl);
}

.hoos-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-extrabold);
  text-align: center;
  margin-bottom: var(--space-md);
}

.hoos-section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--line-height-relaxed);
}

/* ================================================================
   PROBLEM / SOLUTION CARDS
   ================================================================ */

.hoos-problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.hoos-problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.hoos-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-highlight);
}

.hoos-problem-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left var(--transition-slower);
}

.hoos-problem-card:hover::after {
  left: 100%;
}

.hoos-problem-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.hoos-problem-card h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.hoos-problem-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

.hoos-problem-card .problem-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hoos-problem-card.problem .problem-label { color: var(--color-error-light); }
.hoos-problem-card.solution .problem-label { color: var(--color-success-light); }
.hoos-problem-card.problem { border-left: 3px solid var(--color-error); }
.hoos-problem-card.solution { border-left: 3px solid var(--color-success); }

/* ================================================================
   FEATURE HIGHLIGHTS GRID
   ================================================================ */

.hoos-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.hoos-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.hoos-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-highlight);
}

.hoos-feature-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.hoos-feature-value {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.hoos-feature-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

.hoos-feature-desc {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ================================================================
   HOW IT WORKS (4-step flow)
   ================================================================ */

.hoos-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  position: relative;
}

.hoos-step {
  text-align: center;
  position: relative;
  padding: var(--space-xl) var(--space-md);
}

.hoos-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.hoos-step h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.hoos-step p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

.hoos-step-arrow {
  display: none;
}

@media (min-width: 768px) {
  .hoos-step-arrow {
    display: block;
    position: absolute;
    right: -16px;
    top: 40%;
    color: var(--text-muted);
    font-size: 1.5rem;
  }
}

/* ================================================================
   TRUST / CREDENTIALS
   ================================================================ */

.hoos-trust {
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.hoos-trust h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.hoos-trust p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: var(--line-height-relaxed);
}

.hoos-trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hoos-trust-badge {
  text-align: center;
}

.hoos-trust-badge .badge-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.hoos-trust-badge .badge-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */

.hoos-faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.hoos-faq-item {
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-slow);
}

.hoos-faq-item:hover {
  border-color: var(--border-highlight);
}

.hoos-faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  border: none;
  transition: background var(--transition-fast);
}

.hoos-faq-question:hover {
  background: var(--bg-elevated);
}

.hoos-faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-slow);
  background: var(--bg-elevated);
}

.hoos-faq-item.open .hoos-faq-toggle {
  transform: rotate(45deg);
}

.hoos-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.hoos-faq-item.open .hoos-faq-answer {
  max-height: 500px;
}

.hoos-faq-answer-inner {
  padding: var(--space-md) var(--space-xl) var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ================================================================
   MODULES TAB -- Category Groups
   ================================================================ */

.hoos-modules-section {
  padding: var(--space-2xl) 0;
}

.hoos-module-category {
  margin-bottom: var(--space-2xl);
}

.hoos-module-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.hoos-module-category-header h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

.hoos-module-category-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-relaxed);
  max-width: 700px;
}

.hoos-module-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
}

.hoos-module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-slow);
}

.hoos-module-card:hover {
  border-color: var(--border-highlight);
}

.hoos-module-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hoos-module-card-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hoos-module-card-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.hoos-module-card-desc {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-sm);
}

.hoos-module-card-outputs {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.hoos-module-card-outputs strong {
  color: var(--text-secondary);
}

.hoos-infra-note {
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-top: var(--space-2xl);
}

.hoos-tools-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
}

.hoos-tools-summary h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.hoos-tools-summary p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

.hoos-deep-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-light);
  transition: all var(--transition-base);
}

.hoos-deep-link:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: white;
}

/* ================================================================
   MARKET TAB -- Condensed Landscape
   ================================================================ */

.hoos-market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.hoos-market-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: border-color var(--transition-slow);
}

.hoos-market-stat:hover {
  border-color: var(--border-highlight);
}

.hoos-market-stat-value {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hoos-market-stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* Comparison table reuses landscape.css patterns */
.hoos-comparison-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
}

.hoos-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  min-width: 700px;
}

.hoos-comparison-table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: var(--font-weight-semibold);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-primary);
  white-space: nowrap;
}

.hoos-comparison-table td {
  padding: var(--space-sm) var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.hoos-comparison-table .category-row td {
  background: var(--bg-surface);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-sm) var(--space-lg);
}

.hoos-comparison-table .col-highlight {
  background: rgba(59, 130, 246, 0.06);
}

.hoos-comparison-table .col-highlight th {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-primary-light);
}

.hoos-comparison-table .check {
  color: var(--color-success-light);
  font-weight: var(--font-weight-bold);
}

.hoos-comparison-table .check-bold {
  color: var(--color-success-light);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xs);
}

.hoos-comparison-table .dash {
  color: var(--text-muted);
}

/* Gap cards */
.hoos-gap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.hoos-gap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-slow);
}

.hoos-gap-card:hover {
  border-color: var(--border-highlight);
}

.hoos-gap-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: rgba(59, 130, 246, 0.2);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.hoos-gap-card h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
}

.hoos-gap-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ================================================================
   PRICING TAB
   ================================================================ */

.hoos-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.hoos-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
}

.hoos-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hoos-pricing-card.featured {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.08);
}

.hoos-pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-warning), var(--color-warning-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hoos-pricing-tier {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.hoos-pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hoos-pricing-price .amount {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
}

.hoos-pricing-price .period {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.hoos-pricing-qualifier {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-relaxed);
}

.hoos-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  flex: 1;
}

.hoos-pricing-features li {
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hoos-pricing-features li::before {
  content: '\2713';
  color: var(--color-success-light);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.hoos-pricing-card .btn {
  width: 100%;
  text-align: center;
}

/* Price ladder */
.hoos-price-ladder {
  max-width: 700px;
  margin: var(--space-2xl) auto;
}

.hoos-price-ladder-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.hoos-price-tier {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
}

.hoos-price-tier-label {
  min-width: 120px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
}

.hoos-price-tier-apps {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.hoos-price-tier.highlight {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.hoos-price-tier.highlight .hoos-price-tier-apps {
  color: var(--color-primary-light);
  font-weight: var(--font-weight-semibold);
}

/* Final CTA */
.hoos-final-cta {
  text-align: center;
  padding: var(--space-3xl) 0;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  margin-top: var(--space-2xl);
}

.hoos-final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-md);
}

.hoos-final-cta p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.hoos-final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
  .hoos-problem-grid {
    grid-template-columns: 1fr;
  }

  .hoos-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hoos-steps {
    grid-template-columns: 1fr 1fr;
  }

  .hoos-module-list {
    grid-template-columns: 1fr;
  }

  .hoos-pricing-grid {
    grid-template-columns: 1fr;
  }

  .hoos-gap-grid {
    grid-template-columns: 1fr;
  }

  .hoos-price-tier {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hoos-features-grid {
    grid-template-columns: 1fr;
  }

  .hoos-steps {
    grid-template-columns: 1fr;
  }

  .hoos-hero-cta {
    flex-direction: column;
    align-items: center;
  }
}
