:root {
  --bg: #070812;
  --bg-soft: #0c0e18;
  --sidebar: rgba(10, 12, 22, 0.88);
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --text: #f5f7ff;
  --muted: #a8afca;
  --soft: #737b9d;
  --accent: #7c5cff;
  --accent-2: #2ee6a6;
  --accent-3: #5d8bff;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.3), transparent 32rem),
    radial-gradient(circle at top right, rgba(46, 230, 166, 0.16), transparent 30rem),
    radial-gradient(circle at 70% 30%, rgba(93, 139, 255, 0.1), transparent 26rem),
    var(--bg);
}

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

button {
  font-family: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 278px 1fr;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--border);
  background: var(--sidebar);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
}

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

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 900;
  box-shadow: 0 0 40px rgba(124, 92, 255, 0.45);
}

.brand-name {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-tag {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.new-project-button {
  width: 100%;
  margin-top: 28px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(93, 139, 255, 0.95));
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.22);
}

.sidebar-section {
  margin-top: 28px;
}

.sidebar-label {
  display: block;
  margin-bottom: 10px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-list {
  display: grid;
  gap: 8px;
}

.project-item {
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.project-item:hover,
.project-item.active {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.065);
}

.project-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--accent-2);
  background: rgba(46, 230, 166, 0.1);
}

.project-item strong {
  display: block;
  font-size: 14px;
}

.project-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  gap: 10px;
}

.sidebar-footer a {
  color: var(--muted);
  font-size: 14px;
}

.sidebar-footer a:hover {
  color: var(--text);
}

.main {
  min-width: 0;
}

.topbar {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 82px;
  text-align: center;
}

.badge {
  width: fit-content;
  margin: 0 auto 22px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.subtitle {
  max-width: 780px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.slogan {
  margin: 22px auto 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
}

.actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 850;
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 16px 45px rgba(124, 92, 255, 0.32);
}

.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.product-preview {
  max-width: 920px;
  margin: 58px auto 0;
}

.mock-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 30px 100px var(--shadow);
  backdrop-filter: blur(18px);
}

.mock-window-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.mock-window-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.mock-window-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 420px;
}

.mock-sidebar {
  padding: 22px;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.16);
}

.mock-sidebar p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock-project {
  height: 36px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.mock-project.active {
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.45), rgba(46, 230, 166, 0.18));
}

.mock-content {
  padding: 28px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mock-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  padding: 20px;
  text-align: left;
}

.mock-card.large {
  min-height: 140px;
}

.mock-title {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

.mock-card strong {
  display: block;
  font-size: 22px;
}

.mock-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.mock-chat {
  display: grid;
  gap: 10px;
  align-content: start;
}

.mock-message {
  width: fit-content;
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 15px;
  font-size: 14px;
}

.mock-message.user {
  justify-self: end;
  background: rgba(124, 92, 255, 0.7);
}

.mock-message.ai {
  justify-self: start;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.cards {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.steps,
.price-card,
.security-box,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  padding: 26px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.card p,
.split p,
.pricing p,
.faq-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.steps strong {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--accent-2);
  background: rgba(46, 230, 166, 0.1);
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pricing {
  text-align: center;
}

.pricing h2 {
  margin-left: auto;
  margin-right: auto;
}

.pricing p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  max-width: 460px;
  margin: 32px auto 0;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.price {
  font-size: 58px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.price-note {
  color: var(--muted);
}

.price-card ul {
  width: 100%;
  margin: 6px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: left;
}

.price-card li {
  color: var(--muted);
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent-2);
  font-weight: 900;
}

.security-box {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.security-box div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.faq h2 {
  margin-bottom: 30px;
}

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

.faq-list details {
  cursor: pointer;
}

.faq-list summary {
  font-size: 18px;
  font-weight: 850;
}

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

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 52px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  margin-bottom: 6px;
}

.footer p {
  margin: 0;
}

.legal {
  max-width: 520px;
  text-align: right;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar-footer {
    display: flex;
    flex-wrap: wrap;
  }

  .topbar {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .mock-window-body,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 620px) {
  .project-list,
  .mock-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .topbar {
    gap: 14px;
  }

  .footer {
    display: grid;
  }

  .legal {
    text-align: left;
  }
}