/* ===== Outlai brand design system ===== */
:root {
  --background: #0F0F14;
  --foreground: #F3F4F6;
  --card: #1E1E28;
  --card-border: #2A2A38;
  --primary: #F59E0B;
  --primary-light: #FBBF24;
  --primary-foreground: #1A1A2E;
  --muted: #2A2A38;
  --muted-foreground: #9CA3AF;
  --border: #2A2A38;
  --radius: 12px;
  --destructive: hsl(0 62.8% 30.6%);
  --accent: #1E1E28;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'DM Sans', 'Helvetica Neue', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ===== Nav ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
  text-decoration: none !important;
}

.nav-brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--foreground);
  text-decoration: none;
}

/* ===== Alpha Badge ===== */
.alpha-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: super;
  margin-left: 0.25rem;
}

.alpha-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.1);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* ===== Hero ===== */
.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  text-align: center;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-screenshot {
  margin-top: 4rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px hsla(0, 0%, 0%, 0.5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Features ===== */
.features {
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ===== Why Track ===== */
.why-track {
  border-top: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-desc {
  color: var(--muted-foreground);
  font-size: 0.825rem;
  line-height: 1.5;
}

.why-track-cta {
  text-align: center;
}

.why-track-cta p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

/* ===== Pricing ===== */
.pricing {
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #1A1A2E;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

.pricing-alt {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding: 0.375rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: "✓";
  color: #F59E0B;
  font-weight: 700;
}

.pricing-value {
  color: var(--muted-foreground);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: hsla(217.2, 32.6%, 17.5%, 0.5);
  border-radius: var(--radius);
  font-style: italic;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-guarantee {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin-top: 0.75rem;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.footer-brand img {
  width: 24px;
  height: 24px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--muted-foreground);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-copy {
  color: var(--muted-foreground);
  font-size: 0.8rem;
}

/* ===== Support ===== */
.support {
  border-top: 1px solid var(--border);
}

.support-card {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.support-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.support-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ===== Legal Pages ===== */
.legal {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.legal h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.legal-updated {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal ul {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.legal li {
  margin-bottom: 0.375rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .tagline {
    font-size: 1.05rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .nav-links .hide-mobile {
    display: none;
  }
}
