:root {
  --bg: #f5f7fb;
  --ink: #132034;
  --muted: #61708a;
  --line: #dce4ef;
  --blue: #1463ff;
  --blue-dark: #0d3f9d;
  --green: #1d9b73;
  --amber: #f6b94b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(28, 45, 74, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1.03);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(20, 99, 255, 0.28);
  }

  50% {
    box-shadow: 0 18px 38px rgba(20, 99, 255, 0.42);
  }
}

@keyframes shimmer {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--white);
  animation: headerDrop 0.7s ease both;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(17, 29, 51, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green), var(--blue));
  background-size: 200% 200%;
  font-weight: 900;
  letter-spacing: 0;
  animation: shimmer 5s ease-in-out infinite alternate;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--amber);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(18px, 5vw, 72px) 34px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(13, 40, 77, 0.3), rgba(13, 40, 77, 0.04)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center / cover;
  transform: scale(1.03);
  animation: heroZoom 1.8s ease both;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(7, 24, 48, 0.9), rgba(14, 62, 107, 0.58) 50%, rgba(14, 62, 107, 0.16));
}

.hero-content,
.hero-stats {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  padding-bottom: 74px;
  animation: fadeUp 0.9s 0.15s ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-content p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(20, 99, 255, 0.28);
  animation: softPulse 3.8s ease-in-out infinite;
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.btn.secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.btn.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s 0.42s ease both;
}

.hero-stats div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.22s ease, background 0.22s ease;
}

.hero-stats div:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.45rem;
}

.hero-stats span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 88px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-copy {
  max-width: 680px;
}

.section-copy p {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: start;
  background: var(--white);
}

.feature-grid,
.benefit-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.feature-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid article,
.benefit-grid article,
.price-card,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(21, 36, 62, 0.06);
}

