/* FONT + RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Poppins", "Segoe UI", sans-serif;
  background: #050816;
  color: #f9fafb;
  line-height: 1.5;
}

/* COLORS & UTILITIES */

:root {
  --bg-main: #050816;
  --bg-alt: #0b1020;
  --bg-soft: #111827;
  --accent: #1e40af;
  --accent-soft: rgba(255, 90, 95, 0.12);
  --border-subtle: #1f2937;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.75));
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
}

.brand span {
  color: var(--accent); 
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  height: 2px;
  width: 18px;
  background: var(--accent);
  border-radius: 999px;
}

/* Simple mobile nav: stack links */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
  background-image: radial-gradient(circle at top left, rgba(255, 90, 95, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.8);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-eyebrow span.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.04em;
}

.hero h1 span.highlight {
  color: var(--accent);
}

.hero p.lead {
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #111827;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero card (right side) */

.hero-card {
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.05), transparent 50%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.hero-card h2 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-card-item {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.hero-card-item:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.hero-card-item-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.hero-card-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Cards grid */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: var(--bg-alt);
  border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.4rem 1.3rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.card-tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-footer-link {
  font-size: 0.8rem;
  color: var(--accent);
}

/* Avatars */

.avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, var(--accent), #4f46e5, #06b6d4, var(--accent));
  padding: 2px;
  margin: 0 auto 0.75rem;
  display: flex;
}

.avatar-inner {
  flex: 1;
  border-radius: 999px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.text-muted {
  color: var(--text-muted);
}

/* Page header (for inner pages) */

.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top center, rgba(15, 23, 42, 0.8), transparent 55%);
}

.page-hero-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.page-hero-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Event / Speaker details */

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.7fr);
  gap: 2rem;
}

@media (max-width: 960px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.detail-block {
  background: var(--bg-alt);
  border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.4rem;
}

.detail-block h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.7rem;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-item {
  position: relative;
  padding-bottom: 70%;
  border-radius: 0.8rem;
  overflow: hidden;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

/* For now just gradient blocks; replace with <img> later */

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}



