:root {
  --bg: #07101f;
  --bg-deep: #04070f;
  --panel: rgba(12, 18, 34, 0.78);
  --panel-strong: rgba(17, 26, 49, 0.92);
  --panel-soft: rgba(10, 16, 30, 0.9);
  --line: rgba(154, 183, 222, 0.18);
  --line-strong: rgba(154, 183, 222, 0.34);
  --ink: #f2f6ff;
  --muted: #aab9d3;
  --accent: #74ddff;
  --accent-2: #8af7d5;
  --accent-warm: #f6d37f;
  --shadow: 0 28px 70px rgba(2, 6, 18, 0.48);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Segoe UI Variable", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  background:
    radial-gradient(circle at 20% 18%, rgba(138, 247, 213, 0.2), transparent 26rem),
    radial-gradient(circle at 85% 12%, rgba(116, 221, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 50% 82%, rgba(246, 211, 127, 0.1), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    radial-gradient(2px 2px at 2% 6%, rgba(255, 255, 255, 0.72) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 18% 20%, rgba(255, 255, 255, 0.56) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 34% 12%, rgba(255, 255, 255, 0.5) 50%, transparent 52%),
    radial-gradient(1.8px 1.8px at 49% 22%, rgba(255, 255, 255, 0.62) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 67% 10%, rgba(255, 255, 255, 0.46) 50%, transparent 52%),
    radial-gradient(1.7px 1.7px at 82% 18%, rgba(255, 255, 255, 0.54) 50%, transparent 52%),
    radial-gradient(1px 1px at 92% 7%, rgba(255, 255, 255, 0.4) 50%, transparent 52%);
  opacity: 0.75;
  animation: star-drift 20s linear infinite;
}

body::after {
  background:
    radial-gradient(circle at 12% 72%, rgba(116, 221, 255, 0.14), transparent 36rem),
    radial-gradient(circle at 88% 28%, rgba(138, 247, 213, 0.14), transparent 28rem);
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: aurora-pulse 13s ease-in-out infinite;
}

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

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

code {
  padding: 0.1em 0.35em;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.94em;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 13, 24, 0.74);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #041023;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 16px 32px rgba(116, 221, 255, 0.24);
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text span,
.topnav a,
.hero-body,
.hero-meta,
.section-body,
.feature-strip p,
.flow-step p,
.workflow-card p,
.screen-card figcaption span,
.screen-note p,
.seo-grid p,
.faq-list p,
.footer {
  color: var(--muted);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topnav a {
  font-size: 0.94rem;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
  gap: 40px;
  align-items: center;
  padding: 70px 6px 28px;
}

.hero-copy {
  max-width: 33rem;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero h1,
.section-heading h2,
.feature-strip h2,
.workflow-card strong,
.screen-card figcaption strong,
.screen-note strong,
.seo-grid h3,
.faq-list summary {
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.4vw, 4.25rem);
  line-height: 1.02;
}

.hero-body {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.82;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #031220;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 18px 34px rgba(116, 221, 255, 0.28);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(10, 16, 30, 0.82);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  font-size: 0.9rem;
}

.hero-meta li {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 15, 29, 0.76);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 560px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 22% 18%, rgba(116, 221, 255, 0.16), transparent 16rem),
    radial-gradient(circle at 78% 64%, rgba(138, 247, 213, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(11, 18, 34, 0.98) 0%, rgba(7, 11, 22, 0.96) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-visual::before {
  inset: 28px auto auto 34px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(116, 221, 255, 0.08), transparent 72%);
}

.hero-visual::after {
  inset: auto 34px 96px auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(138, 247, 213, 0.06), transparent 74%);
}

.hero-visual > * {
  grid-area: 1 / 1;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(19, 29, 52, 0.96) 0%, rgba(9, 15, 28, 0.96) 100%);
  box-shadow: 0 24px 50px rgba(2, 6, 18, 0.36);
}

.visual-main {
  z-index: 2;
  width: min(78%, 420px);
  margin: 20px 0 0 20px;
}

.visual-settings {
  z-index: 1;
  width: min(68%, 340px);
  justify-self: end;
  align-self: end;
  margin: 0 20px 118px 0;
  transform: rotate(-5deg);
}

.visual-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.visual-main img,
.visual-settings img {
  width: 100%;
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.78) 0%, rgba(4, 6, 13, 0.86) 100%);
}

