/* =========================================================
   SAE 2027 – Light Modern Theme
   Font: Plus Jakarta Sans  |  Primary: Purple #7C3AED
   CTA: Orange #F97316  |  BG: #FFFFFF
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  /* Backgrounds (light) */
  --ev-dark:       #FFFFFF;
  --ev-dark-2:     #F7F5FF;
  --ev-dark-3:     #EEE9FF;
  --ev-dark-card:  #FFFFFF;
  --ev-dark-card2: #F7F5FF;

  /* Purple accent */
  --ev-purple:     #7C3AED;
  --ev-purple-s:   #8B5CF6;
  --ev-purple-d:   #6D28D9;
  --ev-purple-dd:  #5B21B6;
  --ev-purple-pale:rgba(124,58,237,.07);
  --ev-purple-glow:rgba(124,58,237,.18);

  --ev-orange:     #F97316;
  --ev-orange-s:   #FB923C;
  --ev-orange-d:   #EA6C0A;

  /* backward-compat aliases */
  --ev-gold:      var(--ev-purple);
  --ev-gold-s:    var(--ev-purple-s);
  --ev-gold-d:    var(--ev-purple-d);
  --ev-gold-pale: var(--ev-purple-pale);

  /* Text (dark on light) */
  --ev-white:      #130A2E;
  --ev-muted:      rgba(19,10,46,.48);
  --ev-border:     rgba(124,58,237,.15);
  --ev-border-s:   rgba(124,58,237,.4);

  --ev-font:   'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ev-radius: 10px;
  --ev-shadow: 0 4px 24px rgba(60,30,120,.08);
  --ev-shadow-purple: 0 8px 28px rgba(124,58,237,.2);
}

/* ── RESET / BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ev-font);
  background: var(--ev-dark);
  color: rgba(19,10,46,.8);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #F0EEFF; }
::-webkit-scrollbar-thumb { background: var(--ev-purple-d); border-radius: 3px; }

/* ── TYPOGRAPHY ──────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ev-font);
  font-weight: 800;
  line-height: 1.15;
  color: #130A2E;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5vw + .5rem, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw + .3rem, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.05rem; font-weight: 700; color: var(--ev-purple-d); }
h5 { font-size: .95rem; font-weight: 700; }
h6 { font-size: .9rem; font-weight: 700; }

p  { color: rgba(19,10,46,.62); line-height: 1.78; margin-bottom: 1rem; font-weight: 400; }
a  { color: var(--ev-purple-d); text-decoration: none; transition: .2s; }
a:hover { color: var(--ev-purple); }
img { max-width: 100%; display: block; }
ul,ol { padding-left: 1.4rem; }
li { margin-bottom: .35rem; color: rgba(19,10,46,.68); }
strong { color: rgba(19,10,46,.92); font-weight: 700; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ── SECTION HELPERS ─────────────────────────────────── */
.ev-section     { padding: 5.5rem 0; background: #FFFFFF; }
.ev-section-alt { background: var(--ev-dark-2); }
.ev-section-dark{ background: var(--ev-dark-3); }

.ev-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ev-purple-s);
  margin-bottom: .6rem;
}
.ev-section-hd { text-align: center; margin-bottom: 3.5rem; }
.ev-section-hd h2 { margin-bottom: .45rem; }
.ev-section-hd p  { max-width: 54ch; margin: .4rem auto 0; font-size: .95rem; }
.ev-bar {
  display: inline-block;
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--ev-purple-d), var(--ev-purple-s));
  border-radius: 2px; margin-top: .4rem;
}
.ev-bar-left { display: block; margin-bottom: 1.5rem; }

/* ── BUTTONS ─────────────────────────────────────────── */
.ev-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: var(--ev-font); font-weight: 700;
  font-size: .88rem; letter-spacing: .02em;
  padding: .7rem 1.7rem; border-radius: 50px;
  border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: all .25s; line-height: 1;
}
/* Primary: Orange */
.ev-btn-primary {
  background: linear-gradient(135deg, var(--ev-orange-d), var(--ev-orange) 60%, var(--ev-orange-s));
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(249,115,22,.35);
}
.ev-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,.5);
  color: #fff !important;
}
/* Ghost: Purple outline */
.ev-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.9) !important;
  border: 1.5px solid rgba(255,255,255,.4);
}
.ev-btn-ghost:hover {
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.1);
  color: #fff !important;
}
/* Outline: Purple */
.ev-btn-outline {
  background: transparent;
  color: var(--ev-purple-s) !important;
  border: 1.5px solid var(--ev-purple);
}
.ev-btn-outline:hover {
  background: var(--ev-purple);
  color: var(--ev-white) !important;
  box-shadow: var(--ev-shadow-purple);
}
.ev-btn-lg  { padding: .9rem 2.2rem; font-size: .97rem; border-radius: 50px; }
.ev-btn-sm  { padding: .42rem 1.1rem; font-size: .8rem; border-radius: 50px; }

