/* Landing page — marketing copy for signed-out visitors. Built on the
   auth.css foundation so brand styling stays continuous from this page
   through sign-up / sign-in.

   Layout: centered hero text, then a full-width dashboard screenshot
   below (so the screenshot is actually big enough to read), then a
   beefier stats row, then features, then CTA + footer. */

.landing-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse 800px 600px at 50% -10%, rgba(34, 211, 238, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 100% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #0a1018 0%, #0d1320 100%);
  color: var(--text-hi, #e5e9f0);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
}

/* Top nav -------------------------------------------------------------- */
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-hi, #e5e9f0);
}
.landing-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.35));
}
.landing-brand-wordmark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.landing-brand-edge   { color: var(--text-hi, #e5e9f0); }
.landing-brand-beacon { color: #22d3ee; }

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.landing-nav-links a {
  color: var(--text-md, #cbd5e1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.landing-nav-links a:hover { color: #22d3ee; }
.landing-cta-small {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #22d3ee !important;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.landing-cta-small:hover {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.55);
}

/* Main content ---------------------------------------------------------- */
.landing-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px;
}

/* Hero — centered text, no screenshot here ----------------------------- */
.landing-hero {
  text-align: center;
  padding: 72px 0 48px;
  max-width: 820px;
  margin: 0 auto;
}

.landing-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.landing-h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 22px 0;
  color: #ffffff;
}
.landing-h1-accent {
  background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-lede {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--text-md, #cbd5e1);
}

.landing-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}
.landing-cta {
  display: inline-block;
  background: linear-gradient(180deg, #22d3ee 0%, #0ea5b7 100%);
  color: #051014;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.05s ease, box-shadow 0.15s ease;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 28px -6px rgba(34, 211, 238, 0.45);
}
.landing-cta:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 10px 32px -6px rgba(34, 211, 238, 0.6);
}
.landing-cta:active { transform: translateY(1px); }
.landing-cta-ghost {
  background: transparent;
  color: var(--text-md, #cbd5e1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}
.landing-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.landing-hint {
  margin: 0;
  color: var(--text-lo, #93a4bf);
  font-size: 13px;
}

/* Hero screenshot — full-width, framed --------------------------------- */
.landing-screenshot-section {
  position: relative;
  padding: 32px 0 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.landing-screenshot-frame {
  position: relative;
  width: 100%;
  max-width: 1180px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(34, 211, 238, 0.1),
    0 0 60px -20px rgba(34, 211, 238, 0.4);
  background: #0f1524;
  z-index: 2;
}
.landing-screenshot {
  display: block;
  width: 100%;
  height: auto;
}
/* Soft cyan glow framing the screenshot — evokes the brand's lighthouse
   beam motif without committing to a literal image. */
.landing-beam {
  position: absolute;
  width: 800px;
  height: 800px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
    rgba(34, 211, 238, 0.32) 0%,
    rgba(34, 211, 238, 0.08) 30%,
    transparent 60%);
  filter: blur(70px);
  z-index: 0;
}
.landing-beam-l { top: -200px; left: -200px; }
.landing-beam-r { bottom: -200px; right: -200px; }

/* (Old .landing-stats / method-row styles removed — that section is
   gone. The 4 value-prop cards now live solely in .landing-features
   below, with each card combining a user benefit with the method
   credibility that makes it work.) */

/* Features ------------------------------------------------------------- */
.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 0 64px;
}
.landing-feature {
  background: linear-gradient(180deg, rgba(22, 29, 46, 0.7) 0%, rgba(15, 21, 36, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.landing-feature:hover {
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-2px);
}
.landing-feature-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  margin-bottom: 14px;
  font-weight: 700;
}
.landing-feature-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.landing-feature p {
  margin: 0;
  color: var(--text-md, #cbd5e1);
  font-size: 14px;
  line-height: 1.55;
}

/* Final CTA ------------------------------------------------------------ */
.landing-cta-block {
  text-align: center;
  padding: 64px 20px 56px;
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.landing-cta-block h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0;
  color: #ffffff;
}
.landing-cta-block p {
  color: var(--text-md, #cbd5e1);
  font-size: 15px;
  margin: 0 0 26px 0;
}

/* Footer --------------------------------------------------------------- */
.landing-footer {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
  color: var(--text-lo, #93a4bf);
  font-size: 11.5px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.landing-footer p { margin: 0 0 6px 0; }

/* Mobile breakpoints --------------------------------------------------- */
@media (max-width: 880px) {
  .landing-screenshot-section { padding: 16px 0 56px; }
  /* .landing-features grid auto-collapses via grid-template-columns:
     repeat(auto-fit, minmax(260px, 1fr)) so it doesn't need a manual
     breakpoint here. */
}
@media (max-width: 480px) {
  .landing-nav { padding: 16px 20px; }
  .landing-main { padding: 20px; }
  .landing-brand-wordmark { font-size: 18px; }
  .landing-brand-logo { height: 28px; }
  .landing-hero { padding: 40px 0 32px; }
}
