:root {
  --bg: #050608;
  --bg-soft: #0a0d12;
  --surface: rgba(16, 20, 26, 0.82);
  --surface-strong: rgba(20, 25, 33, 0.94);
  --text: #eef2f7;
  --muted: #aeb7c3;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #7df08a;
  --accent-ink: #112213;
  --radius: 20px;
  --mx: 50vw;
  --my: 20vh;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1200px 760px at var(--mx) var(--my), rgba(125, 240, 138, 0.12), transparent 60%),
    radial-gradient(920px 640px at 78% 110%, rgba(112, 168, 255, 0.07), transparent 66%),
    linear-gradient(165deg, var(--bg), #070a0f 44%, var(--bg-soft));
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 24%, transparent 78%);
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.92), rgba(5, 6, 8, 0.5));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  font-family: "Syne", "Manrope", sans-serif;
  text-decoration: none;
  color: var(--text);
  font-size: 1.22rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 160ms ease;
}

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

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.3rem, 3vw, 2.4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0.7rem 0 0.45rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7ffe3;
  border: 1px solid rgba(125, 240, 138, 0.48);
  background: rgba(125, 240, 138, 0.12);
}

h1 {
  margin: 0.95rem 0 1.15rem;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-family: "Syne", "Manrope", sans-serif;
}

h1 span {
  display: block;
  margin-top: 0.84rem;
  color: #cfd8e6;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.18rem, 2.2vw, 1.95rem);
  line-height: 1.3;
}

.subtext {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.55rem 0 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 1.18rem;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease, color 170ms ease;
  cursor: pointer;
}

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

.btn-primary {
  border-color: transparent;
  background: linear-gradient(140deg, var(--accent), #78e6d0);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: linear-gradient(140deg, #9ef7aa, #a4ecff);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.signals {
  margin: 0;
  padding-left: 1.1rem;
  color: #c6d0dd;
  display: grid;
  gap: 0.45rem;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 22px 88px rgba(0, 0, 0, 0.36);
}

.panel-label {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ba8b8;
}

.hero-panel h2 {
  margin: 0.72rem 0 1.15rem;
  font-size: clamp(1.25rem, 2.2vw, 1.82rem);
  line-height: 1.24;
}

.status-list {
  display: grid;
  gap: 0.62rem;
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.84rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.ok {
  color: var(--accent);
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
  max-width: 860px;
}

.section-head h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.58rem, 3.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.full-span {
  grid-column: 1 / -1;
}

.feature-grid,
.crm-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.crm-card,
.free-card,
.bank-column,
.vault-panel,
.assistant-copy,
.assistant-chat,
.admin-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
}

.feature-card h3,
.crm-card h3,
.free-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
}

.feature-card p,
.crm-card p,
.free-card p {
  margin: 0;
  color: var(--muted);
}

.prompt-builder {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.92rem;
  background: rgba(255, 255, 255, 0.015);
}

.prompt-builder label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: #c8d4e2;
}

.prompt-builder .checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  margin-top: 1.15rem;
}

.prompt-builder .checkbox-line input {
  min-height: auto;
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: #7df08a;
}

.prompt-builder input,
.prompt-builder select {
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.88);
  color: var(--text);
  padding: 0.68rem 0.82rem;
  font: inherit;
}

.prompt-builder input:focus,
.prompt-builder select:focus {
  border-color: rgba(125, 240, 138, 0.62);
  outline: none;
}

.prompt-output {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.016);
  display: grid;
  gap: 0.72rem;
}

.prompt-output p {
  margin: 0;
  color: #a9b5c3;
  font-size: 0.9rem;
}

.prompt-output textarea {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.88);
  color: #e3ebf5;
  padding: 0.74rem 0.82rem;
  font: inherit;
  min-height: 150px;
  resize: vertical;
}

.prompt-output textarea:focus {
  border-color: rgba(125, 240, 138, 0.62);
  outline: none;
}

.prompt-output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.prompt-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.prompt-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.018);
  display: grid;
  gap: 0.6rem;
}

.prompt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.prompt-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8c4d4;
}

.prompt-card p {
  margin: 0;
  color: #dce5f0;
  font-size: 0.92rem;
  line-height: 1.42;
}

.prompt-card .btn {
  min-height: 40px;
}

.section-3d {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1rem;
}

.three-upload-form,
.vault-form,
.free-form,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.three-upload-form label,
.vault-form label,
.free-form label,
.lead-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: #cbd5e0;
}

.three-upload-form input,
.three-upload-form select,
.three-upload-form textarea,
.vault-form input,
.vault-form select,
.vault-form textarea,
.free-form input,
.free-form textarea,
.lead-form input,
.lead-form textarea,
.admin-auth-row input,
.chat-form input {
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.88);
  color: var(--text);
  padding: 0.73rem 0.82rem;
  font: inherit;
}

.three-upload-form input:focus,
.three-upload-form select:focus,
.three-upload-form textarea:focus,
.vault-form input:focus,
.vault-form select:focus,
.vault-form textarea:focus,
.free-form input:focus,
.free-form textarea:focus,
.lead-form input:focus,
.lead-form textarea:focus,
.admin-auth-row input:focus,
.chat-form input:focus {
  border-color: rgba(125, 240, 138, 0.64);
  outline: none;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #d8e2ed;
}

