/* Brand tokens extracted from decktopus.com production CSS
   (cdn.prod.website-files.com/.../decktopusv2.webflow.shared.*.min.css) */
:root {
  --db-blue: #4f61ff;
  --db-pink: #f450f9;
  --db-purple: #9831ff;
  --db-purple-2: #7a54f2;
  --db-gradient: linear-gradient(45deg, #4f61ff, #f450f9);
  --db-gradient-alt: linear-gradient(90deg, #4f61ff, #9831ff);
  --ink: #272734;
  --ink-soft: #4b4c5c;
  --line: #bdbfc5;
  --line-soft: #e4e6ef;
  --bg-soft: #eff2f8;
  --bg-soft-2: #f8faff;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 820px;
  --wide-width: 1080px;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; }
a { color: var(--db-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Nav (structure mirrors decktopus.com's real navbar) ---------- */
.site-header {
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.brand img { display: block; height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--db-blue); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary { border-color: var(--db-blue); }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(39, 39, 52, 0.12);
  min-width: 160px;
  padding: 6px;
  z-index: 20;
}
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.lang-menu a:hover { background: var(--bg-soft); text-decoration: none; }
.lang-menu a[aria-current="true"] { color: var(--db-blue); font-weight: 700; }

.nav-login { color: var(--ink); font-size: 14px; font-weight: 600; }
.nav-cta, .btn-gradient {
  background: var(--db-gradient);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none !important;
  transition: opacity 0.15s, transform 0.15s;
}
.nav-cta:hover, .btn-gradient:hover { opacity: 0.92; transform: translateY(-1px); }

main { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.wide { max-width: var(--wide-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 56px 0 32px; }
.eyebrow {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--db-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 18px;
  margin: 0 auto 28px;
  max-width: 560px;
}

/* Example chips (curiosity gap / reduced blank-page friction) */
.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.example-chips span { font-size: 13px; color: var(--ink-soft); align-self: center; margin-inline-end: 4px; }
.chip {
  background: var(--bg-soft-2);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.chip:hover { border-color: var(--db-blue); color: var(--db-blue); }

/* ---------- Form ---------- */
.outline-form {
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
}
[dir="rtl"] .outline-form { text-align: right; }

.field { margin-bottom: 16px; flex: 1; }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.required { color: var(--db-pink); }
.optional { color: var(--ink-soft); font-weight: 400; }

input[type="text"], select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 64px;
  line-height: 1.5;
}
input[type="text"]:focus, select:focus, textarea:focus {
  outline: 2px solid var(--db-blue);
  outline-offset: 1px;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.upload-btn {
  background: var(--white);
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.upload-btn:hover { border-color: var(--db-blue); color: var(--db-blue); }
.upload-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.upload-hint { font-size: 12px; color: var(--ink-soft); }
.privacy-hint { font-size: 12px; color: var(--ink-soft); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.privacy-hint svg { width: 13px; height: 13px; flex-shrink: 0; }

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft-2);
  border: 1px solid var(--line-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.file-chip button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1;
  padding: 0;
  font-family: inherit;
}
.file-chip button:hover { color: #c0392b; }

.char-counter { font-size: 12px; color: var(--ink-soft); text-align: end; margin-top: 4px; }
.char-counter.warn { color: #c0392b; }

.primary-btn {
  display: block;
  background: var(--db-gradient);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  text-align: center;
  font-family: inherit;
}
.primary-btn:hover { opacity: 0.92; }
.primary-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.secondary-btn {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.secondary-btn:hover { background: var(--bg-soft); }
.secondary-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.secondary-btn.copied { border-color: #1fa971; color: #1fa971; }

.form-error { color: #c0392b; font-size: 14px; margin-top: 10px; }
.trust-line {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* Labor-illusion progress steps shown while generating */
.progress-steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.progress-steps li {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
  transition: opacity 0.3s;
}
.progress-steps li.active { opacity: 1; color: var(--ink); font-weight: 600; }
.progress-steps li.done { opacity: 0.75; }
.progress-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}
.progress-steps li.active .progress-dot { background: var(--db-blue); }
.progress-steps li.done .progress-dot { background: #1fa971; }

/* ---------- Result ---------- */
.result {
  margin-top: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.step-indicator .step-done { color: #1fa971; }
.step-indicator .step-current { color: var(--db-blue); }
.step-indicator .sep { color: var(--line); }

.result-header { margin-bottom: 20px; }
.result-header p.eyebrow-small {
  font-size: 12px; font-weight: 700; color: var(--db-blue);
  text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 6px;
}
.result-header h2 { margin: 0 0 6px; font-size: 24px; }
.result-subtitle { color: var(--ink-soft); margin: 0; }

.slide-list { list-style: none; padding: 0; margin: 0 0 24px; }
.slide-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.slide-item h3 { margin: 0 0 8px; font-size: 16px; display: flex; align-items: baseline; gap: 8px; }
.slide-num { color: var(--db-blue); font-weight: 800; font-size: 13px; }
.slide-item ul { margin: 0; padding-inline-start: 20px; color: var(--ink-soft); }
.slide-item li { margin-bottom: 4px; }

.result-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.result-actions .btn-gradient { flex: 1; min-width: 240px; padding: 14px 24px; font-size: 16px; }

/* ---------- Feature grid ---------- */
.features { margin-top: 72px; }
.section-eyebrow { color: var(--db-blue); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; text-align: center; }
.section-title { font-size: 28px; font-weight: 800; text-align: center; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 0 auto 36px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: var(--bg-soft-2);
}
.feature-card .icon { font-size: 24px; margin-bottom: 10px; display: block; }
.feature-card h3 { font-size: 15px; margin: 0 0 6px; }
.feature-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------- How it works ---------- */
.how-it-works { margin-top: 72px; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { text-align: center; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--db-gradient);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 16px; margin: 0 0 6px; }
.step-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- Mid CTA banner ---------- */
.cta-banner {
  margin-top: 72px;
  background: var(--ink);
  background-image: radial-gradient(circle at 15% 20%, rgba(79,97,255,0.55), transparent 45%), radial-gradient(circle at 85% 80%, rgba(244,80,249,0.45), transparent 45%);
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: 24px; margin: 0 0 10px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 0 0 22px; max-width: 480px; margin-inline: auto; }
.cta-banner .btn-gradient { display: inline-block; width: auto; padding: 14px 28px; }

/* ---------- Stats ---------- */
.stats { margin-top: 72px; text-align: center; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.stat-num { font-size: 32px; font-weight: 800; background: var(--db-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

/* ---------- About / body copy sections ---------- */
.about { margin-top: 72px; }
.about h2 { font-size: 22px; margin-bottom: 12px; }
.about p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { margin-top: 72px; }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq summary::-webkit-details-marker { color: var(--db-blue); }
.faq p { color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- Related links ---------- */
.related { margin-top: 72px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: block;
  color: var(--ink);
}
.related-card:hover { border-color: var(--db-blue); text-decoration: none; }
.related-card h3 { font-size: 15px; margin: 0 0 6px; }
.related-card span { font-size: 13px; color: var(--db-blue); font-weight: 700; }

/* ---------- Footer (structure mirrors decktopus.com real footer) ---------- */
.site-footer {
  margin-top: 80px;
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 24px;
}
.footer-inner { max-width: var(--wide-width); margin: 0 auto; }
.footer-logo { height: 20px; margin-bottom: 32px; filter: brightness(0) invert(1); }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.footer-col-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.5); margin: 0 0 14px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 24px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer-social a:hover { color: var(--white); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .field-row { flex-direction: column; gap: 0; }
  .result-actions { flex-direction: column; }
  .result-actions .btn-gradient { width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row, .stats-row, .related-grid, .footer-columns { grid-template-columns: 1fr; }
}
