/* ============ Dot Internet - Custom Styles ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  --dot-red: #e11d48;
  --dot-red-dark: #be123c;
  --dot-ink: #0b1220;
  --dot-navy: #101b31;
  --dot-gold: #f59e0b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-bengali { font-family: 'Hind Siliguri', 'Inter', sans-serif; }

/* Brand colors */
.text-dot-red { color: var(--dot-red); }
.bg-dot-red { background-color: var(--dot-red); }
.bg-dot-ink { background-color: var(--dot-ink); }
.bg-dot-navy { background-color: var(--dot-navy); }
.border-dot-red { border-color: var(--dot-red); }
.text-dot-gold { color: var(--dot-gold); }

.bg-dot-gradient {
  background: linear-gradient(135deg, var(--dot-red) 0%, #f97316 100%);
}
.bg-dot-gradient-dark {
  background: linear-gradient(160deg, var(--dot-ink) 0%, var(--dot-navy) 55%, #1e293b 100%);
}
.text-gradient-red {
  background: linear-gradient(90deg, var(--dot-red), #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Topbar + header */
.topbar-social a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  transition: all .2s ease;
  line-height: 1;
}
.topbar-social a:hover {
  background: var(--dot-red);
  transform: translateY(-2px);
}

/* Sticky header elevation */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled {
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.45);
  background: rgba(11,18,32,.97);
  backdrop-filter: blur(8px);
}

/* Nav links */
.nav-link {
  position: relative;
  color: #cbd5e1;
  font-weight: 500;
  transition: color .2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--dot-red);
  transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #fff; }
.nav-link.active::after { width: 100%; }

/* Buttons */
.btn-dot {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, var(--dot-red) 0%, #f97316 100%);
  color: #fff; font-weight: 600;
  padding: .7rem 1.4rem; border-radius: 9999px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px -8px rgba(225,29,72,.6);
}
.btn-dot:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(225,29,72,.65); }

.btn-dot-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 2px solid rgba(255,255,255,.35); color: #fff; font-weight: 600;
  padding: .65rem 1.3rem; border-radius: 9999px;
  transition: all .2s ease;
}
.btn-dot-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-dot-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--dot-ink); color: #fff; font-weight: 600;
  padding: .7rem 1.4rem; border-radius: 9999px;
  transition: all .2s ease;
}
.btn-dot-dark:hover { background: var(--dot-red); transform: translateY(-2px); }

/* Section label chip */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(225,29,72,.1);
  color: var(--dot-red); font-weight: 700; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 9999px;
  border: 1px solid rgba(225,29,72,.25);
}
.chip-light {
  background: rgba(255,255,255,.08);
  color: #fda4af; border-color: rgba(255,255,255,.15);
}

/* Cards */
.card-hover { transition: transform .3s ease, box-shadow .3s ease; }
.card-hover:hover { transform: translateY(-6px); }

/* Hero floating animation */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.animate-floaty { animation: floaty 5s ease-in-out infinite; }
.animate-floaty-slow { animation: floaty 7s ease-in-out infinite; }

/* Fade up reveal */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }

/* Pulse ring for globe */
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(225,29,72,.45); }
  70% { box-shadow: 0 0 0 22px rgba(225,29,72,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); }
}
.animate-pulse-ring { animation: pulseRing 2.4s ease-out infinite; }

/* Package slider */
.package-slider { scroll-snap-type: x mandatory; }
.package-slider > * { scroll-snap-align: center; }
.package-slider::-webkit-scrollbar { height: 6px; }
.package-slider::-webkit-scrollbar-track { background: rgba(255,255,255,.08); border-radius: 99px; }
.package-slider::-webkit-scrollbar-thumb { background: var(--dot-red); border-radius: 99px; }

/* Marquee for client logos */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

/* Green tick feature tile */
.feature-tile {
  display: flex; align-items: center; gap: .9rem;
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 1rem; padding: 1rem 1.25rem;
  transition: all .25s ease;
}
.feature-tile:hover {
  border-color: var(--dot-red);
  box-shadow: 0 12px 24px -12px rgba(225,29,72,.35);
  transform: translateY(-3px);
}
.feature-tile .tick {
  width: 30px; height: 30px; flex: none;
  border-radius: 9999px; background: #dcfce7; color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}

/* Service card */
.service-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 1.25rem;
  padding: 1.75rem; position: relative; overflow: hidden;
  transition: all .3s ease;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--dot-red), #f97316);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(11,18,32,.35); }