/* ── NAVBAR ──────────────────────────────────────────── */
.ev-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.1rem 0;
  transition: padding .35s, background .35s, box-shadow .35s;
}
.ev-navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .65rem 0;
  border-bottom: 1px solid rgba(124,58,237,.12);
  box-shadow: 0 4px 24px rgba(60,30,120,.1);
}
/* Inner pages: always white navbar from load */
.ev-navbar.is-inner {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124,58,237,.12);
  box-shadow: 0 4px 24px rgba(60,30,120,.1);
}
/* Scrolled or inner: dark nav links + hamburger */
.ev-navbar.scrolled .ev-nav-links a,
.ev-navbar.is-inner  .ev-nav-links a { color: rgba(19,10,46,.7); }
.ev-navbar.scrolled .ev-nav-links a:hover,
.ev-navbar.scrolled .ev-nav-links a.active,
.ev-navbar.is-inner  .ev-nav-links a:hover,
.ev-navbar.is-inner  .ev-nav-links a.active {
  color: var(--ev-purple-d);
  background: var(--ev-purple-pale);
}
.ev-navbar.scrolled .ev-hamburger span,
.ev-navbar.is-inner  .ev-hamburger span { background: #130A2E; }
/* Logo switching: light logo on dark hero, dark logo on white navbar */
.ev-logo .logo-dark { display: none; }
.ev-navbar.scrolled .ev-logo .logo-light,
.ev-navbar.is-inner  .ev-logo .logo-light { display: none; }
.ev-navbar.scrolled .ev-logo .logo-dark,
.ev-navbar.is-inner  .ev-logo .logo-dark  { display: block; }
/* Full-width navbar: drop the 1180px cap, keep side padding */
.ev-navbar > .container { max-width: none; padding: 0 clamp(1rem, 3vw, 2.5rem); }
.ev-navbar-inner { display: flex; align-items: center; gap: 1rem; }
.ev-logo { flex-shrink: 0; line-height: 0; }
.ev-logo img { height: 48px; width: auto; }

.ev-nav-links { flex: 1; }
.ev-nav-links ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: .15rem;
}
.ev-nav-links a {
  display: block; color: rgba(255,255,255,.88);
  font-size: .87rem; font-weight: 600;
  padding: .4rem .85rem; border-radius: 6px; transition: .2s;
}
.ev-nav-links a:hover, .ev-nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.15);
}
.ev-nav-cta { flex-shrink: 0; }
.ev-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: .4rem; z-index: 1001;
}
.ev-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 1px; transition: .3s;
}
.ev-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ev-hamburger.open span:nth-child(2) { opacity: 0; }
.ev-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── TICKER ──────────────────────────────────────────── */
.ev-ticker {
  background: linear-gradient(90deg, var(--ev-purple-dd) 0%, var(--ev-purple-d) 50%, var(--ev-purple-dd) 100%);
  padding: .65rem 0;
  overflow: hidden;
  position: relative;
}
.ev-ticker-track {
  display: flex; gap: 0;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}
.ev-ticker-track:hover { animation-play-state: paused; }
.ev-ticker-item {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 0 2rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.ev-ticker-item i { color: var(--ev-orange); font-size: .85rem; }
.ev-ticker-sep {
  color: rgba(255,255,255,.3);
  font-size: 1.2rem; display: flex; align-items: center;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HERO ────────────────────────────────────────────── */
.ev-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 0 5rem; overflow: hidden;
}
.ev-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%,
      rgba(124,58,237,.55) 0%, rgba(109,40,217,.25) 40%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 90%,
      rgba(139,92,246,.3) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 10% 85%,
      rgba(91,33,182,.25) 0%, transparent 55%),
    linear-gradient(165deg, #1B0B45 0%, #2D1368 35%, #1A0A40 65%, #0D0624 100%);
}
.ev-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.ev-hero .container { position: relative; z-index: 2; }
.ev-hero-content { max-width: 820px; margin: 0 auto; text-align: center; }

