/* PlantLight — style.css */
/* Sections: reset · tokens · nav · hero · how-it-works · features · screenshots · cta · footer · responsive */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── DESIGN TOKENS ── */
:root {
  --green-hero-grad: linear-gradient(160deg, #0a1628 0%, #1a2f1a 40%, #2d4a2d 70%, #3a5c3a 100%);
  --accent-green:    #34c759;
  --accent-green-dk: #28a745;
  --accent-blue:     #0071e3;
  --accent-blue-dk:  #005bbf;
  --bg-primary:      #f5f5f7;
  --bg-secondary:    #ffffff;
  --bg-tertiary:     #e5e5e7;
  --border:          #d1d1d6;
  --text-primary:    #1d1d1f;
  --text-secondary:  #86868b;
  --font:            system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── BASE ── */
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: white;
}
.nav-icon {
  width: 32px; height: 32px;
  background: linear-gradient(145deg, #34c759, #30d158);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-cta {
  background: var(--accent-green);
  color: white; font-size: 14px; font-weight: 600;
  padding: 8px 18px; border-radius: 20px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--green-hero-grad);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 48px 80px;
  gap: 80px;
  position: relative; overflow: hidden;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.35;
}
.hero-glow {
  position: absolute; pointer-events: none;
  top: -80px; left: 50%; transform: translateX(-10%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(52, 199, 89, 0.12) 0%, transparent 70%);
}
.hero-copy {
  position: relative; z-index: 1;
  max-width: 480px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: var(--accent-green);
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 56px; font-weight: 700;
  color: white; line-height: 1.05;
  letter-spacing: -1.5px; margin-bottom: 20px;
}
.hero-accent { color: var(--accent-green); }
.hero-sub {
  font-size: 18px; color: rgba(255, 255, 255, 0.65);
  line-height: 1.6; margin-bottom: 40px;
}
.hero-ctas {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.btn-appstore {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 22px; border-radius: 14px;
  font-size: 14px;
}
.btn-appstore-coming {
  font-size: 10px; opacity: 0.6;
  text-transform: uppercase; letter-spacing: 0.06em;
  line-height: 1; display: block;
}
.btn-appstore-name {
  font-size: 16px; font-weight: 600; line-height: 1.2;
}
.hero-hint {
  font-size: 13px; color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}
.hero-phone-wrap {
  position: relative; z-index: 1; flex-shrink: 0;
}

/* ── PHONE MOCKUP (hero) ── */
.phone {
  width: 260px;
  background: #000;
  border-radius: 40px;
  border: 7px solid #1d1d1f;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}
.phone-inner {
  height: 520px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.phone-notch {
  width: 80px; height: 22px;
  background: #000; border-radius: 0 0 14px 14px;
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); z-index: 10;
}
.phone-bg {
  position: absolute; inset: 0;
  background: var(--green-hero-grad);
}
.phone-grain {
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.phone-light {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 140px;
  background: radial-gradient(ellipse, rgba(255, 235, 150, 0.35) 0%, rgba(255, 220, 100, 0.15) 50%, transparent 80%);
}
.phone-status {
  position: relative; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px 6px; color: white;
}
.phone-time { font-size: 11px; font-weight: 600; }
.phone-icons { font-size: 9px; opacity: 0.7; }
.phone-nav {
  position: relative; z-index: 5;
  padding: 0 14px 8px;
  color: rgba(255, 255, 255, 0.7); font-size: 11px; font-weight: 600;
}
.phone-lux-area {
  position: relative; z-index: 5;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; padding-bottom: 40px;
}
.lux-ring {
  width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(255, 220, 80, 0.25);
}
.lux-value {
  font-size: 36px; font-weight: 700; color: white;
  line-height: 1; letter-spacing: -2px;
}
.lux-unit {
  font-size: 9px; color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px;
}
.lux-live {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; color: rgba(255, 255, 255, 0.5);
}
.live-dot { width: 5px; height: 5px; background: #ff3b30; border-radius: 50%; }
.category-badge {
  background: rgba(52, 199, 89, 0.9);
  color: white; font-size: 11px; font-weight: 600;
  padding: 5px 14px; border-radius: 20px;
}
.phone-hint {
  position: relative; z-index: 5;
  text-align: center; padding: 0 20px 10px;
  font-size: 10px; color: rgba(255, 255, 255, 0.5); line-height: 1.5;
}
.phone-lock-area {
  position: relative; z-index: 5;
  padding: 0 20px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.lock-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.lock-label {
  font-size: 9px; color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.phone-glow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 80px;
  background: radial-gradient(ellipse, rgba(52, 199, 89, 0.25) 0%, transparent 70%);
}

/* ── SHARED SECTION UTILITIES ── */
.section { padding: 96px 48px; }
.section-eyebrow {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-green); margin-bottom: 12px;
}
.section-title {
  font-size: 40px; font-weight: 700;
  letter-spacing: -0.8px; line-height: 1.1; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.6; max-width: 540px; margin-bottom: 60px;
}

/* ── HOW IT WORKS ── */
.section-hiw { background: var(--bg-primary); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 900px;
}
.step { display: flex; flex-direction: column; gap: 16px; }
.step-number {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dk));
  color: white; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-icon { font-size: 32px; }
.step-title { font-size: 17px; font-weight: 600; }
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── FEATURES ── */
.section-features { background: var(--bg-secondary); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 960px;
}
.feature-card {
  background: var(--bg-primary);
  border-radius: 20px; padding: 28px;
  border: 1.5px solid var(--bg-tertiary);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
}
.feature-icon--amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon--green { background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dk)); }
.feature-icon--blue  { background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dk)); }
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.seg-demo { display: flex; gap: 3px; align-items: center; margin-top: 12px; }
.seg { height: 5px; border-radius: 3px; width: 12px; background: var(--bg-tertiary); }
.seg--easy  { background: var(--accent-green); }
.seg--light { background: #f59e0b; }
.seg--water { background: #3b82f6; }
.seg-label  { font-size: 11px; color: var(--text-secondary); margin-left: 6px; font-weight: 500; }
.pet-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pet-badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 8px; }
.pet-badge--safe  { background: #dcfce7; color: #15803d; }
.pet-badge--toxic { background: #fee2e2; color: #991b1b; }

/* ── SCREENSHOTS ── */
.section-screenshots { background: var(--green-hero-grad); }
.section-title--light { color: white; }
.section-sub--light   { color: rgba(255, 255, 255, 0.55); }
.section-screenshots .section-eyebrow { color: rgba(52, 199, 89, 0.9); }
.phone-gallery { display: flex; gap: 40px; align-items: flex-start; overflow-x: auto; padding-bottom: 8px; }
.gallery-item { flex-shrink: 0; }
.gallery-caption { text-align: center; margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.5); font-weight: 500; }
.mini-phone { width: 220px; background: var(--bg-secondary); border-radius: 34px; border: 6px solid #1d1d1f; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); overflow: hidden; }
.mini-phone-inner { height: 440px; display: flex; flex-direction: column; background: var(--bg-primary); }
.mini-status { background: var(--bg-secondary); padding: 8px 14px 4px; display: flex; justify-content: space-between; }
.mini-time  { font-size: 10px; font-weight: 600; }
.mini-icons { font-size: 8px; opacity: 0.7; }
.mini-banner { background: linear-gradient(135deg, #1a3a1a, #2d5c2d); padding: 8px 14px; display: flex; align-items: center; gap: 8px; }
.mini-lux   { font-size: 14px; font-weight: 700; color: var(--accent-green); }
.mini-cat   { font-size: 9px; color: rgba(255, 255, 255, 0.7); }
.mini-count { margin-left: auto; text-align: right; font-size: 14px; font-weight: 700; color: white; }
.mini-count span { display: block; font-size: 9px; color: rgba(255, 255, 255, 0.6); font-weight: 400; }
.mini-chips { background: var(--bg-secondary); padding: 6px 10px; display: flex; gap: 5px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.mini-chip { padding: 3px 8px; border-radius: 20px; font-size: 9px; font-weight: 500; border: 1px solid var(--border); color: var(--text-primary); background: var(--bg-secondary); white-space: nowrap; flex-shrink: 0; }
.mini-chip--active { background: var(--accent-green); border-color: var(--accent-green); color: white; }
.mini-plant-row { background: var(--bg-secondary); display: flex; align-items: center; padding: 8px 12px; gap: 10px; border-bottom: 1px solid var(--border); }
.mini-thumb { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-tertiary); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.mini-plant-name { font-size: 11px; font-weight: 600; }
.mini-plant-sci  { font-size: 9px; color: var(--text-secondary); font-style: italic; margin-top: 1px; }
.mini-segs { display: flex; gap: 2px; margin-top: 4px; align-items: center; }
.mini-seg  { height: 3px; border-radius: 2px; background: var(--bg-tertiary); width: 8px; }
.mini-seg--easy  { background: var(--accent-green); }
.mini-seg--water { background: #3b82f6; }
.mini-seg--hard  { background: #ff3b30; }
.mini-seg-gap    { width: 6px; display: inline-block; }

/* ── DETAIL PHONES ── */
.mini-phone-inner--detail { background: var(--bg-primary); }
.mini-hero-photo { height: 110px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; }
.mini-hero-photo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.3)); }
.mini-hero-photo--green { background: linear-gradient(145deg, #2d5a2d, #4a8c4a); }
.mini-hero-photo--red   { background: linear-gradient(145deg, #3a2020, #5c2d2d); }
.mini-detail-status { background: var(--bg-secondary); padding: 4px 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.mini-name-card { background: var(--bg-secondary); padding: 10px 12px 8px; border-bottom: 1px solid var(--border); }
.mini-detail-name { font-size: 14px; font-weight: 700; }
.mini-detail-sci  { font-size: 9px; color: var(--text-secondary); font-style: italic; margin-bottom: 8px; }
.mini-icon-row  { display: flex; gap: 14px; align-items: center; }
.mini-icon-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mini-icon-emoji { font-size: 12px; }
.mini-icon-label { font-size: 8px; color: var(--text-secondary); }
.mini-compat { margin: 8px 10px; padding: 8px 10px; border-radius: 10px; display: flex; align-items: center; gap: 8px; }
.mini-compat--pass { background: #dcfce7; border: 1px solid #86efac; }
.mini-compat--fail { background: #fef9c3; border: 1px solid #fde047; }
.mini-compat-icon  { font-size: 16px; flex-shrink: 0; }
.mini-compat-title { font-size: 10px; font-weight: 700; }
.mini-compat-title--pass { color: #15803d; }
.mini-compat-title--fail { color: #92400e; }
.mini-compat-desc  { font-size: 8px; color: var(--text-secondary); line-height: 1.4; }
.mini-care-row { padding: 8px 12px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 8px; background: var(--bg-secondary); }
.mini-care-icon  { font-size: 12px; flex-shrink: 0; }
.mini-care-label { font-size: 8px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.mini-care-value { font-size: 9px; color: var(--text-primary); line-height: 1.5; }
.mini-back-link { color: var(--accent-blue); font-size: 9px; font-weight: 600; }
.mini-status-emoji { font-size: 10px; }

/* ── CTA ── */
.section-cta { background: var(--bg-secondary); text-align: center; border-top: 1px solid var(--bg-tertiary); }
.cta-icon  { font-size: 64px; margin-bottom: 24px; }
.cta-title { font-size: 40px; font-weight: 700; letter-spacing: -0.8px; margin-bottom: 16px; }
.cta-sub   { font-size: 17px; color: var(--text-secondary); line-height: 1.6; max-width: 480px; margin: 0 auto 40px; }
.btn-appstore-dark { display: inline-flex; align-items: center; gap: 12px; background: #1d1d1f; color: white; padding: 14px 28px; border-radius: 16px; font-size: 14px; }

/* ── FOOTER ── */
.footer { background: #0a1628; padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.footer-brand strong { color: white; }
.footer-leaf { font-size: 20px; }
.footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.3); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 14px 24px; }
  .hero { flex-direction: column; padding: 100px 24px 60px; gap: 48px; text-align: center; }
  .hero-title { font-size: 38px; }
  .hero-ctas  { justify-content: center; }
  .hero-copy  { max-width: 100%; }
  .section { padding: 60px 24px; }
  .section-sub { margin-bottom: 40px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 32px; }
  .footer { padding: 24px; flex-direction: column; align-items: flex-start; }
}
