/* WiboWalls product site — static, App Store–friendly */

:root {
  --bg: #0c1222;
  --bg-elevated: #121a2e;
  --text: #e8ecf4;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-dim: #0ea5e9;
  --border: rgba(148, 163, 184, 0.15);
  --radius: 14px;
  --max: 720px;
  --font: ui-sans-serif, system-ui, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(56, 189, 248, 0.08), transparent);
}

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

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px 80px;
}

.site-header {
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.site-header .inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.lang-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
}
.lang-switch a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.lang-switch a.active {
  color: var(--text);
  border-color: var(--accent-dim);
  background: rgba(14, 165, 233, 0.12);
}

.hero {
  text-align: center;
  padding: 28px 0 40px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hero .tagline {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
  margin: 0 auto 28px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal {
  max-width: var(--max);
  margin: 0 auto;
}
.legal h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.legal h2 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal p,
.legal li {
  color: #cbd5e1;
  font-size: 0.98rem;
}
.legal ul {
  padding-left: 1.25rem;
}
.legal .note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.support-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 24px 0;
}
.support-box h2 {
  margin-top: 0;
  font-size: 1.2rem;
}
.support-box code,
.support-box .email {
  font-size: 1rem;
  word-break: break-all;
}

.site-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.hub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 22px;
  text-align: center;
}
.hub h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.hub p {
  color: var(--muted);
  margin-bottom: 32px;
}
.hub .choices {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hub .choices a {
  min-width: 160px;
  padding: 18px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}
.hub .choices a:hover {
  border-color: var(--accent-dim);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover {
    transform: none;
  }
}
