:root {
  color-scheme: light;
  --bg: #f7fcf8;
  --bg-alt: #ffffff;
  --bg-card: #ffffff;
  --accent: #0fa958;
  --accent-2: #7ddc9a;
  --text: #0c1f15;
  --muted: #4f6d5d;
  --stroke: rgba(12, 31, 21, 0.08);
  --radius: 20px;
  --shadow: 0 20px 50px rgba(12, 31, 21, 0.12);
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
}

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

body {
  background: radial-gradient(circle at top right, #e0f8e9, #f7fcf8 60%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  z-index: 20;
  border-bottom: 1px solid var(--stroke);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--stroke);
}

.brand {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.pill-link {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.btn.ghost {
  border-color: var(--stroke);
  color: var(--accent);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  list-style: none;
}

.download-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stroke);
}

.download-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-weight: 500;
}

.download-btn:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 31, 21, 0.1);
}

.download-btn svg {
  flex-shrink: 0;
}

.hero-visual .card-stack {
  position: relative;
  min-height: 320px;
}

.card {
  position: absolute;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.primary-card {
  top: 0;
  right: 0;
  width: 280px;
}

.primary-card .pill {
  margin-top: 1rem;
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 157, 88, 0.12);
  color: var(--accent);
}

.secondary-card {
  top: 160px;
  left: 10%;
  width: 220px;
}

.tertiary-card {
  top: 240px;
  right: 5%;
  width: 200px;
}

section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-head p {
  max-width: 450px;
  color: var(--muted);
}

.features {
  background: var(--bg-alt);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: var(--bg-card);
  box-shadow: 0 12px 30px rgba(12, 31, 21, 0.08);
}

.workflow {
  position: relative;
  background: var(--bg);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step {
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--stroke);
  background: var(--bg-card);
}

.step-number {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.experience {
  background: var(--bg-alt);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.experience-card {
  border-radius: var(--radius);
  padding: 1.7rem;
  border: 1px solid var(--stroke);
  background: var(--bg-card);
  box-shadow: 0 18px 45px rgba(12, 31, 21, 0.08);
}

.demo {
  background: var(--bg);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.mock-card {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 1.5rem;
  background: var(--bg-alt);
}

.mock-screen {
  height: 180px;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(15, 157, 88, 0.15), rgba(125, 220, 154, 0.3));
  border: 1px solid rgba(15, 157, 88, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-screen.icon-screen {
  background: linear-gradient(135deg, rgba(15, 157, 88, 0.1), rgba(125, 220, 154, 0.2));
}

.mock-screen.icon-screen svg {
  color: var(--accent);
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mock-card:hover .mock-screen.icon-screen svg {
  transform: scale(1.1);
  opacity: 1;
}

.contact {
  padding-bottom: 5rem;
}

.contact-card {
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--stroke);
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(15, 157, 88, 0.25), rgba(255, 255, 255, 0.9));
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.link {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 1rem 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

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

.footer-link {
  color: var(--accent);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.float-action-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 157, 88, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
}

.float-action-btn.visible {
  opacity: 1;
  visibility: visible;
}

.float-action-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 157, 88, 0.4);
}

.float-action-btn:active {
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .float-action-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }

  .card {
    position: relative;
    width: auto;
    margin-bottom: 1rem;
  }

  .hero-visual .card-stack {
    min-height: auto;
  }
}