.feature-grid article,
.benefit-grid article {
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-grid article:hover,
.benefit-grid article:hover,
.price-card:hover {
  border-color: rgba(20, 99, 255, 0.28);
  box-shadow: 0 18px 40px rgba(21, 36, 62, 0.12);
  transform: translateY(-6px);
}

.icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
  font-size: 0.8rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.feature-grid article:hover .icon {
  background: var(--blue);
  transform: rotate(-4deg) scale(1.06);
}

.feature-grid p,
.benefit-grid p,
.price-card p,
.price-card li {
  color: var(--muted);
}

.band {
  background: linear-gradient(180deg, #eef4ff, #f8fbff);
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  background: var(--white);
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.image-panel:hover img {
  transform: scale(1.06);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 9px;
  content: "";
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.speed-test {
  background: #10223e;
  color: var(--white);
}

.speed-test .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.speed-frame {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.speed-frame iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.price-card.featured {
  border-color: rgba(20, 99, 255, 0.45);
  box-shadow: 0 18px 44px rgba(20, 99, 255, 0.16);
}

.plan-label {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.price-card h3 {
  font-size: 1.7rem;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card ul {
  display: grid;
  gap: 9px;
  padding-left: 20px;
  margin: 14px 0 24px;
}

.price-card .btn {
  margin-top: auto;
}

.registration {
  align-items: start;
}

.contact-strip {
  display: grid;
  gap: 4px;
  max-width: 430px;
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: #fff8e6;
}

.contact-strip span {
  color: var(--muted);
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.signup-form .wide,
.signup-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(20, 99, 255, 0.18);
  border-color: var(--blue);
  transform: translateY(-1px);
}

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

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

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 34px;
  padding: 58px clamp(18px, 5vw, 72px) 30px;
  color: rgba(255, 255, 255, 0.82);
  background: #091a31;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 560px;
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
    animation: fadeUp 0.22s ease both;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .intro,
  .split,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 116px;
  }

  .hero-content {
    padding-bottom: 38px;
  }

  .hero-stats,
  .feature-grid.compact,
  .benefit-grid,
  .pricing-grid,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .image-panel img {
    min-height: 280px;
  }

  .speed-frame iframe {
    height: 380px;
  }
}

/* Theme inspired by sembraninetmedia.com: dark, modern, fiber-tech visual style. */
:root {
  --bg: #07111f;
  --ink: #ecf6ff;
  --muted: #9bb0c8;
  --line: rgba(164, 221, 255, 0.16);
  --blue: #18a7ff;
  --blue-dark: #0967c4;
  --green: #23d18b;
  --amber: #f6c85f;
  --panel: rgba(12, 28, 50, 0.72);
  --panel-strong: rgba(15, 38, 67, 0.92);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(24, 167, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(35, 209, 139, 0.16), transparent 30rem),
    linear-gradient(180deg, #07111f 0%, #0a1728 42%, #07111f 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 78%);
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--white);
  background: rgba(5, 16, 31, 0.84);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--green), var(--blue));
  background-size: 200% 200%;
}

.site-nav a:hover {
  color: var(--green);
}

.site-nav a::after {
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.nav-toggle {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.42), rgba(7, 17, 31, 0.08)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center / cover;
  filter: saturate(1.06) contrast(1.06);
}

.hero-overlay {
  background:
    radial-gradient(circle at 75% 42%, rgba(24, 167, 255, 0.26), transparent 23rem),
    radial-gradient(circle at 20% 82%, rgba(35, 209, 139, 0.18), transparent 18rem),
    linear-gradient(90deg, rgba(5, 14, 27, 0.95), rgba(7, 22, 41, 0.78) 48%, rgba(8, 26, 48, 0.38));
}

.eyebrow {
  color: var(--green);
}

h1 {
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.btn {
  border-radius: 999px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 14px 32px rgba(24, 167, 255, 0.26);
}

.btn.secondary {
  border-color: rgba(164, 221, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-stats {
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.hero-stats div {
  background: rgba(8, 23, 43, 0.78);
  backdrop-filter: blur(16px);
}

.hero-stats div:hover {
  background: rgba(17, 50, 84, 0.88);
}

.hero-stats span,
.section-copy p,
.feature-grid p,
.benefit-grid p,
.price-card p,
.price-card li,
.contact-strip span,
.form-note {
  color: var(--muted);
}

.intro {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(12, 31, 55, 0.56));
}

.band {
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 167, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(9, 25, 45, 0.8), rgba(6, 17, 31, 0.96));
}

.split {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.94), rgba(10, 23, 40, 0.92));
}

.feature-grid article,
.benefit-grid article,
.price-card,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 39, 70, 0.8), rgba(8, 24, 45, 0.84));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.feature-grid article:hover,
.benefit-grid article:hover,
.price-card:hover {
  border-color: rgba(35, 209, 139, 0.38);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
}

.icon {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.feature-grid article:hover .icon {
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.image-panel,
.speed-frame {
  border: 1px solid var(--line);
  border-radius: 24px;
}

.check-list li {
  color: var(--white);
}

.speed-test {
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 167, 255, 0.16), transparent 30rem),
    #06101d;
}

.speed-frame {
  background: var(--panel-strong);
}

.price-card.featured {
  border-color: rgba(35, 209, 139, 0.48);
  background:
    linear-gradient(180deg, rgba(24, 167, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(16, 39, 70, 0.92), rgba(8, 24, 45, 0.9));
  box-shadow: 0 24px 62px rgba(24, 167, 255, 0.16);
}

.plan-label {
  color: var(--green);
}

.contact-strip {
  border: 1px solid rgba(246, 200, 95, 0.28);
  border-left: 4px solid var(--amber);
  border-radius: 18px;
  background: rgba(246, 200, 95, 0.08);
}

input,
select,
textarea {
  color: var(--white);
  border-color: var(--line);
  border-radius: 14px;
  background: rgba(2, 10, 22, 0.46);
}

input::placeholder,
textarea::placeholder {
  color: rgba(236, 246, 255, 0.48);
}

select option {
  color: #102034;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline-color: rgba(24, 167, 255, 0.18);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #040b15;
}

@media (max-width: 980px) {
  .site-nav {
    color: var(--white);
    border-color: var(--line);
    background: rgba(5, 16, 31, 0.96);
  }
}

/* IDM logo-inspired theme: cyan, yellow, orange, and blue over a ridged dark base. */
:root {
  --bg: #111320;
  --ink: #f5f7ff;
  --muted: #aeb6c9;
  --line: rgba(116, 227, 236, 0.18);
  --blue: #4f89cf;
  --blue-dark: #253b79;
  --green: #5de7e9;
  --amber: #ffcf33;
  --orange: #ff9635;
  --panel: rgba(23, 27, 43, 0.76);
  --panel-strong: rgba(28, 32, 50, 0.94);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

body {
  background:
    radial-gradient(circle at 18% 16%, rgba(93, 231, 233, 0.18), transparent 26rem),
    radial-gradient(circle at 78% 8%, rgba(79, 137, 207, 0.18), transparent 25rem),
    radial-gradient(circle at 52% 84%, rgba(255, 150, 53, 0.12), transparent 26rem),
    linear-gradient(180deg, #171827 0%, #111320 48%, #0c0e18 100%);
}

body::before {
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px,
      transparent 14px
    ),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 100%, 100% 72px;
  opacity: 0.82;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent 84%);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(17, 19, 32, 0.86);
  border-bottom-color: rgba(116, 227, 236, 0.2);
}

.brand-mark {
  padding: 0;
  border-color: rgba(255, 207, 51, 0.28);
  border-radius: 16px;
  background: #171827;
  box-shadow:
    0 0 0 1px rgba(93, 231, 233, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.28);
}

.brand-mark img {
  filter: saturate(1.08) contrast(1.04);
}

.brand-text strong {
  color: var(--white);
}

.brand-text small {
  color: var(--green);
}

.site-nav a:hover {
  color: var(--amber);
}

.site-nav a::after {
  background: linear-gradient(90deg, var(--green), var(--amber), var(--orange), var(--blue));
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(17, 19, 32, 0.55), rgba(17, 19, 32, 0.12)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 68% 28%, rgba(93, 231, 233, 0.24), transparent 20rem),
    radial-gradient(circle at 86% 50%, rgba(255, 207, 51, 0.13), transparent 17rem),
    radial-gradient(circle at 24% 78%, rgba(255, 150, 53, 0.14), transparent 20rem),
    linear-gradient(90deg, rgba(12, 14, 24, 0.96), rgba(19, 25, 44, 0.82) 52%, rgba(23, 28, 48, 0.36));
}

.eyebrow {
  color: var(--amber);
}

h1 {
  text-shadow:
    0 16px 48px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(93, 231, 233, 0.12);
}

.btn.primary {
  color: #10131e;
  background: linear-gradient(135deg, var(--green), var(--amber) 54%, var(--orange));
  box-shadow: 0 16px 34px rgba(255, 207, 51, 0.22);
}

.price-card .btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, #18a7ff, #4f89cf, #253b79);
  box-shadow: 0 16px 34px rgba(24, 167, 255, 0.28);
}

