/* =========================================================
   AI-IPL — Design tokens
   ========================================================= */
:root {
  --navy-950: #08213B;
  --navy-900: #0B2F55;
  --navy-800: #123B68;
  --navy-700: #1C4E82;
  --orange-600: #D9540A;
  --orange-500: #F4650C;
  --orange-400: #FF8A3D;
  --amber-400: #FFB627;
  --green-600: #1F9D55;
  --red-600: #D64545;
  --paper: #F8FAFC;
  --paper-dim: #EEF2F7;
  --ink: #101826;
  --ink-soft: #4A5568;
  --line: #E2E8F0;
  --white: #FFFFFF;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-card: 0 4px 24px rgba(11, 47, 85, 0.08);
  --shadow-lift: 0 16px 40px rgba(11, 47, 85, 0.16);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-950);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--orange-500);
  display: inline-block;
}

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { font-size: 17px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(244, 101, 12, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(244, 101, 12, 0.45); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(8, 33, 59, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding 0.25s ease;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 40px; width: auto; }
.nav-brand span { display: none; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--orange-400); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 24px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 15% 0%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  padding: 168px 0 120px;
  overflow: hidden;
  color: var(--white);
}
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(244, 101, 12, 0.16);
  border: 1px solid rgba(244, 101, 12, 0.4);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-400);
  box-shadow: 0 0 0 0 rgba(255,138,61,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255,138,61,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255,138,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,138,61,0); }
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--orange-400); }
.hero h1 .underline-wrap { position: relative; display: inline-block; }
.hero h1 .underline-wrap svg { position: absolute; left: 0; bottom: -6px; width: 100%; height: 14px; }
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 38px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
}
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { flex-shrink: 0; color: var(--orange-400); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-panel {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}
.hero-panel-logo { width: 100%; max-width: 320px; margin: 0 auto 20px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.hero-stat {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-stat b { display: block; font-family: var(--font-display); font-size: 24px; color: var(--orange-400); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.65); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 80px; }
  .hero-panel { order: -1; }
}

/* =========================================================
   Why join — feature cards
   ========================================================= */
.features { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--amber-400), var(--orange-500)); }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 15px; margin: 0; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  justify-content: center;
}
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy-900);
}
.chip svg { color: var(--orange-500); }

/* =========================================================
   Agenda — timeline
   ========================================================= */
.agenda { background: var(--navy-950); color: var(--white); }
.agenda .section-head h2, .agenda .eyebrow { color: var(--white); }
.agenda .section-head p { color: rgba(255,255,255,0.65); }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 108px;
  top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange-500), rgba(244,101,12,0.1));
}
.tl-item { display: grid; grid-template-columns: 92px 32px 1fr; gap: 0; align-items: start; padding-bottom: 40px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-time { font-family: var(--font-mono); font-size: 13px; color: var(--orange-400); padding-top: 4px; }
.tl-dot { display: flex; justify-content: center; }
.tl-dot span {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy-950);
  border: 3px solid var(--orange-500);
  margin-top: 4px;
}
.tl-content { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: 16px 20px; }
.tl-content h4 { color: var(--white); font-size: 16px; margin: 0; font-family: var(--font-display); }

@media (max-width: 640px) {
  .timeline::before { left: 60px; }
  .tl-item { grid-template-columns: 44px 32px 1fr; }
  .tl-time { font-size: 11px; }
}

/* =========================================================
   Who should attend
   ========================================================= */
.attend { background: var(--paper-dim); }

/* =========================================================
   Registration
   ========================================================= */
.register { background: var(--white); }
.pass-toggle {
  display: inline-flex;
  background: var(--paper-dim);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 48px;
  gap: 4px;
}
.pass-toggle-wrap { text-align: center; }
.pass-toggle button {
  border: none;
  background: transparent;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.pass-toggle button.active {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(11,47,85,0.25);
}

.pass-form { display: none; max-width: 880px; margin: 0 auto; }
.pass-form.active { display: block; animation: fade-up 0.4s ease; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.pass-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.pass-summary h3 { color: var(--white); margin: 0 0 4px; font-size: 20px; }
.pass-summary p { color: rgba(255,255,255,0.65); margin: 0; font-size: 14px; }
.pass-summary .price { font-family: var(--font-display); font-size: 28px; color: var(--orange-400); }
.pass-summary .price span { font-size: 13px; color: rgba(255,255,255,0.6); display: block; font-family: var(--font-body); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-900); margin-bottom: 7px; }
.field label .req { color: var(--orange-500); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(244,101,12,0.12);
}
.field-file {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: var(--paper);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease;
}
.field-file:hover { border-color: var(--orange-500); }
.field-file input { display: none; }
.field-file .fname { font-size: 12.5px; color: var(--orange-600); margin-top: 6px; font-family: var(--font-mono); word-break: break-all; }

.check-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill {
  position: relative;
}
.check-pill input { position: absolute; opacity: 0; }
.check-pill span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: all 0.18s ease;
}
.check-pill input:checked + span {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.upi-box {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--paper-dim);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 8px 0 24px;
  flex-wrap: wrap;
}
.upi-qr {
  width: 130px; height: 130px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.upi-info b { display: block; font-family: var(--font-mono); font-size: 15px; color: var(--navy-900); margin-bottom: 4px; }
.upi-info p { margin: 0; font-size: 13.5px; }

.consent-box { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 24px; }
.consent-box input { margin-top: 3px; }

.form-msg { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px; }
.form-msg.success { display: block; background: rgba(31,157,85,0.1); color: var(--green-600); border: 1px solid rgba(31,157,85,0.25); }
.form-msg.error { display: block; background: rgba(214,69,69,0.1); color: var(--red-600); border: 1px solid rgba(214,69,69,0.25); }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials { background: var(--paper-dim); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--line);
  position: relative;
}
.testi-card .quote-mark { font-family: var(--font-display); font-size: 46px; color: var(--orange-500); opacity: 0.25; line-height: 0.5; display: block; margin-bottom: 12px; }
.testi-card p { color: var(--navy-900); font-size: 15.5px; font-weight: 500; margin: 0; }

/* =========================================================
   About / CTA band
   ========================================================= */
.about-band {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  color: var(--white);
  text-align: center;
}
.about-band h2 { color: var(--white); }
.about-band p { color: rgba(255,255,255,0.9); max-width: 640px; margin: 0 auto 28px; font-size: 17px; }
.about-band .seats-strip {
  display: inline-flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; justify-content: center;
}
.about-band .seats-strip div { text-align: center; }
.about-band .seats-strip b { display: block; font-family: var(--font-display); font-size: 30px; }
.about-band .seats-strip span { font-size: 13px; opacity: 0.85; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.6); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; max-width: 300px; }
.footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer a { color: rgba(255,255,255,0.6); font-size: 14.5px; transition: color 0.2s ease; }
.footer a:hover { color: var(--orange-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 13px; text-align: center; color: rgba(255,255,255,0.4); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Mobile nav drawer
   ========================================================= */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy-950);
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .close-drawer { align-self: flex-end; background: none; border: none; color: white; font-size: 28px; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 26px; margin-top: 40px; }
.mobile-drawer a { color: white; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.mobile-drawer .btn { margin-top: 30px; }

/* Toast for form submissions */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  background: var(--navy-950); color: white;
  padding: 16px 22px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  font-size: 14.5px; max-width: 320px;
  transform: translateY(120%); opacity: 0;
  transition: all 0.35s ease;
  border-left: 4px solid var(--green-600);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-left-color: var(--red-600); }
