/* ============================================
   F.AI.Z — Repair Prices Page Styles
   ============================================ */


/* ============================================
   PAGE HERO
   ============================================ */

.page-hero {
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--bg-primary);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at center, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, black 10%, transparent 80%);
}

.page-hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}

.page-hero-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.page-hero-sub strong {
  color: var(--text-primary);
}

.page-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
}

.hero-badge-pill i {
  font-size: 0.65rem;
}


/* ============================================
   PRICES SECTION
   ============================================ */

.prices-section {
  padding: 3rem 0 6rem;
  background: var(--bg-secondary);
}


/* ============================================
   DEVICE TABS
   ============================================ */

.price-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.price-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.price-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.price-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #030712;
  box-shadow: 0 0 24px var(--accent-glow);
}

.price-tab i {
  font-size: 0.85rem;
}


/* ============================================
   PANELS
   ============================================ */

.price-panel {
  display: none;
}

.price-panel.active {
  display: block;
  animation: panelFadeIn 0.3s ease forwards;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   PRICE TABLE — DESKTOP
   ============================================ */

.price-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* 3-brand grid (phones) */
.price-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 90px;
  padding: 0.7rem 1.5rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  align-items: center;
}

.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 90px;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  align-items: center;
  transition: background var(--transition-fast);
}

/* 2-brand grid (tablets & laptops) */
.price-table-wrap.two-col .price-table-header,
.price-table-wrap.two-col .price-row {
  grid-template-columns: 2fr 1fr 1fr 90px;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  background: var(--bg-card-hover);
}

/* Service column */
.price-col-service {
  min-width: 0;
}

.service-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.service-name i {
  font-size: 0.75rem;
  color: var(--accent);
  width: 14px;
  flex-shrink: 0;
}

.service-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-left: 1.3rem;
  line-height: 1.45;
}

/* Price columns */
.price-col {
  text-align: center;
}

.price-col-brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.price-col-brand i {
  font-size: 0.9rem;
}

/* Price badges */
.price-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-light);
  background: var(--accent-subtle);
  border: 1px solid rgba(14, 165, 233, 0.15);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.price-poa {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-color: var(--border);
}

/* Book button */
.price-col-action {
  display: flex;
  justify-content: flex-end;
}

.price-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--radius-sm);
  color: #25d366;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.price-book-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #22c55e;
  transform: translateY(-1px);
}

.price-book-btn i {
  font-size: 0.8rem;
}


/* ============================================
   DISCLAIMER
   ============================================ */

.price-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.2rem 1.5rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
}

.price-disclaimer i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.price-disclaimer p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.price-disclaimer strong {
  color: var(--accent-light);
}


/* ============================================
   BOTTOM CTA
   ============================================ */

.price-cta {
  text-align: center;
  padding: 4rem 0 1rem;
}

.price-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.price-cta p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.price-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 900px) {
  .price-table-header {
    grid-template-columns: 2fr 1fr 1fr 1fr 72px;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  .price-row {
    grid-template-columns: 2fr 1fr 1fr 1fr 72px;
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .price-table-wrap.two-col .price-table-header,
  .price-table-wrap.two-col .price-row {
    grid-template-columns: 2fr 1fr 1fr 72px;
  }

  .price-book-btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.55rem;
  }
}


/* ============================================
   RESPONSIVE — MOBILE (card layout)
   ============================================ */

@media (max-width: 768px) {
  .page-hero {
    padding: 8rem 0 3rem;
  }

  .price-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -1rem;
    padding: 0 1rem 4px;
  }

  .price-tabs::-webkit-scrollbar {
    display: none;
  }

  .price-tab {
    flex-shrink: 0;
  }

  /* Table header hidden — labels shown via ::before */
  .price-table-header {
    display: none;
  }

  /* Table becomes card list */
  .price-table-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Each row becomes a card */
  .price-row {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    gap: 0.6rem;
    grid-template-columns: none;
  }

  .price-row:hover {
    border-color: var(--border-hover);
  }

  /* Show brand label before each price */
  .price-col {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
  }

  .price-col::before {
    content: attr(data-brand);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    min-width: 70px;
    flex-shrink: 0;
  }

  /* Full-width book button */
  .price-col-action {
    width: 100%;
    justify-content: stretch;
    margin-top: 0.25rem;
  }

  .price-book-btn {
    width: 100%;
    padding: 0.65rem;
    font-size: 0.875rem;
    justify-content: center;
  }

  .price-disclaimer {
    flex-direction: column;
    gap: 0.5rem;
  }

  .price-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .price-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-hero-badges {
    gap: 0.4rem;
  }

  .hero-badge-pill {
    font-size: 0.68rem;
    padding: 0.35rem 0.7rem;
  }
}
