/* TourLabel marketing site — dark, brand-aligned, single stylesheet.
   No framework: it's a landing page, not an app. */

:root {
  --bg:            #0b0b0f;
  --bg-elev:       #141419;
  --bg-elev-2:     #1c1c24;
  --fg:            #f5f5f7;
  --fg-muted:      #9ca3af;
  --fg-dim:        #6b7280;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --brand:         #7c3aed;         /* purple end of the logo gradient */
  --brand-2:       #06b6d4;         /* cyan end of the logo gradient */

  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  scroll-behavior: smooth;
}

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

/* ── Nav ──────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--fg-muted);
}
.nav-links a:not(.btn):hover { color: var(--fg); }

/* ── Buttons ──────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--fg);
  color: #0b0b0f;
}
.btn-primary:hover { background: #ffffff; }

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.35); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
  padding: 8px 14px;
  font-weight: 500;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }

/* ── Hero ─────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 96px 32px 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 600px;
  background: radial-gradient(
    ellipse at 30% 0%,
    rgba(124, 58, 237, 0.28),
    transparent 55%
  ), radial-gradient(
    ellipse at 80% 20%,
    rgba(6, 182, 212, 0.22),
    transparent 55%
  );
  pointer-events: none;
  filter: blur(4px);
}

.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 24px;
}

.hero .lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-caveat {
  margin-top: 20px;
  font-size: 12px;
  color: var(--fg-dim);
}

/* ── Section shell ────────────────────────────────────────────────── */

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.features,
.how,
.pricing,
.cta-band {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  line-height: 1.1;
}

/* ── Features grid ────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature h3 {
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--fg-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

/* ── How it works ─────────────────────────────────────────────────── */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps h3 {
  font-size: 17px;
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
}
.steps p {
  color: var(--fg-muted);
  font-size: 14px;
  margin: 0;
}

/* ── Pricing ──────────────────────────────────────────────────────── */

.pricing-lede {
  text-align: center;
  color: var(--fg-muted);
  margin: -20px 0 40px;
  font-size: 16px;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
}

.tier {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.tier-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
  position: relative;
}
.tier-featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tier h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.tier .price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}
.price-cadence {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0;
}
.tier .price-annual {
  color: var(--fg-dim);
  font-size: 13px;
  margin: 0 0 20px;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.tier li {
  color: var(--fg-muted);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}
.tier li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-2);
  font-weight: 700;
}

/* ── CTA band ─────────────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.08));
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 8px;
}
.cta-band p {
  color: var(--fg-muted);
  margin: 0;
}

/* ── Footer ───────────────────────────────────────────────────────── */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.7;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-links a:hover { color: var(--fg); }
.footer-copy {
  font-size: 12px;
  color: var(--fg-dim);
  margin: 0;
}

/* ── Motion respect ───────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .feature { transition: none; }
}
