:root {
  --blue: #dc3545;
  --blue-dark: #b02a37;
  --sky: #ff6b78;
  --ink: #0e1a34;
  --text: #44526e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #f4f8ff, #ffffff 40%);
  overflow-x: hidden;
  perspective: 1000px;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; }

.topbar {
  background: var(--blue-dark);
  color: #d9e7ff;
  padding: 8px 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e8eefc;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 800;
}

.navbar-brand span { color: var(--blue); }
.nav-link { color: var(--ink); font-weight: 500; }
.nav-link:hover, .nav-link.active { color: var(--blue); }

.btn-brand {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  border: 0;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 18px;
}

.btn-brand:hover { color: #fff; transform: translateY(-1px); }

.btn-light-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 10px 18px;
}

.hero-carousel .carousel-item {
  min-height: 640px;
}

.hero-slide {
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #dce8ff;
  position: relative;
  overflow: hidden;
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-slide::before {
  width: 320px;
  height: 320px;
  right: -70px;
  top: -80px;
  background: rgba(255, 255, 255, 0.16);
  animation: driftSpin 16s linear infinite;
}

.hero-slide::after {
  width: 260px;
  height: 260px;
  left: -60px;
  bottom: -90px;
  background: rgba(255, 255, 255, 0.12);
  animation: driftSpin 14s linear infinite reverse;
}

.slide-1 {
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2), transparent 45%), linear-gradient(120deg, #4a1118, #dc3545 60%, #ff6b78);
}

