/* ==========================================================================
   QASC 2026 — Shared Stylesheet
   International Conference on Quantum Enhanced AI & Secure Computing
   ========================================================================== */

:root {
  --navy-950: #1f3100;
  --navy-900: #2f4700;
  --navy-800: #10193f;
  --navy-700: #172352;
  --navy-600: #202f6b;
  --cyan-300: #90EE90;
  --cyan-400: #B8E6B8;
  --cyan-500: #90EE90;
  --violet-400: #90EE90;
  --violet-500: #b5db2d;
  --violet-600: #8aa81b;
  --ink: #101425;
  --ink-soft: #3c4160;
  --slate-500: #64708a;
  --slate-200: #dfe4f0;
  --paper: #f6f8fc;
  --white: #ffffff;
  --gold: #f2b84b;

  --grad-brand: linear-gradient(120deg, var(--cyan-400) 0%, var(--violet-500) 100%);
  --grad-hero: radial-gradient(circle at 15% 15%, rgba(56, 211, 234, 0.28), transparent 45%),
               radial-gradient(circle at 85% 25%, rgba(139, 92, 246, 0.3), transparent 45%),
               linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 10px 30px -12px rgba(10, 19, 48, 0.25);
  --shadow-card-hover: 0 18px 40px -14px rgba(10, 19, 48, 0.35);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Sora", "Inter", sans-serif;
  color: var(--navy-950);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--cyan-500); text-decoration: none; }
a:hover { color: var(--violet-600); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-500);
  background: rgba(56, 211, 234, 0.1);
  border: 1px solid rgba(56, 211, 234, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: var(--navy-950);
  box-shadow: 0 10px 24px -8px rgba(139, 92, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); color: var(--navy-950); box-shadow: 0 14px 30px -8px rgba(139, 92, 246, 0.65); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--slate-200);
}
.btn-outline:hover { border-color: var(--cyan-500); color: var(--cyan-500); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: var(--navy-950);
  font-size: 0.85rem;
}
.brand small { display: block; font-weight: 500; font-size: 0.65rem; color: var(--cyan-300); letter-spacing: 0.12em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan-300); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-950); flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 14px; display: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-cta.open { display: flex; flex-direction: column; align-items: stretch; width: 100%; padding: 0 24px 18px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    color: var(--white); font-size: 1.1rem; cursor: pointer;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-hero);
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 780px; }
.hero .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 14px; }
.hero .lede { color: var(--cyan-300); font-size: 1.15rem; font-weight: 600; margin-bottom: 22px; }
.hero .desc { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 620px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 26px 0 32px;
}
.hero-meta span {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 16px; border-radius: 999px;
  font-size: 0.85rem; color: var(--white); font-weight: 500;
  letter-spacing: 0.02em;
}

.countdown {
  display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap;
}
.countdown .cd-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 78px;
  text-align: center;
}
.countdown .cd-num {
  font-family: "Sora", sans-serif;
  font-size: 1.8rem; font-weight: 700; color: var(--cyan-300);
  display: block;
}
.countdown .cd-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.65); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats .stat-num { font-family: "Sora", sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--white); }
.hero-stats .stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

/* ---------- Page header (non-home) ---------- */
.page-hero {
  background: var(--grad-hero);
  color: var(--white);
  padding: 64px 0 54px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 620px; margin: 10px auto 0; }
.breadcrumb { font-size: 0.82rem; color: var(--cyan-300); margin-bottom: 14px; }
.breadcrumb a { color: var(--cyan-300); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card .icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 16px; color: var(--navy-950); font-weight: 700;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 0.93rem; margin-bottom: 0; }
.card a.card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.88rem; }

.link-card { display: block; color: inherit; }
.link-card:hover { color: inherit; }

/* ---------- Explore cards (home) ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .explore-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline (Important Dates) ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 20px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--cyan-400), var(--violet-500));
}
.tl-item { position: relative; padding: 0 0 34px 58px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 11px; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--cyan-500);
}
.tl-item.is-final .tl-dot { border-color: var(--violet-500); }
.tl-date { font-weight: 700; color: var(--navy-900); font-family: "Sora", sans-serif; }
.tl-title { font-weight: 600; margin: 2px 0 4px; }
.tl-desc { font-size: 0.92rem; color: var(--slate-500); margin: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--slate-200); }
table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 480px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--slate-200); font-size: 0.93rem; }
th { background: var(--navy-950); color: var(--white); font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: none; }
td.price { font-weight: 700; color: var(--navy-900); }

/* ---------- Pricing / tier cards ---------- */
.tier-card { position: relative; border-radius: var(--radius-lg); padding: 30px; background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-card); }
.tier-card.featured { border-color: var(--violet-400); box-shadow: 0 18px 40px -14px rgba(139,92,246,0.35); }
.tier-badge { position: absolute; top: -13px; right: 26px; background: var(--grad-brand); color: var(--navy-950); font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.tier-price { font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 700; color: var(--navy-950); margin: 6px 0 18px; }
.tier-price span { font-size: 0.9rem; color: var(--slate-500); font-weight: 500; }
.tier-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tier-list li { font-size: 0.9rem; color: var(--ink-soft); padding-left: 24px; position: relative; }
.tier-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan-500); font-weight: 700; }

