/* Everforest Color Palette */
:root {
  --bg-dark: #2d353b;
  --bg-surface: #343f44;
  --bg-light: #3d484d;
  --fg: #d3c6aa;
  --fg-dim: #9da9a0;
  --green: #a7c080;
  --aqua: #7fbbb3;
  --red: #e67e80;
  --yellow: #dbbc7f;
  --purple: #d699b6;

  /* Light mode alternatives */
  --bg-light-mode: #fdf6e3;
  --fg-light-mode: #5c6a72;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--fg);
  line-height: 1.6;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-cta {
  color: var(--fg);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--fg-dim);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--green);
  color: var(--bg-dark);
  border-color: var(--green);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-content {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--fg);
  line-height: 1.1;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--fg-dim);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--green);
  color: var(--bg-dark);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(167, 192, 128, 0.3);
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  padding: 2rem;
  flex: 1;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--bg-surface);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-surface) 100%);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  font-size: 1rem;
  border: 2px dashed var(--fg-dim);
}

.screenshot-placeholder.small {
  width: 240px;
  height: 480px;
  border-radius: 28px;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.feature.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--fg);
}

.feature-content p {
  font-size: 1.1rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Privacy Section */
.privacy {
  background-color: var(--bg-surface);
  padding: 6rem 2rem;
  text-align: center;
}

.privacy h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.privacy-item {
  padding: 2rem;
}

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

.privacy-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--green);
}

.privacy-item p {
  color: var(--fg-dim);
}

/* Download Section */
.download {
  padding: 6rem 2rem;
  text-align: center;
}

.download h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.download p {
  color: var(--fg-dim);
  margin-bottom: 2rem;
}

.app-store-badge img {
  height: 54px;
  transition: transform 0.2s ease;
}

.app-store-badge:hover img {
  transform: scale(1.05);
}

/* Placeholder for App Store badge */
.app-store-badge {
  display: inline-block;
  background: var(--fg);
  color: var(--bg-dark);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: var(--bg-surface);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo .logo-icon {
  width: 28px;
  height: 28px;
}

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

.footer-links a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.copyright {
  color: var(--fg-dim);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .feature,
  .feature.reverse {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }

  .screenshot-placeholder.small {
    width: 200px;
    height: 400px;
  }
}
