/* EchoToFuture Public Frontend Polish V1 */

:root {
  --e2f-bg: #0f172a;
  --e2f-surface: rgba(17, 24, 39, 0.92);
  --e2f-surface-soft: rgba(31, 41, 55, 0.72);
  --e2f-border: rgba(148, 163, 184, 0.18);
  --e2f-text: #f8fafc;
  --e2f-muted: #cbd5e1;
  --e2f-muted2: #94a3b8;
  --e2f-pink: #ec4899;
  --e2f-purple: #8b5cf6;
  --e2f-blue: #38bdf8;
  --e2f-green: #10b981;
  --e2f-radius: 24px;
  --e2f-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(236,72,153,.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(56,189,248,.15), transparent 30rem),
    linear-gradient(180deg, #0f172a 0%, #111827 48%, #0f172a 100%) !important;
  color: var(--e2f-text);
}

main {
  width: min(1120px, calc(100vw - 28px));
  margin-left: auto;
  margin-right: auto;
}

main h1 {
  letter-spacing: -0.04em;
  line-height: 1.04;
}

main h2 {
  letter-spacing: -0.025em;
}

main p,
main li {
  color: var(--e2f-muted);
  line-height: 1.72;
}

main a {
  color: #f9a8d4;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

main a:hover {
  color: #fff;
}

main section,
main .card,
main .box,
main .content-box,
main article {
  border-radius: var(--e2f-radius);
}

main form {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--e2f-border);
  box-shadow: var(--e2f-shadow);
  border-radius: var(--e2f-radius);
}

input,
select,
textarea {
  border-radius: 14px !important;
}

input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  border-color: rgba(236, 72, 153, 0.75) !important;
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.13) !important;
}

button,
.button,
.btn,
a.button,
input[type="submit"] {
  border-radius: 999px !important;
  font-weight: 800 !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

button:hover,
.button:hover,
.btn:hover,
a.button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.e2f-polish-note,
.e2f-legal-update {
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid var(--e2f-border);
  border-radius: var(--e2f-radius);
  box-shadow: var(--e2f-shadow);
  padding: clamp(18px, 4vw, 28px);
  margin: 26px 0;
}

.e2f-polish-note strong,
.e2f-legal-update strong {
  color: #fff;
}

.e2f-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.e2f-trust-card {
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid var(--e2f-border);
  border-radius: 20px;
  padding: 16px;
  color: var(--e2f-muted);
}

.e2f-trust-card b {
  color: #fff;
}

.e2f-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236, 72, 153, 0.13);
  border: 1px solid rgba(236, 72, 153, 0.28);
  color: #f9a8d4;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: .88rem;
}

.e2f-soft-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,.35), transparent);
  margin: 28px 0;
}

@media (max-width: 760px) {
  main {
    width: min(100vw - 18px, 760px);
  }

  main h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .e2f-trust-row {
    grid-template-columns: 1fr;
  }

  main form {
    padding: 16px !important;
  }
}
