/* ============================================================
   IPL 2027 — shared stylesheet
   Light theme, navy chrome accents, gold/sky/orange highlights
   (typography + shape language + palette modeled on the official
   iplt20.com: light page body #eef2fb, dark-navy header/footer
   "chrome" bars, Bricolage Grotesque type, pill-shaped controls)
   ============================================================ */

:root{
  --bg:            #eef2fb;
  --bg-deep:       #f5f5f8;
  --surface:       #ffffff;
  --surface-2:     #f5f5f8;
  --border:        rgba(6,22,69,0.12);
  --border-amber:  rgba(217,119,6,0.4);
  --border-sky:    rgba(51,163,220,0.4);

  --navy:          #19398a;
  --navy-deep:     #0d245c;
  --navy-deepest:  #061645;

  --amber:         #ffcb05;
  --amber-deep:    #d97706;
  --accent-text:   #ef4123;
  --sky:           #33a3dc;
  --sky-deep:      #19398a;
  --emerald:       #059669;
  --emerald-bright:#10b981;
  --green-dot:     #16a34a;

  --text:          #061645;
  --text-dim:      rgba(6,22,69,0.72);
  --text-mute:     #5b6b8c;

  --text-on-dark:      #ffffff;
  --text-on-dark-dim:  rgba(255,255,255,0.82);
  --text-on-dark-mute: #9ed2fb;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-weight:800; letter-spacing:-0.02em; margin:0; color:var(--text); }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

.container{ max-width:1180px; margin:0 auto; padding:0 20px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--accent-text); font-size:.76rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  margin-bottom:12px;
}
.eyebrow::before{ content:""; width:18px; height:2px; background:var(--accent-text); display:inline-block; border-radius:2px; }
.amber{ color:var(--accent-text); }
.sky{ color:var(--sky-deep); }
.text-dim{ color:var(--text-dim); }
.text-mute{ color:var(--text-mute); }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:46px; padding:0 26px; border-radius:9999px; border:1px solid transparent;
  font-size:.88rem; font-weight:800; letter-spacing:-0.005em;
  transition:filter .15s ease, transform .15s ease, opacity .15s ease; white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }
.btn-amber{ background:var(--amber); color:var(--navy-deepest); box-shadow:0 10px 22px -10px rgba(217,119,6,0.55); }
.btn-amber:hover{ filter:brightness(1.05); }
.btn-outline{ background:#fff; border-color:var(--border-sky); color:var(--navy); }
.btn-outline:hover{ border-color:var(--sky); background:rgba(51,163,220,0.08); }
.btn-block{ width:100%; }
.btn-sm{ height:38px; padding:0 16px; font-size:.74rem; }

/* ---------------- Top bar ---------------- */
.topbar{ background:var(--navy-deepest); border-bottom:1px solid rgba(255,255,255,0.08); overflow:hidden; white-space:nowrap; }
.topbar .marquee{ display:inline-flex; gap:56px; padding:8px 0; animation:scroll-left 24s linear infinite; }
.topbar span{ font-size:.78rem; color:var(--text-on-dark-dim); }
.topbar strong{ color:var(--amber); font-weight:700; }
@keyframes scroll-left{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ---------------- Header ---------------- */
header.site{
  position:sticky; top:0; z-index:200;
  background:linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%);
  border-bottom:1px solid rgba(255,255,255,0.08);
  box-shadow:0 6px 20px -10px rgba(6,22,69,0.35);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:14px 20px; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand .crest{ width:36px; height:36px; flex-shrink:0; }
.logo-badge{ display:inline-flex; align-items:center; background:#fff; border-radius:8px; padding:4px 7px; flex-shrink:0; }
.crest-ipl{ height:24px; width:auto; display:block; }
.brand .word b{ display:block; font-size:1.02rem; letter-spacing:-0.01em; color:var(--text-on-dark); }
.brand .word small{ display:block; font-size:.62rem; letter-spacing:.24em; color:var(--amber); margin-top:2px; font-weight:700; }

nav.main-links{ display:flex; align-items:center; gap:6px; }
nav.main-links a{
  display:inline-block; padding:.5rem 1rem; border-radius:9999px;
  font-size:.86rem; font-weight:600; color:var(--text-on-dark-dim); transition:color .15s,background-color .15s;
}
nav.main-links a:hover{ color:var(--amber); background-color:rgba(255,255,255,0.1); }
nav.main-links a.active{ color:var(--navy-deepest); background-color:var(--amber); }
.nav-cta{ display:flex; align-items:center; gap:10px; }

.nav-toggle{
  display:none; width:40px; height:40px; border-radius:10px; border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.08); align-items:center; justify-content:center; flex-shrink:0;
}
.nav-toggle span{ display:block; width:18px; height:2px; background:var(--amber); position:relative; }
.nav-toggle span::before,.nav-toggle span::after{ content:""; position:absolute; left:0; width:18px; height:2px; background:var(--amber); }
.nav-toggle span::before{ top:-6px; }
.nav-toggle span::after{ top:6px; }

/* ---------------- Hero ---------------- */
.hero{ width:100%; position:relative; overflow:hidden; background:var(--bg); }
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(900px 300px at 15% 0%, rgba(255,203,5,0.12), transparent 55%),
             radial-gradient(800px 300px at 85% 30%, rgba(51,163,220,0.12), transparent 55%);
}
.hero__inner{ position:relative; max-width:1100px; margin:0 auto; padding:52px 20px 40px; }
.hero__grid{ display:flex; align-items:center; justify-content:space-between; gap:60px; }
.hero__left{ flex:1; min-width:0; max-width:580px; }
.hero__title{ font-size:clamp(1.9rem,4vw,2.5rem); line-height:1.15; }
.hero__body{ margin-top:14px; color:var(--text-dim); font-size:.98rem; max-width:58ch; }
.hero__ctas{ margin-top:22px; display:flex; gap:14px; flex-wrap:wrap; }
.hero__stats{ display:flex; gap:30px; margin-top:30px; flex-wrap:wrap; }
.hero__stats div b{ display:block; font-size:1.3rem; color:var(--text); }
.hero__stats div span{ font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-mute); }
.hero__right{ flex:0 0 auto; width:420px; max-width:40vw; }
.hero__imageFrame{
  border-radius:var(--radius-xl); overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(6,22,69,0.35); border:1px solid rgba(255,255,255,0.08);
  aspect-ratio:4/5; display:flex; align-items:center; justify-content:center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,203,5,0.22), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(51,163,220,0.26), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-deepest));
  font-size:4.2rem;
}
@media (max-width:980px){
  .hero__grid{ flex-direction:column; align-items:stretch; }
  .hero__right{ width:100%; max-width:380px; margin:0 auto; }
}