/* ---------- Committee ---------- */
.person-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 22px; text-align: center; box-shadow: var(--shadow-card); }
.avatar-ring {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--grad-brand); display: flex; align-items: center; justify-content: center;
  color: var(--navy-950); font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.2rem;
}
.person-card h4 { margin-bottom: 2px; font-size: 1rem; }
.person-role { color: var(--cyan-500); font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; }
.person-affil { font-size: 0.82rem; color: var(--slate-500); }

.committee-list-plain { columns: 2; column-gap: 40px; }
@media (max-width: 700px) { .committee-list-plain { columns: 1; } }
.committee-list-plain li { break-inside: avoid; margin-bottom: 10px; font-size: 0.93rem; color: var(--ink-soft); }
.committee-list-plain b { color: var(--navy-900); }

/* ---------- Agenda ---------- */
.day-tabs { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.day-tab {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--slate-200);
  background: var(--white); font-weight: 600; font-size: 0.88rem; cursor: pointer; color: var(--ink-soft);
}
.day-tab.active { background: var(--navy-950); color: var(--white); border-color: var(--navy-950); }
.agenda-day { display: none; }
.agenda-day.active { display: block; }
.agenda-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--slate-200);
  align-items: start;
}
.agenda-row:last-child { border-bottom: none; }
.agenda-time { font-family: "Sora", sans-serif; font-weight: 700; color: var(--cyan-500); font-size: 0.92rem; }
.agenda-title { font-weight: 600; margin-bottom: 2px; }
.agenda-speaker { font-size: 0.88rem; color: var(--slate-500); }
@media (max-width: 600px) { .agenda-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Venue ---------- */
.venue-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.venue-map { height: 190px; background: var(--grad-hero); display: flex; align-items: center; justify-content: center; color: var(--cyan-300); font-family: "Sora", sans-serif; font-weight: 700; letter-spacing: 0.06em; font-size: 0.85rem; text-transform: uppercase; }
.venue-body { padding: 26px; }
.venue-body .addr { font-size: 0.9rem; color: var(--slate-500); margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq-cat { margin-bottom: 30px; }
.faq-cat h3 { color: var(--violet-600); font-size: 1.05rem; margin-bottom: 14px; }
.faq-item { border: 1px solid var(--slate-200); border-radius: var(--radius-md); background: var(--white); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 16px 20px; font-weight: 600; font-size: 0.95rem; color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: inherit;
}
.faq-q::after { content: "+"; font-size: 1.3rem; color: var(--cyan-500); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; padding: 0 20px; transition: max-height 0.25s ease, padding 0.25s ease; }
.faq-item.open .faq-a { max-height: 260px; padding: 0 20px 18px; }
.faq-a p { margin: 0; font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-hero);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 0 24px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Misc content blocks ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.stat-block { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; text-align: center; margin-top: 40px; }
@media (max-width: 700px) { .stat-block { grid-template-columns: repeat(2,1fr); } }
.stat-block .num { font-family: "Sora", sans-serif; font-size: 2.1rem; font-weight: 700; color: var(--navy-950); }
.stat-block .label { font-size: 0.85rem; color: var(--slate-500); }

.note-box {
  background: rgba(56,211,234,0.08); border: 1px solid rgba(56,211,234,0.3);
  border-radius: var(--radius-md); padding: 18px 22px; font-size: 0.93rem; color: var(--navy-800);
}

.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { color: var(--ink-soft); }
.prose p { color: var(--ink-soft); }

.legal-updated { color: var(--slate-500); font-size: 0.88rem; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 64px 0 0; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,0.68); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--cyan-300); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a { color: rgba(255,255,255,0.55); }

@media (max-width: 640px) {
  section { padding: 52px 0; }
  .hero { padding: 64px 0 44px; }
}
