/* =============================================
   QCon Sponsor Guide — Dark professional theme
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper:    #111118;
  --surface:  #1A1A24;
  --surface2: #22222F;
  --surface3: #2A2A3C;
  --border:   #2A2A3A;
  --text:     #E2E2EC;
  --text-muted: #8888A8;
  --accent:   #7C6CF5;
  --accent2:  #5EEAD4;
  --accent3:  #F472B6;
  --before:   #7C6CF5;
  --during:   #5EEAD4;
  --after:    #FB923C;
  --warning:  #FBBF24;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.brand-q  { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.brand-con { font-weight: 700; font-size: 1.1rem; }
.brand-divider {
  width: 1px; height: 18px;
  background: var(--border);
  margin: 0 4px;
}
.brand-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 400; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface2);
}

/* ── NAV LOGO ── */
.nav-logo {
  height: 28px;
  width: auto;
  display: block;
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 120px 24px 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,17,24,0.72) 0%,
    rgba(17,17,24,0.60) 50%,
    rgba(17,17,24,0.92) 100%
  );
}

.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(124,108,245,0.15);
  border: 1px solid rgba(124,108,245,0.35);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #E2E2EC 30%, #9D8FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.hero-phases {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.phase-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.phase-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  text-decoration: none;
}
.phase-chip .phase-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
}
.phase-before .phase-num  { background: rgba(124,108,245,0.2); color: var(--before); }
.phase-during .phase-num  { background: rgba(94,234,212,0.2);  color: var(--during); }
.phase-after  .phase-num  { background: rgba(251,146,60,0.2);  color: var(--after);  }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

/* ── INTRO ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.intro-copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.intro-copy p:last-child { margin-bottom: 0; }

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

.info-card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.guide-phases-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-phases-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.dot-before { background: var(--before); }
.dot-during { background: var(--during); }
.dot-after  { background: var(--after);  }

.guide-phases-list strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.guide-phases-list span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── PHASE HEADERS ── */
.phase-header {
  margin-bottom: 48px;
}

.phase-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.phase-tag-before { background: rgba(124,108,245,0.15); color: var(--before); }
.phase-tag-during { background: rgba(94,234,212,0.15);  color: var(--during); }
.phase-tag-after  { background: rgba(251,146,60,0.15);  color: var(--after);  }

.phase-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ── CARDS ── */
.sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.card-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--surface3);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.card-header h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Wide card (conduct / full-width) spans full width */
.guide-card-conduct,
.guide-card-full {
  grid-column: 1 / -1;
}

/* ── LISTS ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  color: var(--accent2);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.8rem;
}

/* ── CALLOUTS ── */
.callout {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.callout p { margin-top: 8px; color: inherit; opacity: 0.85; }
.callout strong { display: block; margin-bottom: 6px; }
.callout ul { list-style: none; margin-top: 8px; }
.callout ul li { padding: 3px 0; }
.callout ul li::before { content: '• '; opacity: 0.6; }

.callout-info {
  background: rgba(94,234,212,0.08);
  border: 1px solid rgba(94,234,212,0.2);
  color: #9DE8D8;
}
.callout-warning {
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.2);
  color: #F6D860;
}
.callout-highlight {
  background: rgba(124,108,245,0.1);
  border: 1px solid rgba(124,108,245,0.25);
  color: #B8AFFF;
}

/* ── SUBSECTION ── */
.subsection {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}
.subsection h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ── TIER LIST ── */
.tier-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.tier {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}
.tier-platinum { background: rgba(124,108,245,0.12); border: 1px solid rgba(124,108,245,0.25); }
.tier-silver   { background: rgba(160,160,180,0.08); border: 1px solid rgba(160,160,180,0.2);  }
.tier-bronze   { background: rgba(251,146,60,0.1);   border: 1px solid rgba(251,146,60,0.25);  }

/* ── DURING ── */
.during-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.during-intro .lead {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.65;
}
.during-intro p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── AFTER ── */
.after-checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.checklist-item:last-child { border-bottom: none; }

.checklist-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border-radius: 10px;
}

.checklist-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.checklist-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── IMAGES ── */
.img-block {
  margin-top: 48px;
}
.img-block-mt {
  margin-top: 40px;
  margin-bottom: 8px;
}
.img-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.img-rounded {
  border-radius: var(--radius);
}
.img-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 10px;
}
.img-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.img-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
  display: block;
  min-height: 200px;
}
.img-card .img-caption {
  padding: 12px 16px;
  text-align: left;
  border-top: 1px solid var(--border);
}
.sections-grid-mt {
  margin-top: 20px;
}

/* ── FOOTER ── */
.site-footer {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 32px;
  width: auto;
  display: block;
}
.site-footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .sections-grid {
    grid-template-columns: 1fr;
  }
  .guide-card-conduct {
    grid-column: 1;
  }
  .hero {
    padding: 64px 24px 56px;
  }
  .nav-links {
    display: none;
  }
  .section {
    padding: 56px 0;
  }
  .during-intro {
    padding: 20px;
  }
  .checklist-item {
    padding: 20px;
  }
}