.btn.secondary {
  border-color: rgba(93, 231, 233, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.btn.secondary:hover {
  border-color: rgba(255, 207, 51, 0.58);
}

.hero-stats {
  border-color: rgba(116, 227, 236, 0.2);
  background: rgba(116, 227, 236, 0.1);
}

.hero-stats div {
  background:
    linear-gradient(180deg, rgba(37, 59, 121, 0.2), rgba(23, 27, 43, 0.78)),
    rgba(17, 19, 32, 0.78);
}

.hero-stats div:hover {
  background:
    linear-gradient(180deg, rgba(93, 231, 233, 0.16), rgba(255, 207, 51, 0.08)),
    rgba(23, 27, 43, 0.9);
}

.hero-stats strong {
  color: var(--amber);
}

.intro,
.split {
  background:
    radial-gradient(circle at 8% 14%, rgba(93, 231, 233, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(17, 19, 32, 0.92), rgba(13, 15, 26, 0.98));
}

.band {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 207, 51, 0.1), transparent 20rem),
    radial-gradient(circle at 88% 30%, rgba(79, 137, 207, 0.15), transparent 24rem),
    linear-gradient(180deg, rgba(21, 25, 42, 0.96), rgba(12, 14, 24, 0.98));
}

.feature-grid article,
.benefit-grid article,
.price-card,
.signup-form {
  border-color: rgba(116, 227, 236, 0.16);
  background:
    linear-gradient(180deg, rgba(79, 137, 207, 0.08), transparent 36%),
    rgba(23, 27, 43, 0.82);
}

.feature-grid article:hover,
.benefit-grid article:hover,
.price-card:hover {
  border-color: rgba(255, 207, 51, 0.34);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(93, 231, 233, 0.08);
}

.icon {
  color: #111320;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.feature-grid article:nth-child(even) .icon {
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.feature-grid article:hover .icon {
  background: linear-gradient(135deg, var(--green), var(--amber), var(--orange));
}

.image-panel,
.speed-frame {
  border-color: rgba(116, 227, 236, 0.18);
  background: rgba(17, 19, 32, 0.84);
}

.speed-test {
  background:
    radial-gradient(circle at 42% 0%, rgba(93, 231, 233, 0.16), transparent 28rem),
    radial-gradient(circle at 70% 100%, rgba(255, 150, 53, 0.1), transparent 24rem),
    #0c0e18;
}

.price-card.featured {
  border-color: rgba(255, 207, 51, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 207, 51, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(93, 231, 233, 0.08), rgba(79, 137, 207, 0.08)),
    rgba(23, 27, 43, 0.9);
  box-shadow:
    0 24px 62px rgba(255, 207, 51, 0.12),
    0 0 0 1px rgba(93, 231, 233, 0.1);
}

.plan-label {
  color: var(--amber);
}

.contact-strip {
  border-color: rgba(255, 207, 51, 0.3);
  border-left-color: var(--orange);
  background: rgba(255, 207, 51, 0.08);
}

input,
select,
textarea {
  border-color: rgba(116, 227, 236, 0.18);
  background: rgba(9, 11, 20, 0.58);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--amber);
  outline-color: rgba(255, 207, 51, 0.18);
}

.site-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(93, 231, 233, 0.08), transparent 22rem),
    #080a12;
}

