/**
 * HitchBound Landing Page Styles
 * Matches the app's design system
 */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap');

/* Design Tokens */
:root {
  /* Colors - Neutrals */
  --background: #FAFAF9;
  --surface: #FFFFFF;
  --border: #E8E6E3;
  --text-primary: #1A1918;
  --text-secondary: #3D3A37;
  --text-tertiary: #5C5752;
  --text-muted: #7A756E;

  /* Colors - Brand/Gold */
  --gold-primary: #D4A574;
  --gold-secondary: #C4956A;
  --gold-gradient: linear-gradient(135deg, #D4A574 0%, #C4956A 100%);
  --gold-shadow: rgba(196, 149, 106, 0.25);
  --gold-light: rgba(212, 165, 116, 0.15);

  /* Buttons */
  --button-primary-bg: #1A1918;
  --button-primary-text: #FFFFFF;

  /* Typography */
  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --radius-small: 6px;
  --radius-medium: 8px;
  --radius-large: 12px;
}

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

/* Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 32px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--button-primary-bg);
  color: var(--button-primary-text);
}

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

.btn-gold {
  background: var(--gold-gradient);
  color: white;
  box-shadow: 0 4px 14px var(--gold-shadow);
}

.btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-shadow);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--surface);
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-tertiary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 14px 32px;
  font-size: 16px;
}

/* Features Section */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-tertiary);
  margin-bottom: 60px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 32px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 4px 20px var(--gold-shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-light) 100%);
  border-radius: var(--radius-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-primary);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* Extension Section */
.extension {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.extension-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.extension-text {
  flex: 1;
}

.extension-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--gold-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.extension-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.extension-description {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.extension-image {
  flex: 1;
  max-width: 500px;
}

.extension-placeholder {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 60px;
  text-align: center;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  color: var(--text-muted);
  font-size: 13px;
}

/* Privacy Policy Page */
.privacy-page {
  padding: 60px 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 48px;
}

.privacy-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.privacy-content .last-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.privacy-content h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.privacy-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.privacy-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.privacy-content li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.privacy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.privacy-content th,
.privacy-content td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border);
}

.privacy-content th {
  background: var(--background);
  font-weight: 500;
}

.privacy-content td {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .extension-content {
    flex-direction: column;
    text-align: center;
  }

  .extension-image {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

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

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .privacy-content {
    padding: 32px 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}
