.intro {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: var(--color-background);
}

.js .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.intro::before {
  content: "";
  position: absolute;
  width: 120vw;
  max-width: 72rem;
  height: 120vw;
  max-height: 72rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 185, 255, 0.14), transparent 56%);
  transform: translate3d(-12%, -8%, 0);
}

.intro-grid {
  position: absolute;
  inset: -2rem;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(25, 185, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 185, 255, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-drift 8s ease-in-out infinite alternate;
}

.intro-glow {
  position: absolute;
  width: 42rem;
  max-width: 90vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-blue), var(--color-orange), transparent);
  filter: blur(1px);
  transform: translateY(-4.8rem);
  animation: light-pass 1.4s ease both;
}

.intro-login {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(13, 19, 28, 0.7);
  color: var(--color-text);
  font-weight: 750;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.login-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.intro-content {
  position: relative;
  z-index: 1;
  width: calc(100% - 2rem);
  max-width: 840px;
  text-align: center;
}

.intro-logo {
  width: 78vw;
  max-width: 520px;
  height: auto;
  margin: 0 auto 2rem;
  animation: logo-in 650ms ease both;
}

.intro-content p {
  margin-inline: auto;
  max-width: 650px;
  font-size: 1.05rem;
}

.intro-explore {
  position: absolute;
  z-index: 2;
  bottom: 5rem;
  left: 0;
  right: 0;
  width: max-content;
  max-width: calc(100% - 2rem);
  min-width: 132px;
  margin-inline: auto;
  transform-origin: center;
}

.intro-explore:hover,
.intro-explore:focus-visible {
  --button-transform: scale(1.035);
}

.intro-location {
  position: absolute;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}

.intro.is-leaving {
  animation: intro-leave 620ms ease forwards;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(132, 180, 224, 0.11);
  background: rgba(7, 10, 15, 0.75);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: 100%;
  max-width: calc(var(--container) + 1.25rem);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
  padding-inline: 0.625rem;
}

.brand-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.brand-link img {
  width: 180px;
  height: auto;
}

.nav-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.nav-links,
.nav-actions,
.hero-actions,
.conversion-block > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.nav-links a {
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(13, 19, 28, 0.7);
  color: var(--color-text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.btn {
  --button-transform: none;
  display: inline-flex;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.74rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1.1;
  transform: var(--button-transform);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  --button-transform: scale(1.025);
  box-shadow: 0 0 0 1px rgba(25, 185, 255, 0.22), 0 18px 54px rgba(25, 185, 255, 0.18);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-deep));
  color: #00131f;
  box-shadow: 0 14px 40px rgba(25, 185, 255, 0.22);
}

.btn-ghost,
.btn-plan {
  background: rgba(13, 19, 28, 0.72);
  color: var(--color-text);
}

.hero-section {
  display: grid;
  min-height: auto;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 3rem;
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 960px;
}

.hero-copy p {
  max-width: 680px;
  font-size: 1.13rem;
}

.dashboard-panel,
.media-card,
.service-card,
.plan-card,
.chart-card,
.reason-card,
.contact-card,
.detail-card,
.legal-block,
.conversion-block {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 27, 39, 0.9), rgba(13, 19, 28, 0.9));
  box-shadow: var(--shadow);
}

.dashboard-panel {
  padding: 1rem;
}

.media-card {
  margin: 0;
  overflow: hidden;
}

.js .media-card {
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.media-hero {
  align-self: center;
}

.section-media-stack {
  display: grid;
  gap: 1rem;
}

.media-frame {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(25, 185, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(245, 248, 252, 0.06), rgba(7, 10, 15, 0.34)),
    repeating-linear-gradient(90deg, rgba(132, 180, 224, 0.09) 0 1px, transparent 1px 72px),
    var(--color-surface);
}

.media-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background-image: var(--poster-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition:
    opacity 520ms ease,
    transform 880ms cubic-bezier(0.16, 1, 0.3, 1);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: 1;
  border: 1px solid rgba(25, 185, 255, 0.22);
  border-radius: var(--radius);
}

.media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 520ms ease;
}

.media-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(25, 185, 255, 0.16), rgba(255, 138, 42, 0.11), transparent);
  opacity: 0.34;
  transform: translateX(-58%);
  animation: media-scan 7s ease-in-out infinite;
  animation-play-state: paused;
}

