:root {
  --background: #f5f7f2;
  --text: #1d2a1f;
  --accent: #4c8c5b;
  --accent-dark: #2f5f3a;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(76, 140, 91, 0.15);
  --muted: #4f5f52;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

a {
  color: inherit;
}

a.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 25px rgba(76, 140, 91, 0.25);
  position: relative;
  overflow: hidden;
}

a.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

a.cta:hover::before {
  left: 100%;
}

a.cta:hover,
a.cta:focus {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(47, 95, 58, 0.25);
}

a.cta.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
  box-shadow: none;
}

a.cta.secondary:hover,
a.cta.secondary:focus {
  background: rgba(76, 140, 91, 0.1);
  transform: translateY(-1px);
}

header {
  padding: 1.5rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo img {
  display: block;
  border-radius: 6px;
}

.container {
  width: min(960px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: radial-gradient(circle at top right, rgba(76, 140, 91, 0.18), transparent 55%),
    radial-gradient(circle at 15% 20%, rgba(135, 191, 149, 0.2), transparent 50%),
    linear-gradient(135deg, rgba(76, 140, 91, 0.05) 0%, rgba(135, 191, 149, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(76, 140, 91, 0.03) 50%, transparent 70%);
  animation: shimmer 8s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1rem;
  animation: slideInUp 1s ease-out;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: clamp(1.125rem, 2.4vw, 1.45rem);
  max-width: 42rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  animation: slideInUp 1s ease-out 0.2s both;
  position: relative;
  z-index: 1;
}

.screenshots {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: end;
  justify-content: center;
  width: min(960px, 100%);
  margin: 2rem auto 0;
  animation: slideInUp 1s ease-out 0.4s both;
  position: relative;
  z-index: 1;
}

.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(29, 42, 31, 0.15);
  border: 1px solid rgba(76, 140, 91, 0.15);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshots img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(29, 42, 31, 0.2);
}

.screenshots img.ios {
  width: 240px;
  justify-self: center;
  animation: float 3s ease-in-out infinite;
}

.screenshots img.mac {
  animation: float 3s ease-in-out infinite 1.5s;
}

.section {
  padding: 3rem 0;
}

.section h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 1rem;
  text-align: center;
}

.section p.lead {
  max-width: 42rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  text-align: center;
}

#cta {
  text-align: center;
}

.section-content {
  display: grid;
  gap: 1.75rem;
}

.section-content.two-column {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 20px 40px rgba(29, 42, 31, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInScale 0.6s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(29, 42, 31, 0.1);
}

.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.section ul,
.section ol {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  display: grid;
  gap: 1rem;
}

.section ul li strong,
.section ol li strong {
  color: var(--accent-dark);
}

.section ul.inline {
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.section ul.inline li {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 14px 30px rgba(29, 42, 31, 0.04);
}

.section ul.inline li strong {
  display: block;
  margin-bottom: 0.35rem;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.badges span {
  background: rgba(76, 140, 91, 0.12);
  color: var(--accent-dark);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}

.faq-item + .faq-item {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(76, 140, 91, 0.1);
  padding-top: 1.5rem;
}

.waitlist-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--card-bg);
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.waitlist-form button {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 25px rgba(76, 140, 91, 0.25);
  position: relative;
  overflow: hidden;
}

.waitlist-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.waitlist-form button:hover::before {
  left: 100%;
}

.waitlist-form button:hover,
.waitlist-form button:focus {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(47, 95, 58, 0.25);
}

.waitlist-form button:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(47, 95, 58, 0.25);
}

.form-note {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  padding: 3rem 0 4rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 600px) {
  a.cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

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

  .screenshots img.ios {
    width: 60%;
  }
}