.visual-main img {
  aspect-ratio: 3 / 2;
}

.visual-settings img {
  aspect-ratio: 47 / 31;
  max-height: 280px;
}

.visual-caption {
  z-index: 3;
  align-self: end;
  width: min(370px, calc(100% - 40px));
  margin: 0 0 20px 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 24, 0.86);
  backdrop-filter: blur(18px);
}

.visual-caption strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.visual-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-support,
.feature-strip,
.workflow,
.screenshots,
.seo-copy,
.faq {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(2, 6, 18, 0.32);
}

.hero-support {
  display: flex;
  align-items: center;
  min-height: 74px;
}

.hero-support p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-support strong {
  color: var(--ink);
}

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

.feature-strip article,
.flow-step,
.workflow-card,
.screen-note,
.seo-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
}

.feature-strip span,
.flow-step span {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-strip span {
  color: var(--accent);
}

.feature-strip h2,
.workflow-card strong,
.screen-note strong,
.seo-grid h3 {
  display: block;
  margin: 14px 0 10px;
  font-size: 1.08rem;
}

.feature-strip p,
.flow-step p,
.workflow-card p,
.screen-note p,
.seo-grid p {
  margin: 0;
  line-height: 1.72;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.04;
}

.section-body {
  margin: 0;
  max-width: 48rem;
  line-height: 1.76;
}

.flow-banner,
.workflow-grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-banner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.flow-step span {
  margin-bottom: 12px;
  color: var(--accent-2);
}

.flow-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.screen-stack {
  display: grid;
  gap: 18px;
}

.screen-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 13, 24, 0.9);
}

.screen-card img {
  width: 100%;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.86) 0%, rgba(4, 7, 14, 0.96) 100%);
}

.screen-main img {
  aspect-ratio: 3 / 2;
  min-height: 320px;
}

.screen-settings img {
  aspect-ratio: 47 / 31;
  min-height: 240px;
}

.screen-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  line-height: 1.72;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 6px 0;
  font-size: 0.95rem;
}

.footer a {
  color: var(--accent-2);
  font-weight: 800;
}

@keyframes aurora-pulse {
  0%,
  100% {
    opacity: 0.56;
  }

  50% {
    opacity: 0.88;
  }
}

@keyframes star-drift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-120px);
  }
}

@media (max-width: 1040px) {
  .hero,
  .feature-strip,
  .flow-banner,
  .workflow-grid,
  .screen-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: 520px;
  }

  .visual-main {
    width: min(78%, 460px);
  }

  .visual-settings {
    width: min(72%, 380px);
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 14px;
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 14px;
  }

  .topnav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .topnav a {
    font-size: 0.88rem;
  }

  .hero {
    padding: 34px 4px 18px;
    gap: 20px;
  }

  .eyebrow {
    font-size: 0.74rem;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .hero-body {
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .button {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.94rem;
  }

  .hero-meta {
    gap: 8px;
    margin-top: 18px;
    font-size: 0.82rem;
  }

  .hero-meta li {
    padding: 8px 12px;
  }

  .hero-visual {
    min-height: 0;
    padding: 18px;
    gap: 14px;
  }

  .hero-visual > * {
    grid-area: auto;
  }

  .visual-card,
  .visual-caption {
    width: 100%;
    margin: 0;
    transform: none;
  }

  .visual-main {
    max-width: none;
  }

  .visual-settings {
    width: min(88%, 320px);
    justify-self: end;
    align-self: auto;
  }

  .visual-main img,
  .screen-main img {
    min-height: 0;
  }

  .visual-settings img,
  .screen-settings img {
    min-height: 0;
    max-height: none;
  }

  .hero-support,
  .feature-strip,
  .workflow,
  .screenshots,
  .seo-copy,
  .faq {
    padding: 22px;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