.media-card.is-media-armed .media-frame::after {
  opacity: 0.82;
  transform: scale(1);
}

.media-card.has-poster-image .media-frame::before {
  display: none;
}

.media-card.has-poster-image .media-frame::after,
.media-card.has-poster-image .media-scan,
.media-card.has-poster-image .media-play,
.media-card.has-poster-image .media-label {
  display: none;
}

.media-card.is-media-armed .media-scan {
  opacity: 1;
  animation-play-state: running;
}

.media-card.is-video-ready .media-frame::after {
  opacity: 0.32;
}

.media-card.is-video-ready .media-video {
  opacity: 0.72;
}

.media-play {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(245, 248, 252, 0.2);
  border-radius: 50%;
  background: rgba(7, 10, 15, 0.68);
  box-shadow: 0 0 34px rgba(25, 185, 255, 0.2);
}

.media-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--color-blue);
  transform: translate(-35%, -50%);
}

.media-label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  max-width: calc(100% - 2rem);
  gap: 0.2rem;
}

.media-label span,
.media-card figcaption span,
.media-card figcaption code {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.media-label strong {
  color: var(--color-text);
  font-size: 1rem;
}

.media-card figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid rgba(132, 180, 224, 0.1);
}

.media-card figcaption code {
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.dash-top,
.chart-heading,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dash-top {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.dash-top strong {
  color: var(--color-blue);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.dash-grid div {
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgba(132, 180, 224, 0.1);
  border-radius: var(--radius);
  background: rgba(7, 10, 15, 0.46);
}

.dash-grid span,
.setup-fees span,
.chart-heading span {
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.dash-grid strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
}

.dash-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.dash-list span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.dash-list b {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-orange);
}

.split-section,
.local-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: 3rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding-left: 1.7rem;
  color: var(--color-text);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(25, 185, 255, 0.14);
}

.tech-section {
  overflow: hidden;
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.45rem;
  margin: 2rem 0 2.5rem;
}

.flow-steps::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, rgba(25, 185, 255, 0.42), rgba(255, 138, 42, 0.38));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms ease;
}

.flow-steps.is-visible::before {
  transform: scaleX(1);
}

.flow-steps div {
  position: relative;
  z-index: 1;
  min-height: 150px;
  padding: 3.2rem 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(13, 19, 28, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.flow-steps div::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 0 7px rgba(25, 185, 255, 0.1), 0 0 26px rgba(25, 185, 255, 0.45);
  transform: translateX(-50%);
}

.flow-steps div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.01rem;
  left: calc(100% + 0.18rem);
  width: 0.74rem;
  height: 0.74rem;
  border-top: 2px solid var(--color-blue);
  border-right: 2px solid var(--color-blue);
  filter: drop-shadow(0 0 9px rgba(25, 185, 255, 0.8));
  opacity: 0;
  transform: rotate(45deg);
}

.flow-steps.is-visible div:not(:last-child)::after {
  animation: success-arrow 1200ms ease-in-out infinite;
}

.flow-steps.is-visible div:nth-child(2)::after { animation-delay: 130ms; }
.flow-steps.is-visible div:nth-child(3)::after { animation-delay: 260ms; }
.flow-steps.is-visible div:nth-child(4)::after { animation-delay: 390ms; }
.flow-steps.is-visible div:nth-child(5)::after { animation-delay: 520ms; }

.flow-steps.is-visible div::before {
  animation: step-pulse 1800ms ease-in-out infinite;
}

.flow-steps.is-visible div:nth-child(2)::before { animation-delay: 140ms; }
.flow-steps.is-visible div:nth-child(3)::before { animation-delay: 280ms; }
.flow-steps.is-visible div:nth-child(4)::before { animation-delay: 420ms; }
.flow-steps.is-visible div:nth-child(5)::before { animation-delay: 560ms; }

.flow-steps span {
  color: var(--color-text);
  font-weight: 800;
}

.flow-steps p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-strip span,
.proof-chips span {
  padding: 0.55rem 0.72rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(13, 19, 28, 0.76);
  color: var(--color-text);
  font-size: 0.92rem;
}

.logo-marquee {
  display: flex;
  overflow-x: auto;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
  animation: marquee 34s linear infinite;
}

.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

