/* 
  Repair Landing Page Custom Styles
  Primary Font: Fira Sans
  Primary Color: Red Gradient
*/

:root {
  --repair-bg: #0b0c10;
  --repair-bg-alt: #1f2833;
  --repair-text: #c5c6c7;
  --repair-text-light: #ffffff;
  --repair-red-gradient: linear-gradient(135deg, #ff003c, #c9002b);
  --repair-red-glow: rgba(255, 0, 60, 0.4);
  --repair-border: rgba(255, 255, 255, 0.05);
  --repair-accent: #ff003c;
  --font-fira: 'Fira Sans', 'Segoe UI', sans-serif;
}

body.repair-page {
  font-family: var(--font-fira);
  background-color: var(--repair-bg);
  color: var(--repair-text);
  overflow-x: hidden;
}

/* Typography */
.repair-page h1, .repair-page h2, .repair-page h3, .repair-page h4, .repair-page h5, .repair-page h6 {
  font-family: var(--font-fira);
  color: var(--repair-text-light);
  font-weight: 700;
}

/* Fix text-muted visibility on dark background */
.repair-page .text-muted {
  color: #d1d5db !important;
}

.text-gradient-red {
  background: var(--repair-red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Header */
.repair-header {
  background: rgba(11, 12, 16, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--repair-border);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.repair-header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 800;
  letter-spacing: 1px;
}
.repair-header .logo h1 span {
  color: var(--repair-accent);
}

/* Buttons */
.btn-repair-primary {
  background: var(--repair-red-gradient);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--repair-red-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-repair-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 60, 0.6);
  color: #fff;
}
.btn-repair-outline {
  background: transparent;
  color: var(--repair-text-light);
  border: 2px solid var(--repair-accent);
  padding: 10px 26px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-repair-outline:hover {
  background: var(--repair-accent);
  color: #fff;
}

/* Hero Section */
.repair-hero {
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.repair-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--repair-red-glow) 0%, transparent 70%);
  z-index: 0;
}
.repair-hero .container {
  position: relative;
  z-index: 1;
}

/* Star Shower Animation */
.star-shower {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.meteor {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--meteor-color, #fff);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--meteor-color, #fff);
  animation: meteor linear infinite;
  opacity: 0;
  will-change: transform, opacity;
}
.meteor::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(270deg, var(--meteor-color, #fff), transparent);
}
@keyframes meteor {
  0% {
    transform: rotate(225deg) translate3d(0, 0, 0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(225deg) translate3d(1500px, 0, 0);
    opacity: 0;
  }
}


.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--repair-text);
  max-width: 600px;
}

/* Common Problems Grid */
.problem-card {
  background: var(--repair-bg-alt);
  border: 1px solid var(--repair-border);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.problem-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--repair-red-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.problem-card:hover::after {
  transform: scaleX(1);
}
.problem-icon {
  font-size: 40px;
  color: var(--repair-accent);
  margin-bottom: 20px;
}

/* PC Gaming Optimization */
.gaming-section {
  background: linear-gradient(to right, rgba(11, 12, 16, 0.9), rgba(31, 40, 51, 0.9)), url('../img/repair/gaming-bg.jpg') center/cover;
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--repair-border);
  border-bottom: 1px solid var(--repair-border);
}
.fps-counter {
  font-size: 5rem;
  font-weight: 900;
  color: var(--repair-accent);
  text-shadow: 0 0 20px var(--repair-red-glow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.fps-counter span {
  font-size: 1.5rem;
  color: var(--repair-text-light);
}

/* Use Cases Interactive Tabs */
.usecase-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.usecase-tab {
  background: transparent;
  border: 1px solid var(--repair-border);
  color: var(--repair-text);
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: var(--font-fira);
}
.usecase-tab.active {
  background: var(--repair-red-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--repair-red-glow);
}
.usecase-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.usecase-content.active {
  display: block;
}
.usecase-card {
  background: var(--repair-bg-alt);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}
@media(max-width: 768px){
  .usecase-card {
    flex-direction: column;
    text-align: center;
  }
}
.usecase-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--repair-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: var(--repair-accent);
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--repair-red-glow);
}

/* Services */
.service-item-rp {
  background: var(--repair-bg-alt);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--repair-border);
  transition: all 0.3s ease;
}
.service-item-rp:hover {
  border-color: var(--repair-accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.service-item-rp i {
  font-size: 48px;
  background: var(--repair-red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  display: inline-block;
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
}
.process-step::after {
  content: '→';
  position: absolute;
  top: 20%;
  right: -15%;
  font-size: 30px;
  color: var(--repair-accent);
}
@media(max-width: 991px){
  .process-step::after { display: none; }
  .process-step { margin-bottom: 30px; }
}
.process-step:last-child::after {
  display: none;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--repair-red-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px var(--repair-red-glow);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--repair-red-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px var(--repair-red-glow);
  z-index: 1000;
  transition: all 0.3s;
}
.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 0, 60, 0.6);
  color: #fff;
}

/* ── Utility classes replacing inline styles ─────────────────────────────── */

/* Hero image */
.hero-img {
  max-height: 450px;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9);
}

/* Alternate section background */
.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

/* Gaming description max-width */
.gaming-desc {
  max-width: 700px;
}

/* Use-case card max-width */
.usecase-card-max {
  max-width: 800px;
}

/* Footer */
.repair-footer {
  background: var(--repair-bg-alt);
  border-top: 1px solid var(--repair-border);
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 3rem;
}

/* Footer copyright divider */
.footer-copyright-border {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── GEO & AI SEO Optimization Styles ─────────────────────────────────────── */

/* Hero Inverted Pyramid SEO Snippet */
.hero-seo-snippet {
  font-size: 0.95rem;
  color: var(--repair-text);
  border-left: 2px solid var(--repair-accent);
  padding-left: 15px;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.95;
}

/* Structured Services Table */
.seo-table-container {
  background: var(--repair-bg-alt);
  border: 1px solid var(--repair-border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.seo-table th, .seo-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--repair-border);
}
.seo-table th {
  color: var(--repair-text-light);
  font-weight: 700;
  border-bottom: 2px solid var(--repair-accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.seo-table td {
  font-size: 0.95rem;
}
.seo-table tr:last-child td {
  border-bottom: none;
}
.seo-table tr:hover td {
  background: rgba(255, 0, 60, 0.03);
  color: var(--repair-text-light);
}

/* Visible FAQ Accordion Section */
.repair-faq-section {
  border-top: 1px solid var(--repair-border);
}
.faq-accordion {
  max-width: 800px;
  margin: 40px auto 0;
}
.faq-item {
  background: var(--repair-bg-alt);
  border: 1px solid var(--repair-border);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(255, 0, 60, 0.4);
  box-shadow: 0 4px 20px rgba(255, 0, 60, 0.08);
}
.faq-question {
  background: none;
  border: none;
  width: 100%;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--repair-text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  text-align: left;
}
.faq-question::after {
  content: "\F282"; /* bi-chevron-down */
  font-family: "bootstrap-icons";
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  color: var(--repair-accent);
  flex-shrink: 0;
  margin-left: 15px;
}
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--repair-text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

