/* ewent.app web — same palette and type as the app (src/theme/palette.ts). */
:root {
  --bg: #080b18;
  --surface: #11162a;
  --elevated: #18203a;
  --text: #f4f5ff;
  --muted: #929db8;
  --accent: #b9c3ff;
  --blue: #6978ff;
  --violet: #927dff;
  --cyan: #62d9ff;
  --success: #6fd0b6;
  --border: rgba(205, 214, 255, .15);
  --glass: rgba(24, 31, 60, .62);
  --action: linear-gradient(135deg, #4d5bcb, #6651c9 55%, #4b5cce);
  --radius: 22px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Ambient glows like the app's backdrop. */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  background:
    radial-gradient(40vmax 32vmax at 22% 12%, rgba(105, 120, 255, .26), transparent 70%),
    radial-gradient(36vmax 30vmax at 88% 72%, rgba(146, 125, 255, .18), transparent 70%),
    radial-gradient(28vmax 22vmax at 6% 64%, rgba(98, 217, 255, .08), transparent 70%);
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(2vmax, 1.5vmax, 0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } html { scroll-behavior: auto; } }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(8, 11, 24, .62); border-bottom: 1px solid rgba(205, 214, 255, .08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: rgba(244, 245, 255, .72); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 600; font-size: 15px; letter-spacing: .2px; color: var(--text); border: 1px solid transparent; transition: transform .15s ease, filter .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); }
.btn-primary { background: var(--action); box-shadow: 0 10px 30px rgba(77, 91, 203, .35); }
.btn-glass { background: var(--glass); border-color: var(--border); }
.btn small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.1; }
.btn .label { text-align: left; line-height: 1.2; }
.nav .btn { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; font-weight: 500; margin: 0 0 18px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 84px); line-height: 1.02; letter-spacing: -1.5px; font-style: italic; }
h1 em { color: #c7ceff; font-style: italic; }
.lead { color: rgba(244, 245, 255, .7); font-size: clamp(17px, 1.6vw, 20px); max-width: 34ch; margin: 22px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 13px; margin-top: 16px; }
.lock { display: inline-flex; align-items: center; gap: 6px; }

/* Event card mock, drawn like the feed card */
.stage { position: relative; }
.stage::after { content: ""; position: absolute; inset: 12% 8%; background: radial-gradient(closest-side, rgba(105, 120, 255, .35), transparent); filter: blur(40px); z-index: -1; }
.card { background: rgba(24, 31, 60, .72); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
/* Two cards fanned out without hiding each other's details. */
.stage .card:first-child { margin-right: 56px; transform: rotate(-1.5deg); }
.card + .card { margin-top: 18px; margin-left: 56px; transform: rotate(1.5deg); opacity: .92; }
.cover { height: 170px; position: relative; background:
  radial-gradient(120px 80px at 30% 40%, rgba(98, 217, 255, .35), transparent 70%),
  radial-gradient(160px 120px at 75% 60%, rgba(146, 125, 255, .45), transparent 70%),
  linear-gradient(135deg, #1b2450, #2a1f56); }
.cover.alt { background:
  radial-gradient(140px 90px at 70% 35%, rgba(111, 208, 182, .3), transparent 70%),
  radial-gradient(160px 120px at 25% 70%, rgba(105, 120, 255, .45), transparent 70%),
  linear-gradient(135deg, #142a3a, #1c2350); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 11, 24, .9), transparent 60%); }
.tag { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 12px; color: rgba(244, 245, 255, .8); display: flex; align-items: center; gap: 6px; }
.pill { position: absolute; right: 14px; top: 14px; z-index: 1; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(16, 185, 129, .18); border: 1px solid rgba(52, 211, 153, .4); color: #6ee7b7; }
.pill.wait { background: rgba(245, 158, 11, .16); border-color: rgba(251, 191, 36, .32); color: #fcd34d; }
.card .body { padding: 16px 18px 18px; }
.card h3 { font-size: 21px; font-weight: 300; }
.meta { color: rgba(244, 245, 255, .5); font-size: 13px; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 13px; color: rgba(244, 245, 255, .55); }
.avatars { display: flex; }
.avatars span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #18203a; margin-left: -6px; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.avatars span:last-child { background: linear-gradient(135deg, var(--violet), #c084fc); }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: -.6px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.tile { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tile h3 { font-size: 22px; margin: 14px 0 8px; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(105, 120, 255, .14); border: 1px solid rgba(105, 120, 255, .3); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }
.step { font-family: "Fraunces", serif; font-style: italic; color: var(--accent); font-size: 15px; }

/* Trust band */
.band { background: linear-gradient(135deg, rgba(77, 91, 203, .22), rgba(146, 125, 255, .12)); border: 1px solid rgba(105, 120, 255, .3); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.band li { display: flex; gap: 10px; color: rgba(244, 245, 255, .82); }
.band li::before { content: "✓"; color: var(--success); font-weight: 700; }
.quote { font-family: "Fraunces", serif; font-style: italic; font-size: 22px; line-height: 1.45; color: rgba(244, 245, 255, .88); border-left: 2px solid var(--violet); padding-left: 18px; margin: 18px 0 0; }

/* Download */
.download { text-align: center; }
.download .actions { justify-content: center; margin-top: 28px; }
.download .icon-app { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 16px 40px rgba(77, 91, 203, .4); }

/* Footer */
footer { border-top: 1px solid rgba(205, 214, 255, .08); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: rgba(244, 245, 255, .7); }

/* Legal pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-style: normal; }
.doc .stamp { color: var(--muted); font-size: 14px; margin: 12px 0 32px; }
.doc .content { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.doc .content h2 { font-size: 24px; margin: 28px 0 10px; }
.doc .content h2:first-child { margin-top: 0; }
.doc .content p, .doc .content li { color: rgba(244, 245, 255, .8); }
.doc .content ul { padding-left: 20px; }
.doc .others { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.doc .others a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass); color: rgba(244, 245, 255, .8); font-size: 14px; }
.doc .others a[aria-current] { border-color: rgba(105, 120, 255, .55); color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap, .band { grid-template-columns: 1fr; }
  .stage { max-width: 420px; margin: 0 auto; width: 100%; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .band { padding: 28px; }
  section { padding: 52px 0; }
}

/* Store buttons before the apps are published */
.store[aria-disabled="true"] { cursor: default; opacity: .75; }
.store[aria-disabled="true"]:hover { transform: none; filter: none; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: rgba(244, 245, 255, .7); font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(8, 11, 24, .55); border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px; outline: none; }
.form textarea { resize: vertical; min-height: 140px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: rgba(105, 120, 255, .65); box-shadow: 0 0 0 3px rgba(105, 120, 255, .18); }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { font-size: 12px; color: var(--muted); margin: 0; }
.form button { justify-self: start; cursor: pointer; font-family: inherit; }
.form button:disabled { opacity: .6; cursor: default; transform: none; }
.status { margin: 0; font-size: 14px; min-height: 1.4em; color: var(--muted); }
.status.ok { color: var(--success); }
.status.error { color: #f39baf; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }
