/* ===== SEO landing pages (e.g. /ai-conference-bengaluru-2026/) =====
   Loaded after ../assets/css/style.css and ../blog/blog.css (nav overrides).
   The page reuses the home page components (.overline, .h2 .hl, .lede, .about-grid,
   .video-card, .track, .why, .tix, .faq, .btn); this file only adds the pieces the
   home page doesn't have. */

.lp-page {
  --lp-soft: linear-gradient(95deg, #7d8bff, #f59acb);
  /* gradient that stays readable on the dark bands */
}

/* ---------- hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 16px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 34, 246, .55), transparent 50%),
    radial-gradient(circle at 90% 88%, rgba(197, 61, 137, .5), transparent 50%),
    #0b0a24;
}

.lp-hero::before,
.lp-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}

.lp-hero-inner {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}

.lp-kicker {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lp-hero h1 {
  margin: 26px 0 18px;
  font-family: var(--disp);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: #fff;
  text-wrap: balance;
}

.lp-hero h1 em {
  font-style: normal;
  background: var(--lp-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero-sub {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}

.lp-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* outline button on dark backgrounds */
.lp-hero .btn-out,
.lp-dark .btn-out {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.lp-hero .btn-out:hover,
.lp-dark .btn-out:hover {
  background: #fff;
  color: var(--ink);
}

.lp-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 980px;
  margin: 64px auto 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.lp-stat {
  padding: 28px 12px 34px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.lp-stat:last-child {
  border-right: none;
}

.lp-stat b {
  display: block;
  font-family: var(--disp);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  background: var(--lp-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-stat span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

/* ---------- sections ---------- */
/* flow-root keeps the .wrap's 81px margins inside the band, so coloured
   sections (paper, gradient) get their spacing instead of collapsing it */
.lp-sec,
.lp-final {
  position: relative;
  display: flow-root;
}

/* FAQ open state (the home page keeps this in its inline <style>) */
.lp-page .faq .faq-a {
  opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
}

.lp-page .faq.open .faq-a {
  max-height: 600px;
  opacity: 1;
}

.lp-page .faq .faq-q {
  cursor: pointer;
}

/* ---------- FAQ: centred, one card per question ---------- */
.lp-faq .wrap {
  text-align: center;
}

.lp-faq .faq-list {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 40px auto 0;
  border-top: none;
  text-align: left;
}

.lp-faq .faq {
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, .14);
  border-radius: 16px;
  background: var(--wh);
  transition: border-color .25s, box-shadow .25s;
}

.lp-faq .faq:hover {
  border-color: rgba(10, 10, 10, .4);
}

/* open card: gradient outline, same trick as the speaker-page session card */
.lp-faq .faq.open {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 22px 44px -30px rgba(48, 38, 182, .55);
}

.lp-faq .faq-q {
  gap: 20px;
  padding: 22px 24px;
  font-size: 16px;
  text-transform: none;
}

/* drop the home page's slide-in hover; the card border shows hover instead */
.lp-faq .faq-q:hover {
  padding-left: 24px;
  background: none;
}

.lp-faq .faq-q .pm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--bk);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition: background .25s, color .25s, border-color .25s;
}

/* the script swaps + for −, so no rotation here */
.lp-faq .faq.open .faq-q .pm {
  transform: none;
  border-color: transparent;
  background: var(--grad);
  color: #fff;
}

.lp-faq .faq-a p {
  max-width: none;
  padding: 0 24px 24px;
  font-size: 15.5px;
  line-height: 1.75;
}

/* same banding as the home page tickets section */
.lp-paper {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.lp-sec .lede {
  margin-bottom: 8px;
}

.lp-copy p {
  max-width: 760px;
  margin-bottom: 18px;
  color: #33373e;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.8;
}

.lp-copy p:last-child {
  margin-bottom: 0;
}

.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* white panel used beside a heading (Bengaluru, partnerships) */
.lp-panel {
  padding: 32px 34px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--wh);
}

.lp-panel p {
  margin-bottom: 16px;
  color: #33373e;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.lp-panel p:last-child {
  margin-bottom: 0;
}

/* highlighted closing line inside a panel */
.lp-panel .lp-callout {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, rgba(0, 34, 246, .06), rgba(197, 61, 137, .08));
  color: var(--ink);
  font-weight: 700;
}

/* checklist (partnership benefits, pass lists outside .tix) */
.lp-checks {
  display: grid;
  gap: 12px;
  list-style: none;
}

.lp-checks li {
  display: flex;
  gap: 12px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
}

.lp-checks li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--grad);
  border: 1px solid var(--bk);
}

.lp-more {
  margin-top: 36px;
}

