:root {
  --bg: #fffcf8;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --text: #000000;
  --text-muted: #4a4a4a;
  --text-light: #6c6c6c;
  --accent-green: #43b14b;
  --accent-cyan: #5ce1e6;
  --accent-dark: #008f4f;
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--accent-green);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Header */
:root {
  --header-height: 72px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
}

.logo-mark {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 52px;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 992px) {
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a.btn {
    margin-top: 0.75rem;
    border-bottom: 0;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .logo-mark {
    max-width: 170px;
    max-height: 40px;
  }
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 100px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(92, 225, 230, 0.15);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 auto 1.25rem;
  max-width: 850px;
}

.gradient-text {
  color: var(--accent-green);
}

.hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Video / Demo section */
.demo-section {
  padding: 80px 0;
  text-align: center;
}

.demo-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.demo-section .lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eef7f0 0%, #e6fafb 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.video-placeholder {
  text-align: center;
  padding: 2rem;
}

.video-placeholder button {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 0;
  background: var(--accent-green);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(67, 177, 75, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-placeholder button:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 48px rgba(67, 177, 75, 0.45);
}

.video-placeholder svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

.video-placeholder p {
  color: var(--text-muted);
  margin: 1.25rem 0 0;
  font-weight: 500;
}

/* Features */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(92, 225, 230, 0.15);
  color: var(--text);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
}

/* CTA */
.cta {
  padding: 100px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(67, 177, 75, 0.08), rgba(92, 225, 230, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4rem 2rem;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.cta-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1rem;
  outline: none;
}

.cta-form input::placeholder {
  color: var(--text-light);
}

.form-status {
  margin-top: 1rem;
  color: var(--accent-green);
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-address {
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a.btn {
    margin-top: 0.75rem;
    border-bottom: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 48px 0 60px;
  }

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

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

  .cta-form {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
}