.ev-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .4rem 1.2rem; border-radius: 50px; margin-bottom: 1.6rem;
}
.ev-hero h1 {
  font-size: clamp(2rem, 4vw + .6rem, 3.6rem);
  line-height: 1.08; font-weight: 800;
  color: #FFFFFF; margin-bottom: .8rem;
  text-shadow: 0 4px 40px rgba(0,0,0,.3);
}
.ev-hero h1 .ev-accent {
  background: linear-gradient(135deg, #C4B5FD 0%, #A78BFA 50%, #E0D9FF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; display: inline-block;
}
.ev-hero-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
  font-size: .88rem; color: rgba(255,255,255,.65);
  font-weight: 500; margin-bottom: 2.8rem;
}
.ev-hero-meta i { color: #C4B5FD; }

/* Countdown */
.ev-countdown {
  display: flex; align-items: flex-start; justify-content: center;
  gap: .8rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.ev-cd-item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--ev-radius);
  padding: 1.2rem 1.4rem; min-width: 86px; text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.ev-cd-num {
  display: block; font-family: var(--ev-font);
  font-size: 2.5rem; font-weight: 800;
  color: #FFFFFF; line-height: 1; letter-spacing: -.02em;
}
.ev-cd-label {
  display: block; font-size: .67rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-top: .3rem;
}
.ev-cd-sep {
  font-weight: 800; font-size: 2rem;
  color: rgba(255,255,255,.35); padding-top: .9rem; line-height: 1; align-self: flex-start;
}
.ev-hero-ctas { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.ev-hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 3;
}
.ev-hero-scroll span {
  display: block; width: 1.5px; height: 50px;
  background: linear-gradient(to bottom, var(--ev-purple-s), transparent);
  margin: 0 auto;
  animation: scrollPulse 1.9s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity:1; }
  48%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity:0; }
}

