:root {
  --bg: #0a0a14;
  --bg-soft: #0f1020;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.105);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);
  --violet: #7c3aed;
  --violet-2: #8b5cf6;
  --violet-3: #5b21b6;
  --green: #10b981;
  --amber: #f59e0b;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.12), transparent 360px),
    var(--bg);
  color: var(--text);
  font-family: "Figtree", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  pointer-events: none;
  animation: gridDrift 18s linear infinite;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 10, 20, 0.78);
  backdrop-filter: blur(22px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

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

.brand img {
  width: 178px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-3));
  box-shadow: 0 12px 34px rgba(124, 58, 237, 0.32);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.26) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 620ms ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(196, 181, 253, 0.95);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.75);
  animation: pulseDot 2.8s ease-in-out infinite;
}

.hero {
  padding: 78px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  max-width: 820px;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero .eyebrow,
.page-hero .eyebrow,
.hero h1,
.page-hero h1,
.hero .lead,
.page-hero .lead,
.hero-actions,
.hero-proof {
  animation: fadeUp 460ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1,
.page-hero h1 {
  animation-delay: 30ms;
}

.hero .lead,
.page-hero .lead {
  animation-delay: 70ms;
}

.hero-actions {
  animation-delay: 110ms;
}

.hero-proof {
  animation-delay: 150ms;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  max-width: 650px;
}

.hero-proof.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
}

.proof-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.proof-item:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.36);
  background: rgba(255, 255, 255, 0.065);
}

.proof-item strong {
  display: block;
  font-size: 22px;
}

.proof-item span {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.35;
}

.product-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  animation: floatIn 540ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms both, softFloat 7s ease-in-out 900ms infinite;
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.54), rgba(34, 211, 238, 0.16), rgba(236, 72, 153, 0.28));
  filter: blur(18px);
  opacity: 0.35;
  animation: glowBreath 5s ease-in-out infinite;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: #0d0d19;
}

.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.traffic i:nth-child(1) { animation: blinkDot 4.2s ease-in-out infinite; }
.traffic i:nth-child(2) { animation: blinkDot 4.2s ease-in-out 0.25s infinite; }
.traffic i:nth-child(3) { animation: blinkDot 4.2s ease-in-out 0.5s infinite; }

.traffic i:nth-child(1) { background: var(--pink); }
.traffic i:nth-child(2) { background: var(--amber); }
.traffic i:nth-child(3) { background: var(--green); }

.window-top span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}

.dashboard {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 520px;
}

.side {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.025);
}

.side-logo {
  width: 110px;
  margin-bottom: 22px;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  border-radius: 10px;
  padding: 10px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 750;
}

.side-item.active {
  background: rgba(124, 58, 237, 0.18);
  color: #ddd6fe;
}

.side-item.green .dot { background: var(--green); }
.side-item.amber .dot { background: var(--amber); }
.side-item.pink .dot { background: var(--pink); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-2);
}

.dash-main {
  padding: 18px;
}

.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dash-head h2 {
  margin: 0 0 7px;
  font-size: 22px;
}

.dash-head p {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

.credit-pill {
  border: 1px solid rgba(124, 58, 237, 0.38);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(124, 58, 237, 0.13);
  color: #ddd6fe;
  font-size: 12px;
  font-weight: 850;
  animation: creditPulse 3.6s ease-in-out infinite;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, background 180ms ease;
}

.metric:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.065);
}

.metric b {
  display: block;
  font-size: 21px;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
}

.generator-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.16), rgba(255, 255, 255, 0.035));
}

.generator-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.prompt-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.prompt-box span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mini-btn {
  border-radius: 10px;
  padding: 9px 11px;
  background: var(--violet);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.article-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.article-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
  animation: rowBreathe 4.8s ease-in-out infinite;
}

.article-row:nth-child(2) { animation-delay: 0.55s; }
.article-row:nth-child(3) { animation-delay: 1.1s; }

.article-row b {
  display: block;
  font-size: 13px;
}

.article-row span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 11px;
}

.status {
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 850;
  animation: statusGlow 3.5s ease-in-out infinite;
}

