/* WindWindow — landing page shared styles */

:root {
  --sky:    #1A9BC4;
  --dark:   #0F2027;
  --mid:    #1e3a4a;
  --light:  #f4f8fa;
  --text:   #1a2a32;
  --muted:  #5a7080;
  --white:  #ffffff;
  --radius: 12px;
  --max-w:  640px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ─────────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header / hero ──────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--mid) 100%);
  color: var(--white);
  padding: 60px 20px 48px;
  text-align: center;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-logo svg { width: 40px; height: 40px; flex-shrink: 0; }

.hero-logo-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-tagline {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 400px;
  margin: 0 auto 32px;
}

/* ── Store buttons ──────────────────────────────────────────────────────────── */

.store-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 400px) {
  .store-buttons { flex-direction: row; justify-content: center; }
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--dark);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 160px;
  text-align: left;
  transition: opacity 0.15s;
}

.store-btn:hover { opacity: 0.88; text-decoration: none; }

.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }

.store-btn-sub { font-size: 0.7rem; font-weight: 400; display: block; opacity: 0.6; }
.store-btn-name { font-size: 1rem; font-weight: 700; display: block; }

/* ── Screenshot mockup ──────────────────────────────────────────────────────── */

.mockup-wrap {
  margin: 40px auto 0;
  max-width: 220px;
}

.mockup-wrap img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}

.mockup-placeholder {
  width: 100%;
  aspect-ratio: 9/18;
  background: rgba(255,255,255,0.08);
  border-radius: 28px;
  border: 2px dashed rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

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

.features {
  padding: 48px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.features h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-item p  { font-size: 0.9rem; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 32px 20px;
  text-align: center;
  font-size: 0.85rem;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: var(--white); }

/* ── Legal pages ────────────────────────────────────────────────────────────── */

.legal-header {
  background: linear-gradient(160deg, var(--dark) 0%, var(--mid) 100%);
  color: var(--white);
  padding: 40px 20px 32px;
}

.legal-header .container { display: flex; align-items: center; gap: 12px; }

.legal-header a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.legal-header a:hover { color: var(--white); }

.legal-title { font-size: 1.6rem; font-weight: 800; margin-top: 20px; }
.legal-date  { font-size: 0.85rem; opacity: 0.6; margin-top: 4px; }

.legal-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.legal-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--dark);
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p  { margin-bottom: 12px; font-size: 0.95rem; color: #334455; }
.legal-body ul { margin: 0 0 12px 20px; }
.legal-body li { font-size: 0.95rem; color: #334455; margin-bottom: 6px; }

/* ── Spot page ──────────────────────────────────────────────────────────────── */

.spot-hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--mid) 100%);
  color: var(--white);
  padding: 48px 20px 40px;
  text-align: center;
}

.spot-from { font-size: 0.85rem; opacity: 0.6; margin-bottom: 12px; }

.spot-name {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.spot-coords {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 32px;
}

.spot-map {
  max-width: 280px;
  margin: 0 auto 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

.spot-map img { width: 100%; display: block; }

.spot-cta { padding: 40px 20px; text-align: center; max-width: var(--max-w); margin: 0 auto; }
.spot-cta p { color: var(--muted); margin-bottom: 24px; }

/* ── 404 ────────────────────────────────────────────────────────────────────── */

.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.notfound h1 { font-size: 4rem; font-weight: 800; color: var(--sky); margin-bottom: 8px; }
.notfound p  { color: var(--muted); margin-bottom: 24px; }

.btn-primary {
  display: inline-block;
  background: var(--sky);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.88; text-decoration: none; }
