/* ========== SERVICES PAGE ========== */

/* Hero glow effect */
.ios-hero h1 {
  position: relative;
}

.ios-hero h1::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  filter: blur(30px);
  opacity: 0.5;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}

.ios-service-list {
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.6) 0%, rgba(15, 5, 40, 0.4) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(120, 50, 200, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ios-service-row {
  display: flex;
  align-items: center;
  padding: var(--row-pad-y) var(--row-pad-x);
  border-bottom: 0.5px solid rgba(120, 50, 200, 0.15);
  transition: background 0.2s var(--ease-out);
  position: relative;
}

.ios-service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #7c3aed, #a855f7);
  border-radius: 0 3px 3px 0;
  transition: height 0.2s var(--ease-out);
}

.ios-service-row:hover::before,
.ios-service-row:active::before {
  height: 60%;
}

.ios-service-row:last-child { border-bottom: none; }
.ios-service-row:hover { background: rgba(120, 50, 200, 0.12); }
.ios-service-row:active { background: rgba(120, 50, 200, 0.18); }

.ios-service-row .service-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(120, 50, 200, 0.4) 0%, rgba(80, 20, 150, 0.3) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  margin-right: var(--gap-inline);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(120, 50, 200, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.ios-service-row .service-content { flex: 1; }

.ios-service-row .service-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #fff;
}

.ios-service-row .service-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.ios-service-row .service-arrow {
  color: rgba(168, 85, 247, 0.7);
  font-size: 20px;
  margin-left: 12px;
  font-weight: 400;
  transition: transform 0.2s var(--ease-out);
}

.ios-service-row:hover .service-arrow {
  transform: translateX(4px);
}

/* Service detail inside card */
.ios-service-detail {
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.7) 0%, rgba(15, 5, 40, 0.5) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(120, 50, 200, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--card-pad-y) var(--card-pad-x);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.ios-service-detail h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #fff;
}

.ios-service-detail p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ios-service-detail .detail-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.ios-service-detail .detail-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.ios-service-detail .detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

@media (min-width: 768px) {
  .ios-service-detail h3 { font-size: 24px; }
}