/* Professional DSMNET-inspired finish: cleaner ISP landing page look. */
:root {
  --bg: #f4f8fb;
  --ink: #12233d;
  --muted: #66768c;
  --line: #dbe6ef;
  --blue: #1565d8;
  --blue-dark: #0b3978;
  --green: #13a66b;
  --amber: #23b26f;
  --orange: #1565d8;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --shadow: 0 18px 45px rgba(25, 48, 79, 0.12);
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(244, 248, 251, 0.96), rgba(255, 255, 255, 0.98)),
    #f4f8fb;
}

body::before {
  opacity: 0;
}

.site-header {
  color: var(--white);
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 230, 239, 0.9);
  box-shadow: 0 12px 32px rgba(16, 38, 68, 0.1);
}

.brand-mark {
  border: 2px solid rgba(21, 101, 216, 0.1);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(21, 101, 216, 0.14);
  animation: none;
}

.brand-text strong {
  color: currentColor;
}

.brand-text small {
  color: currentColor;
  opacity: 0.72;
}

.site-nav a {
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--green);
  transform: translateY(-1px);
}

.site-nav a::after {
  background: var(--green);
}

.hero {
  min-height: 92vh;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(9, 36, 76, 0.35), rgba(9, 36, 76, 0.08)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center / cover;
  filter: saturate(1.02) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 27, 58, 0.94), rgba(11, 57, 120, 0.76) 54%, rgba(19, 166, 107, 0.18)),
    radial-gradient(circle at 78% 38%, rgba(19, 166, 107, 0.2), transparent 22rem);
}

.eyebrow {
  color: #55d69b;
}

h1 {
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn {
  border-radius: 7px;
}

.btn.primary,
.price-card .btn.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(21, 101, 216, 0.24);
  animation: none;
}