.status.green { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; }
.status.amber { background: rgba(245, 158, 11, 0.14); color: #fcd34d; }
.status.pink { background: rgba(236, 72, 153, 0.14); color: #f9a8d4; }

.section {
  padding: 86px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.04;
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.feature-chip-card,
.feature-card,
.price-card,
.contact-card,
.legal-card,
.work-step,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature-chip-card,
.feature-card,
.price-card,
.contact-card,
.legal-card,
.work-step,
.faq-item,
.integration-card,
.signal-panel,
.opportunity-card,
.timeline-step,
.limit-card,
.credit-pack,
.cta-band {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.feature-chip-card:hover,
.feature-card:hover,
.price-card:hover,
.contact-card:hover,
.work-step:hover,
.integration-card:hover,
.timeline-step:hover,
.limit-card:hover,
.credit-pack:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.38);
  background: var(--panel-strong);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.feature-chip-card {
  padding: 18px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: rgba(124, 58, 237, 0.16);
  color: #c4b5fd;
  transition: transform 220ms ease, background 220ms ease;
}

.feature-chip-card:hover .icon,
.feature-card:hover .icon {
  transform: rotate(-4deg) scale(1.06);
  background: rgba(124, 58, 237, 0.28);
}

.feature-chip-card h3,
.feature-card h3,
.work-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-chip-card p,
.feature-card p,
.work-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

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

.work-step {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.work-step::before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: block;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.work-step:hover::before {
  color: rgba(196, 181, 253, 0.38);
  transform: translateX(4px);
}

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

.feature-card {
  padding: 24px;
  min-height: 210px;
}

.feature-card.wide {
  grid-column: span 2;
}

.signal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.signal-panel,
.opportunity-card,
.integration-card,
.timeline-step,
.limit-card,
.credit-pack {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.signal-panel {
  border-radius: 22px;
  padding: 26px;
}

.signal-panel h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.signal-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.55);
}

.opportunity-stack {
  display: grid;
  gap: 12px;
}

.opportunity-card {
  padding: 16px;
}

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

.opportunity-card span {
  color: var(--faint);
  font-size: 13px;
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: rgba(16, 185, 129, 0.13);
  color: #86efac;
  font-size: 12px;
  font-weight: 900;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.integration-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
}

.integration-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.92;
}

.integration-card strong {
  display: block;
  font-size: 14px;
}

.integration-card span {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.35;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
}

.price-card.featured {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.18), rgba(255, 255, 255, 0.055));
  box-shadow: 0 20px 70px rgba(124, 58, 237, 0.18);
  animation: featuredBreath 5.5s ease-in-out infinite;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(16, 185, 129, 0.13);
  color: #86efac;
  font-size: 11px;
  font-weight: 850;
}

.badge-row {
  display: flex;
  align-self: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}

.badge-popular {
  background: rgba(139, 92, 246, 0.22);
  color: #ddd6fe;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.18);
}

.price-card h3 {
  margin: 20px 0 8px;
  font-size: 21px;
  line-height: 1.18;
  min-height: 50px;
}

.price {
  margin: 0;
  font-size: 38px;
  font-weight: 900;
}

.price small {
  color: var(--faint);
  font-size: 14px;
  font-weight: 650;
}

.price-card p {
  color: var(--muted);
  line-height: 1.6;
}

.price-card .check-list {
  margin-bottom: 26px;
}

.price-card > .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.pricing-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 16px;
  color: var(--muted);
  text-align: left;
  font-size: 14px;
}

.pricing-table th {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table td:not(:first-child),
.pricing-table th:not(:first-child) {
  text-align: center;
}

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

.credit-pack {
  padding: 22px;
}

.credit-pack strong {
  display: block;
  font-size: 26px;
}

.credit-pack span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: timeline;
}

.timeline-step {
  padding: 20px;
}

.timeline-step::before {
  counter-increment: timeline;
  content: "0" counter(timeline);
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(196, 181, 253, 0.6);
  font-size: 28px;
  font-weight: 900;
}

.timeline-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.limit-card {
  padding: 20px;
}

.limit-card h3 {
  margin: 0 0 14px;
}

.limit-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.45;
}

.limit-card strong {
  color: var(--text);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 1px;
  background: rgba(16, 185, 129, 0.18);
  box-shadow: inset 0 0 0 5px rgba(16, 185, 129, 0.35);
}

.cta-band {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.32), rgba(16, 185, 129, 0.08)),
    rgba(255, 255, 255, 0.045);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.38), transparent 68%);
  animation: ctaGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.cta-band h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
}

.cta-band p {
  max-width: 650px;
  margin: 18px 0 26px;
  color: var(--muted);
  line-height: 1.65;
}

.page-hero {
  padding: 72px 0 42px;
}

.page-hero .lead {
  max-width: 760px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  align-items: center;
  gap: 42px;
}

