:root {
  --bg: #07111f;
  --bg-soft: #0d1a2d;
  --surface: rgba(14, 24, 40, 0.8);
  --surface-strong: #101c30;
  --surface-light: #f5f8ff;
  --text: #f4f7fb;
  --muted: #9db0cb;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #6aa8ff;
  --accent-strong: #7f6bff;
  --accent-soft: rgba(106, 168, 255, 0.16);
  --success: #dff7e8;
  --error: #ffe4e4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  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(127, 107, 255, 0.22), transparent 32%),
    radial-gradient(circle at top right, rgba(106, 168, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #091423 46%, #0b1627 100%);
  color: var(--text);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 90%);
  pointer-events: none;
}

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

button,
a,
input,
summary {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 8px rgba(106, 168, 255, 0.12);
}

.brand-text {
  font-size: 1.05rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.header-link:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 42px 0 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(106, 168, 255, 0.22);
  border-radius: 999px;
  background: rgba(106, 168, 255, 0.08);
  color: #c9dcff;
  font-size: 0.85rem;
  line-height: 1;
}

.hero h1,
.section-heading h2,
.cta-panel h2,
.modal-content h2 {
  margin: 18px 0 0;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  max-width: 13ch;
}

.hero-text,
.section-heading p,
.cta-panel p,
.modal-content p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 22px 0 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.hero-points span {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8e5fb;
  font-size: 0.96rem;
}

.hero-actions,
.cta-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 22px;
  color: #bfd0ea;
  max-width: 54ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #06111f;
  background: linear-gradient(135deg, #8ac5ff 0%, #90a7ff 100%);
  box-shadow: 0 16px 34px rgba(106, 168, 255, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.button-secondary.light {
  background: rgba(255, 255, 255, 0.12);
}

.button-compact {
  min-height: 42px;
  padding: 0 18px;
}

.button-full {
  width: 100%;
}

.hero-visual {
  position: relative;
}

.visual-window {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(15, 25, 43, 0.94), rgba(10, 19, 33, 0.86));
  box-shadow: var(--shadow);
}

.visual-window::after {
  content: "";
  position: absolute;
  inset: auto -12% -12% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 107, 255, 0.36), transparent 68%);
  pointer-events: none;
}

.window-top {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

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

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

.workflow-card {
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-card strong,
.info-card h3,
.problem-card strong,
.alternative-card h3,
.value-item strong,
.step-card h3,
.scenario-card h3,
.access-card h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.workflow-card p,
.info-card p,
.problem-card p,
.alternative-card p,
.value-item p,
.step-card p,
.scenario-card p,
.access-card p,
.faq-item p,
.trust-item span {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.workflow-label,
.step-index {
  color: #d5e3ff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.accent-card {
  background: linear-gradient(180deg, rgba(106, 168, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.dark-card {
  background: linear-gradient(180deg, rgba(127, 107, 255, 0.2), rgba(255, 255, 255, 0.04));
}

.slim-card {
  min-height: 118px;
}

.section {
  padding: 38px 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2,
.cta-panel h2,
.modal-content h2 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-item,
.info-card,
.problem-card,
.alternative-card,
.value-lead,
.value-item,
.step-card,
.scenario-card,
.access-card,
.faq-item,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}

.trust-item,
.info-card,
.problem-card,
.alternative-card,
.value-item,
.step-card,
.scenario-card,
.access-card {
  padding: 24px;
}

.trust-item strong,
.value-stat {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.audience-grid,
.problem-grid,
.alternatives-grid,
.steps-grid,
.scenarios-grid,
.access-grid {
  display: grid;
  gap: 18px;
}

.audience-grid,
.alternatives-grid,
.access-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.alternative-card.emphasis {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.alternative-card.strong,
.access-card.featured,
.value-lead,
.cta-panel {
  background: linear-gradient(180deg, rgba(106, 168, 255, 0.16), rgba(127, 107, 255, 0.08));
}

.value-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
}

.value-lead {
  padding: 28px;
}

.value-lead p {
  margin: 0;
  color: #d8e5fb;
  line-height: 1.7;
}

.value-list {
  display: grid;
  gap: 18px;
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 22px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 30px;
  align-items: center;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 17, 0.72);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(100%, 560px);
  z-index: 1;
}

.modal-content {
  position: relative;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #0d1728 0%, #0a1423 100%);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.4rem;
  z-index: 2;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.field span {
  font-weight: 600;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.field input:focus {
  border-color: rgba(138, 197, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(106, 168, 255, 0.12);
}

.landai-waitlist-success,
.landai-waitlist-error {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.landai-waitlist-success {
  background: rgba(130, 230, 175, 0.12);
  color: var(--success);
}

.landai-waitlist-error {
  background: rgba(255, 120, 120, 0.12);
  color: var(--error);
}

@media (max-width: 1080px) {
  .hero,
  .value-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .alternatives-grid,
  .access-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    justify-content: space-between;
  }

  .hero {
    padding-top: 26px;
  }

  .problem-grid,
  .steps-grid,
  .scenarios-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .button,
  .button-compact {
    width: 100%;
  }

  .hero-actions,
  .cta-panel-actions {
    flex-direction: column;
  }

  .modal-content {
    padding: 24px 18px;
  }
}
