/* ==========================================================================
   Service Pages Component Styles - PREMIUM GLASSMORPHISM
   ========================================================================== */

/* Hero Client Logo Bar */
.client-logo-bar {
  margin-top: 4rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.client-logo-bar p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 2rem;
  font-weight: 600;
}
.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
  opacity: 0.6;
}
.logo-grid img {
  height: 32px;
  filter: grayscale(100%) brightness(200%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo-grid img:hover {
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.1);
  opacity: 1;
}

/* Base Glass Card Styles */
.glass-card {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 153, 255, 0.3);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 20px 40px rgba(0, 153, 255, 0.15);
}

/* FAB Service Sections (Bento Grid feel) */
.fab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.fab-card {
  padding: 3rem 2.5rem;
}
.fab-feature {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 153, 255, 0.1);
  border-radius: 100px;
}
.fab-advantage {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.fab-benefit {
  color: var(--gray-400);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 3.5rem;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(255,255,255,0.05));
  z-index: 0;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}
.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  line-height: 1;
  background: var(--bg);
  padding: 0 10px;
}

/* Social Proof (Hybrid Testimonials) */
.video-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}
.video-card {
  aspect-ratio: 16/9;
  background: #111;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  cursor: pointer;
}
.video-card img {
  transition: transform 0.7s ease;
}
.video-card:hover img {
  transform: scale(1.05);
}
.play-btn {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.7);
  animation: pulse-blue 2s infinite;
}
.video-card:hover .play-btn {
  transform: scale(1.15);
  background: #fff;
  color: var(--primary);
  animation: none;
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(0, 153, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0); }
}

.text-testimonials {
  column-count: 3;
  column-gap: 2.5rem;
}
.text-review {
  break-inside: avoid;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}
.star-rating {
  color: #fbbf24;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* Pricing Toggle & Tables */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}
.pricing-toggle {
  display: inline-flex;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}
.toggle-btn {
  padding: 0.85rem 2.5rem;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--gray-400);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.toggle-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}
.pricing-card {
  padding: 3.5rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Extend glass-card on pricing */
.pricing-card {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05), 0 15px 35px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 153, 255, 0.3);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 20px 40px rgba(0, 153, 255, 0.15);
}

/* Most Popular Animated Card */
.pricing-card.popular {
  border: 1px solid transparent;
  background: linear-gradient(rgba(20,20,20,0.9), rgba(20,20,20,0.9)) padding-box,
              linear-gradient(135deg, var(--primary), #8a2be2) border-box;
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 153, 255, 0.15);
}
.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 153, 255, 0.25);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), #8a2be2);
  color: #fff;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(0,153,255,0.4);
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin: 2rem 0;
  letter-spacing: -0.03em;
}
.currency-symbol {
  font-size: 2rem;
  vertical-align: super;
  color: var(--gray-400);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  flex-grow: 1;
}
.pricing-features li {
  margin-bottom: 1.25rem;
  color: var(--gray-300);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
}
.pricing-features li::before {
  content: '✦'; /* Sleeker checkmark */
  color: var(--primary);
  font-size: 1.1rem;
}

/* Checkout UI Modal (Premium Glass) */
.checkout-ui {
  padding: 4rem 3rem;
  max-width: 650px;
  margin: 5rem auto;
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.payment-option::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}
.payment-option:hover, .payment-option.selected {
  border-color: rgba(0, 153, 255, 0.5);
  background: rgba(0, 153, 255, 0.05);
  transform: translateX(5px);
}
.payment-option.selected::before {
  transform: scaleY(1);
}
.payment-option input[type="radio"] {
  margin-top: 6px;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}
.microcopy {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  line-height: 1.5;
}
.trust-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.trust-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray-300);
}

/* Form Styles */
.frictionless-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.frictionless-form input, .frictionless-form select {
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.3s ease;
}
.frictionless-form input:focus, .frictionless-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15);
}
.frictionless-form button {
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}
.frictionless-form button:hover {
  background: #0088ee;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 153, 255, 0.3);
}

/* SEO Tables & FAQ */
.seo-table-wrap {
  overflow-x: auto;
  margin: 4rem 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(24px);
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
}
.seo-table th, .seo-table td {
  padding: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}
.seo-table th {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0;
}
.faq-question {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
}
.faq-answer {
  color: var(--gray-400);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
  .pricing-grid { gap: 1.5rem; }
  .pricing-card { padding: 2.5rem 2rem; }
}
@media (max-width: 992px) {
  .fab-grid { grid-template-columns: repeat(2, 1fr); }
  .text-testimonials { column-count: 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-5px); }
  .process-timeline::before { left: 2rem; }
}
@media (max-width: 768px) {
  .fab-grid { grid-template-columns: 1fr; }
  .text-testimonials { column-count: 1; }
  .process-step { flex-direction: column; gap: 1rem; padding: 1.5rem; }
  .process-timeline::before { display: none; }
  .checkout-ui { padding: 2.5rem 1.5rem; }
}

/* Utility Extension: Map the HTML class `.fab-card`, `.text-review`, `.checkout-ui`, `.process-step` to glass-card behavior */
.fab-card, .text-review, .checkout-ui, .process-step {
  @extend .glass-card;
  /* Since CSS doesn't support @extend natively without SASS, applying explicitly: */
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fab-card:hover, .text-review:hover, .process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 153, 255, 0.3);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0, 153, 255, 0.15);
}
