/* ── Plantora — Landing Page ── */

:root {
  --bg: #f6f2ec;
  --bg-soft: #ede8de;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-hover: rgba(255, 252, 247, 0.96);
  --text: #1a2b22;
  --muted: #5a6e60;
  --line: rgba(22, 36, 29, 0.08);
  --accent: #2d6a4f;
  --accent-light: #40916c;
  --accent-warm: #d4a373;
  --accent-glow: rgba(45, 106, 79, 0.12);
  --shadow-sm: 0 2px 8px rgba(27, 45, 36, 0.06);
  --shadow: 0 16px 48px rgba(27, 45, 36, 0.08);
  --shadow-lg: 0 24px 80px rgba(27, 45, 36, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── Ambient background ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 600px 500px at 15% 10%, rgba(45, 106, 79, 0.08), transparent),
    radial-gradient(ellipse 500px 400px at 85% 30%, rgba(212, 163, 115, 0.1), transparent),
    radial-gradient(ellipse 700px 600px at 50% 80%, rgba(45, 106, 79, 0.05), transparent);
  pointer-events: none;
}

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

a {
  color: inherit;
  transition: color 0.2s;
}

/* ── Vine scroll animation ── */
.vine-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 120px;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
  opacity: 0.6;
}

.vine-svg {
  width: 100%;
  height: 100%;
}

.vine-path {
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(45, 106, 79, 0.2));
}

.vine-leaf {
  fill: var(--accent-light);
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vine-leaf.grown {
  opacity: 0.7;
  transform: scale(1) rotate(0deg);
}

.vine-leaf:nth-child(odd) {
  fill: var(--accent);
}

/* Right vine */
.vine-container-right {
  left: auto;
  right: 0;
  opacity: 0.4;
}

/* ── Floating leaves (ambient) ── */
.floating-leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-leaf {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  animation: floatLeaf linear infinite;
}

.floating-leaf svg {
  width: 100%;
  height: 100%;
}

@keyframes floatLeaf {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg) scale(0.8);
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(360deg) scale(0.6);
  }
}

.floating-leaf:nth-child(1) { left: 8%; animation-duration: 18s; animation-delay: 0s; }
.floating-leaf:nth-child(2) { left: 22%; animation-duration: 22s; animation-delay: 4s; }
.floating-leaf:nth-child(3) { left: 65%; animation-duration: 20s; animation-delay: 8s; }
.floating-leaf:nth-child(4) { left: 80%; animation-duration: 24s; animation-delay: 2s; }
.floating-leaf:nth-child(5) { left: 45%; animation-duration: 19s; animation-delay: 6s; }

/* ── Layout ── */
.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.section {
  padding: 88px 0;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Scale-up variant */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin: 14px 0 0;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 242, 236, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: box-shadow 0.4s, background 0.4s, border-color 0.4s;
}

.site-header.scrolled {
  background: rgba(246, 242, 236, 0.92);
  box-shadow: 0 4px 24px rgba(27, 45, 36, 0.1);
  border-color: rgba(22, 36, 29, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.footer-links a,
.secondary-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover,
.footer-links a:hover,
.secondary-link:hover {
  color: var(--accent);
}

/* ── Buttons ── */
.store-link,
.store-link-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.25);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, background 0.3s;
}

.store-link:hover,
.store-link-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 106, 79, 0.3);
  background: #256b4a;
}

.store-link:active,
.store-link-small:active {
  transform: translateY(0);
}

.store-link-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.secondary-link:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  max-width: 12ch;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  max-width: 18ch;
  margin-bottom: 8px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.hero-text,
.section-text {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 48ch;
}

.feature-card p,
.benefit-grid p,
.faq-list p,
.footer-copy,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 30px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
}

.trust-list li:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(45, 106, 79, 0.2);
  transform: translateY(-1px);
}

/* ── Hero visual ── */
.hero-visual {
  position: relative;
  min-height: 580px;
}

.quote-card {
  max-width: 260px;
  padding: 26px;
  position: absolute;
  top: 0;
  right: 4%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}

.quote-card:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}

.quote-mark {
  margin: 0 0 4px;
  font-size: 3.5rem;
  line-height: 0.7;
  color: var(--accent-warm);
  font-family: Georgia, serif;
}

.quote-text {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.4;
  font-weight: 500;
}

.quote-signoff {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.phone-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 480px;
}

.phone-card {
  position: absolute;
  width: min(260px, 44vw);
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(18, 31, 25, 0.2);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s;
}

