:root {
  --bg: #0b0713;
  --bg-accent: #1d1028;
  --panel: rgba(30, 14, 38, 0.74);
  --text: #fff3fb;
  --muted: #d4b8ca;
  --line: rgba(255, 137, 195, 0.28);
  --primary: #ff4fb3;
  --primary-strong: #ff2d9c;
  --accent: #ff8a3d;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 12% -6%, #5a1b6f, transparent 42%),
    radial-gradient(circle at 92% 0%, #6a2a18, transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  filter: blur(64px);
  opacity: 0.7;
  border-radius: 999px;
}

.blob-1 {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -90px;
  background: #ff3ea8;
}

.blob-2 {
  width: 360px;
  height: 360px;
  right: -90px;
  top: 16%;
  background: #ff7a2f;
}

.blob-3 {
  width: 340px;
  height: 340px;
  left: 32%;
  bottom: -120px;
  background: #a944ff;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(130, 150, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 150, 255, 0.13) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 75%);
  opacity: 0.2;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1260px, calc(100vw - 1rem));
  margin: 0.6rem auto 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 137, 195, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, rgba(8, 14, 28, 0.9), rgba(6, 11, 22, 0.86));
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  gap: 0.75rem;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 179, 0.45), transparent);
  opacity: 0.55;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  padding: 4px;
  background: radial-gradient(circle at 30% 30%, #ff9fdd, #ff4fb3 68%, #ff8a3d 100%);
  border: 1px solid rgba(255, 202, 231, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 112, 194, 0.18);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

main {
  width: min(1260px, calc(100vw - 1rem));
  margin: 1rem auto 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 0.4rem;
}

.hero-copy,
.hero-card,
.feature,
.download-card,
.faq details,
.table-wrap {
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.hero-copy {
  padding: 2.8rem;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin: 0 0 1rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(92deg, #ffd7ef, #ff8fd3 45%, #ffb378 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headingShimmer 6s linear infinite;
}

.subtitle {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 53ch;
  font-size: 1.08rem;
}

.hero-badges {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-badges span {
  border-radius: 999px;
  border: 1px solid rgba(255, 151, 208, 0.45);
  background: rgba(255, 79, 179, 0.14);
  color: #ffe2f4;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-stats {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.hero-stats div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

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

.hero-card {
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(183, 194, 238, 0.2);
}

.hero-card p {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 191, 0.44);
  background: rgba(255, 79, 179, 0.15);
  font-weight: 600;
  color: #ffd6ef;
  margin-bottom: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff4fb3;
  box-shadow: 0 0 14px var(--primary);
  animation: pulse 1.2s infinite ease-in-out;
}

.check-list {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: #f7dced;
}

.check-list li {
  margin: 0.4rem 0;
}

.wave-row {
  margin-top: 1rem;
  display: flex;
  gap: 6px;
  height: 40px;
  align-items: flex-end;
}

.wave-row span {
  width: 6px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  height: 12px;
}

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

.feature {
  padding: 1.5rem;
}

.feature p,
.download p,
.faq p {
  color: var(--muted);
}

.trust-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-strip div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.trust-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.86rem;
}

.showcase {
  margin-top: 1.15rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1rem;
}

.demo {
  margin-top: 1rem;
  padding: 1.2rem;
}

.demo-head h2 {
  margin-top: 0.45rem;
}

.demo-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.demo-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.demo-card h3 {
  font-size: 1rem;
}

.demo-raw {
  background: rgba(255, 255, 255, 0.03);
}

.demo-clean {
  background: linear-gradient(150deg, rgba(255, 79, 179, 0.18), rgba(255, 138, 61, 0.14));
}

.demo-text {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.showcase-copy {
  padding: 1rem;
}

.showcase-copy p {
  color: var(--muted);
}

.mock-window {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 30, 0.8);
  overflow: hidden;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.mock-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(189, 202, 255, 0.5);
}

.mock-topbar p {
  margin: 0 0 0 0.6rem;
  color: #f1d5e6;
  font-size: 0.83rem;
}

.mock-content {
  padding: 1rem;
}

.typing-line {
  color: #ffd0ea;
  border-left: 2px solid #ff4fb3;
  padding-left: 0.6rem;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.typing-result {
  margin: 0;
  color: #fff0f8;
  font-size: 1rem;
}

.comparison {
  margin-top: 1.3rem;
  padding: 1.2rem;
}

.comparison-head h2 {
  margin-top: 0.45rem;
}

.table-wrap {
  margin-top: 0.8rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.85rem 0.9rem;
}

th {
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.download {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1.2rem;
}

.download h2 {
  margin-top: 0.4rem;
}

.download-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-list {
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
  color: #f2d2e4;
}

.faq {
  margin-top: 1.3rem;
}

.faq details {
  margin-top: 0.75rem;
  padding: 1rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: "Sora", sans-serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-small {
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
}

.btn-primary {
  background: linear-gradient(95deg, var(--primary), var(--accent));
  color: #2a081d;
  box-shadow: 0 14px 35px rgba(255, 79, 179, 0.34);
}

.btn-primary:hover {
  background: linear-gradient(100deg, var(--primary-strong), #ffb16a);
}

.btn-ghost,
.btn-small,
.btn-nav {
  border: 1px solid rgba(165, 184, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-nav {
  padding-inline: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
}

.footer {
  width: min(1260px, calc(100vw - 1rem));
  margin: 1.6rem auto 2rem;
  color: #9da7cb;
  border-top: 1px solid rgba(165, 184, 255, 0.15);
  padding-top: 1rem;
}

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

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #f3cade;
  text-decoration: none;
  font-size: 0.92rem;
}

.copyright {
  margin-top: 0.6rem;
  color: #bc93a7;
  font-size: 0.82rem;
}

.muted {
  color: #a5b1d6;
  font-size: 0.92rem;
}

.mobile-cta {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  color: #081022;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  background: linear-gradient(95deg, var(--primary), var(--accent));
  box-shadow: 0 12px 30px rgba(104, 228, 255, 0.3);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

@keyframes headingShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.reveal-up,
.reveal-right {
  opacity: 0;
}

@media (max-width: 980px) {
  .hero,
  .demo-grid,
  .showcase,
  .download {
    grid-template-columns: 1fr;
  }

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

  .trust-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-card {
    border-left: 0;
    border-top: 1px solid rgba(183, 194, 238, 0.2);
  }

  .topbar {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

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

@media (max-width: 640px) {
  .topbar,
  main,
  .footer {
    width: calc(100vw - 0.7rem);
  }

  .hero-copy,
  .hero-card {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .topbar .btn-nav {
    display: none;
  }

  .mobile-cta {
    display: inline-flex;
  }

  .footer {
    margin-bottom: 4.8rem;
  }
}
