@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
  --sky: #00c6ff;
  --violet: #8b5cf6;
  --surface: #f8fafc;
  --success: #047857;
  --danger: #b91c1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 500;
  color: #475569;
}

.hero {
  position: relative;
  padding: 78px 0 50px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -220px;
  left: -180px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.14), transparent 70%);
}

.hero::after {
  top: -220px;
  right: -180px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 42px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbeafe;
  background: linear-gradient(90deg, #eff6ff, #f5f3ff);
  color: #4f46e5;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 600;
  font-size: 13px;
}

.hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 .grad {
  background: linear-gradient(135deg, var(--sky), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
}

.hero-image {
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}

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

.stat {
  padding: 18px 16px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 24px;
  background: linear-gradient(135deg, var(--sky), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 46px 0;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.01em;
}

.section .subtitle {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 16px;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  padding: 22px;
}

.download-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--violet));
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.34);
}

.btn-secondary {
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.kbd-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #334155;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
}

.form-wrap {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

form {
  display: grid;
  gap: 16px;
}

.survey-top {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px;
}

.survey-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.survey-caption {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.inline-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #94a3b8;
  color: #475569;
  background: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.tooltip {
  display: none;
  margin-top: 4px;
  font-size: 12px;
  color: #475569;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 8px 10px;
}

.tooltip.show {
  display: block;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.chip:has(input:checked) {
  border-color: #8b5cf6;
  background: #f5f3ff;
  color: #5b21b6;
}

.chip input[type="radio"] {
  margin: 0;
  accent-color: #8b5cf6;
}

.survey-details.hidden {
  display: none;
}

.survey-details {
  display: grid;
  gap: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 15px;
}

.survey-details-header {
  margin-bottom: 12px;
}

.survey-details-header h3 {
  margin: 0;
  font-size: 16px;
  color: #0f172a;
}

.survey-details-header p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

.survey-actions {
  margin-top: 6px;
}

.survey-actions .btn {
  width: 100%;
  min-height: 46px;
}

.owner-msg {
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #7c2d12;
  background: #ffedd5;
  border: 1px solid #fdba74;
}

.notice {
  display: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
}

.notice.ok {
  display: block;
  color: var(--success);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.notice.err {
  display: block;
  color: var(--danger);
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.footer {
  padding: 24px 0 34px;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-two,
  .row {
    grid-template-columns: 1fr;
  }

  .survey-details {
    padding: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero-image img {
    height: 420px;
  }

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