/* IPL FANTASY PRIME - L16 Data Dashboard */
:root {
  --violet: #6B2BFF;
  --mint: #00E0A4;
  --slate: #2D2D3A;
  --bg: #F7F7FB;
  --text: #1A1A2E;
  --text-soft: #4A4A5C;
  --border: rgba(45,45,58,0.12);
  --container: 1200px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { 
  font-family: var(--font-body); 
  color: var(--text); 
  background: var(--bg); 
  line-height: 1.6; 
  -webkit-font-smoothing: antialiased; 
}

h1, h2, h3, h4 { 
  font-family: var(--font-display); 
  font-weight: 700; 
  line-height: 1.2; 
}

a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.band { padding: 64px 0; }
.band-elev-1 { background: white; }
.band-elev-2 { background: var(--slate); color: white; }

.site-header {
  position: sticky; top: 0; z-index: 250;
  background: white;
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  background: var(--violet);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-display); font-weight: 700;
}
.brand-name { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.brand-tag { font-size: 12px; color: var(--mint); }

.main-nav { display: flex; gap: 24px; }
.main-nav a { color: var(--text); font-weight: 500; }
.main-nav a.cta {
  background: var(--violet); color: white;
  padding: 8px 16px; border-radius: 6px;
}

.header-right { display: flex; gap: 8px; align-items: center; }
.header-cta-ghost { padding: 8px 14px; }
.header-cta { background: var(--violet); color: white; padding: 10px 18px; border-radius: 6px; font-weight: 600; }

.hamburger {
  display: none; background: transparent; border: 0;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  cursor: pointer; z-index: 300 !important; position: relative !important;
}
.hamburger span { display: block; width: 24px; height: 3px; background: var(--text); }

.mobile-drawer {
  position: fixed; top: 64px; right: -100%; width: 84%; max-width: 320px;
  height: calc(100vh - 64px); background: white;
  border-left: 3px solid var(--violet);
  z-index: 200; padding: 24px;
  transition: right 0.3s ease;
}
.mobile-drawer.is-open, .mobile-drawer.open { right: 0; }
.mobile-drawer a { display: block; padding: 12px 0; color: var(--text); border-bottom: 1px solid var(--border); }

.hero { min-height: 480px; padding: 80px 0 60px; background: linear-gradient(135deg, var(--violet) 0%, var(--slate) 100%); color: white; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; }
.hero-lede { font-size: 18px; line-height: 1.6; opacity: 0.92; margin-bottom: 32px; max-width: 500px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { padding: 14px 24px; border-radius: 6px; font-weight: 600; }

.btn-primary { background: var(--mint); color: var(--slate); }
.btn-ghost { background: transparent; color: white; border: 2px solid white; }

.content-hero-image { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.content-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.content-hero-overlay {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.95); color: var(--text);
  padding: 16px; border-radius: 8px;
}
.content-hero-label { font-size: 12px; color: var(--violet); font-weight: 700; text-transform: uppercase; }
.content-hero-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; }

.prose h2 { font-size: 28px; margin: 32px 0 16px; }
.prose h3 { font-size: 22px; margin: 24px 0 12px; }
.prose p { margin-bottom: 16px; }

.band-header { margin-bottom: 32px; }
.eyebrow { color: var(--violet); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.band-title { font-size: 36px; margin-top: 8px; }

.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.data-card { background: white; border: 2px solid var(--violet); border-radius: 10px; padding: 24px; }
.data-card .data-num { font-family: var(--font-mono); font-size: 32px; color: var(--violet); font-weight: 700; }
.data-card .data-label { font-weight: 600; margin-top: 8px; }
.data-card .data-sub { font-size: 14px; color: var(--text-soft); margin-top: 4px; }

.step-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.step-num { font-family: var(--font-display); font-size: 36px; color: var(--mint); font-weight: 700; }

.loose-card { background: linear-gradient(135deg, rgba(107,43,255,0.10) 0%, rgba(0,224,164,0.05) 100%); border: 2px solid var(--violet); border-radius: 12px; padding: 24px; margin: 24px 0; }

.inline-image-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 32px 0; }
.inline-image-row img { width: 100%; border-radius: 8px; }

.content-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0; align-items: center; }
.content-2col img { width: 100%; border-radius: 8px; }

.content-image-card img { width: 100%; border-radius: 8px; margin: 16px 0; }

.faq-grid { display: grid; gap: 12px; margin: 24px 0; }
.faq-grid details { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.faq-grid summary { cursor: pointer; font-weight: 600; }

.site-footer { background: var(--slate); color: white; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { margin-bottom: 12px; }
.footer-grid a { display: block; color: rgba(255,255,255,0.8); padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; opacity: 0.7; }

@media (max-width: 900px) {
  .main-nav, .header-cta-ghost { display: none !important; }
  .hamburger { display: flex !important; }
  .hero .container { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .inline-image-row, .content-2col { grid-template-columns: 1fr !important; }
}

@media (max-width: 899px) {
  #hero { max-height: 720px !important; min-height: 480px !important; overflow: hidden !important; }
  .content-hero-image { aspect-ratio: 4 / 3; }
}
