/* ============================================
   SK AGENCY — SERVICES PAGE CSS — DARK THEME
   ============================================ */
@import url('global.css');

/* ============================================
   BASE
   ============================================ */
body {
  overflow-x: hidden;
}

/* ============================================
   SERVICES HERO
   ============================================ */
.svc-hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(124,58,237,0.12), transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(212,0,255,0.07), transparent 50%);
}

.svc-hero .orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(#c800ff, transparent);
  top: -120px; right: -80px;
}

.svc-hero .orb2 {
  width: 380px; height: 380px;
  background: radial-gradient(#7c3aed, transparent);
  bottom: -80px; left: -60px;
}

.svc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.svc-hero-content h1 { margin: 18px 0 26px; }

.svc-hero-content p {
  font-size: 1.08rem;
  max-width: 580px;
  margin: 0 auto 40px;
}

/* ============================================
   FILTER BAR
   ============================================ */
.svc-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}

.filter-btn {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.filter-btn:hover {
  border-color: var(--border-glow);
  color: var(--magenta);
  background: rgba(124,58,237,0.08);
}

.filter-btn.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(124,58,237,0.4);
}

/* ============================================
   DETAILED SERVICE BLOCKS
   ============================================ */
.svc-detailed {
  background: var(--dark2);
  border-top: 1px solid var(--border-light);
}

/* KEY FIX: Use flexbox instead of direction:rtl for reverse layout */
.svc-detail-block {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: center;
  padding: 88px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.svc-detail-block:last-child { border-bottom: none; }

/* Reverse: swap columns by reversing flex direction — NO direction:rtl */
.svc-detail-block.reverse {
  flex-direction: row-reverse;
}

/* Each child takes equal space */
.svc-detail-left,
.svc-detail-right {
  flex: 1;
  min-width: 0; /* prevent flex blowout */
}

/* Hidden state for filter */
.svc-detail-block.hidden {
  display: none;
}

.svc-detail-icon { font-size: 2.8rem; margin-bottom: 14px; }

.svc-tag {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  color: var(--magenta);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid rgba(124,58,237,0.25);
}

.svc-detail-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 18px;
  color: var(--text);
}

.svc-detail-left p { margin-bottom: 28px; }

.svc-features {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.svc-features li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s;
}

.svc-features li::before {
  content: '✦';
  color: var(--magenta);
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.svc-features li:hover { color: var(--text); }

/* ============================================
   SERVICE VISUALS
   ============================================ */
.svc-visual {
  border-radius: var(--radius-lg);
  height: 380px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  background-color: var(--dark3); /* fallback when no image */
}

.svc-vis-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Brand visual */
.vis-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
}

.vc1 { width: 220px; height: 220px; animation: spinSlow 9s linear infinite; }
.vc2 { width: 150px; height: 150px; animation: spinSlow 5s linear infinite reverse; }

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Browser visual */
.vis-browser {
  background: var(--dark4);
  border-radius: 14px;
  width: 82%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
  border: 1px solid var(--border);
}

.browser-bar {
  background: var(--dark5);
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.browser-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.browser-body { padding: 18px; }

.bb-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(155,93,229,0.2);
  margin-bottom: 10px;
  animation: barShimmer 2.5s ease-in-out infinite;
}

.bb-line.l1 { width: 80%; }
.bb-line.l2 { width: 60%; animation-delay: 0.3s; }
.bb-line.l3 { width: 74%; animation-delay: 0.6s; }

.bb-block {
  height: 80px;
  border-radius: 10px;
  background: rgba(124,58,237,0.12);
  margin: 14px 0;
  animation: barShimmer 3s ease-in-out infinite;
}

@keyframes barShimmer {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}

/* Social feed */
.social-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 72%;
}

.sf-post {
  height: 62px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 3px solid rgba(0, 0, 0, 0.089);
  animation: sfSlide 3s ease-in-out infinite;
}

.sf-post.p2 { animation-delay: -1s; }
.sf-post.p3 { animation-delay: -2s; }

@keyframes sfSlide {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(12px); }
}

/* Video visual */
.play-btn {
  font-size: 3rem;
  color: white;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  animation: pulsePb 2.5s ease-in-out infinite;
  position: relative; z-index: 2;
  box-shadow: 0 0 40px rgba(124,58,237,0.3);
  cursor: pointer;
}

@keyframes pulsePb {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(124,58,237,0.4); }
  50%       { transform: scale(1.06); box-shadow: 0 0 0 20px rgba(124,58,237,0); }
}

.film-strip {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.fs-frame {
  width: 52px; height: 38px;
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Chart visual */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 170px;
  padding: 0 24px;
}

.cb {
  flex: 1;
  background: rgba(255,255,255,0.25);
  border-radius: 8px 8px 0 0;
  animation: barGrow 2s ease-out forwards;
  box-shadow: 0 -4px 20px rgba(255,255,255,0.1);
}

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

/* PR nodes */
.pr-nodes {
  position: relative;
  width: 200px; height: 200px;
}

.pr-node {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: white;
  animation: prFloat 3s ease-in-out infinite;
  backdrop-filter: blur(4px);
}

.n-center {
  width: 62px; height: 62px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-display);
  font-size: 0.88rem;
  z-index: 2;
  background: rgba(255,255,255,0.25);
}

