/* ============================================
   Snitch Cam - Landing Page Styles
   Dark theme | Accent: #4CAF50
   ============================================ */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #4CAF50;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #66BB6A;
}

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

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.section-subtitle {
  text-align: center;
  color: #9e9e9e;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #4CAF50;
  color: #fff;
}

.btn-primary:hover {
  background: #43A047;
  color: #fff;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35);
}

.btn-outline {
  background: transparent;
  color: #4CAF50;
  border: 2px solid #4CAF50;
}

.btn-outline:hover {
  background: rgba(76, 175, 80, 0.1);
  color: #66BB6A;
  border-color: #66BB6A;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

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

.nav-brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-brand:hover {
  color: #ffffff;
}

.nav-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: #4CAF50;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}

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

.nav-links a {
  color: #bdbdbd;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-links a:hover {
  color: #4CAF50;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e0e0e0;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.25rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4CAF50;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: #4CAF50;
}

.hero p {
  font-size: 1.2rem;
  color: #9e9e9e;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

/* --- How It Works --- */
.how-it-works {
  background: #111111;
}

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

.step-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 175, 80, 0.2);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.25rem;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #9e9e9e;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.feature-card {
  padding: 2rem;
  background: #141414;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 175, 80, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #9e9e9e;
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(76, 175, 80, 0.12);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4CAF50;
  margin-top: 0.75rem;
}

/* --- Pricing --- */
.pricing {
  background: #111111;
}

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

.pricing-card {
  padding: 2.5rem;
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: transform 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #4CAF50;
  box-shadow: 0 0 40px rgba(76, 175, 80, 0.1);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.2rem;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4CAF50;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #9e9e9e;
}

.pricing-description {
  color: #9e9e9e;
  font-size: 0.92rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #bdbdbd;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-features li::before {
  content: "\2713";
  color: #4CAF50;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

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

/* --- Download / CTA --- */
.download {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.download-content {
  position: relative;
}

.download h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.download-content > p {
  color: #9e9e9e;
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.store-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #e0e0e0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.store-badge:hover {
  border-color: rgba(76, 175, 80, 0.3);
  background: #222;
  color: #fff;
}

.store-badge-icon {
  font-size: 1.4rem;
}

.store-badge-text small {
  display: block;
  font-size: 0.7rem;
  color: #9e9e9e;
  font-weight: 400;
}

.store-badge-text strong {
  font-weight: 600;
}

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0a0a;
}

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

.footer-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-brand span {
  color: #9e9e9e;
  font-weight: 400;
  font-size: 0.88rem;
  margin-left: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9e9e9e;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: #4CAF50;
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */
.legal-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.legal-page h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.legal-page .effective-date {
  color: #9e9e9e;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-page p {
  margin-bottom: 1rem;
  color: #bdbdbd;
  line-height: 1.75;
  font-size: 0.95rem;
}

.legal-page ul,
.legal-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-page ul {
  list-style: disc;
}

.legal-page ol {
  list-style: decimal;
}

.legal-page li {
  margin-bottom: 0.5rem;
  color: #bdbdbd;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-page a {
  color: #4CAF50;
}

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

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

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

/* Mobile */
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 8rem 1.25rem 4rem;
  }

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

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

  .section {
    padding: 3.5rem 0;
  }

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

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

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

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

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

  .download-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .footer-links {
    justify-content: center;
  }

  .pricing-card {
    padding: 2rem;
  }

  .pricing-price {
    font-size: 2.2rem;
  }

  .legal-page {
    padding-top: 84px;
  }

  .legal-page h1 {
    font-size: 1.7rem;
  }
}