.lp-note {
  margin-top: 24px;
  color: var(--gy);
  font-size: 15px;
  font-weight: 600;
}

.lp-note a,
.lp-page .faq-a a {
  color: var(--blue);
  font-weight: 700;
}

.lp-note a:hover,
.lp-page .faq-a a:hover {
  color: var(--mag);
}

/* ---------- attendee groups (reuses the home page .wiy2 "Who Should Attend?" block) ---------- */
/* the SEO heading is longer than the home page's, so it runs a size smaller */
.lp-wiy2 .wiy2-title {
  font-size: clamp(28px, 3.6vw, 44px);
}

.lp-wiy2-intro {
  max-width: 640px;
  margin: -12px 0 34px;
  color: var(--ink-2);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.7;
}

/* ---------- featured speakers (cards reuse .wrap-speakers from style.css) ---------- */
.lp-spk-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 40px;
}

.lp-spk-grid .wrap-speakers {
  display: flex;
  flex-direction: column;
}

/* style.css sets only width:100%, so the img's height="400" attribute would
   stretch the photo; keep it square and crop instead */
.lp-spk-grid .wais-spk-photo img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
}

/* text alignment comes from style.css (section#speakers), same as the home page */
.lp-spk-grid .wais-spk-label {
  padding-top: 14px;
}

/* ---------- dark band (date & venue) ---------- */
.lp-dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(197, 61, 137, .45), transparent 50%),
    radial-gradient(circle at 5% 95%, rgba(0, 34, 246, .45), transparent 50%),
    #0b0a24;
}

.lp-dark .wrap {
  position: relative;
}

.lp-dark .overline,
.lp-dark .h2 {
  color: #fff;
}

.lp-dark .h2 .hl {
  background: var(--lp-soft);
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-dark .lede {
  color: rgba(255, 255, 255, .75);
}

/* ---------- what to expect (dark: heading left, numbered list right, no cards) ---------- */
.lp-expect {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.lp-exp-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.lp-exp {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

/* gradient rule that runs along the divider on hover */
.lp-exp::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--grad);
  transition: width .45s ease;
}

.lp-exp:hover::after {
  width: 100%;
}

/* outlined number that fills with the gradient on hover */
.lp-exp-n {
  font-family: var(--disp);
  font-size: 40px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .35);
  background: var(--lp-soft);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .45s ease;
}

.lp-exp:hover .lp-exp-n {
  background-size: 100% 100%;
}

.lp-exp h3 {
  margin-bottom: 8px;
  font-family: var(--disp);
  font-size: 19px;
  line-height: 1.3;
  color: #fff;
}

.lp-exp p {
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.lp-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  overflow: hidden;
}

.lp-fact {
  display: flex;
  gap: 16px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}

.lp-fact:last-child {
  border-right: none;
}

.lp-fact svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--grad);
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-fact small {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.lp-fact strong {
  display: block;
  font-size: 17px;
  line-height: 1.45;
}

/* ---------- delegate passes (markup copied from the home page #tickets) ----------
   Phase headings: the home page keeps these rules in its inline <style>. */
.phase-head {
  margin: -6px 0 34px;
}

.phase-title {
  /* inline-block so the gradient spans the words, not the full row */
  display: inline-block;
  font-family: var(--disp);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phase-sub {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gy);
}

/* ---------- final call to action ---------- */
.lp-final {
  background: var(--grad);
  color: #fff;
  text-align: center;
}

.lp-final .wrap {
  max-width: 860px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.lp-final h2 {
  margin-bottom: 18px;
  font-family: var(--disp);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}

.lp-final p {
  margin: 0 auto 12px;
  max-width: 680px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.lp-final .btn {
  margin-top: 22px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--bk);
}

.lp-final .btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--bk);
}

.lp-final-meta {
  margin-top: 26px;
  font-family: var(--disp);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .lp-spk-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .lp-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lp-expect {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lp-facts {
    grid-template-columns: 1fr;
  }

  .lp-fact {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .lp-fact:last-child {
    border-bottom: none;
  }
}

@media (max-width: 760px) {
  .lp-hero {
    padding-top: 120px;
  }

  .lp-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 44px;
  }

  .lp-stat:nth-child(2) {
    border-right: none;
  }

  .lp-stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .lp-spk-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-panel {
    padding: 24px 22px;
  }

  .lp-faq .faq-q,
  .lp-faq .faq-q:hover {
    padding: 18px;
    font-size: 15px;
  }

  .lp-faq .faq-a p {
    padding: 0 18px 20px;
  }
}

@media (max-width: 520px) {
  .lp-spk-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-exp {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .lp-exp-n {
    font-size: 30px;
  }
}