.hero-visual {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  animation: floatIn 540ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms both, softFloat 8s ease-in-out 900ms infinite;
}

.visual-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 18px;
  background: rgba(10, 10, 20, 0.58);
}

.visual-card + .visual-card {
  margin-top: 12px;
}

.visual-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.visual-kicker span:last-child {
  color: #c4b5fd;
}

.visual-bars {
  display: grid;
  gap: 10px;
}

.visual-bar {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.visual-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--green));
}

.visual-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.visual-stat {
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.visual-stat strong {
  display: block;
  font-size: 20px;
}

.visual-stat span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 11px;
}

.visual-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.visual-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.visual-logo img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 18px;
}

.contact-card {
  padding: 26px;
}

.contact-methods {
  display: grid;
  gap: 12px;
}

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

.method strong {
  display: block;
  margin-bottom: 6px;
}

.method span {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  outline: none;
}

.field select {
  color-scheme: dark;
}

.field select option {
  background: #101724;
  color: #f8fafc;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

.turnstile-wrap {
  min-height: 65px;
}

.form-result {
  max-width: 640px;
  margin: 120px auto;
}

.form-result h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.form-result p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 24px;
}

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

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  padding: 20px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.faq-item button::after {
  content: "+";
  color: #c4b5fd;
  font-size: 22px;
}

.faq-item.open button::after {
  content: "-";
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item.open p {
  display: block;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 18px;
  pointer-events: none;
}

.cookie-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(860px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 22px 80px rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: auto;
}

.cookie-banner.show .cookie-panel {
  opacity: 1;
  transform: translateY(0);
}

.cookie-panel strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 6px;
}

.cookie-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-panel a {
  display: inline-block;
  margin-top: 8px;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .cookie-panel {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1 1 150px;
  }
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.legal-nav a {
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.legal-nav a.active,
.legal-nav a:hover {
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
}

.legal-card {
  padding: 34px;
}

.legal-card h2 {
  margin: 28px 0 12px;
  font-size: 26px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 20px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
  color: var(--faint);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer img {
  width: 148px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

@keyframes fadeUp {
  from {
    opacity: 0.35;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0.4;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(16, 185, 129, 0.75); }
  50% { transform: scale(1.28); box-shadow: 0 0 28px rgba(16, 185, 129, 0.95); }
}

@keyframes glowBreath {
  0%, 100% { opacity: 0.26; transform: scale(0.98); }
  50% { opacity: 0.5; transform: scale(1.02); }
}

@keyframes blinkDot {
  0%, 78%, 100% { opacity: 1; }
  84% { opacity: 0.35; }
}

@keyframes creditPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(124, 58, 237, 0); }
  50% { box-shadow: 0 0 28px rgba(124, 58, 237, 0.32); }
}

@keyframes rowBreathe {
  0%, 100% { border-color: rgba(255, 255, 255, 0.08); }
  50% { border-color: rgba(139, 92, 246, 0.28); }
}

@keyframes statusGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

@keyframes featuredBreath {
  0%, 100% { box-shadow: 0 20px 70px rgba(124, 58, 237, 0.18); }
  50% { box-shadow: 0 24px 84px rgba(124, 58, 237, 0.28); }
}

@keyframes ctaGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(-60px, -30px) scale(1.15); opacity: 0.82; }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .product-frame {
    max-width: 720px;
    margin: 0 auto;
  }

  .feature-strip,
  .work-grid,
  .feature-grid,
  .pricing-grid,
  .integration-grid,
  .limit-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-inner {
    min-height: 68px;
  }

  .brand img {
    width: 150px;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    background: rgba(10, 10, 20, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: 12px;
  }

  .nav-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-inner {
    min-height: 68px;
  }

  .brand img {
    width: 150px;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    background: rgba(10, 10, 20, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: 12px;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-proof,
  .feature-strip,
  .work-grid,
  .feature-grid,
  .pricing-grid,
  .integration-grid,
  .credit-pack-grid,
  .timeline,
  .limit-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card.wide {
    grid-column: auto;
  }

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

  .side {
    display: none;
  }

  .dash-head,
  .article-row,
  .footer-grid {
    align-items: start;
    flex-direction: column;
  }

  .dash-head {
    display: flex;
  }

  .prompt-box {
    align-items: stretch;
    flex-direction: column;
  }

  .mini-btn {
    text-align: center;
  }

  .section {
    padding: 62px 0;
  }

  .cta-band,
  .legal-card {
    padding: 26px;
  }
}

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

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