.phone-card:hover {
  box-shadow: 0 28px 70px rgba(18, 31, 25, 0.28);
}

.phone-card-front {
  left: 8%;
  bottom: 0;
  transform: rotate(-4deg);
  z-index: 2;
}

.phone-card-front:hover {
  transform: rotate(-2deg) translateY(-8px);
}

.phone-card-back {
  right: 8%;
  top: 40px;
  transform: rotate(6deg);
}

.phone-card-back:hover {
  transform: rotate(4deg) translateY(-8px);
}

/* ── Intro band ── */
.intro-band {
  padding: 44px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}

/* ── Section headings ── */
.section-heading {
  margin-bottom: 44px;
}

/* ── Feature cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, border-color 0.35s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(45, 106, 79, 0.15);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

/* ── Showcase / gallery ── */
.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 18px;
}

.screen-tile {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}

.screen-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.screen-tile img {
  border-radius: 24px;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen-tile:hover img {
  transform: scale(1.03);
}

.screen-tile figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.screen-tile-large {
  grid-row: span 2;
}

/* ── Benefits ── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-grid article {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}

.benefit-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq-list details {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-list details[open] {
  border-color: rgba(45, 106, 79, 0.15);
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 28px 22px;
  animation: faqSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-list p {
  margin: 0;
}

/* ── CTA ── */
.cta-panel {
  padding: 56px 48px;
  background: linear-gradient(135deg, var(--accent) 0%, #1b4332 100%);
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(45, 106, 79, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative leaf silhouettes in CTA */
.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-panel::before {
  top: -60px;
  right: -40px;
  width: 250px;
  height: 250px;
}

.cta-panel::after {
  bottom: -80px;
  left: -50px;
  width: 300px;
  height: 300px;
}

.cta-panel .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.cta-panel h2 {
  color: #fff;
  max-width: none;
  margin: 0 auto 12px;
}

.cta-panel .section-text {
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
  margin: 0 auto;
}

.cta-panel .hero-actions {
  justify-content: center;
  position: relative;
  z-index: 2;
}

.cta-panel .store-link {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cta-panel .store-link:hover {
  background: #f0f0f0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.cta-panel .secondary-link {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.cta-panel .secondary-link:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ── Footer ── */
.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  align-items: center;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
}

.brand-footer img {
  width: 36px;
  height: 36px;
}

.footer-copy,
.footer-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

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

/* ── Legal pages ── */
.legal-page {
  min-height: 100vh;
}

.legal-main {
  padding: 28px;
  margin: 24px 0 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
}

.legal-card h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: none;
  margin-bottom: 14px;
  background: none;
  -webkit-text-fill-color: var(--text);
}

.legal-card h2 {
  font-size: 1.5rem;
  max-width: none;
  margin: 36px 0 14px;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card li {
  margin-bottom: 6px;
}

.muted-line {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .vine-container {
    display: none;
  }

  .floating-leaves {
    display: none;
  }

  .site-header {
    border-radius: 22px;
    position: static;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .intro-grid,
  .site-footer,
  .feature-grid,
  .benefit-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  h1 { max-width: none; }
  h2 { max-width: none; }

  .hero-visual {
    min-height: 480px;
  }

  .quote-card {
    position: static;
    max-width: none;
    margin-bottom: 18px;
  }

  .phone-stack {
    position: relative;
    height: 380px;
  }

  .phone-card {
    width: min(220px, 50vw);
  }

  .phone-card-front {
    left: 6%;
  }

  .phone-card-back {
    right: 2%;
    top: 30px;
  }

  .store-link-small {
    display: none;
  }

  .site-footer {
    text-align: center;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-links {
    justify-content: center;
  }

  .feature-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 56px 0;
  }

  .faq-list {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .section {
    padding: 40px 0;
  }

  .site-header {
    margin-top: 8px;
    padding: 12px 14px;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero {
    padding-top: 32px;
    gap: 32px;
  }

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

  .store-link,
  .secondary-link {
    width: 100%;
    text-align: center;
  }

  .trust-list li {
    width: 100%;
    text-align: center;
  }

  .hero-visual {
    min-height: 360px;
  }

  .phone-stack {
    height: 280px;
  }

  .phone-card {
    width: 160px;
    border-radius: 22px;
  }

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

  .screen-tile,
  .feature-card,
  .benefit-grid article {
    padding: 22px;
  }

  .cta-panel {
    padding: 36px 24px;
  }

  .legal-main {
    padding: 16px;
  }

  .legal-card {
    padding: 18px;
  }

  .intro-band {
    padding: 28px 22px;
  }
}