.btn.primary:hover,
.price-card .btn.primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 32px rgba(21, 101, 216, 0.3);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.hero-stats div:hover {
  background: var(--white);
}

.hero-stats strong {
  color: var(--blue);
}

.hero-stats span,
.section-copy p,
.feature-grid p,
.benefit-grid p,
.price-card p,
.price-card li,
.contact-strip span,
.form-note {
  color: var(--muted);
}

.intro,
.split {
  background: var(--white);
}

.band {
  background: linear-gradient(180deg, #eef6ff, #f8fbff);
}

.feature-grid article,
.benefit-grid article,
.price-card,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(25, 48, 79, 0.08);
  backdrop-filter: none;
}

.feature-grid article:hover,
.benefit-grid article:hover,
.price-card:hover {
  border-color: rgba(21, 101, 216, 0.24);
  box-shadow: 0 18px 42px rgba(25, 48, 79, 0.13);
}

.icon {
  color: var(--white);
  border-radius: 8px;
  background: var(--green);
}

.feature-grid article:nth-child(even) .icon,
.feature-grid article:hover .icon {
  background: var(--blue);
}

.image-panel,
.speed-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.check-list li {
  color: var(--ink);
}

.check-list li::before {
  background: var(--green);
}

.speed-test {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.96), rgba(11, 57, 120, 0.94)),
    #0b3978;
}

.price-card.featured {
  border-color: rgba(21, 101, 216, 0.34);
  background: var(--white);
  box-shadow: 0 20px 48px rgba(21, 101, 216, 0.15);
}

.plan-label {
  color: var(--blue);
}

.contact-strip {
  border: 1px solid rgba(19, 166, 107, 0.18);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #effaf5;
}

input,
select,
textarea {
  color: var(--ink);
  border-color: var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

input::placeholder,
textarea::placeholder {
  color: #9aa7b8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline-color: rgba(21, 101, 216, 0.16);
}

select option {
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  border-top: 0;
  background: #091a31;
}

.site-footer h2,
.footer-brand {
  color: var(--white);
}

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

.reveal.is-visible {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    color: var(--ink);
    border-color: var(--line);
    background: var(--white);
  }
}

/* Speed package cards. */
@keyframes ringDraw {
  from {
    --ring: 0%;
  }

  to {
    --ring: var(--progress);
  }
}

@keyframes cardFloatIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@property --ring {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.package-includes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 0 0 50px;
  padding: 24px 28px;
  border: 1px solid #b8e4ff;
  border-radius: 18px;
  color: #4a5870;
  background: #eef8ff;
  box-shadow: 0 14px 36px rgba(58, 154, 217, 0.08);
}

.package-includes strong {
  margin-right: auto;
  color: #42516a;
  font-size: 1.02rem;
}

.package-includes span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid #dce5ef;
  border-radius: 999px;
  padding: 9px 18px;
  color: #4a5870;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(20, 45, 80, 0.06);
  font-weight: 800;
}

#paket .pricing-grid {
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  align-items: stretch;
  gap: 24px;
}

#paket .price-card.speed-plan {
  position: relative;
  min-height: 520px;
  align-items: center;
  padding: 44px 28px 28px;
  border: 1px solid #e0e8f1;
  border-radius: 18px;
  color: #111827;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(20, 35, 60, 0.12);
  animation: cardFloatIn 0.72s ease both;
}

#paket .price-card.speed-plan:nth-child(1) {
  animation-delay: 0.02s;
}

#paket .price-card.speed-plan:nth-child(2) {
  animation-delay: 0.1s;
}

#paket .price-card.speed-plan:nth-child(3) {
  animation-delay: 0.18s;
}

#paket .price-card.speed-plan:nth-child(4) {
  animation-delay: 0.26s;
}

#paket .price-card.speed-plan:nth-child(5) {
  animation-delay: 0.34s;
}

