:root {
  --green-dark: #1a3d2e;
  --green-mid: #2e7d5b;
  --green-main: #3a9d6e;
  --green-accent: #00c875;
  --green-light: #a8d5b5;
  --green-mint: #c8edd8;
  --bg-light: #eef5f0;
  --bg-section: #f7faf8;
  --white: #ffffff;
  --red-alert: #e53935;
  --yellow-warn: #f9a825;
  --text-dark: #1a2e25;
  --text-secondary: #6b8f7a;
  --footer-bg: #0f1f17;
  --card-shadow: 0 4px 24px rgba(46, 125, 91, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: 2.25rem;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(26, 61, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  background: transparent;
  mix-blend-mode: screen;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 44px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--green-main);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
  transform: translateY(-1px);
}

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

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

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero + section {
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2b1e 0%, #1a3d2e 50%, #2e6e4e 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  color: var(--white);
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.hero-version {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: -8px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-main);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.store-btn svg {
  color: var(--white);
}

.store-btn:hover {
  background: #2e8a5e;
  transform: translateY(-2px);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ad Banner */
.ad-banner {
  padding: 24px 0;
  background: var(--bg-light);
  text-align: center;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-banner .container {
  width: 100%;
}

/* Trust Bar */
.trust-bar {
  padding: 40px 0 32px;
  background: var(--white);
  border-top: 1px solid rgba(46, 125, 91, 0.08);
  border-bottom: 1px solid rgba(46, 125, 91, 0.08);
  text-align: center;
}

.trust-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--green-mint);
  color: var(--green-mid);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(46, 125, 91, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.chip:hover {
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 48px 0 64px;
  background: #f7faf8;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

.section-title--sm {
  font-size: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green-main);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--white);
  padding: 32px 32px 36px;
  border-radius: 16px;
  border: 1px solid rgba(46, 125, 91, 0.1);
  box-shadow: 0 4px 24px rgba(46, 125, 91, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(46, 125, 91, 0.2);
  border-color: rgba(46, 125, 91, 0.22);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-mid);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: #4a6b58;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Spotlight Sections */
.spotlight {
  padding: 80px 0;
  background: var(--white);
}

.spotlight-reverse {
  padding: 80px 0;
  background: var(--bg-section);
}

.spotlight-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.highlight-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(58, 157, 110, 0.12);
  color: var(--green-main);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(58, 157, 110, 0.2);
}

.spotlight-text h2 {
  max-width: 420px;
  margin-bottom: 16px;
}

.spotlight-text p {
  color: #4a6b58;
  font-size: 1.05rem;
}

.spotlight-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  overflow: visible;
}

/* Pricing */
.pricing {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--green-dark) 0%, #1e4d35 100%);
}

.pricing .section-title {
  color: var(--white);
}
.pricing .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1;
  min-width: 300px;
  max-width: 420px;
  background: var(--white);
  padding: 36px 32px 32px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-featured {
  border: 2px solid var(--green-main);
  box-shadow: 0 0 0 1px var(--green-main), 0 8px 32px rgba(58, 157, 110, 0.15);
}

.pricing-badge {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pricing-chip {
  display: inline-flex;
  align-items: center;
  background: var(--green-main);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.pricing-chip::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--green-main);
}

.pricing-amount {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-price {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-featured .pricing-price {
  color: var(--green-main);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.check {
  color: var(--green-main);
  font-weight: 700;
  margin-right: 8px;
}
.cross {
  color: var(--text-secondary);
  opacity: 0.4;
  margin-right: 8px;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  background: var(--green-main);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.pricing-cta--outline {
  background: transparent;
  border: 2px solid var(--green-main);
  color: var(--green-main);
}

.pricing-cta--outline:hover {
  background: var(--green-main);
  color: var(--white);
  transform: translateY(-2px);
}

.pricing-cta:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

.pricing-featured .pricing-cta {
  background: var(--green-dark);
}

.pricing-featured .pricing-cta:hover {
  background: #0f1f17;
}

/* Final CTA */
.final-cta {
  padding: 72px 0;
  background: linear-gradient(160deg, #0d2b1e 0%, #1a4a32 60%, #0d2b1e 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(58, 157, 110, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.final-cta .hero-ctas {
  justify-content: center;
}

/* Contact */
.contact {
  padding: 72px 0;
  background: var(--bg-section);
  text-align: center;
}

.contact-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--green-main);
}

.contact-item a {
  color: var(--green-mid);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--green-main);
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Mockup images */
.mockup-float {
  animation: float 4s ease-in-out infinite;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.hero .mockup-float,
.final-cta .mockup-float {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

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

.mockup-phone {
  max-width: 280px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 32px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .mockup-phone {
    max-width: 220px;
  }
  .mockup-float {
    max-width: 260px;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Error page */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0;
}

.error-content h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.error-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Legal page */
.legal-page {
  padding: 120px 0 60px;
  min-height: 80vh;
  background: var(--bg-light);
}

.legal-container {
  max-width: 800px;
}

.legal-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--white);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.legal-nav-link {
  flex: 1;
  text-align: center;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.legal-nav-link.active {
  background: var(--green-main);
  color: var(--white);
}

.legal-nav-link:hover:not(.active) {
  color: var(--text-dark);
  background: var(--bg-light);
}

.legal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 24px;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 8px;
}

.error-legal {
  color: var(--red-alert);
  padding: 16px;
  background: rgba(229, 57, 53, 0.08);
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  h2 {
    font-size: 1.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 61, 46, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 1rem;
  }

  .hero-visual {
    order: -1;
  }

  .features {
    padding: 40px 0 48px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px;
  }

  .spotlight-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .spotlight {
    padding: 48px 0;
  }
  .spotlight-reverse {
    padding: 48px 0;
  }

  .spotlight-reverse .spotlight-visual {
    order: -1;
  }

  .pricing {
    padding: 56px 0;
  }
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    min-width: auto;
    width: 100%;
  }

  .final-cta h2 {
    font-size: 1.75rem;
  }

  .legal-content {
    padding: 24px;
  }

  .legal-nav {
    flex-direction: column;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .store-btn {
    justify-content: center;
  }

  .contact {
    padding: 48px 0;
  }
  .contact-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.65rem;
  }
  .final-cta h2 {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
}
