/* MyEventBuddy — bold marketing rebuild
   Quick-commerce energy · Clear language · Interactive */

:root {
  --ink: #0B1224;
  --ink-2: #1A2438;
  --navy: #1A2B5C;
  --fire: #FF4D1A;
  --fire-2: #FF6A3D;
  --pink: #FF2D6F;
  --gold: #FFC53D;
  --mint: #1FA97A;
  --cream: #FFF8F0;
  --cream-2: #F7EDE2;
  --line: rgba(11, 18, 36, 0.1);
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(11, 18, 36, 0.18);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1140px;
  --header: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 10px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  background: var(--ink); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

/* Cursor + progress + fx */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 26, 0.18), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity .3s;
  mix-blend-mode: multiply;
}
.cursor-dot {
  pointer-events: none;
  position: fixed;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 0 4px rgba(255,77,26,.2);
  transform: translate(-50%, -50%);
  z-index: 9998;
  opacity: 0;
  transition: width .2s, height .2s, background .2s;
}
body.has-pointer .cursor-glow,
body.has-pointer .cursor-dot { opacity: 1; }
body.has-pointer.is-hovering .cursor-dot {
  width: 42px; height: 42px;
  background: rgba(255,77,26,.25);
  box-shadow: 0 0 0 2px var(--fire);
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--fire), var(--gold), var(--pink));
  box-shadow: 0 0 12px rgba(255,77,26,.5);
}
.fx-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 90;
}

/* Touch ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleOut .6s ease-out forwards;
  background: rgba(255, 77, 26, 0.35);
  pointer-events: none;
  z-index: 5;
}
@keyframes rippleOut {
  to { transform: scale(2.6); opacity: 0; }
}

.tap-pop {
  animation: tapPop .35s var(--ease);
}
@keyframes tapPop {
  0% { transform: scale(1); }
  40% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

/* Mobile ambient orbs */
.mobile-orbs {
  display: none;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.mobile-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .45;
  animation: orbFloat 9s ease-in-out infinite;
}
.mobile-orbs span:nth-child(1) {
  width: 120px; height: 120px; left: -20px; top: 18%;
  background: radial-gradient(circle, rgba(255,77,26,.5), transparent 70%);
}
.mobile-orbs span:nth-child(2) {
  width: 90px; height: 90px; right: -10px; top: 42%;
  background: radial-gradient(circle, rgba(255,45,111,.45), transparent 70%);
  animation-delay: -2s;
}
.mobile-orbs span:nth-child(3) {
  width: 140px; height: 140px; left: 20%; bottom: 18%;
  background: radial-gradient(circle, rgba(255,197,61,.4), transparent 70%);
  animation-delay: -4s;
}
.mobile-orbs span:nth-child(4) {
  width: 70px; height: 70px; right: 18%; bottom: 30%;
  background: radial-gradient(circle, rgba(26,43,92,.35), transparent 70%);
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-28px) scale(1.08); }
}

.swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: .75rem auto 0;
  font-size: .8rem;
  font-weight: 800;
  color: var(--fire);
  letter-spacing: .04em;
}
.swipe-hint b {
  animation: nudge 1.2s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Kinetic ticker */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0 1.25rem;
  background:
    linear-gradient(90deg, #FFF0E6, #FFE8F2 35%, #EAF0FF 70%, #FFF6DE);
  border-block: 0;
  isolation: isolate;
}
.ticker__glow {
  position: absolute; inset: -40% -10%;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,77,26,.35), transparent 35%),
    radial-gradient(circle at 80% 50%, rgba(255,45,111,.28), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255,197,61,.25), transparent 40%);
  animation: tickerPulse 6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes tickerPulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.08); opacity: 1; }
}
.ticker__row {
  position: relative; z-index: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row--b { margin-top: .55rem; opacity: .92; }
.ticker__track {
  display: flex; align-items: center; gap: .85rem;
  width: max-content;
  animation: tickerL 28s linear infinite;
}
.ticker__track--rev { animation: tickerR 36s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerL {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes tickerR {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(.85rem, 2.2vw, 1.05rem);
  letter-spacing: .04em;
  padding: .55rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(11,18,36,.12);
  transform: rotate(-1deg);
  transition: transform .25s var(--ease);
}
.chip:nth-child(4n) { transform: rotate(1.2deg); }
.chip--fire { background: linear-gradient(135deg, #FF4D1A, #FF7A45); color: #fff; }
.chip--navy { background: linear-gradient(135deg, #1A2B5C, #314E96); color: #fff; }
.chip--gold { background: linear-gradient(135deg, #FFC53D, #FFE08A); color: #1A2B5C; }
.chip--pink { background: linear-gradient(135deg, #FF2D6F, #FF6B9D); color: #fff; }
.chip--outline {
  background: rgba(255,255,255,.75);
  color: var(--navy);
  border: 2px solid rgba(26,43,92,.18);
  box-shadow: none;
  font-size: .8rem;
  padding: .4rem .85rem;
}
.dot {
  color: var(--fire);
  font-size: 1rem;
  opacity: .85;
  animation: twinkle 1.6s ease-in-out infinite;
}
.dot:nth-child(6n) { color: var(--pink); animation-delay: .4s; }
.dot:nth-child(8n) { color: #1A2B5C; animation-delay: .8s; }
@keyframes twinkle {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.35); opacity: 1; }
}

/* Old marquee kept hidden if referenced */
.marquee { display: none; }

/* Magnetic buttons */
.btn.mag { will-change: transform; }
.btn--fire {
  position: relative;
  overflow: hidden;
}
.btn--fire::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: none;
}
.btn--fire:hover::after {
  animation: shine .8s var(--ease);
}
@keyframes shine {
  to { transform: translateX(120%); }
}

/* Mobile dock */
.mobile-dock {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 150;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: .4rem;
  padding: .45rem;
  border-radius: 18px;
  background: rgba(11,18,36,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.mobile-dock a {
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  padding: .7rem .4rem;
  border-radius: 12px;
}
.mobile-dock .dock-main {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
.mobile-dock a:not(.dock-main):hover {
  background: rgba(255,255,255,.1);
}

body.has-pointer .cursor-glow { opacity: 1; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-on {
  background: rgba(255, 248, 240, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header__row {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.05rem; z-index: 2;
}
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.logo b { color: var(--navy); font-weight: 800; }
.logo em { color: var(--fire); font-style: normal; font-weight: 800; font-family: var(--display); }

.nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 600; font-size: .92rem; color: #3d4658; }
.nav a:hover { color: var(--ink); }
.nav__btn {
  background: var(--ink) !important; color: #fff !important;
  padding: .55rem 1.05rem; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s;
}
.nav__btn:hover { background: var(--fire) !important; transform: translateY(-2px); }

.burger {
  display: none; width: 44px; height: 44px; position: relative; z-index: 2;
}
.burger i, .burger i::before, .burger i::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: .3s var(--ease);
}
.burger i { top: 50%; margin-top: -1px; }
.burger i::before { top: -8px; }
.burger i::after { top: 8px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.45rem; border-radius: 999px; font-weight: 800;
  font-size: .95rem; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn--fire {
  background: linear-gradient(135deg, var(--fire), #FF7A45);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 77, 26, 0.35);
}
.btn--ghost {
  border: 2px solid rgba(11,18,36,.18);
  color: var(--ink);
  background: rgba(255,255,255,.45);
}
.btn--white { background: #fff; color: var(--ink); }
.btn--ghost-light {
  border: 2px solid rgba(255,255,255,.4); color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--header) + 2.5rem) 0 3.5rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(40px);
  animation: drift 12s ease-in-out infinite;
}
.blob-a {
  width: 55vw; height: 55vw; max-width: 560px; max-height: 560px;
  background: rgba(255, 77, 26, 0.22);
  top: -10%; right: -8%;
}
.blob-b {
  width: 40vw; height: 40vw; max-width: 420px; max-height: 420px;
  background: rgba(26, 43, 92, 0.16);
  bottom: 5%; left: -10%;
  animation-delay: -4s;
}
.blob-c {
  width: 30vw; height: 30vw; max-width: 280px; max-height: 280px;
  background: rgba(255, 197, 61, 0.22);
  top: 35%; left: 35%;
  animation-delay: -7s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.06); }
}

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
}
.hero__brand {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800; line-height: .95; margin-bottom: .8rem;
  animation: up .8s var(--ease) both;
}
.hero__brand b { color: var(--navy); }
.hero__brand em { color: var(--fire); font-style: normal; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  max-width: 14ch;
  animation: up .8s .08s var(--ease) both;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--fire), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 1.1rem; font-size: 1.12rem; color: #445066; max-width: 38ch;
  animation: up .8s .14s var(--ease) both;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem;
  animation: up .8s .2s var(--ease) both;
}
.hero__pills {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem;
  animation: up .8s .26s var(--ease) both;
}
.hero__pills span {
  font-size: .78rem; font-weight: 700;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  padding: .45rem .75rem; border-radius: 999px;
}
.hero__art { position: relative; animation: up .9s .18s var(--ease) both; }
.hero__logo-wrap {
  background: #fff;
  border-radius: 28px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
}
.hero__logo-wrap img { border-radius: 18px; width: 100%; }
.float-chip {
  position: absolute;
  font-size: .78rem; font-weight: 800;
  background: var(--ink); color: #fff;
  padding: .55rem .85rem; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  animation: bob 3.5s ease-in-out infinite;
}
.float-chip--1 { top: 8%; left: -4%; background: var(--fire); }
.float-chip--2 { bottom: 12%; right: -2%; animation-delay: -1.5s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--gold);
  overflow: hidden;
  padding: .9rem 0;
  border-block: 3px solid var(--fire);
}
.marquee__track {
  display: flex; gap: 1.5rem; width: max-content;
  font-family: var(--display); font-weight: 800; font-size: .95rem;
  letter-spacing: .08em;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 5rem 0; position: relative; z-index: 1; }
.section--tint { background: linear-gradient(180deg, #FFF3E8, var(--cream) 40%, #FFE8F0 100%); }
.section--dark {
  background: radial-gradient(ellipse at 30% 0%, #243456, var(--ink) 55%);
  color: #fff; padding: 4.5rem 0;
}
.head { max-width: 36rem; margin-bottom: 2.4rem; }
.head--light h2 { color: #fff; }
.tag {
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fire); margin-bottom: .55rem;
}
.tag--light { color: var(--gold); }
.head h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--ink); }
.head h2 em { font-style: normal; color: var(--fire); }
.sub { margin-top: .75rem; color: #516074; font-size: 1.05rem; }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem 1.35rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.step::before {
  content: "";
  position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--fire), var(--pink));
  opacity: 0;
  transition: opacity .3s;
}
.step:hover::before { opacity: 1; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(255,77,26,.25); }
.step__num {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  background: var(--ink); color: #fff; margin-bottom: 1rem;
}
.step[data-step="2"] .step__num { background: var(--fire); }
.step[data-step="3"] .step__num { background: var(--pink); }
.step h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.step p { color: #516074; font-size: .95rem; }

/* Speed */
.speed {
  background: linear-gradient(135deg, #1A1030 0%, #0B1224 45%, #1A2B5C 100%);
  color: #fff;
  padding: 5rem 0 3rem;
  position: relative; overflow: hidden;
}
.speed__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
}
.speed__text { margin: 1rem 0 1.2rem; color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 40ch; }
.speed__text strong { color: var(--gold); }
.speed__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.speed__list li {
  padding: .85rem 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  color: rgba(255,255,255,.88);
}
.speed__list strong { color: #fff; }
.speed h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); max-width: 16ch; }

.meter {
  text-align: center; margin-bottom: 1.2rem;
}
.meter__ring {
  width: 200px; height: 200px; margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid; place-items: center; align-content: center;
  background:
    radial-gradient(circle at center, #0B1224 58%, transparent 59%),
    conic-gradient(from -90deg, var(--fire), var(--gold), var(--pink), var(--fire));
  box-shadow: 0 0 0 8px rgba(255,77,26,.15), 0 20px 50px rgba(0,0,0,.35);
  animation: spin-slow 10s linear infinite;
}
.meter__ring strong {
  font-family: var(--display); font-size: 4rem; line-height: 1; color: #fff;
  animation: none;
}
.meter__ring span { color: var(--gold); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
@keyframes spin-slow {
  to { filter: hue-rotate(20deg); }
}
.meter p { color: rgba(255,255,255,.65); font-weight: 600; }
.meter-cards { display: grid; gap: .65rem; }
.mcard {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: .85rem 1rem;
}
.mcard b { color: var(--gold); }
.mcard span { color: rgba(255,255,255,.65); font-size: .88rem; }
.speed__note { margin-top: 1.5rem; font-size: .8rem; color: rgba(255,255,255,.4); }

/* Bento tabs */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-bottom: 1.25rem;
}
.bento__card {
  text-align: left;
  background: rgba(255,255,255,.7);
  border: 2px solid transparent;
  border-radius: 22px;
  padding: 1.3rem 1.15rem;
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.bento__card:hover { transform: translateY(-4px); }
.bento__card.is-active {
  background: #fff;
  border-color: var(--fire);
  box-shadow: var(--shadow);
}
.bento__icon { font-size: 1.6rem; display: block; margin-bottom: .55rem; }
.bento__card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.bento__card p { color: #516074; font-size: .9rem; }

.panels { position: relative; min-height: 280px; }
.panel {
  display: none;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.5rem; align-items: center;
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  animation: fadePanel .4s var(--ease);
}
.panel.is-active { display: grid; }
@keyframes fadePanel {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fake-ui {
  background: linear-gradient(160deg, #1A2B5C, #0B1224);
  color: #fff; border-radius: 20px; padding: 1rem; box-shadow: var(--shadow);
}
.fake-ui__bar { font-weight: 800; margin-bottom: .75rem; color: var(--gold); }
.fake-ui__row {
  display: flex; justify-content: space-between;
  background: rgba(255,255,255,.08); border-radius: 12px;
  padding: .75rem .85rem; margin-bottom: .45rem; font-size: .9rem;
}
.fake-ui__row.hot { background: rgba(255,77,26,.25); border: 1px solid rgba(255,77,26,.4); }
.fake-ui__cta {
  margin-top: .7rem; text-align: center; font-weight: 800;
  background: var(--fire); border-radius: 999px; padding: .7rem;
}
.panel__copy h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.panel__copy p { color: #516074; }

/* Events — responsive grid (all visible on desktop) */
.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.events-count {
  font-size: .92rem;
  color: #516074;
  font-weight: 600;
}
.events-count strong {
  color: var(--fire);
  font-family: var(--display);
  font-size: 1.2rem;
}
.events-nav {
  display: none;
  align-items: center;
  gap: .55rem;
}
.events-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
  transition: background .2s, border-color .2s, transform .2s;
}
.events-btn:hover {
  border-color: var(--fire);
  color: var(--fire);
  transform: scale(1.05);
}
.events-dots {
  display: flex; gap: .35rem; align-items: center;
}
.events-dots button {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(11,18,36,.2);
  padding: 0; transition: width .25s, background .25s;
}
.events-dots button.is-on {
  width: 22px;
  background: var(--fire);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.event-card {
  position: relative;
  min-height: 210px;
  border-radius: 24px;
  padding: 1.35rem 1.2rem 1.25rem;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.22), transparent 42%),
    linear-gradient(155deg, var(--c), #0B1224);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s;
  box-shadow: 0 12px 28px rgba(11,18,36,.12);
}
.event-card:hover,
.event-card:focus-visible {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 44px rgba(11,18,36,.2);
  outline: none;
}
.event-card.is-open {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(255,77,26,.25);
}
.event-card__ico {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.75rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.2));
  transition: transform .35s var(--ease);
}
.event-card.is-open .event-card__ico {
  transform: scale(1.2) rotate(-8deg);
}
.event-card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.event-card > p { font-size: .88rem; opacity: .9; margin-bottom: .55rem; }
.event-card__more {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
}
.event-card__detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), opacity .35s, margin .35s;
}
.event-card.is-open .event-card__detail {
  max-height: 180px;
  opacity: 1;
  margin-top: .75rem;
}
.event-card.is-open .event-card__more { display: none; }
.event-card.is-open > p { display: none; }
.event-card__detail ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .35rem;
  background: rgba(0,0,0,.2);
  border-radius: 14px;
  padding: .75rem .85rem;
}
.event-card__detail li {
  font-size: .82rem;
  font-weight: 600;
  padding-left: 1rem;
  position: relative;
}
.event-card__detail li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--gold);
  font-weight: 800;
}

/* Compare — brand cream + fire (not flat dark) */
.compare-sec {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255,77,26,.12), transparent 45%),
    radial-gradient(ellipse at 90% 100%, rgba(26,43,92,.1), transparent 40%),
    linear-gradient(180deg, #FFF8F0, #FFEDE3 50%, #FFF5EB);
  padding: 5rem 0;
}
.compare-shell {
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem 1.75rem;
  overflow: hidden;
}
.compare-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream-2);
  border-radius: 999px;
  padding: .35rem;
  margin-bottom: 1.35rem;
  max-width: 420px;
  margin-inline: auto;
}
.compare-tab {
  position: relative;
  z-index: 2;
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  color: #6a7388;
  transition: color .25s;
}
.compare-tab.is-active { color: #fff; }
.compare-knob {
  position: absolute;
  z-index: 1;
  top: .35rem; bottom: .35rem; left: .35rem;
  width: calc(50% - .35rem);
  border-radius: 999px;
  background: linear-gradient(135deg, #8B9BB8, #5A6B88);
  transition: transform .35s var(--ease), background .35s;
  box-shadow: 0 8px 20px rgba(11,18,36,.18);
}
.compare-switch[data-mode="new"] .compare-knob {
  transform: translateX(100%);
  background: linear-gradient(135deg, var(--fire), #FF7A45);
}
.compare-stage { position: relative; min-height: 340px; }
.compare-panel {
  display: none;
  animation: fadePanel .4s var(--ease);
}
.compare-panel.is-active { display: block; }
.compare-badge {
  display: inline-flex;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .75rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.compare-badge--bad { background: #FDE8E8; color: #B42318; }
.compare-badge--good { background: #FFF0E8; color: var(--fire); }
.compare-lines {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .65rem;
}
.compare-lines li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .85rem;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .85rem 1rem;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.compare-panel--old .compare-lines li:hover {
  border-color: #F5A8A0;
  background: #FFF5F4;
}
.compare-panel--new .compare-lines li {
  background: linear-gradient(90deg, #FFF4EC, #fff);
  border-color: rgba(255,77,26,.2);
}
.compare-panel--new .compare-lines li:hover {
  transform: translateX(6px);
  border-color: var(--fire);
}
.compare-lines li span {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: #fff; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(11,18,36,.06);
}
.compare-lines b { display: block; font-size: 1rem; color: var(--ink); margin-bottom: .15rem; }
.compare-lines p { font-size: .88rem; color: #516074; }
.compare-cta { margin-top: 1.25rem; }
.compare-dual {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1.25rem;
}
.compare-mini {
  border-radius: 18px; padding: 1rem 1.1rem; text-align: center;
}
.compare-mini.bad {
  background: #FDECEC; color: #7A1F1A;
}
.compare-mini.good {
  background: linear-gradient(135deg, #FF4D1A, #FF7A45); color: #fff;
}
.compare-mini h3 { font-size: 1rem; margin-bottom: .25rem; }
.compare-mini p { font-size: .82rem; opacity: .85; }

/* Keep old compare classes unused safely */
.compare { display: none; }

/* About */
.about {
  display: grid; grid-template-columns: .35fr 1fr; gap: 2rem; align-items: center;
  background: #fff; border-radius: 28px; padding: 2rem; border: 1px solid var(--line);
}
.about__logo img {
  width: min(100%, 200px); margin-inline: auto; border-radius: 50%;
  box-shadow: var(--shadow);
}
.about h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: .4rem 0 1rem; }
.about p { color: #516074; margin-bottom: .75rem; }
.about strong { color: var(--ink); }
.kannada { color: var(--navy) !important; font-weight: 700; font-size: 1.05rem; }

/* Directors */
.directors-sec {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255,77,26,.1), transparent 45%),
    radial-gradient(ellipse at 10% 100%, rgba(26,43,92,.08), transparent 40%),
    var(--cream);
}
.directors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.director {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem 1.35rem 1.7rem;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}
.director::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  opacity: .9;
}
.director[data-tone="navy"]::before {
  background: linear-gradient(90deg, #1A2B5C, #3B82F6);
}
.director[data-tone="pink"]::before {
  background: linear-gradient(90deg, #FF2D6F, #FF7A45);
}
.director:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(255,77,26,.25);
}
.director__avatar {
  width: 84px; height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(145deg, var(--fire), #FF7A45);
  box-shadow: 0 12px 28px rgba(255,77,26,.28);
}
.director[data-tone="navy"] .director__avatar {
  background: linear-gradient(145deg, #1A2B5C, #3B5BB5);
  box-shadow: 0 12px 28px rgba(26,43,92,.28);
}
.director[data-tone="pink"] .director__avatar {
  background: linear-gradient(145deg, #FF2D6F, #FF6B9D);
  box-shadow: 0 12px 28px rgba(255,45,111,.28);
}
.director h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: .3rem;
}
.director__role {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fire);
  background: #FFF0E8;
  padding: .3rem .65rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.director[data-tone="navy"] .director__role {
  color: #1A2B5C;
  background: #EAF0FF;
}
.director[data-tone="pink"] .director__role {
  color: #C2185B;
  background: #FFE8F0;
}
.director__bio {
  color: #516074;
  font-size: .92rem;
}
.directors-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: #8a93a6;
  font-weight: 600;
}

/* CTA */
.cta { padding: 2rem 0 5rem; }
.cta__box {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255,77,26,.35), transparent 50%),
    linear-gradient(160deg, #1A1030, #0B1224 50%, #1A2B5C);
  color: #fff;
  border-radius: 32px;
  padding: 3.2rem 1.5rem;
}
.cta__box h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: .55rem; }
.cta__box > p { color: rgba(255,255,255,.75); margin-bottom: 1.4rem; }
.cta__row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-bottom: 1rem; }
.cta__fine { font-size: .85rem; color: rgba(255,255,255,.45); }

/* Footer */
.footer {
  background: #070B16; color: rgba(255,255,255,.7); padding: 3rem 0 1.25rem; font-size: .9rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 1.75rem; margin-bottom: 2rem;
}
.footer__logo { width: 170px; border-radius: 12px; background: #fff; margin-bottom: .7rem; }
.footer__tag { color: var(--gold); font-weight: 700; }
.footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem;
}
.footer a { display: block; margin-bottom: .35rem; }
.footer a:hover { color: var(--fire-2); }
.fine { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.4);
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .speed__grid, .panel, .about, .footer__grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero h1, .hero__lead { max-width: none; }
  .hero__copy { text-align: center; }
  .hero__cta, .hero__pills { justify-content: center; }
  .steps, .bento, .directors { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-dual { display: grid; }
}

@media (max-width: 720px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header) 0 auto;
    background: rgba(255,248,240,.97); backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1rem 1.2rem;
    transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: .35s var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .9rem .4rem; border-bottom: 1px solid var(--line); }
  .nav__btn { margin-top: .6rem; text-align: center; border: 0 !important; }
  .footer__grid { grid-template-columns: 1fr; }
  .cursor-glow, .cursor-dot { display: none; }
  .fx-canvas { display: block; }
  .mobile-orbs { display: block; }
  .swipe-hint { display: flex; }

  .float-chip {
    display: block !important;
    font-size: .7rem;
    padding: .45rem .7rem;
  }
  .float-chip--1 { left: 0; top: auto; bottom: -8px; animation: bob 2.8s ease-in-out infinite; }
  .float-chip--2 { right: 0; bottom: auto; top: -8px; animation: bob 3.2s ease-in-out infinite reverse; }

  .hero__logo-wrap {
    animation: mobileFloat 4.5s ease-in-out infinite;
  }
  @keyframes mobileFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
  }

  .ticker__track { animation-duration: 18s; }
  .ticker__track--rev { animation-duration: 22s; }
  .chip {
    animation: chipBounce 2.8s ease-in-out infinite;
  }
  .chip:nth-child(3n) { animation-delay: .4s; }
  .chip:nth-child(5n) { animation-delay: .9s; }
  @keyframes chipBounce {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-4px) rotate(1deg); }
  }

  .step, .bento__card, .director, .btn, .event-card, .compare-tab {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .btn:active, .step:active, .bento__card:active, .director:active {
    transform: scale(0.97);
  }
  .mobile-dock a:active {
    transform: scale(0.95);
    filter: brightness(1.1);
  }
  .mobile-dock .dock-main {
    animation: dockPulse 2.4s ease-in-out infinite;
  }
  @keyframes dockPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  }

  .reveal.is-in {
    animation: mobileIn .7s var(--ease) both;
  }
  @keyframes mobileIn {
    from { opacity: 0; transform: translateY(36px) scale(0.96); }
    to { opacity: 1; transform: none; }
  }

  .events-nav { display: flex; }
  .events-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 320px);
    grid-template-columns: none;
    overflow-x: auto;
    gap: .85rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding-bottom: .5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .events-grid::-webkit-scrollbar { display: none; }
  .event-card {
    scroll-snap-align: center;
    min-height: 260px;
  }
  .event-card.is-open {
    animation: cardFlash .5s ease;
  }
  @keyframes cardFlash {
    0% { filter: brightness(1); }
    40% { filter: brightness(1.15); }
    100% { filter: brightness(1); }
  }
  .section { padding: 3.5rem 0; }
  .compare-shell { padding: 1.15rem 1rem 1.35rem; }
  .compare-stage { min-height: 0; }
  .compare-switch {
    max-width: none;
  }
  .cta__row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero__cta { justify-content: center; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .mobile-dock { display: grid; }
  .footer { padding-bottom: 5.5rem; }
  .ticker { padding: .9rem 0 1rem; }

  .meter__ring {
    width: 170px; height: 170px;
    animation: spin-slow 8s linear infinite, meterGlow 2.5s ease-in-out infinite;
  }
  @keyframes meterGlow {
    0%, 100% { box-shadow: 0 0 0 8px rgba(255,77,26,.15), 0 20px 50px rgba(0,0,0,.35); }
    50% { box-shadow: 0 0 0 14px rgba(255,77,26,.28), 0 20px 50px rgba(0,0,0,.35); }
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .events-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
