:root {
  color-scheme: dark;

  /* Edit colors here. Keep contrast high for the dark premium theme. */
  --bg: #070a12;
  --bg-2: #0b1020;
  --surface: rgba(15, 23, 42, 0.76);
  --surface-strong: rgba(20, 31, 55, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --text: #f7fbff;
  --muted: #a7b4c8;
  --line: rgba(255, 255, 255, 0.13);
  --brand: #4f8cff;
  --brand-2: #19d3a2;
  --accent: #ffd166;
  --danger: #ff7a90;

  /* Edit glow strength here. Lower alpha values make the page quieter. */
  --glow-blue: rgba(79, 140, 255, 0.34);
  --glow-green: rgba(25, 211, 162, 0.2);
  --glow-gold: rgba(255, 209, 102, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);

  /* Edit spacing and radius here. */
  --radius: 8px;
  --radius-lg: 18px;
  --section-y: 80px;

  /* Edit homepage text sizes here. */
  --base-text-size: 15.5px;
  --body-line-height: 1.5;
  --hero-heading-size: clamp(2.55rem, 6.2vw, 5.05rem);
  --section-heading-size: clamp(1.75rem, 3.35vw, 2.9rem);
  --card-title-size: 1.06rem;
  --card-text-size: 0.94rem;

  /* Edit animation speed here. */
  --speed-fast: 180ms;
  --speed: 420ms;
  --speed-slow: 900ms;

  /* Edit hero image size here. */
  --hero-preview-min: 320px;
  --hero-preview-max: 560px;

  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(79, 140, 255, 0.24), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(25, 211, 162, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg-2) 42%, #070a12);
  font-size: var(--base-text-size);
  line-height: var(--body-line-height);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  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: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(circle at 24% 18%, var(--glow-blue), transparent 18rem),
    radial-gradient(circle at 82% 22%, var(--glow-green), transparent 17rem),
    radial-gradient(circle at 50% 82%, var(--glow-gold), transparent 20rem);
  filter: blur(18px);
  opacity: 0.9;
  animation: ambientGlow 16s ease-in-out infinite alternate;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 209, 102, 0.72);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px clamp(18px, 5vw, 72px);
  background: rgba(7, 10, 18, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 820;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  place-items: center;
  border-radius: var(--radius);
  color: #06101a;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 0.82rem;
  box-shadow: 0 0 34px rgba(79, 140, 255, 0.32);
}

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

.site-nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  transition: color var(--speed-fast) ease, transform var(--speed-fast) ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.nav-admin,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.nav-admin {
  padding: 0 16px;
  color: #06101a;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.section {
  position: relative;
  padding: var(--section-y) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1140px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
}

.hero::before {
  width: 22rem;
  height: 22rem;
  right: 6%;
  top: 12%;
  background: rgba(79, 140, 255, 0.12);
  animation: floatOrb 9s ease-in-out infinite;
}

.hero::after {
  width: 14rem;
  height: 14rem;
  left: 8%;
  bottom: 10%;
  background: rgba(25, 211, 162, 0.11);
  animation: floatOrb 11s ease-in-out infinite reverse;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--hero-preview-min), 0.92fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  /* Edit hero heading size with --hero-heading-size near the top of this file. */
  font-size: var(--hero-heading-size);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 14px;
  /* Edit section heading size with --section-heading-size near the top of this file. */
  font-size: var(--section-heading-size);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: var(--card-title-size);
  font-weight: 760;
}

.lead {
  max-width: 680px;
  margin-bottom: 14px;
  color: #d9e5f5;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.intro,
.section-copy,
.card-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.button {
  position: relative;
  padding: 0 17px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform var(--speed-fast) ease, border-color var(--speed-fast) ease, box-shadow var(--speed-fast) ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.button-primary {
  border: 0;
  color: #06101a;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.button-secondary {
  color: var(--text);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-pills li,
.pill,
.popular-badge {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #dff7ef;
  background: rgba(25, 211, 162, 0.09);
  font-size: 0.78rem;
  font-weight: 760;
}

.trust-pills li {
  padding: 8px 12px;
}

.hero-preview {
  position: relative;
  width: min(100%, var(--hero-preview-max));
  max-width: 100%;
  justify-self: end;
  animation: previewFloat 6s ease-in-out infinite;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 22% 18%, rgba(79, 140, 255, 0.42), transparent 36%),
    radial-gradient(circle at 78% 76%, rgba(25, 211, 162, 0.32), transparent 34%);
  filter: blur(22px);
}

.hero-preview-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.08 / 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
}

.hero-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 154px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(7, 10, 18, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.floating-card strong {
  font-size: 0.88rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.floating-card.one {
  top: 9%;
  left: -8%;
  animation: cardDrift 7s ease-in-out infinite;
}

.floating-card.two {
  right: -6%;
  bottom: 11%;
  animation: cardDrift 8s ease-in-out infinite reverse;
}

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

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.feature-card,
.pricing-card,
.step-card,
.faq-item {
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.feature-card,
.step-card {
  padding: 21px;
  transition: transform var(--speed-fast) ease, border-color var(--speed-fast) ease, background var(--speed-fast) ease;
}

.feature-card:hover,
.step-card:hover,
.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 140, 255, 0.45);
  background: var(--surface-strong);
}

.feature-card p,
.step-card p,
.pricing-card p,
.faq-panel p {
  color: var(--muted);
  font-size: var(--card-text-size);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 14px;
  color: #06101a;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 34px rgba(79, 140, 255, 0.25);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.split-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.015);
}

.steps-grid {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.step-card {
  position: relative;
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border-radius: 50%;
  color: #06101a;
  background: var(--accent);
  font-weight: 780;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 28px;
}

/* Edit pricing card spacing and sizing here. Header and price rows stay aligned across cards. */
.pricing-card {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 388px;
  flex-direction: column;
  padding: 20px;
  transition: transform var(--speed-fast) ease, border-color var(--speed-fast) ease, background var(--speed-fast) ease;
}

.pricing-card-head {
  display: flex;
  min-height: 32px;
  align-items: center;
  padding-right: 86px;
}

.pricing-card.featured {
  border-color: rgba(25, 211, 162, 0.56);
  box-shadow: 0 22px 68px rgba(25, 211, 162, 0.12), var(--shadow);
}

.popular-badge {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 6px 10px;
  font-size: 0.72rem;
}

.price {
  min-height: 42px;
  margin: 12px 0 14px;
  /* Edit pricing number size here. */
  font-size: 1.82rem;
  font-weight: 800;
  line-height: 1.05;
}

.price span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.pricing-limits,
.pricing-features {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #d5dfef;
  /* Edit pricing list text size here. */
  font-size: var(--card-text-size);
}

.pricing-limits {
  gap: 7px;
  min-height: 54px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 720;
}

.pricing-features {
  gap: 8px;
  padding-top: 16px;
}

.pricing-limits li,
.pricing-features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.pricing-limits li::before,
.pricing-features li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.48em;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 14px var(--brand-2);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
}

.faq-trigger::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #06101a;
  background: var(--brand-2);
  font-weight: 800;
  transition: transform var(--speed-fast) ease;
}

.faq-trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--speed) ease;
}

