/* ── Screen-reader utility ────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:        #572e88;
  --accent:         #efab45;
  --bg:             #07060f;
  --surface:        #0f0e1c;
  --surface-warm:   rgba(239, 171, 69, 0.05);
  --surface-cool:   rgba(87, 46, 136, 0.1);
  --border:         rgba(255, 255, 255, 0.06);
  --border-accent:  rgba(239, 171, 69, 0.4);
  --border-purple:  rgba(87, 46, 136, 0.5);
  --text:           #f0ecf8;
  --text-muted:     #7a7490;
  --grid-line:      rgba(255, 255, 255, 0.045);
  --grid-dot:       rgba(255, 255, 255, 0.12);
  --glow-purple:    0 0 40px rgba(87, 46, 136, 0.45), 0 0 100px rgba(87, 46, 136, 0.12);
  --glow-accent:    0 0 40px rgba(239, 171, 69, 0.35), 0 0 100px rgba(239, 171, 69, 0.1);
}

html {
  height: 100%;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
}

body {
  min-height: 100%;
  font-family: inherit;
  background: var(--bg);
  color: inherit;
}

/* ── Grid Background ──────────────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('Grid-Glow-Purple.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.03;
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.2rem 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 6, 15, 0.8);
  backdrop-filter: blur(14px);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

.nav-logo-box {
  position: relative;
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--text);
  line-height: 1;
}


.nav-links {
  display: flex;
  gap: 3.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-end;
}

.nav-login {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--text);
}

.btn--signup {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  border-radius: 6px;
  background: var(--accent);
  color: #1a1008;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
}

.btn--signup:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 57px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 5rem;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Logo Mark ────────────────────────────────────────────── */
.logo-mark-img {
  height: 160px;
  width: auto;
}

.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 12px;
}


/* ── Eyebrow ──────────────────────────────────────────────── */
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ── Title ────────────────────────────────────────────────── */
.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-title--accent {
  color: var(--accent);
}

/* ── Subtitle ─────────────────────────────────────────────── */
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 3.5rem;
  font-weight: 400;
}

/* ── CTA Cards ────────────────────────────────────────────── */
.cta-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.card {
  position: relative;
  border-radius: 14px;
  padding: 2.25rem 2rem 2rem;
  width: 100%;
  max-width: 340px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card--org {
  background: rgba(15, 14, 28, 0.92);
  border: 1px solid rgba(239, 171, 69, 0.3);
  backdrop-filter: blur(10px);
}

.card--performer {
  background: rgba(15, 14, 28, 0.92);
  border: 1px solid rgba(87, 46, 136, 0.5);
  backdrop-filter: blur(10px);
}

.card--org:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-accent);
  border-color: rgba(239, 171, 69, 0.4);
}

.card--performer:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-purple);
  border-color: rgba(87, 46, 136, 0.7);
}

/* Blueprint corner brackets */
.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-style: solid;
  border-width: 0;
}

.card--org .corner  { border-color: rgba(239, 171, 69, 0.5); }
.card--performer .corner { border-color: rgba(87, 46, 136, 0.7); }

.corner--tl { top: -1px; left: -1px;   border-top-width: 1.5px; border-left-width: 1.5px; }
.corner--tr { top: -1px; right: -1px;  border-top-width: 1.5px; border-right-width: 1.5px; }
.corner--bl { bottom: -1px; left: -1px;  border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner--br { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ── Card Icon ────────────────────────────────────────────── */
.card-icon-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.card-icon--org {
  background: rgba(239, 171, 69, 0.12);
  color: var(--accent);
}

.card-icon--performer {
  background: rgba(87, 46, 136, 0.25);
  color: #b89fe0;
}

/* ── Card Content ─────────────────────────────────────────── */
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.875rem;
  color: #a89ec0;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link:hover {
  opacity: 0.7;
}

.card-link--org      { color: var(--accent); }
.card-link--performer { color: var(--text); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 680px) {
  .nav {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    gap: 1.5rem;
  }

  .nav-actions {
    justify-content: flex-end;
  }

  .hero {
    padding: 2.5rem 1rem 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .cta-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
  }
}
