:root {
  --bg: #050507;
  --bg-elevated: #0b0b10;
  --bg-soft: #111018;
  --text: #f7f4ff;
  --muted: #b9b2c7;
  --quiet: #81798f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --pink: #c14bec;
  --violet: #4600af;
  --cyan: #46f4d2;
  --gold: #f8c66a;
  --danger: #ff6b8c;
  --gradient: linear-gradient(135deg, var(--pink), var(--violet));
  --gradient-soft: linear-gradient(135deg, rgba(193, 75, 236, 0.22), rgba(70, 0, 175, 0.18));
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #050507 0%, #080611 46%, #050507 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: rgba(193, 75, 236, 0.5);
  color: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(193, 75, 236, 0.35);
  flex: 0 0 auto;
  object-fit: cover;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--gradient);
  background-clip: border-box;
  color: #fff;
  font-weight: 760;
  box-shadow: 0 14px 34px rgba(70, 0, 175, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(193, 75, 236, 0.35);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: 82vh;
  margin: 0 auto;
  padding: 86px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: var(--gradient);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: 6.2rem;
  line-height: 0.9;
  font-weight: 800;
  max-width: 880px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy,
.page-copy {
  margin: 26px 0 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 0;
}

.proof-pill {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.visual-wrap {
  position: relative;
  min-height: 620px;
  animation: floatIn 850ms ease both 150ms;
}

.device-shell {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(100%, 520px);
  min-height: 590px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    #0a0a0f;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-screen {
  min-height: 558px;
  border-radius: 24px;
  overflow: hidden;
  background: #050507;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.screen-dots {
  display: flex;
  gap: 7px;
}

.screen-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.screen-dots span:nth-child(2) {
  background: var(--gold);
}

.screen-dots span:nth-child(3) {
  background: var(--cyan);
}

.image-compare {
  position: relative;
  margin: 18px;
  min-height: 340px;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.image-compare img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.image-compare::after {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  background:
    linear-gradient(135deg, rgba(193, 75, 236, 0.42), rgba(70, 0, 175, 0.12)),
    url("assets/ipad-sample.png") center/cover;
  filter: saturate(1.38) contrast(1.08) brightness(1.02);
  z-index: 1;
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 46%;
  width: 2px;
  background: #fff;
  z-index: 2;
}

.compare-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.prompt-panel {
  margin: 0 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.prompt-label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--quiet);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.prompt-text {
  margin: 12px 0 0;
  color: #fff;
  line-height: 1.45;
}

.tool-rail {
  position: absolute;
  left: 0;
  bottom: 58px;
  width: 220px;
  display: grid;
  gap: 10px;
}

.tool-chip {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(5, 5, 7, 0.84);
  backdrop-filter: blur(14px);
  color: var(--muted);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.tool-chip strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}

.section-inner,
.page-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-size: 3.65rem;
  line-height: 1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature,
.plan,
.seo-card,
.faq-item,
.legal-card,
.policy-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.feature {
  min-height: 230px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(193, 75, 236, 0.48);
  background: rgba(255, 255, 255, 0.075);
}

.feature-index {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
}

.feature h3,
.plan h3 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
}

.feature p,
.plan p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.workflow {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.workflow-panel {
  border: 1px solid rgba(193, 75, 236, 0.35);
  border-radius: 8px;
  padding: 28px;
  background: var(--gradient-soft);
}

.workflow-panel h2 {
  margin: 0;
  font-size: 3.45rem;
  line-height: 1;
}

.workflow-panel p {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.workflow-list {
  display: grid;
  gap: 12px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.step-number {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 760;
}

.workflow-step h3 {
  margin: 0 0 8px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.seo-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.seo-card,
.faq-item {
  padding: 22px;
  min-height: 210px;
}

.seo-card h3,
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.seo-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

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

.plan {
  padding: 26px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.plan-tag {
  align-self: flex-start;
  border: 1px solid rgba(70, 244, 210, 0.42);
  border-radius: 8px;
  color: var(--cyan);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.plan h3 {
  font-size: 1.7rem;
}

.plan ul,
.legal-card ul,
.policy-panel ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  color: var(--muted);
}

.plan li,
.legal-card li,
.policy-panel li {
  position: relative;
  padding-left: 22px;
  line-height: 1.55;
}

.plan li::before,
.legal-card li::before,
.policy-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--gradient);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(193, 75, 236, 0.34);
  border-radius: 8px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(193, 75, 236, 0.18), rgba(70, 0, 175, 0.18)),
    rgba(255, 255, 255, 0.04);
}

.contact-band h2 {
  margin: 0 0 10px;
  font-size: 2.65rem;
}

.contact-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--quiet);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.footer-links a,
.inline-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(193, 75, 236, 0.65);
  text-underline-offset: 4px;
}

.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 54px;
}

.legal-layout {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  color: var(--muted);
  padding: 8px 0;
  font-size: 0.94rem;
}

.toc a:hover {
  color: #fff;
}

.legal-stack {
  display: grid;
  padding: 28px;
  gap: 14px;
}

.legal-card,
.policy-panel {
  padding: 28px;
}

.legal-card h2,
.policy-panel h2 {
  margin: 0 0 14px;
  font-size: 1.9rem;
}

.legal-card h3,
.policy-panel h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}

.legal-card p,
.policy-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.72;
}

.legal-card p:last-child,
.policy-panel p:last-child {
  margin-bottom: 0;
}

.legal-note {
  color: var(--quiet);
  font-size: 0.94rem;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.definition {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.definition strong {
  display: block;
  margin-bottom: 8px;
}

.definition span {
  color: var(--muted);
  line-height: 1.55;
}

.animate-in {
  animation: riseIn 720ms ease both;
}

.delay-1 {
  animation-delay: 100ms;
}

.delay-2 {
  animation-delay: 190ms;
}

.delay-3 {
  animation-delay: 280ms;
}

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

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

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

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

@media (max-width: 980px) {
  .nav {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-inner,
  .page-hero,
  .footer-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

  .visual-wrap {
    min-height: 590px;
  }

  .device-shell {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .tool-rail {
    left: 14px;
  }

  .section-heading,
  .workflow,
  .contact-band,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

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

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    background-size: 48px 48px, 48px 48px, auto;
  }

  .brand-name {
    max-width: 190px;
  }

  .nav-cta {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.7rem;
  }

  .section-heading h2 {
    font-size: 2.45rem;
  }

  .workflow-panel h2 {
    font-size: 2.35rem;
  }

  .contact-band h2 {
    font-size: 2rem;
  }

  .legal-card h2,
  .policy-panel h2 {
    font-size: 1.55rem;
  }

  .hero-actions,
  .footer-inner,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .visual-wrap {
    min-height: 530px;
  }

  .device-shell {
    width: 100%;
    min-height: 500px;
    border-radius: 22px;
    padding: 10px;
  }

  .device-screen {
    min-height: 480px;
    border-radius: 16px;
  }

  .image-compare {
    margin: 12px;
    min-height: 290px;
  }

  .image-compare img {
    height: 290px;
  }

  .prompt-panel {
    margin: 0 12px 12px;
    padding: 13px;
  }

  .tool-rail {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .tool-chip {
    padding: 11px;
    font-size: 0.88rem;
  }

  .feature-grid,
  .seo-grid,
  .faq-grid,
  .plans,
  .definition-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .contact-band,
  .legal-card,
  .policy-panel {
    padding: 22px;
  }
}