.n1 { width: 46px; height: 46px; top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; font-size: 1.2rem; }
.n2 { width: 46px; height: 46px; top: 50%; right: 0; transform: translateY(-50%); animation-delay: -1s; font-size: 1.2rem; }
.n3 { width: 46px; height: 46px; bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: -2s; font-size: 1.2rem; }
.n4 { width: 46px; height: 46px; top: 50%; left: 0; transform: translateY(-50%); animation-delay: -1.5s; font-size: 1.2rem; }

@keyframes prFloat {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,58,237,0.05), transparent 70%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  width: 75%;
  height: 1px;
  background: var(--gradient);
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--magenta);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.step-icon { font-size: 2.2rem; margin-bottom: 14px; }
.process-step h3 { margin-bottom: 10px; font-size: 1.05rem; color: var(--text); }
.process-step p  { font-size: 0.86rem; }

.process-step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.3);
  border-color: transparent;
}

.process-step:hover::after { opacity: 1; }
.process-step:hover h3,
.process-step:hover p,
.process-step:hover .step-num { color: white !important; }

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  background: var(--dark2);
  text-align: center;
  border-top: 1px solid var(--border-light);
  padding: 80px 0;
  overflow: hidden;
}

.pricing-sub {
  max-width: 540px;
  margin: -32px auto 52px;
  font-size: 1rem;
  padding: 0 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--dark3);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  border: 1px solid var(--border);
  text-align: left;
  position: relative;
  transition: var(--transition);
  min-width: 0;
  word-break: break-word;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.25);
  border-color: var(--border-glow);
}

.pricing-card.featured {
  background: var(--gradient);
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: 0 30px 80px rgba(124,58,237,0.35);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.pricing-card.featured .plan-name  { color: rgba(255,255,255,0.7); }
.pricing-card.featured .plan-price { color: white; }
.pricing-card.featured .plan-price span { color: rgba(255,255,255,0.65); }
.pricing-card.featured p           { color: rgba(255,255,255,0.75); }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .plan-badge { background: var(--dark); color: white; }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid var(--border-glow);
  color: var(--magenta);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--magenta);
  margin-bottom: 14px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1;
  word-break: break-word;
}

.plan-price span {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card > p {
  font-size: 0.86rem;
  margin-bottom: 26px;
  word-break: break-word;
}

.plan-features {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.plan-features li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  word-break: break-word;
}

.plan-features li::before {
  content: '✓';
  color: var(--magenta);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--dark);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.15), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212,0,255,0.1), transparent 60%);
}

.cta-orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(var(--purple), transparent);
  top: -150px; left: -150px;
}

.cta-orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(var(--pink), transparent);
  bottom: -150px; right: -150px;
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: var(--text); margin-bottom: 20px; }
.cta-content p  { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }

/* ============================================
   SOCIAL LINKS (FOOTER)
   ============================================ */
.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px);
  background: #7c3aed;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .svc-detail-block {
    flex-direction: column;
    gap: 44px;
    padding: 70px 0;
  }

  /* Override reverse on tablet — stack normally */
  .svc-detail-block.reverse {
    flex-direction: column;
  }

  .svc-detail-left,
  .svc-detail-right {
    width: 100%;
  }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 768px) {
  .svc-hero { min-height: auto; padding: 120px 0 70px; }
  .svc-hero-content h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
  .svc-hero-content p  { font-size: 0.95rem; }

  .svc-detail-block {
    padding: 60px 20px;
    gap: 36px;
  }

  .svc-visual {
    width: 100%;
    height: 260px;
  }

  .svc-detail-left {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .svc-detail-left h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    word-break: break-word;
  }

  .svc-detail-left p {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .svc-features li {
    font-size: 0.84rem;
    flex-wrap: wrap;
    word-break: break-word;
  }

  .process-grid { grid-template-columns: 1fr; }

  .svc-filter-bar { gap: 8px; padding: 0 16px; }
  .filter-btn { padding: 8px 18px; font-size: 0.76rem; }

  .pricing-section { padding: 60px 0; }
  .pricing-sub { margin: -16px auto 36px; font-size: 0.92rem; }
  .pricing-grid { max-width: 100%; padding: 0 20px; gap: 20px; }
  .pricing-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .svc-hero { padding: 110px 0 60px; }
  .svc-hero-content h1 { font-size: clamp(1.6rem, 9vw, 2.4rem); }

  .svc-detail-block { padding: 48px 16px; gap: 28px; }

  .svc-detail-left h2 { font-size: clamp(1.4rem, 7.5vw, 1.8rem); }

  .svc-visual { height: 220px; }

  .svc-tag {
    font-size: 0.65rem;
    padding: 5px 12px;
    letter-spacing: 1.5px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .svc-features li { font-size: 0.8rem; }

  .process-step { padding: 28px 18px; }

  .pricing-section { padding: 48px 0; }
  .pricing-sub { padding: 0 16px; }
  .pricing-grid { padding: 0 16px; gap: 16px; }
  .pricing-card { padding: 28px 18px; }
  .plan-price { font-size: 1.8rem; }
  .plan-features li { font-size: 0.82rem; }

  .cta-section { padding: 80px 0; }
  .cta-content h2 { font-size: clamp(1.6rem, 7.5vw, 2.4rem); }
}



/* ============================================ */


.svc-visual{
    position: relative;
    width: 100%;
    height: 400px; /* Adjust as needed */
    overflow: hidden;
    border-radius: 20px;
}

.bg-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc-vis-inner{
    position: relative;
    z-index: 2;
}