
* { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif;
  /* background: #ffffff url('background.jpg') center top / cover fixed; */
  background: #ffffff center top / cover fixed;
  color: #0f172a;
  overflow-x: hidden;
  min-width: 320px; /* allow mobile widths */
}

/* ── KV color palette from main image ── */
/* Primary: blue #3b82f6 → cyan #06b6d4, accent: pink #ec4899, soft lavender bg */
:root {
  --kv-blue: #2563eb;
  --kv-cyan: #06b6d4;
  --kv-pink: #e879a0;
  --kv-purple: #a78bfa;
  --kv-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #e879a0 100%);
  --kv-gradient-soft: linear-gradient(135deg, #eff6ff 0%, #ecfeff 40%, #fdf2f8 100%);
  /* High-saturation gradient for text */
  --kv-hs-gradient: linear-gradient(90deg, #2563eb 0%, #06b6d4 35%, #a21caf 65%, #f43f5e 100%);
}

/* ── Page wrapper — full 1920px canvas ── */
.page-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

/* ── Gradient text — high-saturation ── */
.gradient-hero-text {
  background: var(--kv-hs-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero: uses KV image as background ── */
.hero-bg {
  position: relative;
  overflow: hidden;
}
/* PC KV background — full 1920px bleed */
.hero-kv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 1920px;
  object-fit: contain;
  object-position: center top;
}
/* Mobile KV: hidden on PC, shown on mobile */
.hero-kv-mobile {
  display: none;
}
.hero-overlay {
  display: none;
}
/* Theme title image — centered in hero */
.hero-theme-img {
  display: block;
  margin: 0 auto 0 auto;
  width: 730px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  top: -206px;
  z-index: 2;
}
/* Mobile responsive hero adjustments */
/* Mobile-only hero overrides (phones < 768px) */
@media (max-width: 767px) {
  .hero-kv-img { display: none; }
  .hero-kv-mobile {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  /* Hero height matches mobile KV aspect ratio 750×913 */
  .hero-section-mobile {
    height: calc(100vw * 913 / 750) !important;
  }
  .hero-theme-img {
    width: 346px;
    max-width: 346px;
    top: -232px;
  }
  /* Re-position overlaid elements relative to mobile KV */
  #hero-theme-wrap {
    padding-top: 300px !important;
  }
  .hero-meta-row {
    top: calc(100vw * 0.60) !important;
    flex-direction: column;
    gap: 10px !important;
  }
  .hero-meta-separator { display: none; }
  .hero-cta-row {
    top: calc(100vw * 0.76) !important;
  }
  .hero-scroll-hint {
    margin-top: calc(100vw * 0.90) !important;
  }
}

/* ── Nav ── */
.nav-bar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.90);
  border-bottom: 1px solid rgba(37,99,235,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.nav-bar.scrolled {
  box-shadow: 0 4px 24px rgba(6,182,212,0.12);
}

/* ── Buttons ── */
.btn-primary {
  background: #000000;
  background-size: 200% 200%;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #1a1a1a;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.40);
}
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.75);
  color: #fff;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.95);
  transform: translateY(-1px);
}

/* ── Feature cards: sci-fi / AI style ── */
.feature-card {
  border-radius: 24px;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 72px rgba(37,99,235,0.22);
}
.feature-card.blue {
  background: linear-gradient(145deg, #0f2460 0%, #1e40af 40%, #0ea5e9 100%);
  border: 1px solid rgba(59,130,246,0.25);
  box-shadow: 0 8px 40px rgba(30,64,175,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}
.feature-card.cyan {
  background: linear-gradient(145deg, #0e3a4a 0%, #0369a1 40%, #06b6d4 100%);
  border: 1px solid rgba(6,182,212,0.25);
  box-shadow: 0 8px 40px rgba(6,182,212,0.28), inset 0 1px 0 rgba(255,255,255,0.10);
}
.feature-card.pink {
  background: linear-gradient(145deg, #4a0d2e 0%, #9d174d 40%, #e879a0 100%);
  border: 1px solid rgba(232,121,160,0.25);
  box-shadow: 0 8px 40px rgba(157,23,77,0.30), inset 0 1px 0 rgba(255,255,255,0.10);
}
/* Grid lines overlay removed — keep pure saturated gradient */
.feature-card::before { display: none; }
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}
/* Icon glow ring */
.icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
}
.icon-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
}

/* ── Speaker cards ── */
.speaker-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(37,99,235,0.08);
  box-shadow: 0 4px 20px rgba(37,99,235,0.07);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.speaker-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px rgba(37,99,235,0.16);
}
.speaker-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.speaker-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.speaker-card:hover .speaker-img-wrap img {
  transform: scale(1.05);
}

/* ── Agenda ── */
.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.timeline-line {
  width: 2px;
  background: linear-gradient(to bottom, #2563eb, #06b6d4);
  flex-shrink: 0;
  margin: 0 auto;
}

.agenda-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(37,99,235,0.08);
  box-shadow: 0 2px 12px rgba(37,99,235,0.05);
  transition: all 0.3s ease;
}
.agenda-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
  border-color: rgba(37,99,235,0.20);
  transform: translateX(4px);
}

