/* Truckr website styles - dark theme matching the mobile app */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000000;
  --surface: #16181c;
  --border: #2f3336;
  --text: #ffffff;
  --text-muted: #71767b;
  --accent: #ffc107;
  --accent-secondary: #ff9800;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px;
  width: 100%;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  width: 100%;
}

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

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  border-bottom: 1px solid var(--border);
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 20px;
  display: block;
  box-shadow: 0 10px 40px rgba(255, 193, 7, 0.15);
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--accent);
}

.hero .tagline {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero .subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 30px;
  border: 1px solid var(--border);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  margin-left: 8px;
}

.cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.app-store-badge {
  display: inline-block;
  transition: transform 0.15s, opacity 0.15s;
}

.app-store-badge img {
  height: 56px;
  display: block;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.app-store-badge-large img {
  height: 64px;
}

.hero-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 8px;
}

/* Download section (replaces old "coming soon") */
.download-section {
  text-align: center;
  padding: 60px 24px;
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.download-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.download-copy {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.download-contact {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 32px;
}

.download-contact a {
  color: var(--accent);
  text-decoration: none;
}

.download-contact a:hover {
  text-decoration: underline;
}

/* Features */
.features {
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--accent);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Legal pages */
.legal {
  padding: 20px 0 60px;
}

.legal h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--accent);
}

.legal .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.legal p {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 15px;
}

.legal ul, .legal ol {
  margin-left: 24px;
  margin-bottom: 14px;
  color: var(--text);
}

.legal li {
  margin-bottom: 6px;
  font-size: 15px;
}

.legal a {
  color: var(--accent);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  margin-top: auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 12px;
}

footer a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero .tagline {
    font-size: 18px;
  }
  .hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .logo span {
    display: none;
  }
  .cta-secondary {
    margin-left: 0;
    margin-top: 12px;
  }
  .app-store-badge img {
    height: 48px;
  }
  .app-store-badge-large img {
    height: 56px;
  }
}
