/* ============================================================
   V9 FSL11 — styles.css — comefantasycricket.com
   LAYOUT_011 (Dark Hero Cards) · COLOR_004 INDIGO NIGHT
   TYPO_004 (Manrope + Noto Sans Devanagari)
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}

a { color: var(--primary-2); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 var(--s-4) 0;
  font-weight: 800;
}
h1 { font-size: clamp(32px, 4.5vw, 54px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { margin: 0 0 var(--s-4) 0; color: var(--text-2); }

section[id] { scroll-margin-top: 80px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============= HEADER ============= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--soft-border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 100%;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff; font-weight: 900; font-size: 16px; letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(92, 107, 192, 0.45);
}
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 17px; color: var(--text); }
.brand-name em { font-style: normal; color: var(--primary-2); font-weight: 700; }

.primary-nav { display: flex; gap: 22px; align-items: center; flex: 1; justify-content: center; }
.primary-nav a {
  color: var(--text-2); font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 6px 0; position: relative; transition: color var(--t-fast);
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--primary-2); }
.primary-nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary-2); border-radius: 2px;
}

.header-cta { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-family: var(--font-body);
  font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer; border: 0; text-decoration: none;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(92, 107, 192, 0.40);
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(92, 107, 192, 0.55); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--primary-tint); color: var(--text); }

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  padding-top: 80px;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1525 0%, #0D1B2A 100%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(92, 107, 192, 0.20) 0%, transparent 60%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; padding: 64px 24px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--primary-tint); color: var(--primary-2);
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--primary-border-soft); margin-bottom: 18px;
}
.hero-copy h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1; margin: 0 0 18px; color: var(--text);
}
.hero-copy h1 em { font-style: normal; color: var(--primary-2); }
.hero-lede { font-size: 17px; color: var(--text-2); max-width: 620px; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.muted-2 { color: var(--muted); }

.hero-trust {
  background: rgba(20, 37, 64, 0.75);
  border: 1px solid var(--primary-border-soft);
  border-radius: 16px; padding: 26px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-trust h3 { font-size: 16px; color: var(--accent); margin: 0 0 16px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; }
.hero-trust ul { list-style: none; padding: 0; margin: 0; }
.hero-trust li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--soft-border); font-size: 14px; color: var(--text-2); }
.hero-trust li:last-child { border-bottom: 0; }
.hero-trust .check { color: var(--primary-2); flex-shrink: 0; font-weight: 800; }

/* ============= COMPLIANCE STRIP ============= */
.compliance {
  background: rgba(20, 37, 64, 0.55);
  border-top: 1px solid var(--soft-border);
  border-bottom: 1px solid var(--soft-border);
  padding: 14px 0; font-size: 13px; color: var(--text-2);
}
.compliance .container { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.compliance .pill {
  background: var(--accent); color: #1a1f2e; font-weight: 800; font-size: 11px;
  padding: 4px 10px; border-radius: 999px; letter-spacing: 0.10em;
}
.compliance a { color: var(--primary-2); font-weight: 700; }
.compliance a:hover { color: var(--primary); }

/* ============= SECTION HEADERS ============= */
.section-head { margin-bottom: var(--s-7); text-align: left; max-width: 760px; }
.section-head .eyebrow {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: var(--primary-tint); color: var(--primary-2);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--primary-border-soft); margin-bottom: 12px;
}
.section-head h2 { color: var(--text); margin: 0 0 14px; }
.section-head p { color: var(--text-2); font-size: 16px; margin: 0; }

/* ============= BANDS ============= */
.band { padding: var(--s-8) 0; }
.band-elev-1 { background: var(--background-2); }
.band-elev-2 { background: var(--surface); }
.band-elev-3 { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }

/* ============= CARDS ============= */
.card {
  background: var(--surface);
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border-soft);
  box-shadow: var(--shadow-2);
}
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card h3 { color: var(--text); font-size: 18px; margin: 0 0 10px; }
.card p { font-size: 14px; color: var(--text-2); margin: 0; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--primary-tint); color: var(--primary-2);
  margin-bottom: 14px; font-size: 18px; border: 1px solid var(--primary-border-soft);
}
.card.bordered-primary { border-color: var(--primary-border); }
.card.bordered-accent { border-color: var(--accent-tint); }

