/* ============================================================
   5GLive IPTV Subscription - Custom Stylesheet
   File: assets/css/5G-iptv-subscription.css
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --sub-primary: #06b6d4;
  --sub-primary-dark: #0891b2;
  --sub-accent: #8b5cf6;
  --sub-navy: #0a2540;
  --sub-navy-light: #1e3a5f;
  --sub-bg: #ffffff;
  --sub-bg-alt: #f8fafc;
  --sub-text: #0f172a;
  --sub-muted: #64748b;
  --sub-border: #e2e8f0;
  --sub-radius: 16px;
  --sub-shadow-sm: 0 4px 12px rgba(10, 37, 64, 0.06);
  --sub-shadow-md: 0 12px 32px rgba(10, 37, 64, 0.10);
  --sub-shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.15);
}

/* ---------- Base ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--sub-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.sub-btn-primary {
  background: linear-gradient(135deg, var(--sub-primary), var(--sub-primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.35);
}

.sub-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.45);
  color: #fff;
}

.sub-btn-outline {
  background: transparent;
  color: var(--sub-navy);
  border-color: var(--sub-navy);
}

.sub-btn-outline:hover {
  background: var(--sub-navy);
  color: #fff;
}

.sub-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.sub-btn-ghost:hover {
  background: #fff;
  color: var(--sub-navy);
}

.sub-btn-lg {
  padding: 17px 36px;
  font-size: 16px;
}

/* ---------- Section Base ---------- */
.sub-section {
  padding: 80px 0;
}

.sub-section-alt {
  background: var(--sub-bg-alt);
}

.sub-head {
  text-align: center;
  margin-bottom: 55px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.sub-tag {
  display: inline-block;
  background: rgba(6, 182, 212, 0.12);
  color: var(--sub-primary-dark);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sub-head h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--sub-navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.sub-head p {
  font-size: 17px;
  color: var(--sub-muted);
  margin: 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.sub-hero {
  position: relative;
  padding: 90px 0 100px;
  background: linear-gradient(135deg, #ecfeff 0%, #fff 40%, #f5f3ff 100%);
  overflow: hidden;
}

.sub-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.10) 0%, transparent 45%);
  pointer-events: none;
}

.sub-hero-text {
  position: relative;
  z-index: 2;
}

.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sub-navy);
  margin-bottom: 22px;
  box-shadow: var(--sub-shadow-sm);
  border: 1px solid var(--sub-border);
}

.sub-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.sub-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--sub-navy);
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.sub-hl {
  background: linear-gradient(120deg, var(--sub-primary) 0%, var(--sub-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 30px;
  max-width: 540px;
}

.sub-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.sub-hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.sub-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--sub-muted);
  font-weight: 500;
}

.sub-hero-trust i {
  color: var(--sub-primary);
  font-size: 16px;
}

/* Hero Video */
.sub-hero-visual {
  position: relative;
  z-index: 1;
}

.sub-video-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sub-shadow-lg);
  background: #000;
}

.sub-video-wrap video {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.sub-video-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-video-badge i {
  color: var(--sub-primary);
  font-size: 16px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.sub-stats {
  background: var(--sub-navy);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}

.sub-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.15) 0%, transparent 30%, transparent 70%, rgba(139, 92, 246, 0.15) 100%);
}

.sub-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.sub-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--sub-primary), #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-stat span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 5px;
  font-weight: 500;
}

/* ============================================================
   FEATURES
   ============================================================ */
.sub-feature {
  background: #fff;
  border: 1px solid var(--sub-border);
  border-radius: var(--sub-radius);
  padding: 30px 26px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.sub-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sub-primary), var(--sub-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.sub-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--sub-shadow-md);
  border-color: transparent;
}

.sub-feature:hover::before {
  transform: scaleX(1);
}

.sub-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.sub-feature:hover .sub-feature-icon {
  transform: scale(1.08) rotate(-6deg);
}

.sub-icon-blue { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.sub-icon-green { background: linear-gradient(135deg, #10b981, #047857); }
.sub-icon-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.sub-icon-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.sub-feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sub-navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.sub-feature p {
  font-size: 14.5px;
  color: var(--sub-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.sub-about-visual {
  position: relative;
  padding: 15px;
}

.sub-about-img {
  width: 100%;
  border-radius: var(--sub-radius);
  box-shadow: var(--sub-shadow-md);
}

.sub-about-float {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, var(--sub-primary), var(--sub-primary-dark));
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--sub-radius);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-about-float i {
  font-size: 32px;
}

.sub-about-float strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.sub-about-float span {
  font-size: 12px;
  opacity: 0.9;
}

#sub-about h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--sub-navy);
  margin: 15px 0 22px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

#sub-about p {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 18px;
}

.sub-about-features {
  display: grid;
  gap: 16px;
  margin: 26px 0;
}

.sub-about-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--sub-border);
  transition: all 0.3s ease;
}

.sub-about-feat:hover {
  border-color: var(--sub-primary);
  transform: translateX(6px);
}

.sub-about-feat i {
  font-size: 24px;
  color: var(--sub-primary);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 12px;
}

.sub-about-feat h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--sub-navy);
  margin: 0 0 4px;
}

.sub-about-feat p {
  font-size: 14px;
  margin: 0;
  color: var(--sub-muted);
}

.sub-about-final {
  font-size: 15.5px !important;
  font-style: italic;
  color: var(--sub-navy) !important;
  padding-left: 18px;
  border-left: 3px solid var(--sub-primary);
}

