:root {
  color-scheme: dark;
  --bg: #09090f;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: #a8b0c2;
  --brand: #8b5cf6;
  --brand-2: #22d3ee;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

* {
  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;
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.26), transparent 26%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 24%),
    linear-gradient(180deg, #0b0b12 0%, #09090f 100%);
  color: var(--text);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.site-header,
.section-head,
.hero,
.workflow-grid,
.faq-list,
.hero-stats,
.hero-actions,
.console-actions,
.prompt-card-top,
.prompt-tags,
.site-footer,
.top-nav,
.brand-lockup {
  display: flex;
}

.site-header,
.section-head,
.prompt-card-top,
.site-footer {
  align-items: center;
  justify-content: space-between;
}

.site-header {
  gap: 18px;
  margin-bottom: 48px;
}

.brand-lockup {
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(34, 211, 238, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.brand-core {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.7);
}

.eyebrow,
.section-kicker,
.hero-kicker {
  margin: 0;
  color: #c9b6ff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

.brand-title {
  margin: 4px 0 0;
  font-size: 20px;
}

.top-nav {
  gap: 18px;
  color: var(--muted);
  flex-wrap: wrap;
}

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

.hero {
  gap: 28px;
  align-items: stretch;
  margin-bottom: 56px;
}

.hero > * {
  flex: 1 1 0;
}

.hero-copy,
.prompt-console,
.workflow-card,
.prompt-card,
.faq-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.hero-copy h2 {
  margin: 14px 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  max-width: 640px;
}

.hero-text,
.console-tip,
.prompt-summary,
.prompt-text,
.workflow-card p,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.hero-stats,
.console-actions,
.prompt-tags,
.workflow-grid,
.faq-list,
.top-nav {
  gap: 12px;
}

.hero-actions {
  margin: 28px 0 30px;
  flex-wrap: wrap;
}

.button,
.copy-chip,
.filter-chip {
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.button:hover,
.copy-chip:hover,
.filter-chip:hover {
  transform: translateY(-1px);
}

.button {
  padding: 12px 18px;
  border-radius: 999px;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), #6d28d9);
  color: white;
}

.button-secondary,
.button-ghost,
.copy-chip,
.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

.button-ghost {
  color: var(--muted);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hero-stats li {
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stats strong {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
}

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

.prompt-console {
  padding: 22px;
  backdrop-filter: blur(18px);
}

.console-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 16px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.console-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #d8def0;
}

textarea,
input[type="search"] {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 15, 0.9);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
}

textarea:focus,
input[type="search"]:focus {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.console-actions {
  margin-top: 14px;
  flex-wrap: wrap;
}

.section {
  margin-top: 48px;
}

.section-head h3 {
  margin: 8px 0 0;
  font-size: 32px;
}

.search-wrap {
  min-width: min(360px, 100%);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 26px 0 22px;
}

.filter-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
}

.filter-chip.is-active {
  color: white;
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.42);
}

.prompt-grid,
.workflow-grid,
.faq-list {
  display: grid;
}

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

.prompt-card {
  padding: 18px;
}

.prompt-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  color: #a5f3fc;
  font-size: 12px;
}

.copy-chip {
  padding: 8px 10px;
  border-radius: 999px;
}

.prompt-title {
  margin: 16px 0 10px;
  font-size: 20px;
}

.prompt-summary {
  margin: 0 0 12px;
}

.prompt-text {
  margin: 0;
  font-size: 14px;
}

.prompt-tags {
  flex-wrap: wrap;
  margin-top: 16px;
}

.prompt-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 12px;
}

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

.workflow-card,
.faq-list article {
  padding: 22px;
}

.workflow-card span {
  color: #c9b6ff;
  font-weight: 700;
}

.workflow-card h4,
.faq-list h4 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  margin-top: 48px;
  padding: 22px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1080px) {
  .hero,
  .workflow-grid,
  .faq-list,
  .prompt-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    flex-direction: column;
  }

  .workflow-grid,
  .faq-list,
  .prompt-grid {
    display: grid;
  }

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

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

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .site-header,
  .section-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-wrap {
    min-width: 100%;
  }

  .hero-copy,
  .prompt-console,
  .prompt-card,
  .workflow-card,
  .faq-list article {
    border-radius: 20px;
  }

  .prompt-grid,
  .workflow-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-copy h2 {
    font-size: 36px;
  }
}
