:root {
  --bg: #05070d;
  --bg-soft: #090c16;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --text: #f5f7fb;
  --muted: #9aa3b8;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --gradient: linear-gradient(135deg, var(--violet), var(--cyan));
  --gradient-2: linear-gradient(135deg, var(--emerald), var(--cyan));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  background-image:
    radial-gradient(680px circle at 8% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(620px circle at 96% 6%, rgba(34, 211, 238, 0.14), transparent 60%);
  background-repeat: no-repeat;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(5, 7, 13, 0.72);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  color: #04101a;
  background: var(--gradient-2);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.nav-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(52, 211, 153, 0.28);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 82px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 50vw;
  height: 50vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.45rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  text-align: center;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, filter 200ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -45%;
  width: 34%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  pointer-events: none;
}

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

.button:hover::after {
  animation: button-shine 850ms ease;
}

.button:active {
  transform: translateY(-1px) scale(0.99);
}

.button.primary {
  color: #04101a;
  background: var(--gradient);
  box-shadow: 0 18px 45px rgba(139, 92, 246, 0.28);
}

.button.secondary {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface);
}

.button.primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 22px 55px rgba(34, 211, 238, 0.3);
}

.button.secondary:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: var(--surface-strong);
}

.button.large {
  min-width: 260px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d6dcec;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.hero-panel {
  width: 100%;
}

.chat-card {
  position: relative;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), var(--bg-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-card > * {
  position: relative;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.chat-header img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  padding: 8px;
}

.chat-header span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--emerald);
  font-size: 0.86rem;
  font-weight: 600;
}

.chat-header span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.conversation-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.conversation-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.conversation-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.5);
}

.conversation-tab.is-active {
  color: #04101a;
  background: var(--gradient-2);
  border-color: transparent;
}

.conversation {
  display: none;
}

.conversation.is-active {
  display: block;
  animation: conversation-in 240ms ease both;
}

.message {
  max-width: 86%;
  margin: 12px 0;
  padding: 13px 16px;
  border-radius: 16px;
  color: #eef1f8;
  line-height: 1.45;
  font-size: 0.95rem;
}

.message.customer {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.55), rgba(34, 211, 238, 0.35));
}

.message.assistant {
  border-bottom-left-radius: 4px;
  background: var(--surface-strong);
  border: 1px solid var(--line-soft);
}

.chat-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.32);
}

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

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 82px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.problem-grid,
.feature-grid,
.steps,
.plans-grid,
.metrics,
.after-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.problem-grid article,
.feature,
.steps article,
.plan,
.proof-card,
.metrics div,
.faq-list details,
.after-card,
.after-explain {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.problem-grid article:hover,
.feature:hover,
.steps article:hover,
.plan:hover {
  border-color: rgba(34, 211, 238, 0.32);
  transform: translateY(-3px);
}

.problem-grid article,
.steps article,
.plan,
.metrics div,
.after-card,
.after-explain {
  padding: 26px;
}

.problem-grid strong,
.metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 700;
}

.problem-grid p,
.feature p,
.steps p,
.plan p,
.proof-card p,
.final-cta p,
.faq-list p,
.after-explain p,
.after-card p {
  color: var(--muted);
  line-height: 1.65;
}

.after-intro,
.after-benefits {
  background: var(--bg-soft);
}

.after-explain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  align-items: center;
  gap: 22px;
}

.after-explain p {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.after-note {
  padding: 20px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.07);
}

.after-note strong,
.after-note span,
.after-card span {
  display: block;
}

.after-note strong {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 1.06rem;
}

.after-note span {
  color: #dde3f0;
  line-height: 1.55;
}

.after-card {
  min-height: 100%;
}

.after-card span {
  margin-bottom: 20px;
  color: var(--violet);
  font-weight: 700;
}

.after-card p {
  margin-bottom: 0;
}

.after-next {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(34, 211, 238, 0.1));
}

.legal-hero {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 82px) clamp(34px, 5vw, 64px);
}

.legal-hero h1 {
  max-width: 960px;
}

.legal-content {
  display: grid;
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 82px) clamp(58px, 8vw, 104px);
}

.legal-card {
  max-width: 1080px;
  width: 100%;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.15;
}

.legal-card h3 {
  margin-top: 24px;
  color: #eef2fb;
}

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

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

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

.legal-card ul,
.legal-card ol {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding-left: 22px;
}

.solution {
  background: var(--bg-soft);
}

.feature {
  overflow: hidden;
}

.feature img {
  width: 100%;
  height: clamp(220px, 18vw, 280px);
  padding: 30px;
  object-fit: contain;
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.1), rgba(34, 211, 238, 0.08));
  border-bottom: 1px solid var(--line-soft);
}

.feature div {
  padding: 24px;
}

.use-case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.use-case-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 18px;
  background: var(--surface);
  color: #e8ecf7;
  font-weight: 600;
}

.video-section {
  background: var(--bg);
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 24px;
}

.video-copy {
  max-width: 520px;
}

.video-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.video-copy .button {
  margin-top: 14px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  justify-self: end;
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.instagram-section {
  background: var(--bg-soft);
}

.instagram-frame {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.instagram-frame > div {
  min-height: 420px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--gradient);
  color: #04101a;
  font-weight: 800;
  font-size: 0.9rem;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(34, 211, 238, 0.1));
}

.proof-card {
  padding: clamp(28px, 5vw, 54px);
}

.proof-card p {
  margin-top: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
}

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

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

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

.plans {
  background: var(--bg-soft);
}

.plan {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.featured-plan {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.06));
  border-color: rgba(34, 211, 238, 0.5);
}

.plan-price {
  margin: 4px 0 14px;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.badge {
  align-self: flex-start;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--gradient-2);
  color: #04101a;
  font-size: 0.78rem;
  font-weight: 800;
}

.plan ul {
  margin: 18px 0 24px;
  padding-left: 20px;
  color: #dde3f0;
  line-height: 1.9;
}

.plan .button {
  margin-top: auto;
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-bottom: 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin: clamp(18px, 5vw, 82px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.1)), var(--bg-soft);
}

.final-cta h2 {
  max-width: 780px;
}

.final-cta p {
  max-width: 780px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 82px);
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.hero .reveal {
  transition-duration: 850ms;
}

@keyframes button-shine {
  0% {
    left: -45%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes conversation-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 75px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(9, 12, 22, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
    border-radius: 10px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .after-hero,
  .after-explain,
  .after-next,
  .proof,
  .video-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .video-fallback {
    justify-self: start;
  }

  .hero {
    min-height: auto;
  }

  .problem-grid,
  .feature-grid,
  .steps,
  .plans-grid,
  .after-benefit-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .message {
    max-width: 94%;
  }

  .conversation-tabs {
    grid-template-columns: 1fr;
  }

  .chat-result {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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