:root {
  --bg: #2b0f63;
  --card: rgba(74, 20, 140, 0.52);
  --text: #f8f6ff;
  --muted: #dfd5f7;
  --line: rgba(223, 213, 247, 0.24);
  --brand: #7c43bd;
  --brand-2: #4a148c;
  --ok: #ffca28;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 700px at 15% -10%, rgba(124, 67, 189, 0.26), transparent 55%),
    radial-gradient(1000px 600px at 95% 10%, rgba(255, 202, 40, 0.14), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.bg-blur {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
  z-index: -1;
}

.bg-blur-1 {
  width: 280px;
  height: 280px;
  background: rgba(124, 67, 189, 0.34);
  left: -80px;
  top: 90px;
}

.bg-blur-2 {
  width: 320px;
  height: 320px;
  background: rgba(74, 20, 140, 0.3);
  right: -100px;
  top: 260px;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(43, 15, 99, 0.74);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.modules-dropdown {
  position: relative;
}

.modules-trigger {
  cursor: pointer;
}

.modules-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 280px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(58, 22, 120, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 80;
}

.modules-dropdown:hover .modules-dropdown-menu,
.modules-dropdown:focus-within .modules-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modules-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.modules-item:last-child {
  border-bottom: none;
}

.modules-item:hover {
  background: rgba(124, 67, 189, 0.35);
}

.modules-item.muted {
  color: var(--muted);
}

.modules-item.muted:hover {
  background: transparent;
}

.soon {
  font-size: 11px;
  font-weight: 700;
  color: #2b1645;
  background: #d8b4fe;
  padding: 2px 8px;
  border-radius: 999px;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border: none;
  color: var(--text);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.hero {
  padding: 90px 0 60px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe9aa;
  border: 1px solid rgba(255, 202, 40, 0.45);
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 18px;
  max-width: 900px;
}

h1 span {
  background: linear-gradient(90deg, #ffca28, #7c43bd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 860px;
  margin: 0;
}

.hero-actions,
.pricing-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(124, 67, 189, 0.32);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 34px 0;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--card);
  backdrop-filter: blur(8px);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(58, 22, 120, 0.58);
  padding: 20px;
}

.step {
  position: relative;
  padding: 0 0 16px 28px;
  border-left: 1px dashed rgba(223, 213, 247, 0.36);
  margin-left: 8px;
}

.step:last-child {
  border-left: none;
  padding-bottom: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  position: absolute;
  left: -5px;
  top: 6px;
  box-shadow: 0 0 0 5px rgba(255, 202, 40, 0.18);
}

.step h4 {
  margin: 0 0 5px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}

.showcase-copy h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.showcase-copy p,
.showcase-copy li {
  color: var(--muted);
}

.showcase-copy ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.mockup {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(74, 20, 140, 0.9), rgba(43, 15, 99, 0.85));
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.3);
}

.mockup-header {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.mockup-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(223, 200, 255, 0.7);
}

.mockup-body {
  padding: 14px;
}

.bubble {
  width: fit-content;
  max-width: 86%;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 8px 0;
  font-size: 14px;
}

.bubble.bot {
  background: rgba(124, 67, 189, 0.28);
  border: 1px solid rgba(194, 162, 255, 0.45);
}

.bubble.user {
  margin-left: auto;
  background: rgba(74, 20, 140, 0.35);
  border: 1px solid rgba(194, 162, 255, 0.42);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chips span {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--text);
}

.pricing {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(74, 20, 140, 0.75), rgba(43, 15, 99, 0.88));
  padding: 28px;
  text-align: center;
}

.price {
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(90deg, #ffca28, #d8b4fe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 8px;
}

.price-note {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    min-height: 62px;
  }

  .header-actions {
    gap: 8px;
  }

  .page-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .modules-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(43, 15, 99, 0.94);
  }

  .lang-btn {
    min-width: 38px;
    height: 36px;
    font-size: 12px;
  }

  .hero {
    padding-top: 74px;
  }
}