/* ── STATS ───────────────────────────────────────────── */
.ev-stats {
  background: linear-gradient(100deg, #5B21B6 0%, #7C3AED 45%, #6D28D9 100%);
  border-top: none;
  border-bottom: none;
}
.ev-stats .container { display: flex; flex-wrap: wrap; }
.ev-stat-item {
  flex: 1; min-width: 150px; text-align: center;
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.ev-stat-item:last-child { border-right: none; }
.ev-stat-num {
  display: block; font-family: var(--ev-font);
  font-size: 2.6rem; font-weight: 800;
  color: #FFFFFF; line-height: 1; letter-spacing: -.03em;
}
.ev-stat-label {
  display: block; font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-top: .25rem;
}

/* ── ABOUT ───────────────────────────────────────────── */
.ev-about-img {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: .75rem; height: 460px;
}
.ev-about-img-box {
  border-radius: var(--ev-radius); overflow: hidden;
  border: 1px solid var(--ev-border);
}
.ev-about-img-box:first-child { grid-row: span 2; }
.ev-about-img-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem;
  color: rgba(255,255,255,.92);
}
.ev-about-img-inner .icon { font-size: 2.6rem; margin-bottom: .5rem; }
.ev-about-img-inner strong { font-size: 1rem; font-weight: 700; color: #fff; }
.ev-about-img-inner small { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: .2rem; }

/* ── TOPIC CARDS ─────────────────────────────────────── */
.ev-topic-card {
  background: #FFFFFF;
  border: 1px solid rgba(124,58,237,.12);
  border-radius: var(--ev-radius);
  padding: 2rem 1.6rem; height: 100%;
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  box-shadow: 0 2px 12px rgba(60,30,120,.06);
}
.ev-topic-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ev-purple-d), var(--ev-purple-s));
}
.ev-topic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 14px 40px rgba(124,58,237,.15);
}
.ev-topic-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(124,58,237,.04));
  border: 1px solid rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--ev-purple-d);
  margin-bottom: 1.2rem;
}
.ev-topic-card h4 { color: #130A2E; font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.ev-topic-card p  { font-size: .88rem; margin: 0; line-height: 1.65; }

/* ── SPEAKER CARDS — CIRCULAR ────────────────────────── */
.ev-speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.5rem;
}
.ev-speaker-card {
  background: #FFFFFF;
  border: 1px solid rgba(124,58,237,.12);
  border-radius: var(--ev-radius);
  padding: 1.8rem 1.2rem 1.4rem;
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  box-shadow: 0 2px 12px rgba(60,30,120,.06);
}
.ev-speaker-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 14px 40px rgba(124,58,237,.15);
}
/* Circular image container */
.ev-speaker-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--ev-purple);
  box-shadow: 0 0 0 6px rgba(124,58,237,.1), 0 8px 24px rgba(124,58,237,.15);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.ev-speaker-initials {
  font-family: var(--ev-font);
  font-size: 2rem; font-weight: 800;
  color: #FFFFFF;
  position: relative; z-index: 1;
}
.ev-speaker-body h5  { color: #130A2E; font-size: .92rem; font-weight: 700; margin-bottom: .2rem; }
.ev-sp-role  { color: var(--ev-purple-d); font-size: .75rem; font-weight: 700; letter-spacing: .04em; display: block; }
.ev-sp-affil { color: rgba(19,10,46,.5); font-size: .74rem; margin-top: .2rem; display: block; line-height: 1.4; }
.ev-sp-tag {
  display: inline-block; margin-top: .55rem;
  font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .65rem; border-radius: 50px;
}
.ev-sp-tag.keynote {
  background: linear-gradient(135deg, var(--ev-orange-d), var(--ev-orange));
  color: #fff;
}
.ev-sp-tag.invited {
  background: rgba(124,58,237,.07);
  border: 1px solid rgba(124,58,237,.25);
  color: var(--ev-purple-d);
}

/* ── SCHEDULE ────────────────────────────────────────── */
.ev-tab-strip {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center; margin-bottom: 2rem;
}
.ev-tab-btn {
  background: #F7F5FF;
  border: 1px solid rgba(124,58,237,.18);
  color: rgba(19,10,46,.6);
  padding: .55rem 1.5rem; border-radius: 50px;
  font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: .2s; font-family: var(--ev-font);
}
.ev-tab-btn.active, .ev-tab-btn:hover {
  background: linear-gradient(135deg, var(--ev-purple-d), var(--ev-purple));
  border-color: transparent; color: #fff; font-weight: 700;
  box-shadow: 0 4px 16px rgba(124,58,237,.3);
}
.ev-tab-panel { display: none; }
.ev-tab-panel.active { display: block; }
.ev-sched-item {
  display: flex; gap: 1.4rem; align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid rgba(124,58,237,.1);
  border-radius: var(--ev-radius);
  padding: 1.2rem 1.5rem; margin-bottom: .65rem;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(60,30,120,.04);
}
.ev-sched-item:hover {
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 6px 20px rgba(124,58,237,.1);
}
.ev-sched-time {
  min-width: 96px; flex-shrink: 0;
  color: var(--ev-purple-d); font-size: .82rem; font-weight: 700; padding-top: .1rem;
}
.ev-sched-info h6 { color: #130A2E; font-size: .93rem; font-weight: 700; margin-bottom: .2rem; }
.ev-sched-info p  { color: rgba(19,10,46,.52); font-size: .83rem; margin: 0; }
.ev-sched-tag {
  display: inline-block; margin-top: .35rem; margin-right: .3rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: rgba(124,58,237,.07);
  border: 1px solid rgba(124,58,237,.2);
  color: var(--ev-purple-d); padding: .12rem .55rem; border-radius: 4px;
}

/* ── DATE TIMELINE ───────────────────────────────────── */
.ev-timeline { position: relative; padding-left: 1.8rem; }
.ev-timeline::before {
  content: "";
  position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(to bottom, var(--ev-purple), rgba(124,58,237,.1));
}
.ev-tl-item { position: relative; padding-bottom: 2rem; }
.ev-tl-item:last-child { padding-bottom: 0; }
.ev-tl-item::before {
  content: "";
  position: absolute; left: calc(-1.8rem - 5px); top: .35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ev-purple);
  border: 2px solid #F7F5FF;
  box-shadow: 0 0 0 3px rgba(124,58,237,.2);
}
.ev-tl-date {
  display: block; font-size: .73rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ev-purple-d); margin-bottom: .25rem;
}
.ev-tl-item h6 { color: #130A2E; font-size: .93rem; font-weight: 700; margin-bottom: .15rem; }
.ev-tl-item p  { color: rgba(19,10,46,.52); font-size: .83rem; margin: 0; }

/* ── PRICING ─────────────────────────────────────────── */
.ev-price-card {
  background: #FFFFFF;
  border: 1px solid rgba(124,58,237,.14);
  border-radius: var(--ev-radius);
  overflow: hidden; height: 100%;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 2px 14px rgba(60,30,120,.07);
}
.ev-price-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(124,58,237,.15); }
.ev-price-card.featured { border-color: var(--ev-purple); box-shadow: 0 4px 24px rgba(124,58,237,.2); }
.ev-price-head {
  padding: 2rem 1.6rem 1.6rem; text-align: center;
  background: #FAFAFE;
  border-bottom: 1px solid rgba(124,58,237,.1); position: relative;
}
.ev-price-card.featured .ev-price-head {
  background: linear-gradient(145deg, rgba(124,58,237,.1), rgba(124,58,237,.03));
}
.ev-price-badge {
  position: absolute; top: 0; right: 0;
  background: linear-gradient(135deg, var(--ev-orange-d), var(--ev-orange));
  color: #fff; font-size: .67rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .8rem; border-radius: 0 var(--ev-radius) 0 8px;
}
.ev-price-type {
  font-size: .75rem; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ev-purple-d); margin-bottom: .6rem; display: block;
}
.ev-price-amount {
  font-family: var(--ev-font); font-size: 3rem; font-weight: 800;
  color: #130A2E; line-height: 1; letter-spacing: -.03em;
}
.ev-price-amount sup { font-size: 1.3rem; vertical-align: top; margin-top: .8rem; display: inline-block; }
.ev-price-note { font-size: .78rem; color: rgba(19,10,46,.45); margin-top: .4rem; display: block; }
.ev-price-body { padding: 1.8rem 1.6rem; }
.ev-price-body ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.ev-price-body ul li {
  padding: .5rem 0; border-bottom: 1px solid rgba(19,10,46,.07);
  font-size: .88rem; color: rgba(19,10,46,.75);
  display: flex; align-items: center; gap: .6rem; font-weight: 500;
}
.ev-price-body ul li i { color: var(--ev-purple-d); flex-shrink: 0; }
.ev-price-body ul li.disabled { color: rgba(19,10,46,.35); opacity: .6; }
.ev-price-body ul li.disabled i { color: rgba(19,10,46,.35); }