/* Loose card — single large block with theme gradient border */
.loose-card {
  background: linear-gradient(135deg, rgba(92, 107, 192, 0.10) 0%, rgba(92, 107, 192, 0.03) 100%);
  border: 2px solid rgba(92, 107, 192, 0.45);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  padding: 26px;
  margin: 22px 0;
}
.loose-card h3 { color: var(--primary-2); font-size: 20px; font-weight: 900; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.loose-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: rgba(92, 107, 192, 0.30);
  border-radius: 8px; color: var(--primary-2); font-size: 16px;
}

/* Step grid */
.step-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step-card {
  background: var(--surface); border: 1px solid var(--soft-border);
  border-radius: var(--radius); padding: 20px; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; font-weight: 900; font-size: 16px;
  margin-bottom: 12px; box-shadow: 0 4px 12px rgba(92, 107, 192, 0.4);
}
.step-card h3 { font-size: 17px; margin: 0 0 8px; }
.step-card p { font-size: 13.5px; color: var(--text-2); margin: 0; }

/* Data grid */
.data-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.data-card {
  background: var(--surface); border: 1px solid var(--primary-border-soft);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.data-value { font-size: 36px; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 8px; font-family: var(--font-display); }
.data-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }

/* Risk grid */
.risk-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.risk-card {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.10) 0%, rgba(248, 113, 113, 0.02) 100%);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: var(--radius); padding: 20px;
}
.risk-card h3 { color: var(--danger); font-size: 16px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.risk-card p { font-size: 13.5px; color: var(--text-2); margin: 0 0 8px; }
.risk-card .risk-mitigation { font-size: 12px; color: var(--success); font-weight: 700; }

/* Comparison grid */
.comparison-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.comparison-card {
  background: var(--surface); border: 1px solid var(--soft-border);
  border-radius: var(--radius); padding: 20px;
}
.comparison-card .platform-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--primary-tint); color: var(--primary-2);
  font-size: 11px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase;
  margin-bottom: 14px;
}

/* Inline image row */
.inline-image-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  background: linear-gradient(135deg, rgba(92, 107, 192, 0.06) 0%, rgba(92, 107, 192, 0.02) 100%);
  border: 1px solid rgba(92, 107, 192, 0.25);
  border-radius: 14px; padding: 20px;
  margin: 24px 0;
}
.inline-image-row .image-side img {
  width: 100%; height: auto; border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.inline-image-row .text-side .eyebrow-mini {
  color: var(--primary-2); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 8px;
}
.inline-image-row .text-side h4 {
  color: var(--text); font-size: 18px; font-weight: 800; margin: 0 0 10px;
}
.inline-image-row .text-side p { color: var(--text-2); font-size: 13.5px; line-height: 1.6; margin: 0; }

/* ============= TABLES ============= */
.data-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--primary-border-soft); border-radius: 10px;
  overflow: hidden; margin: 18px 0;
}
.data-table th {
  background: rgba(92, 107, 192, 0.15); color: var(--primary-2);
  padding: 14px; text-align: left; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.10em;
}
.data-table td {
  padding: 12px 14px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-2); font-size: 14px;
}
.data-table tr:hover td { background: rgba(255, 255, 255, 0.03); }

/* ============= FAQ ============= */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--soft-border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--text);
  list-style: none; position: relative; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); color: var(--primary-2); font-size: 22px; font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { border-bottom: 1px solid var(--soft-border); }
.faq-item .faq-answer {
  padding: 18px 22px; color: var(--text-2); font-size: 14.5px; line-height: 1.7;
}

/* ============= HOMEPAGE EXTRAS ============= */
.spotlight-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.spotlight-card {
  background: linear-gradient(160deg, rgba(92, 107, 192, 0.18) 0%, rgba(92, 107, 192, 0.04) 100%);
  border: 1px solid var(--primary-border-soft);
  border-radius: 14px; padding: 24px;
}
.spotlight-num {
  font-family: var(--font-display); font-size: 42px; font-weight: 900;
  color: var(--accent); line-height: 1; margin-bottom: 4px;
}
.spotlight-label {
  font-size: 11px; color: var(--primary-2); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 800; display: block; margin-bottom: 12px;
}
.spotlight-card p { font-size: 13.5px; color: var(--text-2); margin: 0; }

