/* Puddle Landing Page — responsive, Catppuccin accent colors */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1e1e2e;
  line-height: 1.6;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e6e9ef;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: #1e66f5;
  text-decoration: none;
}

.nav-app-link {
  font-size: 14px;
  font-weight: 600;
  color: #1e66f5;
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid #1e66f5;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-app-link:hover {
  background: #1e66f5;
  color: #ffffff;
}

/* Hero */
.hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #1e1e2e;
}

.hero-sub {
  font-size: 18px;
  color: #5c5f77;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-form input[type="email"] {
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #ccd0da;
  border-radius: 6px;
  width: 280px;
  outline: none;
  transition: border 0.2s;
}

.hero-form input[type="email"]:focus {
  border-color: #1e66f5;
}

.hero-form button {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  background: #1e66f5;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-form button:hover {
  background: #1750c0;
}

.hero-form button:disabled {
  background: #8c8fa1;
  cursor: not-allowed;
}

.hero-msg {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}

.hero-msg.success {
  color: #40a02b;
}

.hero-msg.error {
  color: #d20f39;
}

/* Features */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.features h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #f8f9fc;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #5c5f77;
  line-height: 1.5;
}

/* Screenshots */
.screenshots {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.screenshots h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e6e9ef;
}

.screenshot-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cdd6f4;
  font-size: 16px;
  font-weight: 600;
}

/* CTA */
.cta {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  color: #5c5f77;
  margin-bottom: 24px;
}

.cta-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-email {
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #ccd0da;
  border-radius: 6px;
  width: 280px;
  outline: none;
  transition: border 0.2s;
}

.cta-email:focus {
  border-color: #1e66f5;
}

.cta-btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  background: #1e66f5;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #1750c0;
}

/* Footer */
.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: #8c8fa1;
  border-top: 1px solid #e6e9ef;
}

/* Responsive — mobile breakpoint */
@media (max-width: 768px) {
  .hero {
    padding: 48px 20px 40px;
  }

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

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

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

  .hero-form input[type="email"] {
    width: 100%;
    max-width: 320px;
  }

  .hero-form button {
    width: 100%;
    max-width: 320px;
  }

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

  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .cta-email {
    width: 100%;
    max-width: 320px;
  }

  .cta-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
