:root {
  --bg: #05070b;
  --card: #0f141d;
  --muted: #9aa5b6;
  --text: #e8edf5;
  --line: #1f2733;
  --primary: #4f8cff;
  --accent: #20c997;
}

* {
  box-sizing: border-box;
}

html {
  background: #000;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: #000;
  color: var(--text);
  line-height: 1.6;
}

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

header {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--line);
}

.lang-btn.active {
  background: rgba(79, 141, 255, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 64px 0 36px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: rgba(0, 255, 47, 0.3);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(144, 8, 235, 0.3);
  color: var(--text);
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.disclaimer {
  border: 1px solid #7f1d1d;
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.28), rgba(127, 29, 29, 0.08));
  margin-top: 10px;
}

.disclaimer h3 {
  margin: 0 0 8px;
  color: #fecaca;
  font-size: 18px;
}

.disclaimer p {
  margin: 0;
  color: #ffe4e6;
  font-size: 15px;
}

.price-card h3,
.demo-card h3,
.features h2,
.steps h2,
.cta h2 {
  margin: 0 0 12px;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 8px;
}

.price strong {
  font-size: 32px;
  color: #fff;
}

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

.price-card p {
  margin: 0;
  color: var(--muted);
}

section {
  padding: 30px 0;
}

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

.grid-3 h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.grid-3 p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.steps-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.steps-list li {
  margin: 8px 0;
}

.demo-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #d7dfeb;
  font-weight: 600;
  font-size: 14px;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-grid textarea {
  min-height: 86px;
}

.cost-breakdown {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 4px;
}

.cost-breakdown th,
.cost-breakdown td {
  border-bottom: 1px solid #2a3443;
  padding: 8px 0;
  text-align: left;
  color: #cfd8e6;
}

.cost-breakdown th {
  color: #a8b4c7;
  font-weight: 600;
  font-size: 13px;
}

textarea {
  width: 100%;
  min-height: 130px;
  border-radius: 10px;
  border: 1px solid #2a3443;
  background: #0a1018;
  color: var(--text);
  padding: 10px;
  font-size: 14px;
  resize: vertical;
  outline: none;
}

textarea:focus {
  border-color: #4f8cff;
  box-shadow: 0 0 0 2px rgba(79, 140, 255, 0.2);
}

.result {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.result strong {
  color: #fff;
  font-size: 18px;
}

.result .hint {
  color: #b7c2d2;
  font-size: 13px;
}

.result-box {
  margin-top: 6px;
  border: 1px dashed #3a4659;
  border-radius: 10px;
  background: #0b121b;
  padding: 12px;
}

.cta {
  margin: 12px 0 56px;
}

.cta p {
  margin: 0 0 16px;
  color: var(--muted);
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 30px;
  color: #8290a4;
  font-size: 13px;
}

.consent-notice {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 24px));
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(112, 62, 0, 0.8);
  color: rgba(255, 255, 255, 1.0);
  padding: 10px 14px;
  text-align: center;
  font-size: 13px;
  z-index: 1000;
}

.consent-notice a {
  color: #93c5fd;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero,
  .demo-wrap,
  .grid-3,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .top-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
