/* CampSavvy website — "Sunny" style, matching the app. */
:root {
  --bg: #ffffff;
  --surface: #f4f6f8;
  --text: #14324a;
  --muted: #647585;
  --border: #e6eaee;
  --primary: #14a38b;
  --primary-dark: #0f8b76;
  --teal-bg: #e8f6f3; --teal-text: #0b5f51;
  --orange-bg: #fff3e3; --orange: #e07b1a; --orange-text: #7a3f06;
  --red-bg: #fdecea; --red: #d9473a; --red-text: #7a1f17;
  --blue-bg: #eaf1fd; --blue: #2f6fdb; --blue-text: #123e85;
  --purple-bg: #f3eefd; --purple: #7a4fd6; --purple-text: #3d2380;
  --yellow-bg: #fff6d9; --yellow: #e5a100; --yellow-text: #6b4a00;
  --radius: 24px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1621; --surface: #16202c; --text: #eef3f7; --muted: #95a3b1; --border: #263241;
    --primary: #2bc4a8; --primary-dark: #22a890;
    --teal-bg: #123a35; --teal-text: #bdf0e5;
    --orange-bg: #3a2712; --orange: #ffa24d; --orange-text: #ffddb8;
    --red-bg: #3b1c1a; --red: #ff7a6b; --red-text: #ffd3cd;
    --blue-bg: #15284a; --blue: #6fa2ff; --blue-text: #cfe0ff;
    --purple-bg: #271d45; --purple: #a98bff; --purple-text: #e2d8ff;
    --yellow-bg: #3a3110; --yellow: #ffcc33; --yellow-text: #ffefb3;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--primary); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--primary); color: #fff !important; font-weight: 800; text-decoration: none; border: 0; font-size: 1rem; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn.soft { background: var(--teal-bg); color: var(--teal-text) !important; }
.nav .btn { height: 40px; padding: 0 18px; font-size: .9rem; }

/* Store badges (coming soon) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 10px; }
.store { display: flex; align-items: center; gap: 10px; background: var(--text); color: var(--bg); border-radius: 14px; padding: 10px 18px; min-width: 190px; }
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store small { display: block; font-size: .7rem; opacity: .75; line-height: 1.1; }
.store b { display: block; font-size: 1.05rem; line-height: 1.2; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--teal-bg); color: var(--teal-text); font-weight: 800; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.phones { position: relative; height: 600px; max-width: 520px; width: 100%; justify-self: center; }
.phone { position: absolute; width: 270px; border-radius: 42px; border: 9px solid #0f1a24; background: #0f1a24; overflow: hidden; box-shadow: 0 30px 60px rgba(20, 50, 74, .18), 0 8px 18px rgba(20, 50, 74, .12); }
.phone img { border-radius: 33px; }
.phones .p1 { left: 0; top: 0; z-index: 2; }
.phones .p2 { right: 0; top: 70px; }
.sun { position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--yellow); right: 2%; top: -10px; opacity: .9; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 520px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { width: 230px; }
}
@media (max-width: 480px) {
  .phones { height: 440px; }
  .phone { width: 190px; border-width: 7px; border-radius: 32px; }
  .phone img { border-radius: 26px; }
}

/* Sections */
section { padding: 72px 0; }
.center { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.center p { color: var(--muted); font-size: 1.1rem; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; padding: 40px; border-radius: 36px; }
.feature:nth-child(even) .shot { order: -1; }
.feature .shot { display: flex; justify-content: center; }
.feature .shot .phone { position: relative; width: 260px; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { display: flex; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.feature li::before { content: "✓"; font-weight: 900; flex: none; }
.tag { display: inline-block; font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.f-teal { background: var(--teal-bg); color: var(--teal-text); }
.f-orange { background: var(--orange-bg); color: var(--orange-text); }
.f-red { background: var(--red-bg); color: var(--red-text); }
.f-blue { background: var(--blue-bg); color: var(--blue-text); }
.f-purple { background: var(--purple-bg); color: var(--purple-text); }
.f-yellow { background: var(--yellow-bg); color: var(--yellow-text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag { background: rgba(0, 0, 0, .25); } }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; }
  .feature:nth-child(even) .shot { order: 0; }
  .feature .shot .phone { width: 220px; }
}

/* Notification mock */
.notif { max-width: 420px; margin: 0 auto; background: var(--surface); border-radius: 22px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; box-shadow: 0 10px 30px rgba(20, 50, 74, .08); text-align: left; }
.notif img { width: 40px; height: 40px; border-radius: 10px; }
.notif b { display: block; }
.notif .when { margin-left: auto; font-size: .8rem; color: var(--muted); white-space: nowrap; }
.notif + .notif { margin-top: 12px; }

/* Trust */
.trust { background: var(--surface); border-radius: 36px; padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.trust .badge { width: 120px; height: 120px; border-radius: 50%; background: var(--teal-bg); display: grid; place-items: center; font-size: 3.4rem; }
@media (max-width: 700px) { .trust { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; } .trust .badge { margin: 0 auto; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { border: 2px solid var(--border); border-radius: var(--radius); padding: 30px; }
.plan.pro { border-color: var(--primary); background: var(--teal-bg); }
.plan .price { font-size: 2.6rem; font-weight: 900; line-height: 1; margin: 10px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { padding: 7px 0; border-top: 1px solid var(--border); font-weight: 600; }
.plan.pro li { border-color: rgba(20, 163, 139, .25); }
.best { display: inline-block; background: var(--yellow); color: #3a2a00; font-weight: 900; font-size: .75rem; padding: 3px 10px; border-radius: 999px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border-radius: 18px; padding: 18px 22px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-weight: 900; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA + footer */
.cta { text-align: center; background: var(--primary); color: #fff; border-radius: 36px; padding: 56px 24px; }
.cta p { opacity: .9; font-size: 1.1rem; }
.cta .store { background: #fff; color: var(--text); }
.cta .stores { justify-content: center; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--primary); }
footer .right { margin-left: auto; }

/* Document pages (privacy, support) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 40px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.4rem; font-weight: 800; margin-top: 2em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc .card { background: var(--surface); border-radius: 22px; padding: 22px 24px; margin: 20px 0; }
.doc .card.teal { background: var(--teal-bg); color: var(--teal-text); }