/* ── Section headers ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tag-blue   { background: #eff6ff; color: #2563eb; }
.tag-cyan   { background: #ecfeff; color: #0891b2; }
.tag-pink   { background: #fdf2f8; color: #e879a0; }
.tag-orange { background: #fff7ed; color: #f97316; }
.tag-purple { background: #f5f3ff; color: #8b5cf6; }

/* ── CTA section ── */
.cta-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 65%);
  top: -300px; left: -200px;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,121,160,0.15) 0%, transparent 65%);
  bottom: -200px; right: -100px;
}

/* ── Divider ── */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.12) 20%, rgba(37,99,235,0.12) 80%, transparent);
}

/* ── Scroll animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Summit intro ── */
.summit-bg {
  background: linear-gradient(160deg, rgba(248,250,255,0.92) 0%, rgba(240,251,255,0.92) 50%, rgba(254,249,255,0.92) 100%);
}

/* ── Agenda poster cards ── */
.agenda-poster-card {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  min-height: 580px;
  display: flex;
  flex-direction: column;
}
.agenda-poster-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}
.agenda-poster-card .poster-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.agenda-poster-card .poster-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 40px 36px;
}
.agenda-poster-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.agenda-poster-item:last-child { border-bottom: none; }
.agenda-dot-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.45);
  background: rgba(37,99,235,0.08);
  flex-shrink: 0;
  margin-top: 3px;
}
.reserve-btn-poster {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  background: #000000;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 28px;
  width: fit-content;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.reserve-btn-poster:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.32);
}

/* ── Badge ── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,68,68,0.10);
  color: #ef4444;
  border-radius: 50px;
  padding: 4px 12px 4px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Footer */
.footer-bg { background: #0f172a; }

/* Scroll hint */
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.4; }
}

/* Shake */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Speaker gradient bg */
.spk-bg-1 { background: linear-gradient(160deg, #dbeafe 0%, #e0f2fe 60%, #f0f9ff 100%); }
.spk-bg-2 { background: linear-gradient(160deg, #ede9fe 0%, #ddd6fe 60%, #f5f3ff 100%); }
.spk-bg-3 { background: linear-gradient(160deg, #fce7f3 0%, #fbcfe8 60%, #fdf4ff 100%); }
.spk-bg-4 { background: linear-gradient(160deg, #cffafe 0%, #a5f3fc 60%, #e0f2fe 100%); }

/* Hero content entry animations */
.hero-entry {
  opacity: 0;
  transform: translateY(24px);
}
.hero-entry.enter {
  animation: heroEntryAnim 0.75s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes heroEntryAnim {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Form input */
.form-input {
  width: 100%;
  border: 1.5px solid rgba(37,99,235,0.14);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #0f172a;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.form-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-input::placeholder { color: #94a3b8; }

/* ── iPad / tablet overrides (768px – 1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Hero: use the PC KV but scale height proportionally */
  .hero-kv-img {
    display: block;
    object-fit: cover;
    object-position: center top;
  }
  .hero-kv-mobile { display: none; }

  /* Hero section height: tighter on iPad */
  section.hero-bg {
    height: 600px !important;
  }

  /* Theme title image — narrower on iPad */
  .hero-theme-img {
    width: 480px;
    max-width: 90vw;
    top: -140px;
  }

  /* Hero content container height sync */
  .hero-bg > .relative.z-10 {
    height: 600px !important;
  }

  /* Hero theme wrap: less top padding on iPad */
  #hero-theme-wrap {
    padding-top: 220px !important;
  }

  /* Meta row: horizontal, pushed up for shorter hero */
  .hero-meta-row {
    top: 340px !important;
    flex-direction: row !important;
    gap: 24px !important;
  }
  .hero-meta-separator { display: block; }

  /* CTA row: positioned for shorter hero */
  .hero-cta-row {
    top: 410px !important;
  }

  /* Scroll hint: adjusted for shorter hero */
  .hero-scroll-hint {
    margin-top: 460px !important;
  }

  /* Feature cards: slightly reduced padding & font on iPad */
  .feature-card.p-9 { padding: 32px 28px !important; }
  .feature-card h3 { font-size: 26px !important; }
  .feature-card p  { font-size: 15px !important; }

  /* Agenda poster cards: compact on iPad */
  .agenda-poster-card { min-height: 480px; }
  .agenda-poster-card .poster-content { padding: 32px 28px 28px; }
  .agenda-poster-card h3 { font-size: 26px !important; }
  .agenda-poster-item span { font-size: 16px !important; }

  /* QR code card: slightly less horizontal padding */
  .bg-white.rounded-3xl.px-14 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }
}

/* ── Mobile-specific overrides ── */
@media (max-width: 767px) {
  /* Compact feature cards on mobile */
  .feature-card.p-9 { padding: 28px 24px !important; }
  /* Reduce card title size */
  .feature-card h3 { font-size: 22px !important; }
  /* Agenda poster cards: remove fixed min-height on mobile */
  .agenda-poster-card { min-height: auto; }
  .agenda-poster-card .poster-content { padding: 28px 24px 28px; }
  /* Agenda poster title */
  .agenda-poster-card h3 { font-size: 22px !important; }
  /* Agenda poster item text */
  .agenda-poster-item span { font-size: 15px !important; }
}
.flexs {
  display: flex;
}