/* ── Landing page ────────────────────────────────────────────────────────── */

body { background: var(--surface); font-size: 15px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.nav-brand-icon {
  width: 30px; height: 30px;
  background: var(--brand);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}

.nav-brand-icon svg { width: 16px; height: 16px; color: #fff; }

.nav-beta {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand);
  background: rgba(74,142,91,.12);
  border: 1px solid rgba(74,142,91,.3);
  border-radius: 4px;
  padding: 2px 5px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover   { color: var(--text); }
.nav-actions         { display: flex; align-items: center; gap: 10px; }

/* ── Shared section layout ───────────────────────────────────────────────── */

section        { padding: 80px 5%; }
.container     { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-header        { text-align: center; margin-bottom: 56px; }
.section-header h2     { font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.section-header p      { font-size: 16px; color: var(--text-muted); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  padding: 100px 5% 80px;
  background: linear-gradient(160deg, #f0f7f1 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  background: #ddeede;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.hero-eyebrow span {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero h1      { margin-bottom: 20px; }
.hero-sub     { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(23,32,24,.10);
  overflow: hidden;
}

.hero-card-header {
  background: var(--brand-dark);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card-dots            { display: flex; gap: 5px; }
.hero-card-dots span       { width: 10px; height: 10px; border-radius: 50%; }
.hero-card-dots span:nth-child(1) { background: #ff5f57; }
.hero-card-dots span:nth-child(2) { background: #febc2e; }
.hero-card-dots span:nth-child(3) { background: #28c840; }

.hero-card-title  { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); margin-left: 4px; }
.hero-card-body   { padding: 20px; }

.timeline-preview         { list-style: none; }
.timeline-preview li      { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.timeline-preview li:last-child { border-bottom: none; }

.tl-date       { font-size: 11.5px; color: var(--text-xmuted); width: 56px; flex-shrink: 0; padding-top: 1px; }
.tl-badge      { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 4px; white-space: nowrap; height: fit-content; margin-top: 1px; }
.tl-planted    { background: #dcfce7; color: #166534; }
.tl-watered    { background: #dbeafe; color: #1e40af; }
.tl-harvest    { background: #fef9c3; color: #854d0e; }
.tl-note       { background: #f3f4f6; color: #374151; }
.tl-pest       { background: #fee2e2; color: #991b1b; }
.tl-text       { color: var(--text-muted); }
.tl-text strong { color: var(--text); font-weight: 600; }

/* ── Stats bar ───────────────────────────────────────────────────────────── */

.stats-bar {
  padding: 40px 5%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item       { text-align: center; }
.stat-num        { font-size: 32px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.stat-label      { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ── Features ────────────────────────────────────────────────────────────── */

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

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg { width: 22px; height: 22px; }
.feature-card p   { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── How it works ────────────────────────────────────────────────────────── */

.how-inner { max-width: 1100px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.step-num {
  width: 36px; height: 36px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.step h3 { margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Use cases ───────────────────────────────────────────────────────────── */

.use-cases-section { background: var(--bg); }

.use-cases-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.use-case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
}

.use-case-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.use-case-card h3 { margin-bottom: 6px; }
.use-case-card p  { font-size: 14px; color: var(--text-muted); }

/* ── AI section ──────────────────────────────────────────────────────────── */

.ai-section          { background: var(--brand-dark); color: #fff; }

.ai-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ai-inner h2         { color: #fff; }
.ai-inner > div > p  { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.7; margin-top: 14px; }

.ai-features         { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

.ai-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}

.ai-features li::before {
  content: "";
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%234F8A5B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E") no-repeat center/contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 24px;
}

.ai-card-label   { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

.ai-message {
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 12px;
}

.ai-response {
  background: rgba(79,138,91,.15);
  border: 1px solid rgba(79,138,91,.3);
  border-radius: 8px;
  padding: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
}

.ai-response strong { color: #a8d5b0; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.pricing-grid {
  max-width: 900px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
}

.pricing-card.featured {
  border-color: var(--brand);
  border-width: 2px;
  position: relative;
}

.pricing-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  white-space: nowrap;
}

.pricing-tier  { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.pricing-price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1; }
.pricing-price span { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.pricing-desc  { font-size: 13px; color: var(--text-muted); margin: 10px 0 20px; line-height: 1.5; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: "";
  width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%234F8A5B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E") no-repeat center/contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-cta {
  display: block;
  width: 100%;
  height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 42px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font);
}

.pricing-cta-primary       { background: var(--brand); color: #fff; }
.pricing-cta-primary:hover { background: var(--brand-light); }
.pricing-cta-ghost         { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.pricing-cta-ghost:hover   { border-color: var(--brand); color: var(--brand); }

/* ── CTA section ─────────────────────────────────────────────────────────── */

.cta-section   { background: var(--bg); text-align: center; }
.cta-inner     { max-width: 600px; margin: 0 auto; }
.cta-inner h2  { margin-bottom: 14px; }
.cta-inner p   { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }

.cta-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }

.cta-form input {
  flex: 1;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}

.cta-form input:focus { border-color: var(--brand); }
.cta-note             { font-size: 12.5px; color: var(--text-xmuted); margin-top: 12px; }

/* ── Landing footer ──────────────────────────────────────────────────────── */

.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.55);
  padding: 48px 5% 32px;
}

.site-footer-inner { max-width: 1100px; margin: 0 auto; }

.site-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.site-footer-brand-icon {
  width: 26px; height: 26px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}

.site-footer-brand-icon svg { width: 14px; height: 14px; color: #fff; }
.site-footer-tagline        { font-size: 13px; line-height: 1.6; max-width: 220px; }

.footer-col h4               { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-col ul               { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a          { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-col ul li a:hover    { color: #fff; }

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner, .ai-inner { grid-template-columns: 1fr; }
  .hero-card             { display: none; }
  .features-grid, .steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid          { grid-template-columns: 1fr; max-width: 440px; }
  .use-cases-grid        { grid-template-columns: 1fr; }
  .stats-inner           { grid-template-columns: repeat(2, 1fr); }
  .site-footer-top       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .features-grid, .steps  { grid-template-columns: 1fr; }
  nav .nav-links           { display: none; }
  .cta-form                { flex-direction: column; }
}

/* ── Garden Designer feature section ─────────────────────────────────────── */

.designer-feature-section {
  padding: 100px 24px;
  background: #f8faf5;
}
.designer-feature-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.designer-feature-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 12px 0 16px;
}
.designer-feature-text > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.designer-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.designer-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}
.designer-feature-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--brand);
}

/* Mockup */
.designer-mockup {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.13);
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: inherit;
}
.dm-topbar {
  background: var(--brand-dark);
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dm-title { font-size: 13px; font-weight: 600; }
.dm-btn {
  font-size: 11px; font-weight: 600;
  background: var(--brand); color: #fff;
  padding: 4px 10px; border-radius: 6px;
}
.dm-body {
  display: flex;
}
.dm-sidebar {
  width: 160px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dm-sidebar-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-muted);
  padding: 2px 4px;
}
.dm-bed-item {
  border-radius: 7px;
  padding: 7px 9px;
  border: 1.5px solid transparent;
}
.dm-bed-name { font-size: 11px; font-weight: 600; }
.dm-bed-sub  { font-size: 10px; color: var(--text-muted); margin-top: 1px; }
.dm-status-overdue  { background:#fee2e2; border-color:#f87171; }
.dm-status-ok       { background:#dcfce7; border-color:#4ade80; }
.dm-status-due-soon { background:#fef3c7; border-color:#fbbf24; }
.dm-status-empty    { background:#f1f5f9; border-color:#cbd5e1; }

.dm-grid-wrap { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; background: #f5f7f0; }
.dm-grid {
  position: relative;
  height: 165px;
  background: #f5f7f0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.dm-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.dm-placed-bed {
  position: absolute;
  border-radius: 5px;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: center;
  padding: 2px;
  color: rgba(0,0,0,.6);
}
.dm-bed-overdue  { background:#fee2e2; border-color:#f87171; }
.dm-bed-ok       { background:#dcfce7; border-color:#4ade80; }
.dm-bed-due-soon { background:#fef3c7; border-color:#fbbf24; }

.dm-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dm-leg-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-muted);
}
.dm-leg-dot {
  width: 9px; height: 9px;
  border-radius: 2px;
  border: 1.5px solid;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .designer-feature-inner { grid-template-columns: 1fr; }
  .designer-mockup { max-width: 520px; }
}