.slide-2 {
  background: radial-gradient(circle at 10% 60%, rgba(255,255,255,0.2), transparent 45%), linear-gradient(120deg, #57141d, #c92f3f 60%, #ff7d89);
}

.slide-3 {
  background: radial-gradient(circle at 80% 80%, rgba(255,255,255,0.2), transparent 45%), linear-gradient(120deg, #651821, #dc3545 60%, #ff8d97);
}

.hero-slide h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.hero-slide .lead { color: #dce8ff; max-width: 650px; }

.section-kicker {
  display: inline-block;
  background: #e8f0ff;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 12px;
}

.hero-slide .section-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mini-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  box-shadow: 0 22px 34px rgba(1, 20, 58, 0.35);
  animation: floatY 3s ease-in-out infinite, pulseGlow 4s ease-in-out infinite;
}

.mini-card h3 { color: #fff; font-size: 2rem; margin: 6px 0; }
.mini-card p { margin: 0; color: #e6f0ff; }

.service-box, .plan-box, .tick-card, .recommend-card {
  background: #fff;
  border: 1px solid #e4ebfa;
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(220, 53, 69, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-box:hover, .plan-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(220, 53, 69, 0.2);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s ease;
}

.tilt-card > * {
  transform: translateZ(18px);
}

.tilt-card::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 45%;
  height: 330%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(22deg);
  animation: shineSweep 6.5s linear infinite;
  pointer-events: none;
}

.about-block {
  background: linear-gradient(180deg, #fff4f5, #ffffff 55%);
  position: relative;
  overflow: hidden;
}

.about-block::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -140px;
  top: -120px;
  background: radial-gradient(circle, rgba(220, 53, 69, 0.2), transparent 65%);
  animation: orbital 11s ease-in-out infinite;
}

.about-copy {
  line-height: 1.85;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.about-highlights span {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.28);
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: badgePulse 2.8s ease-in-out infinite;
}

.about-highlights span:nth-child(2) { animation-delay: 0.2s; }
.about-highlights span:nth-child(3) { animation-delay: 0.4s; }
.about-highlights span:nth-child(4) { animation-delay: 0.6s; }

.about-visual {
  position: relative;
  border-radius: 20px;
  border: 1px solid #f3b4bb;
  background: linear-gradient(160deg, rgba(220, 53, 69, 0.12), rgba(255, 255, 255, 0.92));
  padding: 28px;
  box-shadow: 0 20px 48px rgba(220, 53, 69, 0.2);
  isolation: isolate;
}

.about-core {
  position: relative;
  z-index: 2;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.orb-a {
  width: 120px;
  height: 120px;
  right: -25px;
  top: -20px;
  background: radial-gradient(circle, rgba(220, 53, 69, 0.45), rgba(220, 53, 69, 0.06));
  animation: floatY 3.6s ease-in-out infinite;
}

.orb-b {
  width: 85px;
  height: 85px;
  left: -20px;
  bottom: 24px;
  background: radial-gradient(circle, rgba(255, 107, 120, 0.45), rgba(255, 107, 120, 0.06));
  animation: floatY 3.1s ease-in-out infinite reverse;
}

.recommend-pill {
  border: 1px solid #d7e4ff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-box.featured {
  border: 2px solid #f1a2aa;
  transform: scale(1.02) translateZ(12px);
  box-shadow: 0 20px 44px rgba(220, 53, 69, 0.25);
}

.plan-box .price {
  color: var(--blue-dark);
  font-size: 1.6rem;
  font-weight: 700;
}

.plan-box .price span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.plan-box ul {
  margin: 14px 0 0;
  padding-left: 16px;
}

.plan-box li { margin-bottom: 6px; }

.ott-strip {
  background: linear-gradient(90deg, #0b4dc1, #1a83f8);
  color: #fff;
}

.bundle { background: #eef5ff; }

.clients-wrap {
  background: linear-gradient(180deg, #f5f9ff, #ffffff);
  position: relative;
}

.clients-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 30%, rgba(80, 156, 255, 0.12), transparent 35%),
              radial-gradient(circle at 80% 70%, rgba(0, 183, 255, 0.12), transparent 35%);
  animation: gradientShift 12s ease-in-out infinite;
  pointer-events: none;
}

.client-logo {
  background: #fff;
  border: 1px solid #dce8ff;
  border-radius: 14px;
  padding: 18px 12px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(12, 92, 220, 0.1);
}

.testimonials-wrap {
  background: radial-gradient(circle at top right, #e7f0ff, #ffffff 65%);
  position: relative;
  overflow: hidden;
}

.testimonials-wrap::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(73, 151, 255, 0.18), transparent 62%);
  animation: orbital 12s ease-in-out infinite;
  pointer-events: none;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #dce8ff;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 10px 26px rgba(11, 75, 184, 0.11);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(11, 75, 184, 0.2);
}

.testimonial-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.ott-marquee-wrap {
  background: linear-gradient(90deg, #b02a37, #dc3545);
}

.ott-marquee-wrap .section-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.ott-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.ott-track {
  display: inline-flex;
  gap: 14px;
  min-width: 100%;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
}

.ott-track span {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 500;
}

.stats-band {
  background: linear-gradient(180deg, #f2f8ff, #ffffff);
}

.stat-card {
  background: #fff;
  border: 1px solid #dce8ff;
  border-radius: 16px;
  padding: 22px 16px;
  box-shadow: 0 12px 30px rgba(220, 53, 69, 0.18);
}

.stat-card h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.stat-card p {
  margin: 0;
  font-weight: 500;
}

.faq-wrap { max-width: 900px; margin: 0 auto; }

.accordion-item {
  border: 1px solid #d8e4fa;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-button:not(.collapsed) {
  background: #ecf3ff;
  color: var(--blue);
}

.footer {
  background: linear-gradient(135deg, #060d1d, #101f43);
  color: #c8d5f1;
  position: relative;
  overflow: hidden;
}

.footer h5, .footer h6 { color: #fff; }
.footer li { margin-bottom: 6px; }
.footer a {
  color: #c8d5f1;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.35;
  pointer-events: none;
}

.footer::before {
  width: 180px;
  height: 180px;
  background: #00b7ff;
  left: -40px;
  bottom: -40px;
  animation: orbital 8s ease-in-out infinite;
}

.footer::after {
  width: 220px;
  height: 220px;
  background: #3e8cff;
  right: -70px;
  top: -70px;
  animation: orbital 10s ease-in-out infinite reverse;
}

.floating-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(75px);
  z-index: -1;
  opacity: 0.35;
}

.shape-a {
  width: 290px;
  height: 290px;
  left: -80px;
  top: 10%;
  background: #87b6ff;
  animation: orbital 12s ease-in-out infinite;
}

.shape-b {
  width: 310px;
  height: 310px;
  right: -90px;
  top: 45%;
  background: #92dfff;
  animation: orbital 11s ease-in-out infinite reverse;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) rotateX(7deg);
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 22px 34px rgba(1, 20, 58, 0.35); }
  50% { box-shadow: 0 30px 46px rgba(0, 183, 255, 0.32); }
}

@keyframes badgePulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 10px rgba(220, 53, 69, 0.1); }
  50% { transform: translateY(-3px); box-shadow: 0 10px 18px rgba(220, 53, 69, 0.2); }
}

@keyframes orbital {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -14px, 0) scale(1.1); }
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.8; transform: translate3d(0, 0, 0); }
  50% { opacity: 1; transform: translate3d(8px, -10px, 0); }
}

@keyframes shineSweep {
  0% { left: -45%; }
  100% { left: 140%; }
}

@keyframes driftSpin {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(0, 0, 0) rotate(360deg); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 991px) {
  .hero-slide, .hero-carousel .carousel-item { min-height: 560px; }
  .plan-box.featured { transform: none; }
  .navbar-collapse {
    margin-top: 14px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e8eefc;
    border-radius: 12px;
  }
  .navbar-nav {
    gap: 6px;
  }
  .navbar-nav .nav-link {
    padding: 8px 6px;
  }
  .navbar-collapse .btn-brand {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 767px) {
  .topbar .container {
    justify-content: center !important;
    text-align: center;
  }
  .topbar .small {
    width: 100%;
  }
  .hero-slide,
  .hero-carousel .carousel-item {
    min-height: auto;
  }
  .hero-slide {
    padding: 44px 0 52px;
  }
  .hero-slide h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
    line-height: 1.25;
  }
  .hero-slide .lead {
    font-size: 0.95rem;
    margin-bottom: 1.1rem !important;
  }
  .hero-slide .btn {
    width: 100%;
    margin-right: 0 !important;
  }
  .hero-slide .btn + .btn {
    margin-top: 10px;
  }
  .mini-card {
    padding: 20px;
    border-radius: 16px;
  }
  .about-copy {
    line-height: 1.7;
  }
  .about-visual {
    padding: 20px;
  }
  .service-box,
  .plan-box,
  .testimonial-card,
  .stat-card {
    padding: 18px;
  }
  .ott-track {
    gap: 10px;
  }
  .ott-track span {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .floating-shape {
    display: none;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  .section-kicker {
    font-size: 0.74rem;
    padding: 5px 10px;
  }
  h2 {
    font-size: 1.45rem;
  }
  .plan-box .price {
    font-size: 1.35rem;
  }
  .footer {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