.service-card .icon-box {
  width: 56px; height: 56px; border-radius: 1rem;
  background: rgba(225,29,72,.1); color: var(--dot-red);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  transition: all .3s ease;
}
.service-card:hover .icon-box {
  background: var(--dot-gradient); color: #fff;
}

/* Quick link tiles */
.quick-tile {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  min-height: 220px; display: flex; align-items: flex-end;
  padding: 1.5rem; color: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.quick-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(0,0,0,.5); }
.quick-tile .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,.05) 20%, rgba(11,18,32,.92) 100%);
}
.quick-tile .content { position: relative; z-index: 1; }
.quick-tile h3 { font-weight: 800; font-size: 1.5rem; }

/* Pricing card */
.pricing-card {
  background: linear-gradient(180deg, #101b31 0%, #0b1220 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.5rem; padding: 1.75rem; color: #fff;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); }
.pricing-card .speed {
  font-size: 2.6rem; font-weight: 900; line-height: 1;
  background: linear-gradient(90deg, #fb7185, #f97316);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pricing-card .badge-hot {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--dot-red); color: #fff; font-size: .65rem; font-weight: 800;
  padding: .25rem .6rem; border-radius: 9999px; letter-spacing: .08em;
  display: flex; align-items: center; gap: .3rem;
}
.pricing-card .price {
  font-size: 1.6rem; font-weight: 800; color: #fff;
}

/* Newsletter */
.newsletter-input {
  width: 100%; border-radius: 9999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #fff; padding: .8rem 1.3rem; outline: none;
  transition: all .2s ease;
}
.newsletter-input::placeholder { color: #94a3b8; }
.newsletter-input:focus { border-color: var(--dot-red); background: rgba(255,255,255,.12); }

/* The native <select> popup is painted by the OS widget and ignores the
   inherited color/background, which renders white text on a white list.
   Give <option> an explicit solid background so the list stays readable. */
.newsletter-input option {
  background-color: var(--dot-navy);
  color: #fff;
}
.newsletter-input option:checked {
  background-color: var(--dot-red);
  color: #fff;
}
/* Suppress the default UA arrow so it is visible against the dark field. */
select.newsletter-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 1rem 1rem;
}

/* Footer links */
.footer-link {
  color: #94a3b8; font-size: .9rem;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-link:hover { color: #fff; padding-left: 4px; }
.footer-link::before { content: '\203A'; margin-right: .5rem; color: var(--dot-red); }

/* Payment badges */
.pay-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: .75rem; padding: .5rem .9rem;
  font-size: .8rem; font-weight: 600; color: #e2e8f0;
}

/* Coverage map placeholder glow */
.coverage-map {
  position: relative;
}
.coverage-map::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(225,29,72,.18), transparent 60%);
  pointer-events: none;
}
/* Map embeds are pasted into admin with their own width/height attributes,
   which would overflow the fixed-height frame. Force them to fill it. */
.coverage-map iframe {
  width: 100%; height: 100%; border: 0; display: block;
}

/* Back to top */
.scroll-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60;
  width: 46px; height: 46px; border-radius: 9999px;
  background: linear-gradient(135deg, var(--dot-red), #f97316);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(225,29,72,.6);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .3s ease;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0b1220; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--dot-red), #f97316); border-radius: 99px; }

::selection { background: var(--dot-red); color: #fff; }

/* ============ Design variant switcher (preview tool) ============ */
.design-switcher {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 70;
  font-family: 'Inter', sans-serif;
}
.design-switcher summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  background: #0b1220; color: #fff; font-weight: 700; font-size: .78rem;
  padding: .6rem 1rem; border-radius: 9999px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
  transition: transform .2s ease;
}
.design-switcher summary::-webkit-details-marker { display: none; }
.design-switcher summary:hover { transform: translateY(-2px); }
.design-switcher[open] summary { border-radius: 9999px; }
.design-switcher .menu {
  position: absolute; bottom: calc(100% + .6rem); left: 0;
  background: #0b1220; border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem; padding: .5rem; min-width: 180px;
  display: flex; flex-direction: column; gap: .15rem;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
}
.design-switcher .menu a {
  display: flex; align-items: center; gap: .6rem;
  color: #cbd5e1; font-size: .8rem; font-weight: 600;
  padding: .55rem .8rem; border-radius: .6rem; transition: all .2s ease;
}
.design-switcher .menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.design-switcher .menu a .dotx {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255,255,255,.25);
}
.design-switcher .menu a.active { color: #fff; background: rgba(255,255,255,.08); }