.faq-panel.is-open {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel p {
  margin: 0;
  padding: 0 18px 19px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 22%, rgba(79, 140, 255, 0.34), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(25, 211, 162, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(21, 38, 76, 0.92), rgba(9, 17, 31, 0.96));
  box-shadow: var(--shadow);
}

.contact-panel .section-copy {
  color: #d9e5f5;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: rgba(7, 10, 18, 0.84);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  width: min(1140px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.go-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: var(--text);
  background: rgba(7, 10, 18, 0.78);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32), 0 0 32px rgba(79, 140, 255, 0.18);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  pointer-events: none;
  transition: opacity var(--speed) ease, transform var(--speed) ease, border-color var(--speed-fast) ease, box-shadow var(--speed-fast) ease;
}

.go-to-top.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.go-to-top:hover {
  transform: translate3d(0, -3px, 0);
  border-color: rgba(25, 211, 162, 0.44);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38), 0 0 36px rgba(25, 211, 162, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--speed-slow) ease, transform var(--speed-slow) ease;
}

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

@keyframes ambientGlow {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -16px, 0) scale(1.06);
  }
}

@keyframes previewFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes cardDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(10px, -10px, 0);
  }
}

@media (max-width: 980px) {
  :root {
    --section-y: 64px;
    --base-text-size: 15px;
    --hero-heading-size: clamp(2.35rem, 10vw, 4.05rem);
    --section-heading-size: clamp(1.65rem, 6vw, 2.45rem);
  }

  .site-header {
    position: static;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    overflow-x: visible;
    padding-bottom: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-grid,
  .feature-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    justify-self: stretch;
    width: min(100%, 620px);
    max-width: 100%;
    margin: 0 auto;
  }

  .floating-card.one {
    left: 12px;
  }

  .floating-card.two {
    right: 12px;
  }

  .pricing-card {
    min-height: auto;
  }
}

@media (max-width: 580px) {
  :root {
    --section-y: 52px;
    --base-text-size: 14.5px;
    --hero-heading-size: clamp(2.05rem, 11vw, 3rem);
    --section-heading-size: clamp(1.45rem, 7vw, 1.92rem);
    --hero-preview-min: 0px;
  }

  body::after {
    inset: -8%;
    filter: blur(14px);
    opacity: 0.62;
  }

  .site-header {
    padding: 13px 14px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    border-radius: 7px;
  }

  .nav-admin,
  .button {
    min-height: 40px;
  }

  .nav-admin {
    padding: 0 13px;
  }

  .section {
    overflow: hidden;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .hero-grid {
    gap: 30px;
  }

  .lead {
    font-size: 0.98rem;
  }

  .intro,
  .section-copy,
  .card-copy {
    font-size: 0.92rem;
  }

  .site-nav {
    gap: 9px;
    font-size: 0.8rem;
  }

  .site-nav a {
    padding: 3px 2px;
  }

  .site-nav a.is-active::after {
    bottom: -4px;
  }

  .trust-pills {
    gap: 8px;
    margin-top: 20px;
  }

  .trust-pills li {
    padding: 7px 10px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .floating-card {
    position: static;
    margin-top: 10px;
    min-width: 0;
    width: 100%;
    padding: 10px 12px;
  }

  .hero-preview-frame {
    aspect-ratio: 1 / 1.05;
  }

  .hero-preview::before {
    inset: -10px;
    filter: blur(14px);
  }

  .feature-grid,
  .pricing-grid,
  .steps-grid {
    gap: 14px;
  }

  .feature-card,
  .step-card,
  .pricing-card {
    padding: 18px;
  }

  .pricing-card {
    min-height: auto;
  }

  .contact-panel {
    padding: 24px;
  }

  .footer-inner,
  .footer-links {
    justify-content: center;
    text-align: center;
  }

  .go-to-top {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}

@media (max-width: 380px) {
  .site-nav {
    font-size: 0.76rem;
  }

  .nav-admin {
    width: 100%;
  }
}

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

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

/* Brand logo image in the top navigation */
.brand-mark-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
