:root {
  --bg: #0a0a0a;
  --text: #f6f6f6;
  --muted: #c5ceca;
  --accent: #7bd389;
  --accent-2: #ffd36e;
  --card: #121212;
  --ring: rgba(123, 211, 137, 0.25);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --radius: 18px;
  --maxw: 720px;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 1200px at 70% -10%, #143a20 0%, #0b1a0f 40%, var(--bg) 70%) fixed, var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: saturate(1.2) blur(10px);
  background: linear-gradient(to bottom, rgba(10, 10, 10, .75), rgba(10, 10, 10, .25));
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.bar {
  max-width: calc(var(--maxw) + 120px);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 65% 35%, #ffffffaa 0 18%, transparent 20%), conic-gradient(from 240deg at 55% 65%, #89e39a, #2bb673 35%, #0f8a5b 60%, #89e39a 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), var(--shadow);
}

.logo::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 10px;
  background: radial-gradient(70% 60% at 50% 60%, #1f5f38 0%, #13462a 70%, transparent 71%);
  mix-blend-mode: overlay;
  opacity: .35;
}

.title {
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 16px;
  white-space: nowrap;
}

.pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
  background: rgba(123, 211, 137, .08);
  border: 1px solid rgba(123, 211, 137, .35);
  border-radius: 999px;
  padding: 8px 12px;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: breath 2.4s ease-in-out infinite;
}

@keyframes breath {

  0%,
  100% {
    transform: scale(1);
    opacity: .9
  }

  50% {
    transform: scale(1.25);
    opacity: 1
  }
}

.viewport {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
}

.slides {
  scroll-snap-type: y mandatory;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 120px;
}

.slide {
  scroll-snap-align: start;
  padding: 10vh 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: .2px;
}

.hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 8px 12px;
  border-radius: 999px;
  width: max-content;
  font-size: 12px;
  color: #e8ffee;
}

.tag .seed {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent-2);
  box-shadow: 0 0 10px #ffd36e66;
}

.gallery {
  position: relative;
  height: 36dvh;
  min-height: 240px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: radial-gradient(100% 120% at 70% 0%, rgba(123, 211, 137, .18), rgba(123, 211, 137, 0) 50%), #0d1410;
}

canvas.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: contrast(1.05) saturate(1.1);
}

.content {
  padding: 24px;
  display: grid;
  gap: 14px;
}

h2 {
  margin: 0;
  font-size: 24px
}

h3 {
  margin: 0;
  font-size: 18px;
  color: var(--accent);
  padding-top: 8px;
}

.prose {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px
}

.prose b {
  color: var(--text);
  font-weight: 600;
}

.bullets {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none
}

.bullets li {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 12px 14px;
  border-radius: 14px;
}

.bullets b {
  color: #fff
}

.dots {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  border: 1px solid rgba(255, 255, 255, .35);
  transition: height .2s, background .2s, width .2s, border-radius .2s, transform .2s;
  overflow: hidden;
}

.dot.active {
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
  height: 26px;
  width: 8px;
  border-radius: 999px;
  transform: scale(1.1);
}

.contact {
  padding: 24px;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(123, 211, 137, .06), transparent 40%);
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 13px;
  color: #dfe8e3
}

input,
textarea {
  width: 100%;
  background: #0f1511;
  color: #f3fff3;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 15px;
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical
}

.note {
  font-size: 12px;
  color: var(--muted)
}

.icon {
  width: 84px;
  height: 84px;
  margin: 4px auto 16px;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block
}

.process-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(123, 211, 137, .05), rgba(255, 255, 255, .02));
}

.global-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 12px 16px;
  backdrop-filter: saturate(1.2) blur(10px);
  background: linear-gradient(to top, rgba(10, 10, 10, .75), rgba(10, 10, 10, .25));
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.global-nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  background: rgba(123, 211, 137, .12);
  color: #eaffea;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(123, 211, 137, .4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .08s ease;
  text-decoration: none;
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #e9e9e9;
}

.btn:active {
  transform: scale(.98)
}

/* Add this new style for our images inside the style block */
.proof-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  display: block;
}

.image-mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Two equal columns */
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 12px;
}

.mosaic-stacked {
  display: flex;
  flex-direction: column;
  /* Stack images vertically */
  gap: 16px;
}

.image-mosaic-grid img {
  width: 100%;
  height: auto;
  /* Let the height be natural */
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 600px) {
  .image-mosaic-grid {
    grid-template-columns: 1fr;
    /* Stack into a single column on small screens */
  }
}

@media (min-width: 900px) {
  .hero h1 {
    font-size: 36px
  }

  .hero p {
    font-size: 16px
  }

  .gallery {
    height: 46dvh;
    min-height: 320px
  }

  .icon {
    width: 100px;
    height: 100px
  }

  h2 {
    font-size: 28px
  }

  .prose {
    font-size: 17px
  }
}

/* --- Phase 4: Animation & Interaction Styles --- */

/* 1. Button Micro-interactions */
.btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 211, 137, 0.25);
  background: rgba(123, 211, 137, 0.18);
}

.btn:active {
  transform: scale(0.97);
}

/* 2. Image Reveal Initial State */
.proof-image,
.image-mosaic-grid img {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

/* 3. Image Reveal Active State (Added by JS) */
.proof-image.is-visible,
.image-mosaic-grid img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.mosaic-tall {
  display: flex;
  flex-direction: column;
}

.mosaic-tall img {
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  /* Ensures it doesn't collapse */
}

/* --- New Additions for Comparison Table & Products (Respecting Theme) --- */

/* 1. Comparison Table Styling */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.comparison-table th {
  text-align: left;
  color: var(--accent);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px;
}

.comparison-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comparison-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

/* 2. Product Card Styling */
.product-card {
  background: rgba(255,255,255,0.03);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

/* 3. Accordion (Details/Summary) Styling */
details {
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 8px;
}

summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  list-style: none; /* Hides default triangle */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

summary:hover {
  color: #fff;
}

summary::-webkit-details-marker {
  display: none; /* Hides default triangle in Chrome/Safari */
}

/* Arrow rotation animation */
.arrow {
  opacity: 0.5;
  transition: transform 0.2s ease;
}

details[open] .arrow {
  transform: rotate(180deg);
}

/* Smooth content reveal */
.accordion-content {
  animation: sweep .3s ease-in-out;
}

@keyframes sweep {
  0%    {opacity: 0; transform: translateY(-5px)}
  100%  {opacity: 1; transform: translateY(0)}
}