.client-logo {
  display: grid;
  width: 240px;
  height: 96px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.services-grid,
.plans-grid,
.charts-grid,
.reason-grid {
  display: grid;
  gap: 1rem;
}

.services-section .media-card,
.plans-section .media-card,
.charts-section .media-card,
.why-section .media-card,
.tech-section .media-card {
  margin-bottom: 1rem;
}

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

.service-card,
.plan-card,
.reason-card,
.contact-card,
.detail-card,
.legal-block,
.chart-card {
  padding: 1.25rem;
}

.service-card {
  position: relative;
  min-height: 260px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(25, 185, 255, 0.46);
  box-shadow: 0 18px 62px rgba(25, 185, 255, 0.12);
}

.service-card::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover::after,
.service-card:focus-within::after {
  opacity: 1;
}

.card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(25, 185, 255, 0.32);
  border-radius: var(--radius);
  color: var(--color-blue);
}

.icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card a {
  color: var(--color-blue);
  font-weight: 750;
}

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

.plan-card {
  min-height: 460px;
}

.plan-card.featured {
  border-color: rgba(25, 185, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(25, 185, 255, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(17, 27, 39, 0.94), rgba(13, 19, 28, 0.94));
}

.price {
  color: var(--color-text);
}

.price span {
  font-size: 3rem;
  font-weight: 850;
}

.setup-fees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.setup-fees div {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(7, 10, 15, 0.42);
}

.setup-fees strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--color-text);
  font-size: 1.35rem;
}

.pricing-disclaimer {
  max-width: 900px;
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.charts-grid {
  grid-template-columns: repeat(2, 1fr);
}

.chart-card {
  min-height: 420px;
}

.chart-heading {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.chart-heading h3 {
  margin-bottom: 0;
}

.chart-canvas {
  min-height: 300px;
}

.chart-canvas svg {
  width: 100%;
  height: 300px;
}

.draw-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-chart 900ms ease forwards;
}

.grow-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: grow-chart 900ms ease forwards;
}

.chart-axis {
  color: var(--color-text-muted);
  font-size: 11px;
}

.chart-tip {
  pointer-events: none;
}

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

.reason-card {
  min-height: 160px;
}

.reason-card p {
  color: var(--color-text);
}

.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 2rem;
}

.conversion-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
}

.conversion-block h2 {
  max-width: 860px;
  margin: 0;
}

.contact-section {
  align-items: stretch;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.legal-section {
  max-width: 920px;
}

.legal-block {
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 1.5rem;
  background: rgba(2, 5, 10, 0.72);
}

.footer-grid,
.footer-bottom {
  width: 100%;
  max-width: calc(var(--container) + 2rem);
  margin-inline: auto;
  padding-inline: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 2rem;
}

.footer-brand img {
  width: 168px;
  height: auto;
}

.footer-grid h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-blue);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.footer-bottom span:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

@keyframes grid-drift {
  to { transform: translate3d(10px, 8px, 0); }
}

@keyframes light-pass {
  from { opacity: 0; transform: translate3d(-18rem, -4.8rem, 0); }
  to { opacity: 1; transform: translate3d(0, -4.8rem, 0); }
}

@keyframes logo-in {
  from { opacity: 0.38; }
  to { opacity: 1; }
}

@keyframes intro-leave {
  to { opacity: 0; transform: translateY(-24px) scale(0.98); visibility: hidden; }
}

@keyframes marquee {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes media-scan {
  0%, 100% { transform: translateX(-58%); opacity: 0.52; }
  50% { transform: translateX(58%); opacity: 0.9; }
}

@keyframes success-arrow {
  0%, 100% { opacity: 0.28; transform: translateX(-5px) rotate(45deg) scale(0.9); }
  45% { opacity: 1; transform: translateX(5px) rotate(45deg) scale(1); }
}

@keyframes success-arrow-down {
  0%, 100% { opacity: 0.28; transform: translate(-50%, -5px) rotate(135deg) scale(0.9); }
  45% { opacity: 1; transform: translate(-50%, 5px) rotate(135deg) scale(1); }
}

@keyframes step-pulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(25, 185, 255, 0.1), 0 0 26px rgba(25, 185, 255, 0.42); }
  50% { box-shadow: 0 0 0 11px rgba(255, 138, 42, 0.11), 0 0 34px rgba(25, 185, 255, 0.58); }
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

@keyframes grow-chart {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