#paket .price-card.speed-plan:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, #dce5ef);
  box-shadow: 0 26px 58px rgba(20, 35, 60, 0.16);
  transform: translateY(-10px);
}

#paket .price-card.speed-plan.featured {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(146, 56, 238, 0.08), rgba(255, 255, 255, 1) 42%);
  box-shadow: 0 28px 70px rgba(146, 56, 238, 0.18);
  transform: translateY(-12px);
}

#paket .price-card.speed-plan.featured:hover {
  transform: translateY(-18px);
}

.popular-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  min-width: 180px;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  background: linear-gradient(135deg, #7c3aed, #a733ee);
  box-shadow: 0 12px 24px rgba(146, 56, 238, 0.28);
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%);
}

.popular-badge::before {
  content: "★ ";
}

.speed-ring {
  position: relative;
  display: grid;
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, var(--white) 73%, transparent 75%),
    conic-gradient(var(--accent) var(--ring), transparent 0);
  color: var(--accent);
  animation: ringDraw 1.15s 0.22s ease-out both;
}

.speed-ring::before {
  position: absolute;
  inset: 15px;
  content: "";
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.02);
}

.speed-ring span,
.speed-ring small {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
  text-align: center;
}

.speed-ring span {
  align-self: end;
  font-size: 2.5rem;
  font-weight: 950;
}

.speed-ring small {
  align-self: start;
  margin-top: 4px;
  color: #8fa0b6;
  font-size: 1rem;
  font-weight: 900;
}

.speed-plan h3 {
  margin-bottom: 18px;
  color: #111827;
  font-size: 1.35rem;
  text-align: center;
}

.speed-plan .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 28px;
  color: #0f172a;
  font-size: 2.15rem;
  font-weight: 950;
  letter-spacing: 0;
}

.speed-plan .price span {
  color: #53647c;
  font-size: 1rem;
  font-weight: 900;
}

.speed-plan .price small {
  color: #8fa0b6;
  font-size: 0.92rem;
  font-weight: 750;
}

#paket .speed-plan ul {
  width: 100%;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

#paket .speed-plan li {
  position: relative;
  padding-left: 30px;
  color: #52627a;
  font-weight: 650;
}

#paket .speed-plan li::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "✓";
  color: var(--accent);
  font-weight: 950;
}

#paket .speed-plan .btn.primary {
  min-height: 58px;
  margin-top: auto;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, #ffffff);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, #ffffff);
  box-shadow: none;
  font-size: 1.02rem;
}

#paket .speed-plan .btn.primary:hover {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 24%, transparent);
}

#paket .speed-plan.featured .btn.primary {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, #a733ee, #8e2de2);
  box-shadow: 0 16px 32px rgba(146, 56, 238, 0.22);
}

@media (max-width: 1280px) {
  #paket .pricing-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (max-width: 760px) {
  .package-includes {
    gap: 10px;
    padding: 18px;
  }

  .package-includes strong {
    flex-basis: 100%;
  }

  .package-includes span {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 0.88rem;
  }

  #paket .pricing-grid {
    grid-template-columns: 1fr;
  }

  #paket .price-card.speed-plan,
  #paket .price-card.speed-plan.featured {
    min-height: auto;
    transform: none;
  }

  #paket .price-card.speed-plan.featured:hover {
    transform: translateY(-8px);
  }
}

#paket .price-card.speed-plan {
  animation: none;
}

#paket .speed-plan .speed-ring {
  --ring: 0%;
  animation: none;
}

#paket .speed-plan.is-visible .speed-ring {
  animation: ringDraw 1.15s 0.18s ease-out both;
}

/* Hero polish animations. */
@keyframes heroPan {
  0% {
    transform: scale(1.06) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.1) translate3d(-12px, 0, 0);
  }

  100% {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
}

