:root {
  --bg: #f2f6ff;
  --panel: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --brand: #2563eb;
  --brand-2: #1d4ed8;
  --line: #dbe3f0;
  --ok: #0f766e;
  --warn: #b45309;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, #dbeafe 0, transparent 34%),
    radial-gradient(circle at 100% 0%, #e0e7ff 0, transparent 30%), var(--bg);
}

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

.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(242, 246, 255, 0.86);
  border-bottom: 1px solid var(--line);
}

.topbar-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1d4ed8, #3b82f6);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.menu a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.48rem 0.72rem;
  border-radius: 10px;
}

.menu a:hover,
.menu a.active {
  background: #dbeafe;
  color: #0f172a;
}

.btn {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 0.68rem 1rem;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  padding: 0.65rem 0.96rem;
  border: 1px solid var(--line);
  color: #1f2937;
  background: #fff;
}

.btn-small {
  padding: 0.42rem 0.75rem;
  font-size: 0.82rem;
}

.hero {
  padding: 2.2rem 0 1.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0.9rem 0 0.7rem;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  margin: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero-stats {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem;
  background: #f8fbff;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  color: #0f172a;
}

.hero-tool {
  padding: 1.2rem;
}

.tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.tool-body {
  border: 1px dashed #94a3b8;
  background: #f8fbff;
  border-radius: 12px;
  padding: 1rem;
}

.dropzone {
  width: 100%;
  border: 1px dashed #93c5fd;
  border-radius: 12px;
  background: #fff;
  padding: 1.1rem;
  text-align: center;
}

.dropzone input {
  display: none;
}

.dropzone label {
  display: inline-block;
  margin-top: 0.45rem;
  cursor: pointer;
  color: #1d4ed8;
  font-weight: 700;
}

.fields {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

select,
input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font: inherit;
  color: #111827;
}

.section {
  padding: 1.1rem 0 0.2rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.feature {
  padding: 1rem;
}

.feature p {
  margin-top: 0.45rem;
  margin-bottom: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.category-card {
  padding: 1rem;
  position: relative;
}

.category-card .label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.73rem;
  letter-spacing: 0.03em;
  font-weight: 800;
  color: #1d4ed8;
}

.faq {
  margin-top: 0.65rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  padding: 0.75rem 0.9rem;
}

.faq details + details {
  margin-top: 0.55rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 2.1rem;
  padding: 1.2rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.plan {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.plan ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.price {
  font-size: 2rem;
  font-weight: 800;
}

.price small {
  font-size: 0.9rem;
  color: var(--muted);
}

.chip {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  font-weight: 700;
}

.progress {
  display: none;
  margin-top: 0.7rem;
}

.progress-line {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-line > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: width 0.35s ease;
}

.ok {
  color: var(--ok);
}

.warn {
  color: var(--warn);
}

.feedback-btn {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  border: 0;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.86rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-weight: 700;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.52);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
}

.feedback-card {
  width: min(560px, calc(100% - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.feedback-row {
  margin-top: 0.7rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .category-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fields {
    grid-template-columns: 1fr;
  }
}

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

  .feedback-btn {
    top: auto;
    bottom: 14px;
    transform: none;
    right: 12px;
  }
}