/* ── SPONSORS ────────────────────────────────────────── */
.ev-sponsor-wrap { border: 1px solid rgba(124,58,237,.12); border-radius: var(--ev-radius); overflow: hidden; box-shadow: 0 2px 14px rgba(60,30,120,.06); }
.ev-sponsor-row { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(124,58,237,.1); }
.ev-sponsor-row:last-child { border-bottom: none; }
.ev-sponsor-item {
  flex: 1; min-width: 160px;
  background: #FFFFFF;
  padding: 1.6rem 2rem;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid rgba(124,58,237,.1); transition: background .2s;
  min-height: 80px;
}
.ev-sponsor-item:last-child { border-right: none; }
.ev-sponsor-item:hover { background: rgba(124,58,237,.05); }
.ev-sponsor-item span {
  font-family: var(--ev-font); font-size: .95rem; font-weight: 700;
  color: rgba(19,10,46,.3); text-align: center; transition: color .2s; line-height: 1.3;
}
.ev-sponsor-item:hover span { color: var(--ev-purple-d); }

/* ── INNER PAGE HERO ─────────────────────────────────── */
.ev-page-hero {
  background:
    radial-gradient(ellipse 100% 80% at 50% -5%, rgba(124,58,237,.18), transparent 65%),
    linear-gradient(180deg, #F0EAFF 0%, #F7F5FF 100%);
  padding: 9rem 0 4rem; text-align: center;
  border-bottom: 1px solid rgba(124,58,237,.12);
}
.ev-page-hero h1 { margin-bottom: .5rem; color: #130A2E; }
.ev-breadcrumb { font-size: .83rem; color: rgba(19,10,46,.45); font-weight: 500; }
.ev-breadcrumb a { color: var(--ev-purple-d); }

/* ── PAGE CONTENT WRAPPERS ───────────────────────────── */
/*
 * Structure (index.php injects this):
 *   .container > .ev-page-content > [.ev-reading] > {page content}
 *
 * .ev-page-content  — vertical spacing only, full container width
 * .ev-reading       — max 780 px, auto margins (text-heavy pages)
 * .ev-content-wide  — legacy alias (no extra sizing)
 */

.ev-page-content {
  padding: 3.5rem 0 4.5rem;
}

.ev-reading {
  max-width: 780px;
  margin: 0 auto; /* centred within the container */
}

/* ── Text styling that applies inside any content area ── */
.ev-page-content h2,
.ev-reading h2 {
  font-size: 1.6rem;
  border-bottom: 1px solid rgba(124,58,237,.12);
  padding-bottom: .6rem; margin-bottom: 1.2rem; margin-top: 2rem;
}
.ev-page-content h2:first-child,
.ev-reading h2:first-child { margin-top: 0; }

.ev-page-content h3,
.ev-reading h3 { font-size: 1.25rem; margin-top: 1.5rem; color: var(--ev-purple-d); }

.ev-page-content a,
.ev-reading a { color: var(--ev-purple-d); border-bottom: 1px solid rgba(124,58,237,.25); }
.ev-page-content a:hover,
.ev-reading a:hover { border-bottom-color: var(--ev-purple-d); }

.ev-page-content li,
.ev-reading li { color: rgba(19,10,46,.72); margin-bottom: .4rem; }
.ev-page-content li::marker,
.ev-reading li::marker { color: var(--ev-purple-d); }

.ev-page-content table,
.ev-reading table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.ev-page-content table th,
.ev-reading table th {
  background: rgba(124,58,237,.07); color: var(--ev-purple-d); font-weight: 700; text-align: left;
}
.ev-page-content table th, .ev-page-content table td,
.ev-reading table th, .ev-reading table td {
  border: 1px solid rgba(124,58,237,.12); padding: .65rem .9rem; color: rgba(19,10,46,.75);
}
.ev-page-content table tr:hover td,
.ev-reading table tr:hover td { background: rgba(124,58,237,.04); }

.ev-page-content blockquote,
.ev-reading blockquote {
  border-left: 3px solid var(--ev-purple);
  background: rgba(124,58,237,.06);
  padding: .75rem 1.2rem; margin: 1.2rem 0;
  color: rgba(19,10,46,.7); font-style: italic;
}

/* Legacy — old seeds may still wrap in these; leave harmless */
.ev-content-wide  { /* sizing now from .container in index.php */ }
.ev-content-wrap  { /* sizing now from .ev-reading in index.php */ }

/* ── FOOTER ──────────────────────────────────────────── */
.ev-footer {
  background: #1A0A42;
  border-top: none;
  padding: 4.5rem 0 0;
}
.ev-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
.ev-footer-center { text-align: center; }
.ev-footer-right  { text-align: right; }
.ev-footer-right ul a { justify-content: flex-end; }
.ev-footer .ev-footer-org  { color: rgba(255,255,255,.8); font-weight: 600; max-width: none; margin-bottom: .4rem; }
.ev-footer .ev-footer-addr { display: flex; gap: .45rem; max-width: none; }
.ev-footer-org i, .ev-footer-addr i { color: #A78BFA; }
.ev-footer-social { display: flex; justify-content: center; gap: .6rem; margin-top: .4rem; flex-wrap: wrap; }
.ev-footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); font-size: 1.05rem; transition: .2s;
}
.ev-footer-social a:hover { background: #7C3AED; color: #fff; }
.ev-footer-mail {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem;
  color: #C4B5FD; font-weight: 600; font-size: .95rem; word-break: break-all;
}
.ev-footer-mail:hover { color: #fff; }
.ev-footer-brand {
  font-family: var(--ev-font); font-size: 1.4rem; font-weight: 800;
  background: linear-gradient(135deg, #A78BFA, #C4B5FD);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: .25rem; letter-spacing: -.02em;
}
.ev-footer-tagline {
  font-size: .72rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 1rem; display: block;
}
.ev-footer p { font-size: .87rem; color: rgba(255,255,255,.42); max-width: 30ch; }
.ev-footer h6 {
  font-family: var(--ev-font); font-size: .73rem; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 1.1rem;
}
.ev-footer ul { list-style: none; padding: 0; }
.ev-footer ul li { margin-bottom: .5rem; }
.ev-footer ul a {
  font-size: .87rem; font-weight: 500; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: .4rem; transition: .2s; border-bottom: none;
}
.ev-footer ul a:hover { color: #C4B5FD; }
.ev-footer ul a::before { content: "→"; font-size: .75rem; color: rgba(167,139,250,.35); }
.ev-footer-email { font-size: .82rem; color: rgba(255,255,255,.28); word-break: break-all; margin-top: .8rem; display: block; }
/* ── TEXT BLOCK (goals / sponsors placeholders) ──────── */
.ev-text-block { max-width: 760px; margin: 0 auto; text-align: center; }
.ev-text-block p { font-size: 1rem; }

/* ── HORIZONTAL DATES TIMELINE ───────────────────────── */
.ev-htl {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem 0; position: relative; padding: 0;
}
/* one line segment per item, so the track still reads when the grid wraps */
.ev-htl-item::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: rgba(124,58,237,.3);
}
.ev-htl-item { position: relative; padding: 1.8rem .5rem 0; text-align: center; }
.ev-htl-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--ev-purple);
  border: 3px solid #F7F5FF; box-shadow: 0 0 0 3px rgba(124,58,237,.25);
}
.ev-htl-date {
  display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ev-purple-d); margin-bottom: .3rem;
}
.ev-htl-item h6 { color: #130A2E; font-size: .92rem; font-weight: 700; margin-bottom: .2rem; }
.ev-htl-item p  { color: rgba(19,10,46,.52); font-size: .8rem; margin: 0; }
.ev-htl-flag {
  display: inline-block; margin-top: .4rem; font-size: .62rem; font-weight: 700;
  padding: .1rem .45rem; border-radius: 3px; background: rgba(19,10,46,.08); color: var(--ev-muted);
}
.ev-htl-item.is-soon .ev-htl-dot  { background: var(--ev-orange); }
.ev-htl-item.is-soon .ev-htl-flag { background: var(--ev-orange); color: #fff; }
.ev-htl-item.is-passed { opacity: .5; }

/* ── REGISTRATION FORM ───────────────────────────────── */
.ev-reg-form {
  background: #fff; border: 1px solid var(--ev-border); border-radius: var(--ev-radius);
  padding: 1.4rem; margin: 1rem 0 1.5rem; box-shadow: var(--ev-shadow);
}
.ev-reg-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-bottom: 1rem; }
.ev-reg-row > label, .ev-reg-label { font-weight: 700; color: #130A2E; min-width: 90px; }
.ev-reg-row select {
  flex: 1 1 260px; min-width: 0; font: inherit; padding: .6rem .8rem;
  border: 1px solid var(--ev-border-s); border-radius: 8px; background: #fff; color: #130A2E;
}
.ev-reg-radio { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.ev-reg-result { border-top: 1px solid var(--ev-border); padding-top: 1rem; }
.ev-reg-group { font-weight: 700; padding: .1rem .55rem; border-radius: 4px; }
.ev-reg-group.is-developed  { background: rgba(124,58,237,.1); color: var(--ev-purple-d); }
.ev-reg-group.is-developing { background: rgba(249,115,22,.12); color: var(--ev-orange-d); }
.ev-reg-fee { font-size: 1.8rem; font-weight: 800; color: #130A2E; margin-top: .4rem; }
.ev-reg-fee small { display: block; font-size: .8rem; font-weight: 500; color: var(--ev-muted); }

/* ── RESPONSIVE EMBEDS (tables, maps) ────────────────── */
.ev-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ev-map { position: relative; padding-top: 56.25%; border-radius: var(--ev-radius); overflow: hidden; margin: 1rem 0 1.5rem; border: 1px solid var(--ev-border); }
.ev-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ev-page-content img { max-width: 100%; height: auto; }

.ev-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
}
.ev-footer-bottom small { font-size: .8rem; color: rgba(255,255,255,.25); font-weight: 500; }

/* ── LAYOUT HELPERS ──────────────────────────────────── */
.ev-two-col     { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ev-two-col-start { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.ev-three-col   { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.ev-four-col    { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }

/* ── ANIMATIONS ──────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up-stagger.visible > *:nth-child(1) { transition-delay:.05s; opacity:1; transform:none; }
.fade-up-stagger.visible > *:nth-child(2) { transition-delay:.12s; opacity:1; transform:none; }
.fade-up-stagger.visible > *:nth-child(3) { transition-delay:.19s; opacity:1; transform:none; }
.fade-up-stagger.visible > *:nth-child(4) { transition-delay:.26s; opacity:1; transform:none; }
.fade-up-stagger.visible > *:nth-child(5) { transition-delay:.33s; opacity:1; transform:none; }
.fade-up-stagger.visible > *:nth-child(6) { transition-delay:.40s; opacity:1; transform:none; }
.fade-up-stagger.visible > *:nth-child(n+7) { opacity:1; transform:none; }

/* ── UTILITY ─────────────────────────────────────────── */
.text-purple { color: var(--ev-purple-s); }
.text-orange { color: var(--ev-orange); }
.text-muted  { color: var(--ev-muted); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-1{margin-top:.4rem}.mt-2{margin-top:.8rem}.mt-3{margin-top:1.2rem}.mt-4{margin-top:1.8rem}
.mb-1{margin-bottom:.4rem}.mb-2{margin-bottom:.8rem}.mb-3{margin-bottom:1.2rem}.mb-4{margin-bottom:1.8rem}

/* ── ADMIN (Bootstrap 5 shell) ───────────────────────── */
.admin-shell {
  min-height: 100vh;
  background: #F3F0FF;
  color: #130A2E;
  font-family: var(--ev-font);
}
.admin-main { background: #F3F0FF; min-height: 100vh; }

/* Mobile top bar */
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid rgba(124,58,237,.12);
  box-shadow: 0 1px 6px rgba(60,30,120,.05);
}
.admin-topbar .navbar-brand { color: #130A2E; }
.admin-burger { color: #6D28D9; font-size: 1.6rem; line-height: 1; text-decoration: none; }
.admin-burger:hover { color: #4C1D95; }

/* Sidebar column: sticky full-height on large screens */
@media (min-width: 992px) {
  .admin-sidebar-col {
    position: sticky;
    top: 0;
    height: 100vh;
  }
}
.admin-sidebar {
  background: #fff;
  border-right: 1px solid rgba(124,58,237,.12);
}
@media (min-width: 992px) {
  .admin-sidebar { height: 100vh; }
  .admin-sidebar .offcanvas-body { overflow-y: auto; }
}

/* Brand inside sidebar */
.admin-brand { color: #130A2E; text-decoration: none; line-height: 1.2; }
.admin-brand strong { font-size: 1.05rem; }
.admin-brand small { font-size: .75rem; font-weight: 500; letter-spacing: .4px; }

/* Sidebar nav links */
.admin-nav-link {
  color: rgba(19,10,46,.6);
  display: flex; align-items: center; gap: .55rem;
  padding: .52rem .85rem; border-radius: 8px;
  text-decoration: none; font-size: .875rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.admin-nav-link:hover { background: rgba(124,58,237,.07); color: #6D28D9; }
.admin-nav-link.active { background: rgba(124,58,237,.1); color: #6D28D9; font-weight: 600; }
.admin-nav-link i { font-size: 1rem; }

/* Section label + separators */
.admin-nav-section {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(19,10,46,.4);
  padding: .25rem .85rem 0;
}
.admin-sidebar hr { border-color: rgba(124,58,237,.12); opacity: 1; }

/* User box at bottom of sidebar */
.admin-userbox { color: rgba(19,10,46,.5); }

/* Cards (Bootstrap-compatible) */
.admin-card {
  background: #fff;
  border: 1px solid rgba(124,58,237,.1);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 1px 6px rgba(60,30,120,.05);
}
.admin-card h5 { color: #130A2E; }
.admin-card p  { color: rgba(19,10,46,.52); }

/* Bootstrap .card theming inside admin */
.admin-shell .card {
  border: 1px solid rgba(124,58,237,.1);
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(60,30,120,.05);
}

/* Stat card: coloured left accent + hover lift */
.admin-stat { transition: transform .15s, box-shadow .15s; border-left: 4px solid #7C3AED; }
.admin-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(60,30,120,.12); }
.admin-stat .admin-stat-num { font-size: 2rem; font-weight: 800; line-height: 1; color: #130A2E; }
.admin-stat .admin-stat-icon { font-size: 1.35rem; color: #7C3AED; opacity: .85; }

/* Headings inside admin main */
.admin-main h1, .admin-main h2, .admin-main h3 { color: #130A2E; }

/* Tables + muted text */
.admin-shell .table { color: #130A2E; }
.admin-shell .text-muted { color: rgba(19,10,46,.5) !important; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .ev-two-col, .ev-two-col-start { gap: 2.5rem; }
  .ev-footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .ev-about-img { height: 360px; }
  .ev-four-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ev-two-col, .ev-two-col-start { grid-template-columns: 1fr !important; gap: 2rem; }
  .ev-three-col { grid-template-columns: repeat(2,1fr); }
  .ev-four-col  { grid-template-columns: repeat(2,1fr); }
  .ev-nav-links {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(255,255,255,.98);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .ev-nav-links.open { opacity: 1; pointer-events: all; }
  .ev-nav-links ul { flex-direction: column; gap: .3rem; text-align: center; }
  .ev-nav-links a { font-size: 1.1rem; padding: .65rem 2rem; color: #130A2E; }
  .ev-hamburger { display: flex; }
  .ev-nav-cta { display: none; }
  .ev-section { padding: 4rem 0; }
  .ev-about-img { grid-template-columns: 1fr 1fr; height: 280px; }
  .ev-about-img-box:first-child { grid-row: auto; }
  .ev-speaker-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .ev-footer-grid { grid-template-columns: 1fr; text-align: center; }
  .ev-footer-right { text-align: center; }
  .ev-footer-right ul a, .ev-footer .ev-footer-addr { justify-content: center; }
  .ev-htl { grid-template-columns: 1fr; gap: 0; padding-left: 1.8rem; }
  .ev-htl-item { text-align: left; padding: 0 0 1.4rem; }
  .ev-htl-item::before { left: calc(-1.8rem + 7px); right: auto; top: .4rem; bottom: -.4rem; width: 2px; height: auto; }
  .ev-htl-dot { left: calc(-1.8rem); transform: none; top: .15rem; }
  .ev-page-content table { font-size: .85rem; }
  .ev-cd-item { min-width: 70px; padding: .9rem 1rem; }
  .ev-cd-num  { font-size: 2rem; }
  .ev-cd-sep  { display: none; }
  .ev-ticker  { display: none; }
}
@media (max-width: 480px) {
  .ev-three-col, .ev-four-col { grid-template-columns: 1fr; }
  .ev-footer-grid { gap: 2rem; }
  .ev-speaker-grid { grid-template-columns: repeat(2,1fr); gap: .75rem; }
  .ev-about-img { grid-template-columns: 1fr; height: auto; }
  .ev-about-img-box { min-height: 150px; }
}