.full {
  grid-column: 1 / -1;
}

.vault-feedback,
.form-feedback,
.admin-status {
  margin: 0.2rem 0 0;
  min-height: 1.25rem;
  font-size: 0.93rem;
  color: var(--accent);
}

.three-preview-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.three-preview-panel h3 {
  margin: 0.75rem 0 0.8rem;
  font-size: 1.4rem;
  line-height: 1.2;
}

.three-viewer {
  width: 100%;
  min-height: 330px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 30% 20%, rgba(125, 240, 138, 0.08), rgba(11, 15, 20, 0.9));
}

.viewer-meta {
  margin: 0.72rem 0 0;
  color: #a7b4c2;
  font-size: 0.88rem;
}

.converter-download-btn {
  margin-top: 0.85rem;
  width: fit-content;
}

.three-bank-columns {
  margin-top: 0.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.column-head {
  margin-bottom: 0.78rem;
}

.column-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.column-head p {
  margin: 0.35rem 0 0;
  color: #a5b2c1;
  font-size: 0.9rem;
}

.asset-list {
  display: grid;
  gap: 0.72rem;
}

.asset-empty {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 0.82rem;
  color: #9eacbc;
  font-size: 0.9rem;
}

.asset-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.82rem;
  background: rgba(255, 255, 255, 0.018);
}

.asset-card h4 {
  margin: 0;
  font-size: 1rem;
}

.asset-meta {
  margin: 0.36rem 0 0;
  color: #bcc8d6;
  font-size: 0.84rem;
  line-height: 1.45;
}

.asset-tags {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.asset-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d2dce8;
  font-size: 0.75rem;
  padding: 0 0.55rem;
}

.asset-tags .tag-ok {
  border-color: rgba(125, 240, 138, 0.4);
  color: var(--accent);
}

.asset-bottom {
  margin-top: 0.7rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.68rem;
}

.qr-thumb {
  width: 74px;
  height: 74px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
  object-fit: cover;
}

.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.asset-actions .btn {
  min-height: 36px;
  font-size: 0.82rem;
  padding: 0 0.74rem;
}

.section-vault {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.vault-fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.74rem 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.vault-fieldset legend {
  padding: 0 0.38rem;
  color: #becbd9;
  font-size: 0.84rem;
}

.vault-fieldset label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #d7e0ea;
  font-size: 0.86rem;
}

.vault-panel h3 {
  margin: 0.74rem 0 0.9rem;
  font-size: 1.42rem;
  line-height: 1.2;
}

.vault-cards {
  display: grid;
  gap: 0.72rem;
}

.vault-cards article {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  padding: 0.82rem;
  background: rgba(255, 255, 255, 0.02);
}

.vault-cards h4 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.vault-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-free .free-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
}

.free-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: #d3dce8;
  display: grid;
  gap: 0.45rem;
}

.section-assistant {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.assistant-copy h2 {
  margin: 0.7rem 0 0.72rem;
  line-height: 1.17;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
}

.assistant-copy p {
  margin: 0;
  color: var(--muted);
}

.assistant-points {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #d8e0ea;
  display: grid;
  gap: 0.45rem;
}

.assistant-chat {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.chat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.chat-head strong {
  font-size: 1.12rem;
}

.chat-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.chat-log {
  min-height: 290px;
  max-height: 360px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 11, 0.84);
  padding: 0.85rem;
  display: grid;
  gap: 0.64rem;
}

.chat-bubble {
  max-width: 94%;
  padding: 0.62rem 0.72rem;
  border-radius: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
}

.chat-bubble.assistant {
  justify-self: start;
  color: #e7eef7;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.chat-bubble.user {
  justify-self: end;
  color: #0e2612;
  border: 1px solid rgba(125, 240, 138, 0.55);
  background: linear-gradient(145deg, #7df08a, #73dece);
}

.chat-bubble.typing {
  color: #9eb0bf;
  font-style: italic;
}

.quick-prompts {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-prompts button {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: #ced8e4;
  font: inherit;
  font-size: 0.8rem;
  padding: 0.36rem 0.68rem;
  cursor: pointer;
}

.quick-prompts button:hover {
  border-color: var(--line-strong);
}

.chat-form {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.chat-note {
  margin: 0.62rem 0 0;
  color: #9fabb9;
  font-size: 0.82rem;
}

.admin-wrap {
  display: grid;
  gap: 1rem;
}

.admin-auth label {
  display: block;
  margin: 0 0 0.4rem;
  color: #ced7e2;
  font-size: 0.88rem;
}

.admin-auth-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.6rem;
}

.admin-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.section-call {
  padding-bottom: 7rem;
}

.call-head h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.48rem, 3vw, 2.45rem);
  line-height: 1.16;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 8, 0.86);
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  color: #9facbc;
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .nav {
    gap: 0.72rem;
  }

  .nav a {
    font-size: 0.86rem;
  }

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

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

@media (max-width: 980px) {
  .hero,
  .section-3d,
  .section-vault,
  .section-assistant,
  .section-free .free-grid,
  .feature-grid,
  .crm-grid,
  .three-bank-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.4rem;
  }

  .three-viewer {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .three-upload-form,
  .vault-form,
  .free-form,
  .lead-form,
  .prompt-builder,
  .vault-fieldset,
  .admin-auth-row,
  .chat-form,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .asset-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
