/* ============================================================
   SOFTECHPILLAR — services.css
   Dedicated stylesheet for services.php
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.svc-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse, rgba(255,43,43,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.svc-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

/* ── STICKY TABS ──────────────────────────────────────────── */
.tabs-wrap {
  position: sticky;
  top: 60px; z-index: 100;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.9rem 0;
}
.tabs-inner {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.tab-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.tab-btn:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.tab-btn.active {
  background: rgba(255,43,43,0.12);
  border-color: rgba(255,43,43,0.35);
  color: #fff;
}

/* ── SERVICE CARDS ────────────────────────────────────────── */
.svcs-section { padding: 4rem 0 5rem; }
.svcs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.svc-full-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.svc-full-card.hidden { display: none !important; }
.svc-full-card:hover {
  border-color: rgba(255,43,43,0.22);
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.7);
}
.sfc-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,43,43,0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.svc-full-card:hover .sfc-glow { opacity: 1; }
.sfc-top {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.sfc-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
  background: rgba(255,43,43,0.07);
  border: 1px solid rgba(255,43,43,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.3s;
}
.svc-full-card:hover .sfc-icon {
  background: rgba(255,43,43,0.14);
  box-shadow: 0 0 20px rgba(255,43,43,0.2);
}
.sfc-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.sfc-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.sfc-desc {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.sfc-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.sfc-features li {
  font-size: 0.77rem;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.sfc-features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.sfc-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.sfc-tech span {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  background: rgba(123,97,255,0.08);
  border: 1px solid rgba(123,97,255,0.2);
  color: var(--purple);
}
.sfc-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 1.5rem 0; }
.sfc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.2s;
}
.sfc-cta:hover { gap: 0.7rem; }

/* ── PROCESS TIMELINE ─────────────────────────────────────── */
.svc-process { padding: 5rem 0; background: #050505; }
.proc-timeline {
  max-width: 800px;
  margin: 4rem auto 0;
  position: relative;
}
.proc-timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--red), var(--purple), transparent);
}
.pt-item {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.pt-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  z-index: 1;
  transition: all 0.3s;
}
.pt-item:hover .pt-num {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 15px rgba(255,43,43,0.25);
}
.pt-body { padding-top: 0.8rem; }
.pt-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.pt-desc { font-size: 0.83rem; color: var(--gray); line-height: 1.7; }

/* ── PRICING ──────────────────────────────────────────────── */
.svc-pricing { padding: 5rem 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 4rem;
}
.price-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--purple));
  opacity: 0;
  transition: opacity 0.3s;
}
.price-card:hover,
.price-card.featured { border-color: rgba(255,43,43,0.25); transform: translateY(-5px); }
.price-card:hover::before,
.price-card.featured::before { opacity: 1; }
.price-card.featured { background: rgba(255,43,43,0.03); }
.pc-badge {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.22rem 0.7rem; border-radius: 100px;
  background: rgba(255,43,43,0.1); color: var(--red);
  border: 1px solid rgba(255,43,43,0.25);
  display: inline-block; margin-bottom: 1rem;
}
.pc-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.pc-desc { font-size: 0.75rem; color: var(--gray); margin-bottom: 1.5rem; line-height: 1.6; }
.pc-price { font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: 0.2rem; }
.pc-price small { font-size: 0.72rem; color: var(--gray); font-weight: 400; }
.pc-note { font-size: 0.68rem; color: var(--gray); margin-bottom: 1.5rem; }
.pc-features {
  list-style: none; text-align: left;
  margin-bottom: 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.pc-features li { font-size: 0.75rem; color: var(--gray); display: flex; align-items: center; gap: 0.4rem; }
.pc-features li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.pc-cta {
  display: block; width: 100%; padding: 0.75rem;
  border-radius: 10px; text-align: center;
  font-size: 0.85rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
  font-family: var(--font-body); cursor: pointer; border: none;
}
.pc-cta.solid { background: var(--red); color: #fff; box-shadow: 0 0 20px rgba(255,43,43,0.3); }
.pc-cta.solid:hover { background: var(--red2); transform: translateY(-2px); }
.pc-cta.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.pc-cta.ghost:hover { border-color: var(--red); color: var(--red); }

/* ── TECH CHIPS ───────────────────────────────────────────── */
.tech-section { padding: 5rem 0; background: #050505; }
.tech-chips-wrap {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  justify-content: center;
  margin-top: 3rem;
  max-width: 860px;
  margin-left: auto; margin-right: auto;
}
.tech-chip-big {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; border-radius: 100px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem; font-weight: 600;
  color: var(--gray); transition: all 0.25s; cursor: default;
}
.tech-chip-big:hover {
  border-color: rgba(255,43,43,0.3);
  color: #fff;
  background: rgba(255,43,43,0.04);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.svc-faq { padding: 5rem 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
}

/* ── FINAL CTA ────────────────────────────────────────────── */
.svc-cta {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.svc-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50%, rgba(255,43,43,0.1), transparent 65%);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .svcs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .sfc-features { grid-template-columns: 1fr; }
}
