:root {
  color-scheme: light;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --border-soft: rgba(255, 255, 255, 0.68);
  --text-main: #0f172a;
  --text-soft: #475569;
  --brand: #2f8ae0;
  --brand-dark: #1759a1;
  --accent: #b6f711;
}

html.dark {
  color-scheme: dark;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
}

body {
  min-height: 100vh;
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 94%);
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease;
}

.dark .nav-link {
  color: rgba(248, 250, 252, 0.84);
}

.nav-link:hover {
  color: #d9edff;
}

#navbar.is-scrolled .nav-link {
  color: rgba(15, 23, 42, 0.82);
}

#navbar.is-scrolled .nav-link:hover {
  color: var(--brand);
}

.dark #navbar.is-scrolled .nav-link {
  color: rgba(248, 250, 252, 0.84);
}

.dark #navbar.is-scrolled .nav-link:hover {
  color: #d9edff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: transform 0.25s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.mobile-link {
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.dark .mobile-link {
  color: #f8fafc;
}

.mobile-link:hover {
  background: rgba(47, 138, 224, 0.08);
  color: var(--brand);
  transform: translateX(4px);
}

#navbar .brand-kicker {
  color: #bfdbfe;
}

#navbar .brand-name {
  color: #ffffff;
}

#navbar.is-scrolled .brand-kicker {
  color: var(--brand);
}

#navbar.is-scrolled .brand-name {
  color: #0f172a;
}

.dark #navbar.is-scrolled .brand-kicker {
  color: #bfdbfe;
}

.dark #navbar.is-scrolled .brand-name {
  color: #ffffff;
}

#navbar.is-scrolled .mx-auto {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.dark #navbar.is-scrolled .mx-auto {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(6, 17, 32, 0.78);
}

.glass-card-dark {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.hero-panel {
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.network-visual {
  min-height: 360px;
}

.fiber-line {
  stroke-dasharray: 16;
  animation: pulse-line 6s linear infinite;
}

.fiber-delay {
  animation-delay: -1.2s;
}

.fiber-slow {
  animation-duration: 7.5s;
}

.pulse-dot {
  animation: pulse-node 2.2s ease-in-out infinite;
}

.pulse-delay {
  animation-delay: -0.55s;
}

.pulse-slow {
  animation-delay: -1.1s;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: rgba(47, 138, 224, 0.1);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.dark .section-eyebrow {
  background: rgba(47, 138, 224, 0.14);
  color: #bfdbfe;
}

.section-title {
  margin-top: 1.4rem;
  color: var(--text-main);
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.section-copy {
  margin-top: 1.35rem;
  max-width: 42rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 2;
}

.info-card,
.why-card,
.service-card,
.feature-panel,
.coverage-card,
.contact-card,
.testimonial-card,
.faq-item,
.stat-card {
  border: 1px solid var(--border-soft);
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.info-card,
.why-card,
.service-card,
.coverage-card,
.contact-card,
.testimonial-card,
.faq-item {
  border-radius: 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.feature-panel,
.stat-card {
  border-radius: 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.info-card,
.why-card,
.service-card,
.coverage-card,
.testimonial-card,
.faq-item,
.stat-card {
  padding: 1.5rem;
}

.feature-panel,
.contact-card {
  padding: 1.75rem;
}

.why-card,
.service-card,
.pricing-card,
.info-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.why-card::before,
.service-card::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: auto -25% -45% auto;
  height: 160px;
  width: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(164, 236, 13, 0.18), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.why-card:hover,
.service-card:hover,
.info-card:hover,
.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 138, 224, 0.24);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

.why-card:hover::before,
.service-card:hover::before,
.info-card:hover::before {
  opacity: 1;
}

.icon-badge,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  width: 3.25rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(47, 138, 224, 0.14), rgba(164, 236, 13, 0.16));
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dark .icon-badge,
.dark .service-icon {
  color: #dbeafe;
}

.value-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: rgba(47, 138, 224, 0.12);
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 600;
}

.dark .value-pill {
  background: rgba(47, 138, 224, 0.16);
  color: #bfdbfe;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.96));
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
}

.dark .pricing-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.72));
}

.pricing-card.featured {
  border-color: rgba(47, 138, 224, 0.24);
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(47, 138, 224, 0.08);
}

.pricing-glow {
  position: absolute;
  inset: -10% -10% auto auto;
  height: 210px;
  width: 210px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 138, 224, 0.22), transparent 68%);
}

.pricing-card.featured .pricing-glow {
  background: radial-gradient(circle, rgba(164, 236, 13, 0.22), transparent 68%);
}

.pricing-content {
  position: relative;
  padding: 2rem;
}

.speedtest-panel,
.cta-banner {
  display: grid;
  gap: 2rem;
  border-radius: 2rem;
  padding: 2.25rem;
}

.speedtest-panel {
  align-items: center;
  border: 1px solid rgba(47, 138, 224, 0.12);
  background:
    radial-gradient(circle at top right, rgba(164, 236, 13, 0.14), transparent 25%),
    linear-gradient(135deg, rgba(47, 138, 224, 0.08), rgba(255, 255, 255, 0.88));
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.dark .speedtest-panel {
  background:
    radial-gradient(circle at top right, rgba(164, 236, 13, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(47, 138, 224, 0.1), rgba(255, 255, 255, 0.03));
}

.cta-banner {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(164, 236, 13, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(29, 78, 216, 0.94), rgba(11, 21, 48, 0.96));
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
}

.testimonial-shell {
  border-radius: 2rem;
}

.testimonial-slide {
  min-width: 100%;
}

.testimonial-dot {
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 999px;
  background: rgb(203 213 225);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.dark .testimonial-dot {
  background: rgb(71 85 105);
}

.testimonial-dot.is-active {
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(47, 138, 224, 0.14);
  transform: scale(1.05);
}

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 1.4rem 1.5rem;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 1.5rem;
  transition: grid-template-rows 0.32s ease, padding-bottom 0.32s ease;
}

.faq-panel p {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.9;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  padding-bottom: 1.5rem;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.contact-input {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.contact-input:focus {
  border-color: rgba(47, 138, 224, 0.5);
  box-shadow:
    0 0 0 4px rgba(47, 138, 224, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: none;
}

.dark .contact-input {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
}

.dark .contact-input::placeholder {
  color: #64748b;
}

.footer-link {
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: white;
}

.floating-wa {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
}

.floating-wa-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.35);
  animation: ping-soft 2s ease-out infinite;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-line {
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes pulse-node {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(200, 255, 91, 0));
  }
  50% {
    transform: scale(1.18);
    filter: drop-shadow(0 0 12px rgba(200, 255, 91, 0.45));
  }
}

@keyframes ping-soft {
  0% {
    transform: scale(0.92);
    opacity: 0.95;
  }
  70%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@media (min-width: 640px) {
  .speedtest-panel,
  .cta-banner {
    grid-template-columns: minmax(0, 1.2fr) auto;
    padding: 2.6rem;
  }
}

@media (max-width: 1023px) {
  #navbar.is-scrolled .mx-auto {
    border-radius: 1.5rem;
  }
}

@media (max-width: 639px) {
  .network-visual {
    min-height: 300px;
  }

  .pricing-content,
  .feature-panel,
  .contact-card {
    padding: 1.4rem;
  }

  .floating-wa {
    right: 1rem;
    bottom: 1rem;
  }

  .faq-trigger {
    padding: 1.2rem 1.25rem;
  }

  .faq-panel {
    padding: 0 1.25rem;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