/* ---------------- Stats strip ---------------- */
.stats-strip{ background:var(--bg-deep); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:30px 0; }
.stats-strip .row{ display:grid; grid-template-columns:repeat(4,1fr); text-align:center; gap:20px; }
.stats-strip b{ display:block; font-size:1.6rem; color:var(--navy); }
.stats-strip span{ font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-mute); }

/* ---------------- Section shell ---------------- */
section{ padding:56px 0; }
.section-head{ margin-bottom:30px; max-width:680px; }
.section-head h2{ font-size:clamp(1.5rem,3vw,2rem); }

/* ---------------- Feature cards (alternating) ---------------- */
.feature{ width:100%; margin-bottom:18px; }
.feature__panel{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--border); background:#fff;
  box-shadow:0 18px 40px -28px rgba(6,22,69,0.25);
}
.feature--amber .feature__panel{ border-color:var(--border-amber); }
.feature__grid{ position:relative; z-index:1; display:flex; align-items:stretch; gap:22px; padding:26px; }
.feature__media{
  flex:0 0 260px; border-radius:14px; overflow:hidden; border:1px solid var(--border);
  background:linear-gradient(160deg,var(--bg-deep),#fff); display:flex; align-items:center; justify-content:center; font-size:3rem;
}
.feature__content{ flex:1; min-width:0; padding:4px 4px 4px 2px; }
.feature__title{ font-size:1.25rem; line-height:1.25; color:var(--text); }
.feature__body{ margin-top:10px; color:var(--text-dim); font-size:.92rem; max-width:65ch; }
.feature__bullets{ margin-top:16px; display:grid; gap:10px; }
.feature__bullet{ display:flex; gap:10px; align-items:flex-start; color:var(--text-dim); font-size:.88rem; }
.feature__bullet-dot{
  width:20px; height:20px; border-radius:999px; flex:0 0 20px; margin-top:1px;
  background:rgba(217,119,6,0.12); border:1px solid rgba(217,119,6,0.3);
  display:grid; place-items:center; color:var(--amber-deep); font-size:.7rem; font-weight:900;
}
.feature__actions{ margin-top:16px; }
.feature__link{
  display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px; border-radius:9999px;
  border:1px solid var(--border-sky); background:rgba(51,163,220,0.06); color:var(--navy);
  font-weight:700; font-size:.82rem; transition:filter .15s ease, transform .15s ease, background .15s ease;
}
.feature__link:hover{ background:rgba(51,163,220,0.14); transform:translateY(-1px); }
@media (max-width:820px){
  .feature__grid{ flex-direction:column; padding:20px; }
  .feature__media{ flex-basis:auto; aspect-ratio:16/9; height:160px; }
}

/* ---------------- Article panels ---------------- */
.article{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; margin-bottom:18px;
  border:1px solid var(--border); background:#fff;
  box-shadow:0 18px 40px -28px rgba(6,22,69,0.2);
}
.article__inner{ position:relative; z-index:1; padding:28px 30px; }
.article h2{ font-size:1.35rem; margin-bottom:14px; color:var(--text); }
.article h2::after{ content:""; display:block; width:56px; height:3px; border-radius:999px; margin-top:10px; background:linear-gradient(90deg,var(--amber-deep),var(--sky)); opacity:.9; }
.article-body{ color:var(--text-dim); font-size:.94rem; line-height:1.75; max-width:75ch; }
.article-body > * + *{ margin-top:.9em; }
.article-body ul{ display:grid; gap:10px; margin:.75rem 0; }
.article-body ul li{ position:relative; padding-left:32px; color:var(--text-dim); }
.article-body ul li::before{
  content:"✓"; position:absolute; left:0; top:.1rem; width:22px; height:22px; border-radius:999px;
  display:grid; place-items:center; font-size:.7rem; font-weight:900; color:var(--amber-deep);
  background:rgba(217,119,6,0.1); border:1px solid rgba(217,119,6,0.3);
}
.article-body table{ width:100%; border-collapse:collapse; margin:1rem 0; font-size:.86rem; }
.article-body th, .article-body td{ padding:10px 12px; border:1px solid var(--border); text-align:left; }
.article-body th{ background:var(--bg-deep); color:var(--navy); font-size:.76rem; letter-spacing:.06em; text-transform:uppercase; }
.article-body strong{ color:var(--text); }

/* ---------------- Featured tile carousel ---------------- */
.tile-track{ display:flex; gap:16px; overflow-x:auto; padding-bottom:10px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.tile-track::-webkit-scrollbar{ height:6px; }
.tile-track::-webkit-scrollbar-thumb{ background:rgba(6,22,69,.18); border-radius:3px; }
.tile{
  flex:0 0 auto; width:200px; scroll-snap-align:start; border-radius:16px; overflow:hidden;
  background:#fff; border:1px solid var(--border); text-decoration:none;
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  box-shadow:0 12px 26px -20px rgba(6,22,69,0.3);
}
.tile:hover{ transform:translateY(-3px); border-color:var(--border-amber); box-shadow:0 18px 32px -18px rgba(6,22,69,0.35); }
.tile__media{ aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; font-size:2.4rem; background:linear-gradient(160deg,var(--bg-deep),#fff); }
.tile__text{ padding:14px; display:grid; gap:4px; }
.tile__title{ font-size:.86rem; font-weight:800; color:var(--text); }
.tile__cta{ font-size:.72rem; font-weight:800; color:var(--accent-text); }

/* ---------------- Grid cards (tiers/steps/etc) ---------------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.mini-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:22px; box-shadow:0 14px 30px -24px rgba(6,22,69,0.3); }
.mini-card .ic{ width:42px; height:42px; border-radius:9999px; display:flex; align-items:center; justify-content:center; background:rgba(255,203,5,0.18); color:var(--amber-deep); font-size:1.1rem; margin-bottom:14px; font-weight:800; }
.mini-card h4{ font-size:.96rem; margin-bottom:6px; color:var(--text); }
.mini-card p{ font-size:.82rem; color:var(--text-dim); }

/* ---------------- FAQ accordion ---------------- */
.faq-item{ border-radius:var(--radius-sm); overflow:hidden; border:1px solid var(--border); margin-bottom:12px; }
.faq-trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 16px; background:rgba(22,163,74,0.92); color:#fff; text-align:left;
  font-size:.92rem; font-weight:600; border:none; transition:background-color .15s;
}
.faq-trigger:hover{ background:rgba(22,163,74,1); }
.faq-icon{ flex-shrink:0; width:24px; height:24px; border-radius:999px; background:rgba(255,255,255,0.22); display:flex; align-items:center; justify-content:center; font-size:.9rem; transition:transform .2s ease; }
.faq-trigger[aria-expanded="true"] .faq-icon{ transform:rotate(45deg); }
.faq-content{ display:none; border-top:1px solid var(--border); background:#fff; padding:16px; font-size:.88rem; color:var(--text-dim); }
.faq-content.open{ display:block; }

/* ---------------- CTA banner ---------------- */
.cta-banner{
  position:relative; border-radius:var(--radius-xl); overflow:hidden; padding:44px;
  background:linear-gradient(135deg, var(--navy), var(--navy-deepest));
  display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap;
  box-shadow:0 30px 60px -30px rgba(6,22,69,0.5);
}
.cta-banner h3{ font-size:1.5rem; margin-bottom:8px; color:var(--text-on-dark); }
.cta-banner p{ color:var(--text-on-dark-dim); font-size:.92rem; }
.cta-banner .amber{ color:var(--amber); }
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.cta-banner .btn-outline{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.3); color:#fff; }
.cta-banner .btn-outline:hover{ background:rgba(255,255,255,0.16); }

/* ---------------- Trust strip ---------------- */
.trust-strip{ display:flex; gap:30px; flex-wrap:wrap; justify-content:center; }
.trust-strip div{ display:flex; align-items:center; gap:8px; font-size:.82rem; color:var(--text-dim); }
.trust-strip .dot{ width:7px; height:7px; border-radius:50%; background:var(--green-dot); animation:pulse 2s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.4;} }

/* ---------------- Generic page hero ---------------- */
.page-hero{ padding:44px 0 34px; border-bottom:1px solid var(--border); background:var(--bg-deep); }
.page-hero h1{ font-size:clamp(1.7rem,3.4vw,2.3rem); margin-bottom:10px; }
.page-hero p{ color:var(--text-dim); max-width:640px; }
.breadcrumb{ font-size:.74rem; color:var(--text-mute); margin-bottom:12px; }
.breadcrumb a{ color:var(--text-dim); }
.breadcrumb a:hover{ color:var(--accent-text); }

/* ---------------- Footer ---------------- */
footer.site{
  background:linear-gradient(180deg,var(--navy-deep) 0%,var(--navy-deepest) 100%);
  padding:44px 0 30px;
}
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:36px; margin-bottom:36px; }
.footer-brand p{ font-size:.84rem; color:var(--text-on-dark-dim); margin:14px 0 18px; max-width:280px; }
.footer-col h5{ font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--amber); margin-bottom:14px; font-weight:800; }
.footer-col ul{ display:grid; gap:9px; }
.footer-col a{ font-size:.84rem; color:var(--text-on-dark-dim); transition:color .15s ease; }
.footer-col a:hover{ color:var(--amber); }
.social-pills{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.social-pill{
  display:inline-flex; align-items:center; gap:8px; padding:.5rem 1rem; min-height:2.3rem; border-radius:9999px;
  font-size:.78rem; font-weight:700; color:#fff; background:rgba(255,255,255,0.08); border:1px solid rgba(255,203,5,0.4);
}
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; padding-top:24px; border-top:1px solid rgba(255,255,255,0.12); }
.footer-bottom p{ font-size:.76rem; color:var(--text-on-dark-mute); }
.footer-legal{ display:flex; gap:18px; flex-wrap:wrap; }
.footer-legal a{ font-size:.76rem; color:var(--text-on-dark-mute); }
.footer-legal a:hover{ color:var(--amber); }

/* ---------------- Disclaimer ---------------- */
.disclaimer{ background:var(--bg-deep); border-top:1px solid var(--border); padding:18px 0; }
.disclaimer p{ font-size:.74rem; color:var(--text-mute); text-align:center; line-height:1.7; }

/* ---------------- WhatsApp float ---------------- */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:300; width:54px; height:54px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; font-size:1.4rem; color:#062d13;
  box-shadow:0 10px 26px rgba(6,22,69,.35);
}

/* ---------------- Responsive ---------------- */
@media (max-width:1024px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  nav.main-links{
    position:fixed; inset:66px 14px auto 14px; background:var(--navy-deep); backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.12); border-radius:var(--radius-md); flex-direction:column; align-items:stretch;
    padding:14px; gap:4px; box-shadow:0 20px 40px rgba(6,22,69,.45);
    opacity:0; pointer-events:none; transform:translateY(-8px); transition:all .18s ease;
  }
  nav.main-links.open{ opacity:1; pointer-events:auto; transform:translateY(0); }
  nav.main-links a{ padding:12px 10px; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-outline{ display:none; }
  .grid-4, .grid-3, .footer-grid{ grid-template-columns:1fr; }
  .stats-strip .row{ grid-template-columns:1fr 1fr; gap:22px; }
  .cta-banner{ flex-direction:column; text-align:center; padding:30px 22px; }
  .cta-actions{ justify-content:center; }
  .article__inner{ padding:22px 20px; }
  section{ padding:40px 0; }
}
