@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Fira+Code:wght@400;500&display=swap");

:root {
  --bg-color: #f8faf8;
  --surface-color: #ffffff;
  --primary-color: #2d6a4f;
  --secondary-color: #d67d3e;
  --accent-color: #bc4749;
  --text-color: #1b4332;
  --text-muted: #52796f;
  --border-color: #d8e2dc;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 25px rgba(45, 106, 79, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Nav */
header {
  padding: 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.1);
}

.app-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero */
.hero {
  padding: 5rem 0 8rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-color);
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 12px 24px rgba(45, 106, 79, 0.15);
}

.cta-button:hover {
  transform: translateY(-3px);
  background-color: #1b4332;
  box-shadow: 0 15px 30px rgba(45, 106, 79, 0.25);
}

/* Features/Preview Area */
.features-section {
  padding-bottom: 8rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.feature-card {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Local-first badge */
.badge {
  display: inline-block;
  background: var(--bg-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 404 Styles */
.error-content {
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.error-content h2 {
  font-size: 8rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 4rem 0 6rem;
  }
}
