/* =========================
File: styles.css
Minimal, responsive styling for PostFlux landing
========================= */

:root {
  --bg: #030712;
  --panel: #020617;
  --text: #f9fafb;
  --muted: #cbd5e1;
  --accent: #22c55e;   /* PostFlux green */
  --accent2: #16a34a;  /* darker green */
  --accent-soft: rgba(34,197,94,0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(34,197,94,0.16) 0, transparent 40%),
    radial-gradient(circle at top left, #020617 0, #020617 40%, #020617 60%, #000 100%);
}

body {
  display: flex;
  flex-direction: column;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
}

/* Header */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.brand-text {
  font-weight: 600;
}

/* Hero */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 40px;
}

.hero-inner {
  width: 100%;
}

.hero-main {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.beta-pill {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.65);
  color: var(--accent);
  background: rgba(34, 197, 94, 0.08);
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
}

/* Waitlist */

.waitlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.waitlist input {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 420px;
  background: #020617;
  color: #fff;
  border: 1px solid #1f2937;
  border-radius: 999px;
  padding: 12px 16px;
  outline: none;
}

.waitlist input:focus {
  border-color: #4b5563;
}

.waitlist button {
  flex: 0 0 auto;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #022c22;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
}

.waitlist button:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.waitlist button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.waitlist button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.msg {
  height: 20px;
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Feature cards */

.feature-grid {
  margin-top: 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  flex: 1 1 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top left,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.16),
    0 22px 45px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
}

.feature-card:hover {
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.32),
    0 26px 55px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
  transition: all 0.16s ease-out;
}

.feature-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  text-align: left;
  font-size: 0.86rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Discord block */

.discord-block {
  max-width: 780px;
  margin: 48px auto 10px;
  padding: 0 16px;
  text-align: center;
}

.discord-cta-head {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #e5e7eb;
}

.discord-cta-main {
  color: #f9fafb;
}

.discord-cta-link {
  color: #fb923c;
  text-decoration: none;
}

.discord-cta-link:hover {
  text-decoration: underline;
}

.discord-cta-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* Footer */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.footer-left {
  font-size: 14px;
  color: #e5e7eb;
}

.footer-privacy {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  max-width: 420px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
}

.footer a {
  color: #ddd;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer .dot {
  opacity: 0.5;
  padding: 0 4px;
}

.follow-text {
  color: #ccc;
}

/* Social badges */

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.social-ig {
  background: radial-gradient(
    circle at 30% 30%,
    #fdf497 0,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 100%
  );
  color: #fff;
}

.social-li {
  background: #0a66c2;
  color: #fff;
}

.social-x {
  background: #0f172a;
  color: #f9fafb;
  border: 1px solid #64748b;
}

/* Focus outline */

:focus-visible {
  outline: 2px solid #ffffff33;
  outline-offset: 2px;
}

/* Responsive tweaks */

@media (min-width: 768px) {
  .feature-grid {
    flex-direction: row;
  }
}
