/* Liftbook marketing site — matches app design tokens */

:root {
  --background-deep: #020203;
  --background-base: #050506;
  --background-elevated: #0a0a0c;
  --foreground: #ededef;
  --foreground-muted: #8a8f98;
  --foreground-subtle: rgba(255, 255, 255, 0.6);
  --accent: #5e6ad2;
  --accent-bright: #6872d9;
  --accent-glow: rgba(94, 106, 210, 0.3);
  --border-default: rgba(255, 255, 255, 0.06);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-raised: rgba(255, 255, 255, 0.06);
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius-md: 8px;
  --radius-lg: 16px;
  --max-width: 56rem;
  --header-h: 4rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  background-color: var(--background-base);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background-base);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
    ellipse at top,
    #0a0a0f 0%,
    var(--background-base) 50%,
    var(--background-deep) 100%
  );
  pointer-events: none;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 1400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 106, 210, 0.18), transparent 70%);
  filter: blur(120px);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-default);
  background: color-mix(in srgb, var(--background-base) 85%, transparent);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-logo img {
  height: 28px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 80%, white);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 4px 24px var(--accent-glow);
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-default);
  box-shadow: none;
  color: var(--foreground);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.label-tag {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.25rem 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(94, 106, 210, 0.12);
  border: 1px solid rgba(94, 106, 210, 0.25);
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, rgba(237, 237, 239, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--foreground-muted);
}

.hero__logo {
  width: min(280px, 70vw);
  margin: 0 auto 2rem;
  filter: drop-shadow(0 8px 32px rgba(94, 106, 210, 0.2));
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.sections {
  padding: 2rem 0 5rem;
  display: grid;
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  background: var(--surface-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 2px 20px rgba(0, 0, 0, 0.35);
}

.card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--foreground-muted);
}

.card--accent {
  border-color: rgba(94, 106, 210, 0.25);
  background: linear-gradient(180deg, rgba(94, 106, 210, 0.08) 0%, var(--surface-raised) 100%);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border-default);
  text-align: center;
}

.site-footer p {
  margin: 0 0 1rem;
  color: var(--foreground-subtle);
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .site-header__inner .btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
}
