/* ZAMMA website — dark, glassy, in the spirit of the MOLU site, in ZAMMA's violet + dot-matrix identity. */
:root {
  color-scheme: dark;
  --bg: #08090d;
  --bg-2: #0e0f17;
  --text: #f6f6fb;
  --muted: #a9adc0;
  --faint: #6f7489;
  --line: #ffffff17;
  --violet: #7668e8;
  --violet-2: #a89aff;
  --peach: #ffd9a8;
  --card: #ffffff08;
  --shell: min(1140px, calc(100% - 40px));
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.dots { font-family: 'Doto', monospace; font-weight: 800; letter-spacing: 0.08em; }

/* Nav */
.nav {
  position: fixed; z-index: 20; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1100px, calc(100% - 32px)); height: 64px; display: flex; align-items: center; gap: 24px;
  padding: 0 12px 0 16px; border: 1px solid var(--line); border-radius: 18px;
  background: #0c0d16b8; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: 0.26em; font-size: 1rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; color: #c7c9d6; font-size: 0.86rem; }
.nav nav a:hover { color: #fff; }
.nav-cta { padding: 11px 18px; border-radius: 11px; background: #f5f4fb; color: #12121c; font-size: 0.86rem; font-weight: 750; white-space: nowrap; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  padding: 150px 20px 70px; text-align: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, #7668e83a, transparent 42%),
    radial-gradient(circle at 80% 70%, #ffd9a812, transparent 30%),
    var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(#ffffff1f 1px, transparent 1.2px); background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 35%, #000 0, transparent 70%);
}
.pill {
  position: relative; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px;
  padding: 7px 16px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: #ffffff08;
  color: #c9cbd8; font-size: 0.8rem;
}
.pill b { padding: 5px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--violet), #5b4fd6); color: #fff; font-size: 0.72rem; }
.hero h1 { position: relative; margin: 0; font-size: clamp(2.9rem, 7vw, 6.4rem); line-height: 0.98; letter-spacing: -0.055em; }
.hero h1 span { background: linear-gradient(90deg, #fff, var(--violet-2) 50%, var(--peach)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { position: relative; max-width: 640px; margin: 26px auto 32px; color: #c4c7d4; font-size: 1.08rem; line-height: 1.7; }
.actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 13px; font-size: 0.93rem; font-weight: 750; border: 1px solid transparent; cursor: pointer;
}
.button-primary { background: linear-gradient(135deg, #8576f2, #5b4fd6); box-shadow: 0 14px 40px #7668e855; color: #fff; }
.button-ghost { border-color: #ffffff26; background: #ffffff0b; }
.button small { font-weight: 500; opacity: 0.7; }

/* Phones */
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 26px; margin-top: 70px; width: var(--shell); }
.stage::before { content: ''; position: absolute; inset: 20% 15% 0; background: #7668e855; filter: blur(80px); border-radius: 50%; }
.phone {
  position: relative; width: min(270px, 30vw); aspect-ratio: 390 / 844; border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, #2a2b38, #12131b); border: 1px solid #ffffff22; box-shadow: 0 40px 100px #000b;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }
.phone.side { transform: translateY(40px) scale(0.92); opacity: 0.92; }

/* Sections */
section { position: relative; }
.shell { width: var(--shell); margin: 0 auto; }
.section { padding: 110px 0; }
.eyebrow { margin: 0 0 14px; color: var(--violet-2); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.22em; text-transform: uppercase; }
.section h2 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.05; }
.section .sub { max-width: 620px; margin: 0 0 48px; color: var(--muted); line-height: 1.7; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.card .icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 13px; background: #7668e826; font-size: 1.3rem; }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

.spotlight {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 48px;
  border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(circle at 85% 20%, #7668e840, transparent 50%), var(--bg-2);
}
.spotlight .big { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; margin: 0 0 18px; }
.bubble { padding: 18px 20px; border-radius: 20px; background: #ffffff0d; border: 1px solid var(--line); margin-bottom: 12px; }
.bubble b { display: block; margin-bottom: 4px; }
.bubble span { color: var(--muted); font-size: 0.92rem; }
.rsvp { display: flex; gap: 8px; margin-top: 12px; }
.rsvp i { font-style: normal; padding: 7px 13px; border-radius: 999px; font-size: 0.82rem; font-weight: 650; background: #ffffff10; }
.rsvp i.on { background: var(--violet); }

/* Install */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.install .card { padding: 32px; }
.install h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.install ol { margin: 18px 0 26px; padding-left: 20px; color: var(--muted); line-height: 1.9; }
.install ol b { color: var(--text); }
.tag { padding: 4px 9px; border-radius: 999px; background: #ffffff12; color: var(--muted); font-size: 0.7rem; font-weight: 650; letter-spacing: 0.06em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--violet-2); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; max-width: 760px; }

footer { padding: 50px 0 60px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.86rem; }
footer .shell { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--text); }

/* Simple centered pages (link landing, privacy) */
.page { min-height: 100vh; display: grid; place-items: center; padding: 120px 20px 60px; background: radial-gradient(circle at 50% 20%, #7668e833, transparent 45%), var(--bg); }
.panel { width: min(480px, 100%); padding: 34px 28px; border: 1px solid var(--line); border-radius: 28px; background: #12131bcc; text-align: center; }
.panel .avatar { width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), #5b4fd6); font-size: 2rem; font-weight: 800; }
.panel h1 { margin: 0 0 10px; font-size: 1.7rem; letter-spacing: -0.03em; }
.panel p { margin: 0 0 26px; color: var(--muted); line-height: 1.6; }
.panel .button { width: 100%; margin-top: 10px; }
.panel .hint { margin-top: 22px; font-size: 0.82rem; color: var(--faint); }
.prose { width: min(760px, 100%); color: var(--muted); line-height: 1.75; }
.prose h1 { color: var(--text); font-size: 2.4rem; letter-spacing: -0.04em; margin: 0 0 8px; }
.prose h2 { color: var(--text); font-size: 1.15rem; margin: 36px 0 8px; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav-cta { margin-left: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .spotlight, .install { grid-template-columns: 1fr; }
  .spotlight { padding: 30px; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .phone.side { display: none; }
  .phone { width: min(280px, 78vw); }
  .section { padding: 80px 0; }
  .hero { padding-top: 130px; }
  .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
