/* ===== 88fb login - Style DNA =====
   layout_bias: content-first asymmetric
   hero_layout: split-image with gradient overlay
   nav_alignment: center-justified horizontal
   card_geometry: rounded-lg with subtle shadow
   background_treatment: layered gradient sections
   section_divider: spacing-only, no visible lines
   shadow_density: light
   icon_style: none (no icon library)
   cta_emphasis: dual-button with contrast
   copy_tone: informative bengali
   footer_style: heavy multi-column
*/

/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans Bengali",sans-serif;
  font-size:16px;line-height:1.7;color:#1a1a2e;background:#fafbff;
  overflow-x:hidden;min-height:100vh;display:flex;flex-direction:column;
}
img{max-width:100%;height:auto;display:block}
a{color:#2563eb;text-decoration:none;transition:color .2s}
a:hover{color:#1d4ed8}
ul,ol{list-style:none}
button{font:inherit;cursor:pointer}
h1,h2,h3,h4,h5,h6{line-height:1.25;font-weight:700;color:#0f172a}

/* ===== Layout Container ===== */
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 20px}

/* ===== Site Header ===== */
.site-header{
  position:sticky;top:0;z-index:1000;width:100%;
  background:linear-gradient(135deg,#0a1628 0%,#132240 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 2px 20px rgba(0,0,0,.15);
}
.header-inner{
  max-width:1180px;margin:0 auto;min-height:72px;padding:0 20px;
  display:grid;grid-template-columns:168px minmax(0,1fr) auto;
  align-items:center;gap:18px;
}
.brand-wrap{
  width:168px;min-width:168px;max-width:168px;height:56px;
  display:flex;align-items:center;gap:10px;overflow:hidden;
  text-decoration:none;
}
.brand-mark{
  width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;
  background:linear-gradient(135deg,#f59e0b,#ef4444);border-radius:10px;
}
.brand-mark svg{width:26px;height:26px}
.brand-text{min-width:0;line-height:1.05}
.brand-text strong{
  display:block;max-width:105px;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;font-size:18px;font-weight:800;color:#fff;letter-spacing:-.3px;
}
.brand-text span{
  display:block;max-width:105px;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;font-size:11px;color:rgba(255,255,255,.55);font-weight:400;
}

/* ===== Primary Navigation ===== */
.primary-nav{
  min-width:0;display:flex;align-items:center;justify-content:center;
  gap:clamp(6px,1vw,18px);overflow:visible;flex-wrap:nowrap;
}
.primary-nav a{
  white-space:nowrap;flex:0 1 auto;max-width:128px;overflow:hidden;
  text-overflow:ellipsis;line-height:1;padding:10px 7px;
  font-size:14px;font-weight:500;color:rgba(255,255,255,.78);
  transition:color .2s;border-bottom:2px solid transparent;
}
.primary-nav a:hover,.primary-nav a.active{
  color:#fff;border-bottom-color:#f59e0b;
}

/* ===== Nav More Menu ===== */
.nav-more{position:relative;flex:0 0 auto}
.more-toggle{
  min-height:38px;padding:0 12px;border:0;border-radius:999px;cursor:pointer;
  white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.1);color:rgba(255,255,255,.8);font-size:13px;font-weight:600;
  transition:background .2s;
}
.more-toggle:hover{background:rgba(255,255,255,.18)}
.more-menu{
  position:absolute;top:calc(100% + 12px);right:0;min-width:210px;padding:10px;
  border-radius:16px;z-index:1200;background:#1e293b;border:1px solid rgba(255,255,255,.1);
  box-shadow:0 12px 40px rgba(0,0,0,.4);
}
.more-menu[hidden]{display:none}
.nav-more.is-open .more-menu{display:grid!important;gap:4px}
.more-menu a{
  display:block;width:100%;max-width:none;padding:11px 12px;white-space:nowrap;
  text-overflow:ellipsis;overflow:hidden;color:rgba(255,255,255,.8);font-size:14px;
  border-radius:8px;transition:background .15s;
}
.more-menu a:hover{background:rgba(255,255,255,.08);color:#fff}

/* ===== Header Actions ===== */
.header-actions{
  flex-shrink:0;display:flex;align-items:center;gap:10px;white-space:nowrap;
}
.header-actions .btn{
  min-height:42px;padding:0 18px;display:inline-flex;align-items:center;
  justify-content:center;white-space:nowrap;border-radius:8px;font-size:14px;
  font-weight:600;border:none;cursor:pointer;transition:all .2s;text-decoration:none;
}
.btn-register{
  background:linear-gradient(135deg,#f59e0b,#f97316);color:#0f172a;
  box-shadow:0 2px 12px rgba(245,158,11,.3);
}
.btn-register:hover{background:linear-gradient(135deg,#fbbf24,#fb923c);color:#0f172a;transform:translateY(-1px)}
.btn-login{
  background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.2);
}
.btn-login:hover{background:rgba(255,255,255,.18);color:#fff}

.nav-toggle{
  display:none;width:42px;height:42px;border:0;border-radius:8px;
  background:rgba(255,255,255,.08);color:#fff;align-items:center;justify-content:center;
  font-size:20px;
}

/* ===== Hero Section ===== */
.hero{
  background:linear-gradient(135deg,#0a1628 0%,#1e3a5f 50%,#0f2847 100%);
  color:#fff;padding:64px 0 72px;position:relative;overflow:hidden;
}
.hero::before{
  content:"";position:absolute;top:-50%;right:-20%;width:600px;height:600px;
  background:radial-gradient(circle,rgba(245,158,11,.12) 0%,transparent 70%);
  pointer-events:none;
}
.hero-grid{
  display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;
}
.hero h1{font-size:clamp(26px,3.5vw,44px);line-height:1.2;margin-bottom:20px;color:#fff}
.hero-lead{font-size:17px;line-height:1.8;color:rgba(255,255,255,.8);margin-bottom:28px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-actions .btn{min-height:50px;padding:0 28px;font-size:16px;border-radius:10px}
.hero-img{border-radius:18px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.hero-img img{width:100%;display:block}

/* ===== Inner Hero (for inner pages) ===== */
.inner-hero{
  background:linear-gradient(135deg,#0a1628,#1a365d);color:#fff;
  padding:48px 0 40px;
}
.inner-hero h1{font-size:clamp(24px,3vw,38px);margin-bottom:14px;color:#fff}
.inner-hero .hero-lead{font-size:16px;max-width:680px}

/* ===== Breadcrumb ===== */
.breadcrumb-wrap{padding:14px 0;background:#f1f5f9;border-bottom:1px solid #e2e8f0}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;flex-wrap:wrap}
.breadcrumb a{color:#2563eb}
.breadcrumb span{color:#94a3b8}

/* ===== Content Sections ===== */
.content-section{padding:72px 0}
.content-section:nth-child(even){background:#f8fafc}
.content-grid{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
  gap:36px;align-items:start;
}
.section-title{
  font-size:clamp(22px,2.5vw,32px);line-height:1.3;margin-bottom:22px;
  color:#0f172a;position:relative;
}
.section-title::after{
  content:"";display:block;width:48px;height:3px;margin-top:10px;
  background:linear-gradient(90deg,#f59e0b,#ef4444);border-radius:2px;
}

/* ===== Prose (article body) ===== */
.prose{max-width:820px}
.prose p{font-size:17px;line-height:1.9;margin:0 0 18px;color:#334155}
.prose h2{
  font-size:clamp(22px,2.5vw,34px);line-height:1.25;margin:42px 0 18px;color:#0f172a;
}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:clamp(18px,2vw,24px);line-height:1.35;margin:28px 0 12px;color:#1e293b}
.prose ul,.prose ol{margin:0 0 18px;padding-left:24px}
.prose li{margin-bottom:8px;font-size:16px;line-height:1.7;color:#334155}
.prose ul li{list-style:disc}
.prose ol li{list-style:decimal}
.prose img{border-radius:12px;margin:24px 0;box-shadow:0 4px 20px rgba(0,0,0,.08)}
.prose table{width:100%;border-collapse:collapse;margin:24px 0;font-size:15px}
.prose th,.prose td{padding:12px 16px;border:1px solid #e2e8f0;text-align:left}
.prose th{background:#f1f5f9;font-weight:600;color:#0f172a}

/* ===== Cards ===== */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;margin:32px 0}
.card{
  background:#fff;border-radius:16px;overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.06);border:1px solid #e8ecf2;
  transition:transform .2s,box-shadow .2s;
}
.card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(0,0,0,.1)}
.card-img{aspect-ratio:16/10;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.card:hover .card-img img{transform:scale(1.05)}
.card-body{padding:20px}
.card-body h3{font-size:18px;margin-bottom:8px;color:#0f172a}
.card-body p{font-size:14px;color:#64748b;line-height:1.6;margin-bottom:12px}
.card-link{
  display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;
  color:#2563eb;
}

/* ===== Sidebar ===== */
.sidebar{position:sticky;top:90px}
.side-box{
  background:#fff;border-radius:14px;padding:24px;margin-bottom:20px;
  border:1px solid #e8ecf2;box-shadow:0 2px 10px rgba(0,0,0,.04);
}
.side-box h3{font-size:16px;margin-bottom:14px;color:#0f172a;font-weight:700}
.side-box a{
  display:block;padding:10px 0;font-size:14px;color:#475569;
  border-bottom:1px solid #f1f5f9;transition:color .15s;
}
.side-box a:last-child{border-bottom:none}
.side-box a:hover{color:#2563eb}

/* ===== Steps ===== */
.steps{counter-reset:step;margin:32px 0}
.step-item{
  display:flex;gap:18px;padding:20px 0;border-bottom:1px solid #e8ecf2;
  counter-increment:step;
}
.step-item::before{
  content:counter(step);flex:0 0 44px;height:44px;display:grid;place-items:center;
  background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;font-weight:800;
  font-size:18px;border-radius:12px;
}
.step-content h3{font-size:17px;margin-bottom:6px;color:#0f172a}
.step-content p{font-size:15px;color:#475569;line-height:1.7}

/* ===== Warning / Notice ===== */
.notice-box{
  background:linear-gradient(135deg,#fef3c7,#fde68a);border-left:4px solid #f59e0b;
  border-radius:0 12px 12px 0;padding:20px 24px;margin:28px 0;
}
.notice-box h3{font-size:17px;color:#92400e;margin-bottom:8px}
.notice-box p,.notice-box li{font-size:15px;color:#78350f;line-height:1.7}

/* ===== FAQ ===== */
.faq-section{padding:72px 0;background:#f8fafc}
.faq-list{max-width:820px;margin:0 auto}
.faq-item{
  background:#fff;border-radius:12px;margin-bottom:12px;overflow:hidden;
  border:1px solid #e8ecf2;
}
.faq-question{
  width:100%;padding:18px 24px;border:none;background:transparent;
  text-align:left;font-size:16px;font-weight:600;color:#0f172a;
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  cursor:pointer;
}
.faq-question::after{
  content:"+";font-size:22px;font-weight:300;color:#94a3b8;
  transition:transform .2s;flex-shrink:0;
}
.faq-item.is-open .faq-question::after{content:"\2212";transform:rotate(180deg)}
.faq-answer{
  padding:0 24px;max-height:0;overflow:hidden;transition:max-height .3s,padding .3s;
}
.faq-item.is-open .faq-answer{max-height:600px;padding:0 24px 20px}
.faq-answer p{font-size:15px;line-height:1.8;color:#475569}

/* ===== CTA Banner ===== */
.cta-banner{
  background:linear-gradient(135deg,#1e3a5f,#0f2847);color:#fff;
  padding:56px 0;text-align:center;
}
.cta-banner h2{font-size:clamp(24px,3vw,36px);margin-bottom:14px;color:#fff}
.cta-banner p{font-size:17px;color:rgba(255,255,255,.75);margin-bottom:28px;max-width:600px;margin-left:auto;margin-right:auto}
.cta-banner .btn{min-height:50px;padding:0 32px;font-size:16px}

/* ===== Related Links ===== */
.related-links{padding:56px 0}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.related-item{
  display:block;padding:18px 20px;background:#fff;border-radius:12px;
  border:1px solid #e8ecf2;font-size:15px;color:#0f172a;font-weight:500;
  transition:all .2s;
}
.related-item:hover{border-color:#2563eb;box-shadow:0 4px 16px rgba(37,99,235,.1);color:#2563eb}

/* ===== Table Wrapper ===== */
.table-wrap{overflow-x:auto;margin:24px 0}
.info-table{width:100%;border-collapse:collapse;font-size:15px;min-width:480px}
.info-table th,.info-table td{padding:14px 18px;border:1px solid #e2e8f0;text-align:left}
.info-table th{background:#0f172a;color:#fff;font-weight:600}
.info-table tr:nth-child(even){background:#f8fafc}

/* ===== Footer ===== */
.site-footer{
  background:#0a1628;color:rgba(255,255,255,.7);padding:64px 0 0;margin-top:auto;
}
.footer-grid{
  display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:36px;padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-brand{margin-bottom:18px}
.footer-brand strong{font-size:20px;color:#fff;display:block;margin-bottom:6px}
.footer-brand span{font-size:13px;color:rgba(255,255,255,.5)}
.footer-desc{font-size:14px;line-height:1.7;color:rgba(255,255,255,.55);margin-bottom:18px}
.footer-contact p{font-size:13px;margin-bottom:6px;color:rgba(255,255,255,.5)}
.footer-contact a{color:rgba(255,255,255,.6)}
.footer-col h4{font-size:15px;color:#fff;margin-bottom:16px;font-weight:700}
.footer-col a{
  display:block;padding:5px 0;font-size:14px;color:rgba(255,255,255,.55);
  transition:color .15s;
}
.footer-col a:hover{color:#f59e0b}
.footer-bottom{
  padding:24px 0;display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:12px;font-size:13px;color:rgba(255,255,255,.4);
}
.footer-bottom a{color:rgba(255,255,255,.5)}

/* ===== 404 Page ===== */
.error-page{
  flex:1;display:flex;align-items:center;justify-content:center;
  text-align:center;padding:80px 20px;
}
.error-page h1{font-size:96px;color:#e2e8f0;font-weight:900;line-height:1}
.error-page h2{font-size:28px;margin:16px 0 12px;color:#0f172a}
.error-page p{font-size:16px;color:#64748b;margin-bottom:28px}

/* ===== Utility ===== */
.text-center{text-align:center}
.mt-0{margin-top:0}
.mb-0{margin-bottom:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ===== Responsive: Tablet ===== */
@media(max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:32px}
  .hero-img{max-width:480px}
  .content-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}

/* ===== Responsive: Mobile ===== */
@media(max-width:900px){
  .header-inner{
    min-height:68px;grid-template-columns:140px 1fr auto;gap:10px;
  }
  .brand-wrap{width:140px;min-width:140px;max-width:140px;height:48px}
  .brand-mark{width:38px;height:38px;flex-basis:38px}
  .brand-text strong{max-width:86px;font-size:16px}
  .brand-text span{max-width:86px;font-size:10px}

  .primary-nav{
    position:fixed;left:12px;right:12px;top:76px;display:none;
    flex-direction:column;align-items:stretch;gap:0;padding:14px;
    border-radius:18px;max-height:calc(100vh - 96px);overflow-y:auto;
    background:#1e293b;box-shadow:0 12px 40px rgba(0,0,0,.5);
    border:1px solid rgba(255,255,255,.1);z-index:999;
  }
  .primary-nav.is-open{display:flex}
  .primary-nav a{
    max-width:none;width:100%;padding:14px 12px;text-overflow:initial;
    font-size:15px;border-bottom:1px solid rgba(255,255,255,.06);
    border-left:none;
  }
  .primary-nav a:last-child{border-bottom:none}

  .header-actions{justify-content:flex-end;gap:6px}
  .header-actions .btn{min-height:38px;padding:0 12px;font-size:13px}
  .nav-toggle{display:inline-flex}

  /* Mobile: flatten more-menu items into nav flow */
  .nav-more{position:static;width:100%;flex:1 1 100%}
  .more-toggle{display:none}
  .more-menu{
    display:contents!important;
    position:static;min-width:0;padding:0;border:none;
    background:none;box-shadow:none;border-radius:0;
  }
  .more-menu[hidden]{display:contents!important}
  .more-menu a{
    max-width:none;width:100%;padding:14px 12px;
    font-size:15px;border-bottom:1px solid rgba(255,255,255,.06);
    border-radius:0;
  }

  .hero{padding:40px 0 48px}
  .hero h1{font-size:clamp(22px,6vw,32px)}
  .inner-hero{padding:32px 0}

  .content-section{padding:48px 0}
  .prose p{font-size:16px;line-height:1.85}
  .prose h2{font-size:clamp(20px,5vw,28px);margin:32px 0 14px}

  .card-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}

  .faq-question{padding:16px 18px;font-size:15px}
}

@media(max-width:480px){
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%;justify-content:center}
  .steps .step-item{flex-direction:column;gap:12px}
}
