:root {
  --bg-0: #05070d;
  --bg-1: #060b16;
  --surface: rgba(15, 17, 24, 0.9);
  --surface-strong: rgba(19, 24, 37, 0.95);
  --surface-soft: rgba(12, 15, 25, 0.88);
  --text: #f8fafc;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent: #ec4899;
  --accent-strong: #f472b6;
  --accent-secondary: #a78bfa;
  --accent-cyan: #67e8f9;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 102, 255, 0.23), transparent 44%),
    radial-gradient(circle at 88% 75%, rgba(236, 72, 153, 0.2), transparent 46%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  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: 40px 40px;
  opacity: 0.45;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.32;
  animation: drift 14s ease-in-out infinite;
  z-index: 0;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  top: -12%;
  left: -14%;
  background: rgba(103, 232, 249, 0.35);
}

.orb-b {
  width: 38vw;
  height: 38vw;
  top: 18%;
  right: -12%;
  background: rgba(167, 139, 250, 0.3);
  animation-delay: 2.2s;
}

.orb-c {
  width: 40vw;
  height: 40vw;
  bottom: -18%;
  right: 20%;
  background: rgba(244, 114, 182, 0.28);
  animation-delay: 4.2s;
}

@keyframes drift {

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

  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

.container {
  width: min(1140px, calc(100% - 2.4rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 30;
  padding-top: 0.9rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 16, 26, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(3, 6, 16, 0.55);
  padding: 0.62rem 0.84rem 0.62rem 1.04rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(244, 114, 182, 0.38);
  background: rgba(4, 6, 12, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 6px 18px rgba(236, 72, 153, 0.25);
}

.brand-mark img {
  width: 1.95rem;
  height: 1.95rem;
  object-fit: cover;
  transform: translateY(2px);
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.18rem;
}

.site-nav a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 150ms ease;
}

.site-nav a:hover {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  padding: 0.56rem 0.95rem;
  font-size: 0.86rem;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f9fafb;
  background: rgba(255, 255, 255, 0.07);
}

.button-small:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-primary {
  padding: 0.86rem 1.25rem;
  font-size: 0.93rem;
  color: #ffffff;
  border-color: rgba(236, 72, 153, 0.5);
  background: linear-gradient(130deg, rgba(244, 114, 182, 0.95), rgba(167, 139, 250, 0.92));
  box-shadow: 0 12px 28px rgba(167, 139, 250, 0.3);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(167, 139, 250, 0.38);
}

.button-ghost {
  padding: 0.86rem 1.25rem;
  font-size: 0.93rem;
  color: #f3f4f6;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  margin-top: 3.6rem;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.1rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
}

.hero-panel {
  padding: 1.45rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -100px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0));
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  color: #f9a8d4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(1.95rem, 4.7vw, 3.05rem);
  color: #ffffff;
}

h2 {
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  color: #ffffff;
}

h3 {
  font-size: 1.18rem;
  color: #f3f4f6;
}

.hero-lede {
  margin: 1rem 0 0;
  max-width: 36ch;
  font-size: 0.98rem;
  color: #b6becd;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-stats {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-stats li {
  border-radius: 0.9rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.74rem;
}

.hero-stats strong {
  display: block;
  font-size: 0.95rem;
  color: #f9fafb;
}

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

.panel-title {
  margin: 0 0 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f3f4f6;
}

.workflow-mini {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.05rem;
}

.workflow-mini li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.68rem;
  border-radius: 0.92rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.66rem 0.72rem;
}

.workflow-mini strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.96rem;
  line-height: 1.2;
  color: #f9fafb;
}

.workflow-mini p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #aeb7c8;
}

.step-index {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  margin-top: 0.128rem;
  color: var(--accent-strong);
}

.section {
  margin-top: 5rem;
}

.section[id] {
  scroll-margin-top: 7.5rem;
}

.section-head {
  margin-bottom: 1.28rem;
}

.section-head h2 {
  max-width: 24ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.feature-card {
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 1.28rem;
  box-shadow: 0 10px 24px rgba(2, 6, 17, 0.45);
}

.feature-card h3 {
  margin-bottom: 0.56rem;
}

.feature-card p {
  margin: 0;
  color: #b1bbcc;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.flow-card {
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 1.28rem;
  box-shadow: 0 10px 24px rgba(2, 6, 17, 0.45);
}

.flow-step {
  margin: 0 0 0.54rem;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #f9a8d4;
}

.flow-card h3 {
  margin-bottom: 0.56rem;
}

.flow-card p {
  margin: 0;
  color: #b1bbcc;
}

.billing-toggle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.toggle-button {
  border: 0;
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  font-family: inherit;
  font-size: 0.89rem;
  font-weight: 700;
  color: #b3bed0;
  background: transparent;
  cursor: pointer;
}

.toggle-button.is-active {
  color: #f9fafb;
  background: linear-gradient(130deg, rgba(236, 72, 153, 0.88), rgba(167, 139, 250, 0.88));
}

.pricing-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.plan-card {
  position: relative;
  border-radius: 1.06rem;
  border: 1px solid var(--line);
  background: rgba(12, 15, 24, 0.94);
  padding: 1.06rem;
  box-shadow: 0 12px 28px rgba(1, 4, 13, 0.5);
}

.plan-card.featured {
  border-color: rgba(244, 114, 182, 0.62);
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.2);
}

.plan-tag {
  position: absolute;
  top: -0.68rem;
  right: 0.95rem;
  margin: 0;
  padding: 0.25rem 0.56rem;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(120deg, #ec4899, #a78bfa);
}

.plan-name {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: #f9fafb;
}

.plan-price {
  margin: 0.45rem 0 0;
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.plan-interval {
  margin: 0.12rem 0 0;
  font-size: 0.82rem;
  color: #b2bed0;
}

.plan-helper {
  margin: 0.48rem 0 0;
  min-height: 2.2em;
  font-size: 0.83rem;
  color: #aab6c9;
}

.plan-save {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.plan-features {
  margin: 0.78rem 0 0;
  padding-left: 1.04rem;
  display: grid;
  gap: 0.34rem;
  font-size: 0.84rem;
  color: #d2d9e5;
}

.pricing-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: #9ea9bb;
}

.addons-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.addon-card {
  border-radius: 1rem;
  border: 1px dashed rgba(236, 72, 153, 0.45);
  background: rgba(14, 18, 29, 0.9);
  padding: 1rem;
}

.addon-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: #f9fafb;
}

.addon-price {
  margin: 0.3rem 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f9a8d4;
}

.addon-card p {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: #b4bfd0;
}

.cta {
  margin-top: 5rem;
  border-radius: 1.24rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 15%, rgba(236, 72, 153, 0.14), transparent 58%),
    radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.16), transparent 58%),
    rgba(14, 18, 28, 0.95);
  padding: 1.65rem;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-top: 0;
  max-width: 24ch;
}

.site-footer {
  margin-top: 3.8rem;
  padding: 1.5rem 0 2.1rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.72rem;
  font-size: 0.83rem;
  color: #8e9aad;
}

.footer-inner p {
  margin: 0;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    margin-top: 2.8rem;
  }

  .feature-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .addons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 0.5rem;
  }

  .header-inner {
    border-radius: 1rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.64rem;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.64rem 1rem;
  }

  .container {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .section {
    margin-top: 3.8rem;
  }

  .section[id] {
    scroll-margin-top: 9.6rem;
  }

  .hero-copy,
  .hero-panel,
  .cta {
    padding: 1.16rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bg-orb,
  .js .reveal {
    animation: none;
    transition: none;
  }
}