.hub-card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hub-card {
  background: var(--surface); border: 1px solid var(--soft-border);
  border-radius: var(--radius); padding: 0; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.hub-card .hub-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hub-card .hub-card-body { padding: 18px; }
.hub-card h3 { font-size: 17px; margin: 0 0 8px; }
.hub-card p { font-size: 13.5px; color: var(--text-2); margin: 0 0 12px; }
.hub-card .hub-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--primary-2); font-weight: 700; font-size: 13px;
}

.news-card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.news-card {
  background: var(--surface); border: 1px solid var(--soft-border);
  border-radius: var(--radius); overflow: hidden;
}
.news-card .news-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card .news-card-body { padding: 18px; }
.news-card .news-card-meta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 8px; }
.news-card h3 { font-size: 16px; margin: 0 0 8px; }
.news-card p { font-size: 13px; color: var(--text-2); margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(92, 107, 192, 0.18) 0%, rgba(92, 107, 192, 0.06) 100%);
  border-top: 1px solid var(--primary-border-soft);
  border-bottom: 1px solid var(--primary-border-soft);
  padding: var(--s-7) 0;
}
.cta-band .cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--text); margin: 0 0 12px; }
.cta-band p { color: var(--text-2); margin: 0 0 20px; }

/* ============= FOOTER ============= */
.site-footer {
  background: #07101C; padding: var(--s-8) 0 var(--s-5);
  border-top: 1px solid var(--soft-border);
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-bottom: var(--s-6); }
.footer-col h4 {
  color: var(--primary-2); font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; margin: 0 0 16px;
}
.footer-col p, .footer-col li { color: var(--text-2); font-size: 13.5px; line-height: 1.7; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { padding: 4px 0; }
.footer-col ul li a { color: var(--text-2); transition: color var(--t-fast); }
.footer-col ul li a:hover { color: var(--primary-2); }

.footer-bottom {
  border-top: 1px solid var(--soft-border); padding-top: var(--s-5);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: var(--muted); font-size: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Social row in footer */
.social-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(92, 107, 192, 0.12); color: var(--primary-2);
  border: 1px solid rgba(92, 107, 192, 0.30); text-decoration: none;
  transition: all 0.2s;
}
.social-icon:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ============= MOBILE ============= */
@media (max-width: 899px) {
  .hero { min-height: 480px !important; max-height: 720px !important; padding: 60px 0 40px !important; }
  .hero img { height: 100% !important; object-fit: cover !important; }
  .hero-trust { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-band .cta-grid { grid-template-columns: 1fr; }
  .inline-image-row { grid-template-columns: 1fr; }
  .primary-nav { display: none !important; }
  .header-cta .btn-ghost, .header-cta .btn-primary { display: none !important; }
  .hamburger { display: inline-flex !important; }
}
@media (min-width: 900px) {
  .hamburger { display: none !important; }
  .mobile-drawer { display: none !important; }
  .mobile-drawer.is-open { display: block !important; }
  .header-cta .btn-ghost, .header-cta .btn-primary { display: inline-flex; }
  .primary-nav { display: flex; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 32px; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr; }
}


/* faq-grid (missing from subagent's CSS) */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--gradient-tile); border: 1px solid var(--soft-border); border-radius: var(--r-lg); padding: 0; margin-bottom: 12px; }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--text-strong); list-style: none; position: relative; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; font-size: 20px; color: var(--accent); }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { padding: 0 20px 16px; margin: 0; color: var(--text-muted); line-height: 1.6; }


/* hero h1 (added to fix overflow) */
.hero h1 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
.hero .hero-lede {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 100%;
  word-wrap: break-word;
}
.hero-copy {
  max-width: 100%;
  overflow: hidden;
  word-wrap: break-word;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 100%;
}


/* responsive table wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
}
.table-responsive table {
  min-width: 480px;
}
@media (max-width: 599px) {
  .data-table th, .data-table td {
    padding: 10px 8px;
    font-size: 12px;
  }
  .data-table th {
    letter-spacing: 0.04em;
  }
}
