/* DashPal landing — single-file CSS, no build step. */

:root {
  --bg: #0f0f10;
  --bg-soft: #17171a;
  --surface: #1d1d22;
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-mute: #71717a;
  --accent: #ff6a1a;
  --accent-soft: #ff8c4a;
  --accent-on: #1a0c00;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --font-sans:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      1200px 600px at 80% -10%,
      rgba(255, 106, 26, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 0% 110%,
      rgba(255, 106, 26, 0.08),
      transparent 60%
    ),
    var(--bg);
}

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

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 56px);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  box-shadow: 0 6px 18px -4px rgba(255, 106, 26, 0.6);
}

.site-nav .nav-link {
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}

.site-nav .nav-link:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Hero ---------- */

main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: 70vh;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.12);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

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

.lede {
  margin: 0 0 32px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 38ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: 0 10px 30px -8px rgba(255, 106, 26, 0.55);
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.micro {
  margin: 0;
  font-size: 13px;
  color: var(--text-mute);
}

/* ---------- Hero art / phone mockup ---------- */

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(
    closest-side,
    rgba(255, 106, 26, 0.35),
    transparent 70%
  );
  filter: blur(40px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(320px, 80%);
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  background: linear-gradient(180deg, #232328 0%, #131316 100%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  border-radius: 999px;
  background: #0a0a0c;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #1a1a1f 0%, #111114 100%);
  padding: 44px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 8px;
}

.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
}

.mock-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.mock-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
}

.mock-card-event {
  display: flex;
  gap: 12px;
  align-items: stretch;
  padding-left: 16px;
}

.mock-card-rail {
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}

.mock-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-line-strong {
  height: 10px;
  width: 70%;
  background: rgba(255, 255, 255, 0.22);
}

.mock-line-short {
  flex: 1;
  height: 7px;
  background: rgba(255, 255, 255, 0.12);
}

.mock-pills {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.mock-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.mock-pill-on {
  background: rgba(255, 106, 26, 0.18);
  color: var(--accent-soft);
}

.mock-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.mock-dot-on {
  background: #4ade80;
}

.mock-dot-wait {
  background: rgba(255, 255, 255, 0.25);
  border: 1px dashed rgba(255, 255, 255, 0.4);
}

.mock-cta {
  margin-top: auto;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 6px 18px -4px rgba(255, 106, 26, 0.5);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-mute);
  font-size: 14px;
}

.footer-brand {
  font-weight: 600;
  color: var(--text-dim);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-mute);
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    min-height: 0;
  }

  .hero-art {
    order: 2;
    margin-top: 24px;
  }

  .phone {
    width: min(280px, 70%);
  }

  .footer-inner {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .nav-link {
    transition: none;
  }
}