@keyframes lightSweep {
  0% {
    transform: translateX(-45%) skewX(-18deg);
    opacity: 0;
  }

  35% {
    opacity: 0.34;
  }

  100% {
    transform: translateX(145%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes statPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes buttonShine {
  from {
    transform: translateX(-130%) skewX(-18deg);
  }

  to {
    transform: translateX(160%) skewX(-18deg);
  }
}

.hero-media {
  animation: heroPan 18s ease-in-out infinite;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  mix-blend-mode: screen;
  animation: lightSweep 7s 1.2s ease-in-out infinite;
}

.hero-content,
.hero-stats {
  z-index: 2;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content p,
.hero-actions {
  animation: textReveal 0.8s ease both;
}

.hero-content .eyebrow {
  animation-delay: 0.15s;
}

.hero-content h1 {
  animation-delay: 0.28s;
}

.hero-content p {
  animation-delay: 0.46s;
}

.hero-actions {
  animation-delay: 0.64s;
}

.hero .btn {
  position: relative;
  overflow: hidden;
}

.hero .btn::after {
  position: absolute;
  inset: -30% auto -30% 0;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: buttonShine 3.8s 1.4s ease-in-out infinite;
}

.hero-stats div {
  opacity: 0;
  animation: statPop 0.72s ease both;
}

.hero-stats div:nth-child(1) {
  animation-delay: 0.82s;
}

.hero-stats div:nth-child(2) {
  animation-delay: 0.96s;
}

.hero-stats div:nth-child(3) {
  animation-delay: 1.1s;
}

.site-nav a {
  overflow: hidden;
}

.site-nav a::after {
  height: 3px;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero::after,
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content p,
  .hero-actions,
  .hero .btn::after,
  .hero-stats div {
    animation: none !important;
  }

  .hero-stats div {
    opacity: 1;
  }
}

/* Redesigned hero stats. */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  max-width: 760px;
  color: var(--white);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-stats div {
  position: relative;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(8, 31, 67, 0.42);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-stats div::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 86% 16%, rgba(85, 214, 155, 0.28), transparent 8rem);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-stats div::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.hero-stats div:hover {
  border-color: rgba(85, 214, 155, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)),
    rgba(8, 31, 67, 0.54);
  transform: translateY(-8px);
}

.hero-stats div:hover::before {
  opacity: 1;
}

.hero-stats div:hover::after {
  transform: scaleX(1);
}

.hero-stats .stat-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 9px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 22px rgba(21, 101, 216, 0.28);
  font-size: 0.95rem;
  font-weight: 900;
}

.hero-stats strong,
.hero-stats div > span:not(.stat-icon) {
  position: relative;
  z-index: 1;
}

.hero-stats strong {
  color: var(--white);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.hero-stats div > span:not(.stat-icon) {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 104px;
  }
}

/* Header logo correction. */
.site-header {
  min-height: 82px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 12px;
  background: #111827;
}

.brand-mark img {
  object-fit: cover;
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  font-size: 0.82rem;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(21, 101, 216, 0.18);
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 1rem;
  }
}

/* Documentation section. */
.documentation {
  background: linear-gradient(180deg, #ffffff, #f4f8fb);
}

.documentation .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.doc-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(25, 48, 79, 0.06);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.doc-tab:hover,
.doc-tab.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-2px);
}

.doc-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.doc-card {
  position: relative;
  min-height: 280px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 12px;
  color: var(--white);
  background: #10233e;
  box-shadow: 0 18px 40px rgba(25, 48, 79, 0.14);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.doc-card.featured-doc {
  grid-row: span 2;
  min-height: 578px;
}

.doc-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.doc-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 18, 36, 0.08), rgba(5, 18, 36, 0.86));
}

.doc-card div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.doc-card span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 11px;
  color: #dff8ee;
  background: rgba(19, 166, 107, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
}

.doc-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.doc-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.doc-card:hover {
  box-shadow: 0 24px 54px rgba(25, 48, 79, 0.2);
  transform: translateY(-6px);
}

.doc-card:hover img {
  transform: scale(1.07);
}

.doc-card.is-hidden {
  display: none;
}

@media (max-width: 980px) {
  .doc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .doc-card.featured-doc {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .doc-card,
  .doc-card.featured-doc {
    min-height: 280px;
    grid-column: auto;
  }
}
