/* CampShare Website – shared styles */
:root {
  --blue-dark: #1d4ed8;
  --blue: #0ea5e9;
  --green: #22c55e;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --warn-bg: #fef3c7;
  --warn-text: #78350f;
  --accent-bg: #eff6ff;
  --accent-border: #0ea5e9;
  --max: 960px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue), var(--green));
  color: #fff;
  padding: 1rem 1.5rem;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo span { opacity: 0.85; font-weight: 400; font-size: 0.9rem; display: block; }

nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

nav a {
  color: rgba(255,255,255,0.95);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover { text-decoration: underline; color: #fff; }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn-play-store {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: #000;
  color: #fff;
  padding: 0.65rem 1.35rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-play-store:hover {
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.btn-play-store-label {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  line-height: 1.2;
}

.btn-play-store-brand {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  box-shadow: 0 4px 14px rgba(14,165,233,0.35);
}

.btn-secondary {
  background: var(--card);
  color: var(--blue-dark);
  border: 1px solid var(--border);
}

section { margin-top: 3rem; }

.legal-block {
  scroll-margin-top: 5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.compact-list {
  padding-left: 1.25rem;
  color: #334155;
}

.compact-list li {
  margin-bottom: 0.65rem;
}

.page-nav a {
  font-size: 0.85rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card h3 { margin-top: 0; font-size: 1rem; }

.card p, .card li { font-size: 0.95rem; color: var(--muted); }

.card ul { padding-left: 1.2rem; margin-top: 0.5rem; }

.warn-box {
  background: var(--warn-bg);
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--warn-text);
  font-size: 0.95rem;
}

.accent-box {
  background: var(--accent-bg);
  border: 2px solid var(--accent-border);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
}

.accent-box h2 {
  margin-top: 0;
  color: var(--blue-dark);
}

.accent-box p,
.accent-box li {
  color: #334155;
  font-size: 0.95rem;
}

.accent-box ul {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}

.accent-box li { margin-bottom: 0.4rem; }

.legal-content h2 { margin-top: 2rem; }
.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content li {
  color: #334155;
  margin-bottom: 0.75rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li { margin-bottom: 0.35rem; }

.meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

th, td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

th { background: #f1f5f9; font-weight: 600; }

footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }

.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (max-width: 600px) {
  nav { width: 100%; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
