/* Dawnbell — crystal glass theme, same language as the app */
:root {
  --bg-1: #12042b;
  --bg-2: #2b0a5e;
  --bg-3: #4a12a0;
  --gold: #ffd27a;
  --gold-2: #ffb347;
  --lilac: #c9b6ff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --rim: rgba(255, 255, 255, 0.28);
  --rim-glow: rgba(255, 210, 122, 0.55);
  --radius: 22px;
  --max: 1120px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 700px at 15% -10%, #5a1bb8 0%, transparent 60%),
              radial-gradient(900px 600px at 100% 20%, #3a0f7a 0%, transparent 55%),
              linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

/* Star field */
.stars {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 28% 62%, #fff 60%, transparent 61%),
    radial-gradient(2px 2px at 44% 30%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 58% 78%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 70% 14%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 82% 48%, #fff 60%, transparent 61%),
    radial-gradient(2px 2px at 92% 84%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 6% 88%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 36% 92%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 64% 52%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 20% 40%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 86% 26%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 50% 8%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 76% 66%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 40% 70%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 96% 6%, #fff 60%, transparent 61%);
  opacity: 0.55;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.7; } }
@media (prefers-reduced-motion: reduce) { .stars { animation: none; } }

/* Layout */
.wrap { width: min(var(--max), 92vw); margin: 0 auto; }
section { padding: clamp(48px, 8vw, 96px) 0; }

/* Glass surfaces */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.glass::before {  /* specular streak */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 30%, transparent 55%);
}
.glass-glow { border-color: rgba(255, 210, 122, 0.45); box-shadow: 0 0 0 1px rgba(255,210,122,0.25), 0 0 40px rgba(255,190,90,0.25), 0 20px 50px rgba(0,0,0,0.35); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(18, 4, 43, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand img { height: 44px; width: auto; }
.brand .wordmark {
  font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, var(--lilac) 45%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 24px rgba(255, 210, 122, 0.35);
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; font-weight: 800; border: 1px solid var(--rim);
  background: var(--glass-strong); color: #fff; cursor: pointer; transition: transform .15s, box-shadow .15s;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 0 30px rgba(255, 210, 122, 0.25); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #2a0a5e; border-color: transparent; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rim); color: #fff; border-radius: 12px; width: 44px; height: 44px; font-size: 22px; cursor: pointer; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 span {
  background: linear-gradient(90deg, #fff, var(--lilac) 50%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.store-badge img { height: 56px; width: auto; }
.store-badge:hover { filter: brightness(1.1); }
.hero-icon { position: relative; display: grid; place-items: center; }
.hero-icon img { width: min(360px, 80vw); filter: drop-shadow(0 30px 60px rgba(255, 190, 90, 0.35)); animation: float 6s ease-in-out infinite; }
.hero-icon::after { content: ""; position: absolute; width: 70%; height: 70%; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,122,0.35), transparent 70%); z-index: -1; filter: blur(30px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .hero-icon img { animation: none; } }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pill { font-size: .85rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rim); background: var(--glass); color: var(--muted); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { padding: 26px; }
.card .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px;
  background: rgba(255,255,255,0.10); border: 1px solid var(--rim);
}
.card p { color: var(--muted); margin: 0; }
.section-title { text-align: center; max-width: 60ch; margin: 0 auto 40px; }
.section-title p { color: var(--muted); font-size: 1.05rem; }

/* Scene chips */
.scenes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.scene { padding: 18px 12px; text-align: center; font-weight: 800; border-radius: 18px; }
.scene small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.s-daylight { background: linear-gradient(160deg, #ffd27a, #ff8fb1 50%, #4a12a0); }
.s-morning { background: linear-gradient(160deg, #ffb347, #ff6f91); }
.s-noon { background: linear-gradient(160deg, #7fd3ff, #2b7bff); }
.s-sunset { background: linear-gradient(160deg, #ff9a5a, #7b2cbf); }
.s-midnight { background: linear-gradient(160deg, #1f2a6b, #0b0f2e); }
.s-aurora { background: linear-gradient(160deg, #2effa8, #1b6cff 60%, #0b1a3a); }
.s-ocean { background: linear-gradient(160deg, #47e6ff, #0a5cbf); }
.s-rose { background: linear-gradient(160deg, #ffb3c6, #b05bd0); }
.s-forest { background: linear-gradient(160deg, #6fcf97, #145a32); }
.scene-card { border: 1px solid var(--rim); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 30px rgba(0,0,0,.35); }

/* CTA band */
.cta { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; }
.cta .store-badge { display: inline-block; margin-top: 18px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.12); padding: 36px 0; color: var(--muted); font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--muted); font-weight: 700; }
.footer-links a:hover { color: #fff; }

/* Legal / content pages */
.page { padding: clamp(32px, 6vw, 64px) 0; }
.page-head { margin-bottom: 28px; }
.page-head p { color: var(--muted); }
.doc { padding: clamp(24px, 4vw, 44px); }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc h2:first-of-type { margin-top: 0; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; color: var(--muted); }
.doc p { color: var(--muted); }
.doc strong { color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; font-size: .95rem; }
.field input, .field textarea, .field select {
  font: inherit; color: #fff; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--rim); background: rgba(255,255,255,0.08); outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,210,122,.2); }
.field select option { color: #111; }
.contact-side .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-side .row .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid var(--rim); }
.note { font-size: .9rem; color: var(--muted); }

/* Cookie banner */
.cookie {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(720px, 92vw); z-index: 100; padding: 18px 20px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 320px; font-size: .95rem; color: var(--muted); }
.cookie .actions { display: flex; gap: 10px; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero-cta, .pill-row { justify-content: center; }
  .hero-icon { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(18, 4, 43, 0.96); border-bottom: 1px solid rgba(255,255,255,.12); padding: 8px 4vw 14px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 6px; }
  .nav .btn { display: none; }
  .brand img { height: 38px; }
}
