/* ═══════════════════════════════════════════
   SERVICES PAGE STYLES
   ═══════════════════════════════════════════ */

.services-page { background: var(--bg); }

.sv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ─── HERO ──────────────────────────────── */
.sv-hero {
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 5% 80px;
  text-align: center;
}

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

.sv-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.sv-blob-1 {
  width: 500px; height: 500px;
  background: var(--blue);
  opacity: 0.08;
  top: -100px; left: -100px;
  animation: svFloat 9s ease-in-out infinite;
}
.sv-blob-2 {
  width: 400px; height: 400px;
  background: var(--purple);
  opacity: 0.07;
  bottom: -80px; right: -60px;
  animation: svFloat 11s ease-in-out infinite reverse;
}

@keyframes svFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(15px,-15px) scale(1.05); }
}

/* subtle grid overlay */
.sv-grid-lines {
  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: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
}

.sv-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.sv-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin: 1rem 0 1.5rem;
}
.sv-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sv-hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 3rem;
}
.sv-hero-sub strong {
  color: var(--white);
  font-weight: 600;
}

.sv-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.sv-stat span {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.sv-stat p {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.sv-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.sv-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}
.sv-hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}
.sv-scroll-bar {
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── SERVICE CARDS ─────────────────────── */
.sv-list {
  position: relative;
  padding: 6rem 0 9rem;
  background: var(--bg);
  overflow: hidden;
}

.sv-list::before {
  content: none;
}

.sv-list::before {
  display: none;
  pointer-events: none;
  z-index: 0;
}

.sv-list::after {
  content: '';
  position: absolute;
  inset: auto 0 10% 0;
  margin: 0 auto;
  width: min(94%, 980px);
  height: 320px;
  background: radial-gradient(circle, rgba(59,130,246,0.025) 0%, rgba(139,92,246,0.015) 38%, transparent 72%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

.sv-list .sv-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.sv-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 36px rgba(0,0,0,0.4);
  border-radius: 16px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.sv-card:last-child {
  grid-column: span 2;
  align-items: center; /* Center content of the last one just for fun */
  text-align: center;
}

.sv-card:hover {
  border-color: rgba(59,130,246,0.22);
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.sv-card::before {
  content: none;
}

.sv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 18%) var(--mouse-y, -10%), rgba(255,255,255,0.03), transparent 42%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
  pointer-events: none;
}

.sv-card:hover::after {
  opacity: 1;
}

.sv-card-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.sv-card:last-child .sv-card-meta { justify-content: center; }

.sv-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--accent);
  opacity: 0.45;
  line-height: 1;
}

.sv-badge {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.3);
  padding: 3px 10px;
  border-radius: 100px;
}

.sv-badge--purple {
  color: var(--purple);
  border-color: rgba(139,92,246,0.3);
}

.sv-card-header {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.sv-card-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.sv-card-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 2.5rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.sv-card:last-child .sv-card-desc {
  max-width: 700px;
}

.sv-platforms {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.sv-card:last-child .sv-platforms { justify-content: center; }

.sv-platforms span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  transition: border-color 0.3s, color 0.3s;
}
.sv-card:hover .sv-platforms span {
  border-color: rgba(59,130,246,0.16);
  color: var(--gray-lt);
}

.sv-card:hover .sv-badge {
  background: rgba(59,130,246,0.05);
}

.sv-card:hover .sv-badge--purple {
  background: rgba(139,92,246,0.05);
}

.sv-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.3);
  padding: 14px 28px;
  border-radius: 8px;
  align-self: flex-start;
  transition: all 0.3s var(--ease);
  position: relative;
  z-index: 1;
}

.sv-card:last-child .sv-cta-btn { align-self: center; }

.sv-cta-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(59,130,246,0.35);
  transform: translateY(-2px);
}

/* ─── WHY ME ─────────────────────────── */
.sv-why {
  position: relative;
  padding: 8rem 0;
  background: var(--bg);
  overflow: hidden;
}

.sv-why::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(59,130,246,0.06) 0%, rgba(139,92,246,0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.sv-why .sv-container {
  position: relative;
  z-index: 2;
}

.sv-why-header {
  text-align: center;
  margin-bottom: 5rem;
}

.sv-why-header .section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sv-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.sv-why-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.sv-why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.sv-why-card:hover::after { opacity: 1; }

.sv-why-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sv-why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(59,130,246,0.25);
  background: rgba(59,130,246,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}
.sv-why-card:hover .sv-why-icon {
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.45);
}
.sv-why-icon svg { width: 22px; height: 22px; }

.sv-why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.sv-why-card p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--gray);
}

/* ─── BOTTOM CTA ─────────────────────── */
.sv-cta-section {
  padding: 10rem 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sv-cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 1000px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.1) 0%, rgba(139,92,246,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.sv-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sv-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.sv-cta-inner h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sv-cta-inner p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

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

/* ─── NAV ACTIVE ─────────────────────── */
.nav-active { color: var(--white) !important; }
.nav-active::after { width: 100% !important; }

/* ─── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .sv-card {
    grid-template-columns: 1fr;
  }
  .sv-card-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 3rem 5%;
  }
  .sv-card-right { padding: 3rem 5%; }
  .sv-card-number { display: none; }
  .sv-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sv-hero-stats { gap: 1.5rem; }
  .sv-why-grid { grid-template-columns: 1fr; }
  .sv-hero { padding: 130px 5% 60px; }
}

@media (max-width: 480px) {
  .sv-hero-stats { flex-direction: column; gap: 1.5rem; }
  .sv-stat-divider { display: none; }
}
