/* ============================================================================
   Public marketing site (Step 3+4) — same visual language as public-platform
   (sky/emerald accents, soft cards, rounded corners) so the whole product
   family feels consistent, but a simpler, promotional, non-app layout.
   ============================================================================ */

:root {
  --sky: #0ea5e9;
  --sky-d: #0284c7;
  --sky-l: #e0f2fe;
  --emerald: #10b981;
  --emerald-l: #dcfce7;
  --emerald-d: #047857;
  --amber: #f59e0b;
  --violet: #8b5cf6;
  --bg: #f7fbff;
  --card: rgba(255, 255, 255, 0.97);
  --border: rgba(191, 219, 254, 0.9);
  --text: #0f172a;
  --muted: #64748b;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-pop: 0 24px 55px rgba(14, 165, 233, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans Bengali", system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, #e0f2fe 0%, transparent 60%),
    radial-gradient(1000px 500px at 110% 10%, #dcfce7 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.boot-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: var(--muted);
  font-size: 1.1rem;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--sky), var(--emerald));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800;
}
.nav-cta {
  background: linear-gradient(135deg, var(--sky), var(--sky-d));
  color: #fff; border: none; border-radius: 10px;
  padding: 10px 18px; font-weight: 700; font-family: inherit; font-size: 0.95rem;
  cursor: pointer; box-shadow: var(--shadow-pop);
}

/* ---- Hero ---- */
.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.3; margin: 0 0 16px;
}
.hero h1 .accent { color: var(--sky-d); }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto 28px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  border: none; border-radius: 12px; padding: 14px 26px;
  font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--sky), var(--sky-d)); color: #fff; box-shadow: var(--shadow-pop); }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); }

/* ---- Feature grid ---- */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; padding: 20px 0 50px;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px; box-shadow: var(--shadow-soft);
}
.feature-card .icon { font-size: 1.6rem; margin-bottom: 10px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ---- Signup section ---- */
.signup-section { padding: 30px 0 70px; }
.signup-card {
  max-width: 480px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 32px; box-shadow: var(--shadow-pop);
}
.signup-card h2 { margin: 0 0 6px; font-size: 1.3rem; text-align: center; }
.signup-card .sub { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0 0 22px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border); font-family: inherit; font-size: 0.95rem;
  background: #fff;
}
.field input:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 5px; }
.field .domain-preview { font-size: 0.82rem; color: var(--sky-d); margin-top: 5px; font-weight: 600; }

.form-error {
  background: #fff1f2; border: 1px solid #fecdd3; color: #be123c;
  padding: 10px 14px; border-radius: 10px; font-size: 0.88rem; margin-bottom: 14px;
}
.form-success {
  background: var(--emerald-l); border: 1px solid #86efac; color: var(--emerald-d);
  padding: 16px; border-radius: 12px; font-size: 0.92rem; text-align: center; line-height: 1.8;
}
.form-success a {
  display: inline-block; margin-top: 10px; background: var(--emerald); color: #fff;
  padding: 10px 20px; border-radius: 10px; font-weight: 700; text-decoration: none;
}

.submit-btn {
  width: 100%; margin-top: 6px;
  background: linear-gradient(135deg, var(--sky), var(--sky-d)); color: #fff;
  border: none; border-radius: 12px; padding: 13px; font-family: inherit;
  font-size: 1rem; font-weight: 700; cursor: pointer;
}
.submit-btn:disabled { opacity: 0.6; cursor: default; }

.footer {
  text-align: center; color: var(--muted); font-size: 0.85rem; padding: 24px 0 40px;
}

@media (max-width: 640px) {
  .nav-cta { padding: 9px 14px; font-size: 0.88rem; }
  .signup-card { padding: 22px; }
}
