/* ===========================
   SERVICES PAGE STYLES
   =========================== */

.services-section {
  padding: 5rem 0 7rem;
}

.service-detail {
  padding: 5rem 0;
  position: relative;
}

.service-detail-badge {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.06);
  position: absolute;
  top: 2rem;
  right: 0;
  line-height: 1;
  pointer-events: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.service-detail-grid.reversed {
  direction: rtl;
}

.service-detail-grid.reversed > * {
  direction: ltr;
}

.service-label {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.service-label.iot {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--orange-light);
}

.service-label.ai {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--purple-light);
}

.service-label.saas {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-light);
}

.service-label.digital {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--orange-light);
}

.service-detail-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.service-detail-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-deliverables {
  margin: 2rem 0;
}

.service-deliverables h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.deliverable {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.875rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s;
}

.deliverable:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 360px;
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
  border-radius: 50%;
}

.vc-stat {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.vc-stat:last-child { border-bottom: none; }

.vc-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.vc-stat span:last-child {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.service-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* PRICING */
.pricing-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
}

.pricing-card.featured {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(59,130,246,0.06));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.pricing-sub {
  font-size: 0.8rem;
  color: var(--orange-light);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-card > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  margin-bottom: 2rem;
}

.pricing-card ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-card ul li:last-child { border-bottom: none; }

@media (max-width: 1024px) {
  .service-detail-grid { gap: 3rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .service-detail-grid,
  .service-detail-grid.reversed {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-detail-badge { font-size: 3rem; top: 1rem; }
}

@media (max-width: 768px) {

  .packages {
    grid-template-columns: 1fr;
  }

  .packages-section h1 {
    font-size: 2rem;
  }

  /* LOGO BIGGER ON MOBILE */
  .logo {
    width: 10vw;
  }

  .logo-main {
    width: 45vw;
  }

  /* BUTTON FULL WIDTH + CENTER */
  .package-btn {
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0 auto; /* THIS centers it */
  }
}

@media (max-width: 480px) {
  .package {
    padding: 25px 18px;
  }

  .package-btn {
    max-width: 100%;
  }
}
@media (max-width: 768px) {

  /* =========================
     NAVBAR FIX (MOBILE MENU)
     ========================= */

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 6, 8, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
  }

  /* =========================
     HERO FIX
     ========================= */

  .hero {
    padding: 7rem 1.5rem 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* =========================
     PACKAGE BUTTON FIX
     ========================= */

  .package-btn {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 1rem;
  }

  /* =========================
     FOOTER FIX
     ========================= */

  .footer-bottom {
    text-align: center;
  }
}
.basic-btn,
.standard-btn,
.premium-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.basic-btn:hover,
.standard-btn:hover,
.premium-btn:hover {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .section-tag {
    color: rgba(255, 255, 255, 0.95);        /* white text */
    background: rgba(255, 255, 255, 0.4);    /* semi-transparent white */
    border: 1px solid rgba(255, 255, 255, 0.5);

    font-size: 0.7rem;                       /* slightly smaller */
    letter-spacing: 0.1em;
    padding: 0.25rem 0.9rem;

    backdrop-filter: blur(6px);              /* glass effect */
  }
}
