/* Weed Radar — Landing Page (dark theme matching the app icon) */

:root {
  --bg: #0a0f0c;
  --bg-grad-1: #0c130e;
  --bg-grad-2: #08100b;
  --surface: #131c16;
  --surface-2: #18241c;
  --border: rgba(126, 224, 160, 0.12);
  --border-soft: rgba(255, 255, 255, 0.06);
  --accent: #5fd68a;
  --accent-bright: #8ef0ad;
  --accent-dim: #3fa86a;
  --text: #e9f2ec;
  --text-dim: #9fb4a6;
  --text-faint: #6f8579;
  --shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 14px 34px -12px rgba(0, 0, 0, 0.6);
  --radius: 22px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.font-heading { font-family: "Merriweather Sans", "Roboto", sans-serif; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.accent { color: var(--accent-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-dim));
  color: #05140b;
  box-shadow: 0 10px 30px -8px rgba(95, 214, 138, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(95, 214, 138, 0.6); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 500px at 78% 12%, rgba(95, 214, 138, 0.14), transparent 60%),
    radial-gradient(700px 600px at 12% 90%, rgba(63, 168, 106, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2));
  overflow: hidden;
}
.hero::after {
  /* faint radar rings */
  content: "";
  position: absolute;
  top: -10%; right: -6%;
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(126, 224, 160, 0.06);
  box-shadow:
    0 0 0 60px rgba(126, 224, 160, 0.025),
    0 0 0 130px rgba(126, 224, 160, 0.018);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--accent-bright);
  background: rgba(95, 214, 138, 0.10);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-icon {
  width: 76px; height: 76px;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
  color: #fff;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-dim);
  font-weight: 300;
  max-width: 30ch;
  margin: 0 0 34px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-qr {
  width: 56px; height: 56px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 4px;
}

/* phone in hero */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-phone-wrap::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(95, 214, 138, 0.22), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: 270px;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #20302a, #0c1410);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 1;
}
.phone-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 46%; height: 24px;
  background: #0c1410;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

/* ---------- Section base ---------- */
section { position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}
.section-head p { color: var(--text-dim); font-size: 1.08rem; font-weight: 300; margin: 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- Features ---------- */
.features { padding: 100px 0; background: var(--bg); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 26px 34px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border); }
.feature-card .phone { width: 196px; margin: 0 auto 26px; border-radius: 34px; padding: 9px; }
.feature-card .phone-screen { border-radius: 26px; }
.feature-card .phone-notch { height: 18px; }
.feature-icon { font-size: 1.5rem; margin-bottom: 6px; }
.feature-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.feature-card p { color: var(--text-dim); font-weight: 300; margin: 0; font-size: .98rem; }

/* ---------- Download CTA ---------- */
.cta {
  padding: 92px 0;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(95, 214, 138, 0.12), transparent 65%),
    var(--bg);
}
.cta-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 54px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #fff;
}
.cta-card p { color: var(--text-dim); font-weight: 300; max-width: 46ch; margin: 0 auto 32px; font-size: 1.08rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cta-actions img.store { height: 52px; width: auto; }
.cta-actions .hero-qr { width: 64px; height: 64px; }

/* ---------- Info / footer sections ---------- */
.info { padding: 80px 0 40px; background: var(--bg); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.info-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin: 0 0 12px;
}
.info-card p { color: var(--text-dim); font-weight: 300; margin: 0 0 12px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-dim); text-underline-offset: 3px; }
.info-card a:hover { color: var(--accent-bright); }

footer.imprint {
  padding: 40px 0 64px;
  background: var(--bg);
}
.imprint-inner {
  border-top: 1px solid var(--border-soft);
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.imprint h3 { font-size: 1.05rem; color: var(--text); margin: 0 0 14px; font-weight: 600; }
.imprint p { color: var(--text-faint); font-weight: 300; margin: 0 0 4px; font-size: .92rem; }
.imprint .brand { display: flex; align-items: center; gap: 12px; }
.imprint .brand img { width: 40px; height: 40px; border-radius: 11px; }
.imprint .brand span { font-family: "Merriweather Sans", sans-serif; font-weight: 600; color: var(--text); }

/* ---------- Site header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 12, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-brand span { font-family: "Merriweather Sans", sans-serif; font-weight: 700; font-size: 1.12rem; color: #fff; letter-spacing: -0.01em; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-size: .82rem;
  font-weight: 600;
}
.lang-switch a {
  padding: 6px 13px;
  color: var(--text-dim);
  transition: color .15s ease, background .15s ease;
}
.lang-switch a.active { background: var(--accent); color: #05140b; }
.lang-switch a:not(.active):hover { color: var(--accent-bright); }
.nav-cta {
  font-size: .9rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-dim));
  color: #05140b;
  transition: transform .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- Subpage hero + prose ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(95, 214, 138, 0.12), transparent 62%),
    linear-gradient(180deg, var(--bg-grad-1), var(--bg));
  text-align: left;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 {
  font-family: "Merriweather Sans", sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}
.page-hero p.sub { color: var(--text-dim); font-weight: 300; margin: 14px 0 0; font-size: 1.1rem; }

.page-body { padding: 56px 0 80px; background: var(--bg); }
.prose { max-width: 760px; }
.prose h2 {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin: 30px 0 8px;
}
.prose p { color: var(--text-dim); font-weight: 300; margin: 0 0 14px; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-dim); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-bright); }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { color: var(--text-dim); font-weight: 300; margin-bottom: 8px; list-style: disc; }
.prose li p { margin: 0; }
.prose .contact-block { margin: 16px 0; }
.prose .contact-block p { margin: 0 0 4px; }
.prose .contact-block .name { color: var(--text); font-weight: 600; }
.prose .updated { color: var(--text-faint); font-size: .9rem; margin-top: 28px; }
.channel { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.channel a {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 14px 20px; text-decoration: none;
  color: var(--text); font-weight: 500; transition: border-color .15s ease, transform .15s ease;
}
.channel a:hover { border-color: var(--accent); transform: translateY(-2px); }
.channel .ch-label { display: block; font-size: .78rem; color: var(--text-faint); font-weight: 400; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background:
    radial-gradient(800px 500px at 50% 30%, rgba(95, 214, 138, 0.12), transparent 62%),
    var(--bg);
}
.notfound img { width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--shadow-md); margin-bottom: 28px; }
.notfound h1 { font-family: "Merriweather Sans", sans-serif; font-size: clamp(3rem, 12vw, 6rem); font-weight: 800; margin: 0; color: #fff; letter-spacing: -0.04em; }
.notfound p { color: var(--text-dim); font-weight: 300; font-size: 1.15rem; margin: 8px 0 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .nav-brand span { display: none; }
  .nav-right { gap: 12px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-icon { margin-left: auto; margin-right: auto; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .feature-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero { padding: 64px 0 72px; }
  .cta-card { padding: 40px 24px; }
}
