/* LockCodeTracker Website Styles */
/* Matching app theme: #3b82f6 (blue), #f8f9fb (background) */

:root {
  --primary-blue: #3b82f6;
  --primary-blue-dark: #2563eb;
  --primary-blue-light: #60a5fa;
  --background-light: #f8f9fb;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --success-green: #10b981;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.logo-text-blue {
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

.logo-text-gray {
  color: var(--text-light);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-nav {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-nav:hover {
  background-color: var(--primary-blue-dark);
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--gray-50) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero .highlight {
  color: var(--primary-blue);
}

.hero p {
  font-size: 20px;
  color: var(--text-medium);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.2s;
  border: 2px solid var(--primary-blue);
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-blue);
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.2s;
  border: 2px solid var(--primary-blue);
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--background-light);
  transform: translateY(-2px);
}

.app-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.badge {
  background-color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-weight: 500;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-blue-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* Target Audience Section */
.audience {
  padding: 80px 0;
  background-color: var(--background-light);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.audience-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.audience-card .emoji {
  font-size: 48px;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.price span {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-medium);
}

.price-description {
  color: var(--text-medium);
  margin-bottom: 32px;
  font-size: 16px;
}

.features-list {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.features-list li {
  padding: 12px 0;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li::before {
  content: "✓";
  color: var(--success-green);
  font-weight: bold;
  font-size: 20px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--white);
  text-align: center;
}

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

.cta-section p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-blue);
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--gray-100);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--primary-blue-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: var(--gray-100);
  font-size: 14px;
}

/* Legal Pages */
.legal-page {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.legal-page .last-updated {
  color: var(--text-medium);
  margin-bottom: 32px;
  font-style: italic;
}

.legal-page h2 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.legal-page h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.legal-page p {
  margin-bottom: 16px;
  color: var(--text-medium);
  line-height: 1.8;
}

.legal-page ul, .legal-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-medium);
  line-height: 1.8;
}

.legal-page li {
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 32px;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
  }
}

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

  .hero p {
    font-size: 16px;
  }

  .btn-primary, .btn-secondary {
    padding: 14px 24px;
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }
}
