/* ---------------------------------------------------------------------
   Gather Point marketing site - reuses the exact same tokens as the two
   apps this promotes (admin-web / attendee-web), rather than inventing a
   third visual identity for the same brand. The hero deliberately uses the
   same dark palette as attendee-web's own entry screen - the first thing
   a visitor sees here is the same aesthetic as the first thing a real
   attendee sees seconds after clicking through, not just a colour
   reference to it.
--------------------------------------------------------------------- */
:root {
  --paper: #f7f6fb;
  --surface: #ffffff;
  --border: #e3e0ee;
  --ink: #1e1b2e;
  --ink-muted: #6e6a80;
  --accent: #5b4fe0;
  --accent-hover: #4a3fc7;
  --accent-tint: #ebe9fb;
  --teal: #14b8a6;
  --dark-bg: #100c22;
  --dark-surface: #1a1533;
  --dark-border: #2f2a52;
  --dark-ink: #f5f3ff;
  --dark-muted: #a79fc9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-md: 0 8px 24px rgba(30, 27, 46, 0.08), 0 2px 6px rgba(30, 27, 46, 0.04);
  --shadow-lg: 0 24px 60px rgba(16, 12, 34, 0.16);
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-inner.narrow {
  max-width: 720px;
  text-align: center;
}

.section {
  padding: 88px 0;
}

.section-heading {
  font-size: 32px;
  text-align: center;
  margin: 0 0 44px;
}

.section-lead {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0 0 32px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(16, 12, 34, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: #ffffff;
}

.header-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.btn-utility {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #f5f3ff;
  text-align: center;
}

.btn-utility:hover {
  border-color: var(--accent);
  background: rgba(91, 79, 224, 0.15);
}

/* --- Hero --- */
.hero {
  background:
    radial-gradient(ellipse 900px 500px at 20% -10%, #241d4a 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 10%, #16352f 0%, transparent 55%),
    var(--dark-bg);
  padding: 80px 0 100px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark-muted);
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-screenshot {
  width: 280px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(91, 79, 224, 0.12);
}

.hero-video-trigger {
  position: relative;
  display: inline-block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 28px;
}

.hero-video-trigger .hero-screenshot {
  display: block;
  transition: filter 0.2s ease;
}

.hero-video-trigger:hover .hero-screenshot {
  filter: brightness(0.85);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 12, 34, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.play-button svg { margin-left: 3px; }

.hero-video-trigger:hover .play-button {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(16, 12, 34, 0.85);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open { display: flex; }

.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.video-modal-close:hover { background: rgba(255, 255, 255, 0.22); }

.video-modal-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Buttons --- */
.btn-primary-lg {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

.btn-primary-lg:hover { opacity: 0.92; }

.btn-ghost-lg {
  display: inline-block;
  padding: 15px 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-ink);
}

.btn-ghost {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* --- Problem section --- */
.section-problem h2 {
  font-size: 30px;
  text-align: center;
  margin: 0 0 48px;
  line-height: 1.3;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.problem-item p { margin: 0; line-height: 1.6; }

.problem-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 8px !important;
}

.problem-item p:last-child { color: var(--ink-muted); font-size: 15px; }

/* --- Features --- */
.section-features { background: var(--surface); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
}

.feature-card p:last-child { color: var(--ink-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* --- Showcase --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.showcase-item-wide { grid-row: span 2; }

.showcase-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.showcase-item img { width: 100%; max-width: 280px; display: block; margin: 0 auto; }

.showcase-item figcaption {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  text-align: center;
}

/* --- Admin panel section --- */
.section-admin { background: var(--surface); }

/* --- Admin showcase --- */
.admin-showcase {
  max-width: 900px;
  margin: 0 auto;
}

.admin-showcase img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: block;
}

.admin-showcase-copy {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

/* --- Who it's for --- */
.section-who { background: var(--surface); }

/* --- Pricing --- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  margin-bottom: 24px;
}

.pricing-rate {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 8px;
}

.pricing-rate span {
  font-size: 44px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-note {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 32px;
}

.pricing-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.pricing-example {
  padding: 18px;
  background: var(--paper);
  border-radius: var(--radius-sm);
}

.pricing-example-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 10px;
  line-height: 1.4;
}

.pricing-example-label span { display: block; font-size: 12px; }

.pricing-example-sum {
  font-family: var(--font-display);
  font-size: 15px;
  margin: 0;
}

.pricing-example-sum strong { color: var(--accent); }

.pricing-setup {
  background: var(--accent-tint);
  border-radius: var(--radius);
  padding: 28px;
}

.pricing-setup-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 6px;
}

.pricing-setup p:not(.pricing-setup-title) {
  color: var(--ink-muted);
  font-size: 14px;
  margin: 0 0 16px;
}

.pricing-scale {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px;
  margin-bottom: 24px;
}

.pricing-scale-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 10px;
}

.pricing-scale-rate {
  font-family: var(--font-display);
  font-size: 15px;
  margin: 0 0 18px;
}

.pricing-scale-rate span {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-scale .pricing-example {
  margin-bottom: 16px;
}

.pricing-scale-note {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 16px;
}

.pricing-scale-cta {
  text-align: center;
}

/* --- Demo --- */
.section-demo {
  background: var(--dark-bg);
}

.section-demo h2, .section-demo .section-lead { color: #ffffff; }
.section-demo .section-lead { color: var(--dark-muted); }

/* --- Final CTA --- */
.section-cta { text-align: center; }
.section-cta h2 { font-size: 32px; margin-bottom: 12px; }

/* --- Footer --- */
.site-footer {
  background: var(--dark-bg);
  padding: 40px 32px;
  border-top: 1px solid var(--dark-border);
  color-scheme: dark;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
}

.footer-logo { width: 22px; height: 22px; object-fit: contain; }

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--dark-muted);
}

.footer-links a:hover { color: #ffffff; }

.footer-legal {
  max-width: 1100px;
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
  font-size: 12px;
  line-height: 1.6;
  color: #cfc9e6;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-screenshot { width: 220px; }
  .play-button { width: 52px; height: 52px; }
  .play-button svg { width: 22px; height: 22px; }
  .problem-grid, .features-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item-wide { grid-row: auto; }
  .pricing-examples { grid-template-columns: 1fr; }
  .section-heading { font-size: 26px; }
  .hero h1 { font-size: 32px; }
  .site-header { padding: 14px 18px; }
  .header-actions { gap: 6px; }
  .btn-utility { padding: 7px 12px; font-size: 12px; }
  .footer-legal { font-size: 13px; }
}