/* ============================================================
   SERVICES
   ============================================================ */
.sub-service {
  position: relative;
  background: #fff;
  border: 1px solid var(--sub-border);
  border-radius: 18px;
  padding: 35px 28px;
  height: 100%;
  transition: all 0.4s ease;
  overflow: hidden;
}

.sub-service::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, var(--sub-primary), var(--sub-primary-dark));
  transition: height 0.4s ease;
  z-index: 0;
}

.sub-service:hover::after {
  height: 100%;
}

.sub-service > * {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.sub-service:hover h3,
.sub-service:hover p,
.sub-service:hover .sub-service-link {
  color: #fff;
}

.sub-service-num {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 55px;
  font-weight: 900;
  color: rgba(6, 182, 212, 0.08);
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 1;
}

.sub-service:hover .sub-service-num {
  color: rgba(255, 255, 255, 0.15);
}

.sub-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--sub-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.sub-service:hover .sub-service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: rotate(-8deg);
}

.sub-service h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--sub-navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.sub-service p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sub-muted);
  margin-bottom: 18px;
}

.sub-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sub-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.sub-service-link:hover {
  gap: 12px;
}

/* ============================================================
   HOW TO SETUP STEPS
   ============================================================ */
.sub-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.sub-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--sub-border);
  border-radius: var(--sub-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
}

.sub-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--sub-shadow-md);
  border-color: var(--sub-primary);
}

.sub-step-num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(6, 182, 212, 0.1);
  line-height: 1;
}

.sub-step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sub-primary), var(--sub-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.3);
}

.sub-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sub-navy);
  margin-bottom: 10px;
}

.sub-step p {
  font-size: 14.5px;
  color: var(--sub-muted);
  margin: 0;
  line-height: 1.6;
}

.sub-step-arrow {
  font-size: 28px;
  color: var(--sub-primary);
  text-align: center;
}

.sub-setup-cta {
  margin-top: 45px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.sub-cta {
  padding: 70px 0 90px;
  background: var(--sub-bg-alt);
}

.sub-cta-box {
  background: linear-gradient(135deg, var(--sub-navy) 0%, var(--sub-navy-light) 100%);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10, 37, 64, 0.25);
}

.sub-cta-box::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.sub-cta-box::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.sub-cta-content {
  position: relative;
  z-index: 1;
}

.sub-cta-box h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.sub-cta-box p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 32px;
}

.sub-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PRICING SECTION FIX - Heading Spacing
   ============================================================ */
#sub-pricing.pricing.section {
  padding: 70px 0 80px !important;
}

#sub-pricing .container.section-title {
  margin-bottom: 55px !important;
}

#sub-pricing .section-title h2 {
  font-size: 36px !important;
  font-weight: 800 !important;
  color: var(--sub-navy) !important;
  margin-bottom: 12px !important;
  line-height: 1.25 !important;
}

#sub-pricing .section-title p {
  font-size: 17px !important;
  color: var(--sub-muted) !important;
  margin: 0 !important;
}

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
@media (max-width: 991px) {
  .sub-section { padding: 60px 0; }
  .sub-head h2 { font-size: 30px; }
  .sub-hero { padding: 60px 0 70px; }
  .sub-hero h1 { font-size: 34px; }
  .sub-hero-desc { font-size: 16px; }
  .sub-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  #sub-about h2 { font-size: 27px; }
  .sub-steps { grid-template-columns: 1fr; gap: 30px; }
  .sub-step-arrow { transform: rotate(90deg); }
  .sub-cta-box { padding: 45px 25px; }
  .sub-cta-box h2 { font-size: 26px; }
  .sub-cta-box p { font-size: 15px; }
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 575px) {
  .sub-section { padding: 50px 0; }
  .sub-head { margin-bottom: 40px; }
  .sub-head h2 { font-size: 24px; }
  .sub-head p { font-size: 15px; }

  .sub-hero { padding: 45px 0 60px; }
  .sub-hero h1 { font-size: 26px; letter-spacing: -0.5px; }
  .sub-hero-desc { font-size: 15px; }
  .sub-hero-cta .sub-btn { width: 100%; justify-content: center; }
  .sub-hero-trust { gap: 12px; }
  .sub-hero-trust li { font-size: 13px; }

  .sub-btn { padding: 12px 22px; font-size: 14px; }
  .sub-btn-lg { padding: 14px 26px; font-size: 15px; }

  .sub-stat strong { font-size: 26px; }

  .sub-feature { padding: 24px 20px; }
  .sub-feature h3 { font-size: 17px; }
  .sub-feature p { font-size: 14px; }

  #sub-about h2 { font-size: 23px; }
  #sub-about p { font-size: 15px; }

  .sub-service { padding: 28px 22px; }
  .sub-service h3 { font-size: 17px; }

  .sub-step { padding: 26px 20px; }
  .sub-step h3 { font-size: 16px; }

  .sub-cta { padding: 50px 0 60px; }
  .sub-cta-box { padding: 35px 22px; border-radius: 20px; }
  .sub-cta-box h2 { font-size: 22px; }
  .sub-cta-box p { font-size: 14px; }
  .sub-cta-buttons .sub-btn { width: 100%; justify-content: center; }

  .sub-video-badge { font-size: 11px; padding: 6px 10px; bottom: 10px; left: 10px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}