/* SnapInsights Website Styles - Matching Extension Theme */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #0277c0;
  --primary-light: #dfedff;
  --primary-dark: #015a94;
  --secondary-color: #333;
  --accent-color: #10b981;
  --text-color: #333;
  --text-light: #666;
  --text-muted: #a9a9a9;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #d9d9d9;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
  --radius: 14px;
}

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

body {
  font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

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

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

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

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  background: var(--primary-light);
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
  background: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
  background: var(--primary-light);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Features Section */
.features {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--primary-light);
  background: var(--primary-light);
  transform: translateY(-4px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary-color);
  fill: none;
  stroke-width: 2;
}

.feature-card h3 {
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Image Placeholders */
.image-placeholder {
  background: var(--primary-light);
  border: 2px dashed var(--primary-color);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--primary-color);
  margin: 2rem 0;
}

.image-placeholder .placeholder-label {
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.image-placeholder .placeholder-hint {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* How It Works */
.how-it-works {
  background: var(--bg-light);
  padding: 4rem 1.5rem;
  margin: 3rem -1.5rem;
}

.how-it-works-content {
  max-width: 1200px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.step h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Modes Section */
.modes-section {
  padding: 3rem 0;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.mode-card {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.2s ease;
}

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

.mode-card h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mode-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .logo {
  color: white;
  font-size: 1.25rem;
  justify-content: center;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.75rem;
}

.thegoodventures-link {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
}

.thegoodventures-link:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1.5rem;
}

/* Page Headers */
.page-header {
  background: var(--primary-light);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-light);
}

/* Privacy & Support Content */
.content-section {
  padding: 2rem 0;
}

.content-section h2 {
  color: var(--secondary-color);
  font-weight: 700;
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  font-size: 1.5rem;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.content-section ul {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text-color);
}

.content-section li {
  margin-bottom: 0.5rem;
}

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

.content-section a:hover {
  text-decoration: underline;
}

/* Support Page */
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.support-card {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.support-card h3 {
  color: var(--secondary-color);
  font-weight: 700;
  margin: 1rem 0;
}

.support-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.support-card a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.support-card a:hover {
  text-decoration: underline;
}

.support-icon {
  font-size: 2.5rem;
}

/* FAQ Section */
.faq-section {
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-light);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

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

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

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Last updated text */
.last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* CTA Section with dark background */
.cta-section {
  background: var(--primary-color);
  padding: 3rem 1.5rem;
  margin: 3rem -1.5rem 0;
  border-radius: 0;
}

.cta-section h2,
.cta-section p {
  color: white;
}

.cta-section .cta-button {
  background: white;
  color: var(--primary-color);
}

.cta-section .cta-button:hover {
  background: var(--primary-light);
}
