/* ------------------------------------------------------------------
   Sarbat AI Conference — prototype stylesheet
   Theme: deep midnight base, restrained saffron/gold accent (a subtle
   nod to Sikh tradition without being literal), modern tech-conference
   typography and grid system.
------------------------------------------------------------------- */

:root {
  --bg: #07091200;
  --bg-base: #070912;
  --bg-1: #0b1020;
  --bg-2: #10162a;
  --bg-3: #161d36;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --text: #e7ecf5;
  --text-dim: #a4adc2;
  --text-mute: #6b7691;

  --accent: #d4a24c;          /* restrained saffron / gold */
  --accent-soft: #e8c179;
  --accent-deep: #8a6420;
  --tech: #5b8def;            /* electric tech blue */
  --tech-soft: #88aaff;

  --radius: 14px;
  --radius-lg: 22px;

  --container: 1180px;
  --pad: clamp(20px, 4vw, 40px);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(1200px 600px at 50% -200px, rgba(91,141,239,0.15), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(212,162,76,0.07), transparent 70%),
    linear-gradient(180deg, #070912 0%, #090d1c 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

main, header, footer { position: relative; z-index: 1; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ----------------------------- Typography ----------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5.8vw, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.1; }
h3 { font-size: 1.18rem; line-height: 1.3; }

p { margin: 0 0 1em; color: var(--text-dim); }

em { font-style: italic; color: var(--accent-soft); }

.lead { font-size: 1.13rem; color: var(--text); }

.grad-text {
  background: linear-gradient(120deg, #ffffff 0%, #c8d6ff 40%, #88aaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* ----------------------------- Header / Nav ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8, 11, 22, 0.55);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  margin-top: 5px;
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
}
.site-nav a {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

/* ----------------------------- Buttons ----------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s, color 0.2s;
  text-align: center;
  line-height: 1;
}

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #1c1305;
  box-shadow: 0 10px 30px -10px rgba(212, 162, 76, 0.45);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--text-mute); }

/* ----------------------------- Hero ----------------------------- */

.hero {
  /* Fill the viewport below the ~67px sticky header so the stats row
     anchors to the bottom of the screen on first load. */
  min-height: calc(100vh - 67px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 130px) 0 clamp(36px, 5vw, 60px);
  /* Hero gets its own richer palette — clearly differentiated from
     the rest of the page (deeper indigo/violet base, gold + electric
     blue glows). Large soft radii avoid visible "cliffs" between the
     gold (right) and blue (left) regions. */
  background:
    radial-gradient(1700px 1200px at 110% 30%, rgba(212,162,76,0.22), transparent 72%),
    radial-gradient(1500px 1100px at -10% 65%, rgba(91,141,239,0.22), transparent 72%),
    radial-gradient(1600px 1100px at 50% 115%, rgba(124,92,255,0.14), transparent 75%),
    linear-gradient(180deg, #0a0e26 0%, #0d1438 50%, #07091e 100%);
  border-bottom: 1px solid rgba(212,162,76,0.22);
}

.hero-bg {
  /* Optional photo layer — drop a URL here to add a real image behind
     the hero. The gradient base already looks complete without it. */
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: blur(1px) saturate(0.7) contrast(1.05);
  z-index: 0;
  pointer-events: none;
}

.hero-art {
  position: absolute;
  top: 50%;
  right: -140px;
  transform: translateY(-50%);
  width: min(780px, 70vw);
  aspect-ratio: 1 / 1;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  filter: drop-shadow(0 0 60px rgba(212,162,76,0.10));
}
.hero-art svg { width: 100%; height: 100%; display: block; }

.hero::after {
  /* Soft fade into the next section for a clean color seam. Kept
     short so it doesn't sit on top of the stats row at the bottom. */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--bg-base));
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  /* Become a flex column inside the hero so .hero-stats can use
     margin-top:auto to pin itself to the bottom of the viewport. */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.eyebrow-cta {
  /* When the pill stands in for the removed CTA row, give it the same
     vertical presence the buttons had. */
  margin-top: 12px;
  margin-bottom: 56px;
  /* Hero-inner is a flex column with align-items: stretch; opt out so
     the pill hugs its content width instead of spanning the page. */
  align-self: flex-start;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(212,162,76,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212,162,76,0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(212,162,76,0.06); }
}

.hero-title { margin-bottom: 14px; max-width: 22ch; }
.title-event {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
  margin-top: 6px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  margin: 0 0 30px;
  max-width: 26ch;
}
.hero-subtitle .accent { color: var(--accent); font-weight: 600; }

.hero-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 60ch;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  /* Pin to the bottom of the hero column. */
  margin-top: auto;
}
.hero-stats div { margin: 0; }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.hero-stats dd {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.hero-hosts {
  list-style: none;
  padding: 22px 0 0;
  margin: 0;
  margin-top: auto;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.01em;
}
.hero-hosts strong {
  color: var(--text);
  font-weight: 600;
}

/* ----------------------------- Sections ----------------------------- */

.section {
  padding: clamp(70px, 9vw, 130px) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.025));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-feature {
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(91,141,239,0.10), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(0,0,0,0));
  border-top: 1px solid var(--border);
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 600;
}

.section-title { max-width: 22ch; }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head-center .section-title { margin-left: auto; margin-right: auto; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 64ch;
  margin: 18px auto 0;
}

.two-col {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.two-col .col-label .section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* About pillars */
.pillars {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillars li {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.pillars h3 {
  font-size: 1rem;
  color: var(--accent-soft);
  margin-bottom: 8px;
}
.pillars p { font-size: 0.92rem; margin: 0; }

/* ----------------------------- Tracks ----------------------------- */

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.track-card {
  position: relative;
  padding: 32px 26px 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.track-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 0% 0%, rgba(212,162,76,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.track-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.track-card:hover::before { opacity: 1; }
.track-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 600;
}
.track-card h3 {
  margin: 18px 0 12px;
  font-size: 1.18rem;
  color: var(--text);
}
.track-card p { margin: 0; font-size: 0.95rem; color: var(--text-dim); }

/* ----------------------------- Speakers ----------------------------- */

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.speaker-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.speaker-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-deep);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
}

.speaker-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--grad-a, var(--tech)), var(--grad-b, var(--accent-deep)));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.speaker-avatar::before {
  content: attr(data-initials);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.speaker-avatar::after {
  /* Subtle decorative pattern overlay — soft glow + diagonal hatching. */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 35%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 14px);
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.speaker-meta { display: flex; flex-direction: column; gap: 6px; }
.speaker-meta h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.role {
  font-size: 0.82rem;
  color: var(--accent-soft);
  margin: 0;
  font-weight: 500;
}
.bio {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 4px 0 0;
  line-height: 1.5;
}
.speaker-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(212,162,76,0.10);
  color: var(--accent-soft);
  border: 1px solid rgba(212,162,76,0.25);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  width: fit-content;
  font-weight: 600;
}

.speakers-foot {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.speakers-foot p { margin: 0; color: var(--text-mute); font-size: 0.92rem; }

/* ----------------------------- Schedule ----------------------------- */

.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.schedule-day {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
}

.schedule-day-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.schedule-day-title span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.schedule-day ul { list-style: none; padding: 0; margin: 0; }
.schedule-day li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.schedule-day li:last-child { border-bottom: none; }
.event { font-size: 0.95rem; color: var(--text); }
.event-track {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  flex: 0 0 72px;
}

.schedule-day-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.schedule-day-note p { margin: 0 0 8px; }
.schedule-day-note ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.schedule-day-note li {
  padding: 0;
  border: 0;
  display: list-item;
}
.schedule-day-note strong { color: var(--text); }

/* ----------------------------- Venue ----------------------------- */

.venue-card {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.venue-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.venue-row:last-child { border-bottom: none; }
.venue-label {
  color: var(--text-mute);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

/* ----------------------------- CTA ----------------------------- */

.section-cta {
  background:
    radial-gradient(700px 400px at 50% 50%, rgba(212,162,76,0.10), transparent 70%),
    linear-gradient(180deg, #0b1124, #0a0f1e);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.cta-inner p { color: var(--text-dim); margin-bottom: 28px; }

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
  flex-wrap: wrap;
}
.cta-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.cta-form input::placeholder { color: var(--text-mute); }
.cta-form input:focus { border-color: var(--accent); background: rgba(255,255,255,0.06); }
.cta-fine { font-size: 0.78rem; color: var(--text-mute); }

/* ----------------------------- Footer ----------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: #06080f;
  padding: 60px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-tag {
  font-size: 0.92rem;
  color: var(--text-mute);
  max-width: 36ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-cols h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-cols a {
  display: block;
  color: var(--text-dim);
  padding: 5px 0;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-cols a:hover { color: var(--text); }

.footer-fine {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--text-mute);
  flex-wrap: wrap;
}

/* ----------------------------- Responsive ----------------------------- */

@media (max-width: 980px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner > .btn { display: none; }

  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .tracks-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .schedule { grid-template-columns: 1fr; }
  .hero-art { right: -200px; width: 600px; opacity: 0.55; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 580px) {
  .tracks-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 90px; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-art {
    /* Center it behind the text on small screens */
    top: 50%;
    right: -50%;
    width: 130vw;
    opacity: 0.28;
    filter: blur(1px) drop-shadow(0 0 60px rgba(212,162,76,0.10));
  }
  .hero-title { font-size: 2.2rem; }
  .speaker-avatar::before { font-size: 2rem; }
  .brand-name { font-size: 0.85rem; }
  .brand-sub { font-size: 0.6rem; letter-spacing: 0.12em; }
}
