/* ==========================================================================
   JAIQ ACADEMY - BESPOKE PREMIUM PORTAL STYLESHEET
   Design Language: Linear / Stripe / Apple Inspired Clean Luxury
   Palette: Emerald, Forest Slate, Mint Glassmorphism, Crisp Vector Accents
   ========================================================================== */

:root {
  --primary-emerald: #059669;
  --primary-dark: #064E3B;
  --primary-forest: #022C22;
  --primary-light: #ECFDF5;
  --primary-border: rgba(5, 150, 105, 0.18);
  --primary-glow: rgba(5, 150, 105, 0.12);

  --accent-teal: #0D9488;
  --accent-teal-dark: #115E59;
  --accent-teal-light: #F0FDFA;

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-emerald: #047857;

  --bg-page: #F8FAF9;
  --bg-card: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.96);

  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-bn: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 20px 45px -15px rgba(6, 78, 59, 0.08), 0 0 0 1px rgba(5, 150, 105, 0.14);
  --shadow-card-hover: 0 32px 70px -20px rgba(5, 150, 105, 0.22), 0 0 0 1.5px rgba(5, 150, 105, 0.45);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-cubic: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-bn);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(16, 185, 129, 0.12), transparent 70%),
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.06), transparent 50%),
    radial-gradient(circle at 90% 40%, rgba(5, 150, 105, 0.05), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body[data-lang="en"] {
  font-family: var(--font-en);
}

.text-center {
  text-align: center;
}

/* ================= Top Announcement ================= */
.top-announcement {
  background: linear-gradient(90deg, #022C22 0%, #064E3B 50%, #047857 100%);
  color: #ECFDF5;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #34D399;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.announcement-cta {
  color: #6EE7B7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.announcement-cta:hover {
  color: #FFFFFF;
}

/* ================= Clean Site Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background: #F0FDF4;
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease;
}

.brand-badge:hover .brand-icon-box {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-en);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #064E3B;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-emerald);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Language Pill Button */
.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: #F0FDF4;
  border: 1.5px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 700;
  color: #065F46;
  transition: var(--transition-cubic);
}

.lang-pill-btn:hover {
  background: #DCFCE7;
  border-color: var(--primary-emerald);
  transform: translateY(-1px);
}

.lang-divider {
  color: rgba(5, 150, 105, 0.35);
  font-weight: 400;
}

.lang-alt {
  font-size: 0.78rem;
  color: var(--primary-emerald);
}



/* ================= Hero Intro Block ================= */
.main-wrapper {
  flex: 1;
  padding: 3.8rem 1.5rem 4.5rem;
}

.portal-hero {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto 3.6rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-emerald);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
  margin-bottom: 1.4rem;
}

.chip-dot {
  width: 7px;
  height: 7px;
  background: var(--primary-emerald);
  border-radius: 50%;
}

.hero-headline {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #022C22;
  margin-bottom: 1rem;
}

.text-accent-gradient {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto;
}

/* ================= THE DUAL GRAND PREMIUM CARDS ================= */
.dual-portals-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.portal-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: var(--transition-cubic);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.card-ambient-light {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.card-lms .card-ambient-light {
  background: radial-gradient(ellipse at top, rgba(5, 150, 105, 0.15), transparent 70%);
}

.card-qbank .card-ambient-light {
  background: radial-gradient(ellipse at top, rgba(13, 148, 136, 0.15), transparent 70%);
}

.card-content-wrap {
  position: relative;
  z-index: 1;
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Top Badges in Card */
.card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  gap: 0.75rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.live-batch {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.mini-pulse {
  width: 7px;
  height: 7px;
  background: #DC2626;
  border-radius: 50%;
  animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.official-seal {
  background: #CCFBF1;
  color: #0F766E;
  border: 1px solid rgba(15, 118, 110, 0.25);
}

.type-tag {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================= BROWSER MOCKUP PREVIEW FRAME ================= */
.preview-mockup-frame {
  display: block;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid rgba(5, 150, 105, 0.22);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.1);
  margin-bottom: 1.8rem;
  transition: var(--transition-cubic);
}

.preview-mockup-frame:hover {
  border-color: var(--primary-emerald);
  box-shadow: 0 16px 35px -8px rgba(5, 150, 105, 0.25);
  transform: scale(1.015);
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.9rem;
  background: #F1F5F3;
  border-bottom: 1px solid rgba(5, 150, 105, 0.12);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dots span:nth-child(1) { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #27C93F; }

.browser-address {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #FFFFFF;
  padding: 0.2rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssl-lock {
  font-size: 0.75rem;
  opacity: 0.7;
}

.mockup-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #FAFAFA;
}

.card-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}

.preview-mockup-frame:hover .card-preview-img {
  transform: scale(1.04);
}

.hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 44, 34, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-mockup-frame:hover .hover-overlay {
  opacity: 1;
}

.overlay-badge {
  padding: 0.55rem 1.2rem;
  background: #FFFFFF;
  color: #064E3B;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.preview-mockup-frame:hover .overlay-badge {
  transform: translateY(0);
}

/* ================= Card Header Block ================= */
.card-header-block {
  margin-bottom: 0.8rem;
}

.title-meta {
  display: flex;
  flex-direction: column;
}

.portal-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #022C22;
  line-height: 1.15;
}

.portal-subtitle {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-emerald);
  margin-top: 0.15rem;
}

.portal-intro-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Feature List */
.portal-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.portal-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.feat-icon-bullet {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #ECFDF5;
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  margin-top: 1px;
}

.teal-bullet {
  background: #F0FDFA;
  border-color: rgba(13, 148, 136, 0.25);
  color: #0D9488;
}

/* Metric Strip inside Card */
.card-metric-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAF9;
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.8rem;
}

.metric-block {
  flex: 1;
  text-align: center;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: rgba(5, 150, 105, 0.15);
}

.metric-val {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 800;
  color: #064E3B;
  display: block;
  line-height: 1.1;
}

.metric-lbl {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: block;
}

/* Big Action Button */
.card-footer-action {
  margin-top: auto;
}

.btn-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.35);
  transition: var(--transition-cubic);
  position: relative;
  overflow: hidden;
}

.btn-portal-emerald {
  background: linear-gradient(135deg, #059669 0%, #064E3B 100%);
}

.btn-portal-teal {
  background: linear-gradient(135deg, #0D9488 0%, #115E59 100%);
  box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.35);
}

.btn-portal::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: 0.6s ease;
}

.btn-portal:hover::after {
  left: 150%;
}

.btn-portal:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px -5px rgba(5, 150, 105, 0.45);
}

.btn-portal svg {
  transition: transform 0.25s ease;
}

.btn-portal:hover svg {
  transform: translateX(4px);
}

/* ================= Trust Summary Strip ================= */
.trust-summary-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.2rem 2rem;
  background: #FFFFFF;
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-subtle);
  max-width: 980px;
  margin: 0 auto;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ================= Clean Site Footer ================= */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid rgba(5, 150, 105, 0.1);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.footer-brand-name {
  font-family: var(--font-en);
  font-weight: 800;
  color: #064E3B;
}

.footer-sep {
  color: var(--text-muted);
}

.footer-copy {
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-right a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: var(--primary-emerald);
}

/* ================= Responsive Breakpoints ================= */
@media (max-width: 1024px) {
  .dual-portals-container {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto 3rem;
  }
}

@media (max-width: 768px) {
  .top-announcement {
    padding: 0.5rem 0.8rem;
  }

  .announcement-inner {
    gap: 0.4rem;
    font-size: 0.82rem;
  }

  .header-container {
    padding: 0 1.2rem;
    height: 64px;
  }

  .brand-icon-box {
    width: 38px;
    height: 38px;
  }

  .brand-icon-box svg {
    width: 24px;
    height: 24px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .lang-pill-btn {
    padding: 0.38rem 0.8rem;
    font-size: 0.82rem;
  }

  .main-wrapper {
    padding: 2.2rem 1.2rem 3.5rem;
  }

  .hero-content {
    margin-bottom: 2.5rem;
  }

  .hero-chip {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.25;
  }

  .hero-description {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .portal-card {
    border-radius: var(--radius-lg);
  }

  .card-content-wrap {
    padding: 1.8rem 1.4rem;
  }

  .mockup-image-container {
    height: clamp(170px, 48vw, 220px);
  }

  .portal-title {
    font-size: 1.6rem;
  }

  .portal-subtitle {
    font-size: 0.92rem;
  }

  .portal-intro-text {
    font-size: 0.94rem;
    margin-bottom: 1.3rem;
  }

  .portal-feature-list {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .portal-feature-list li {
    font-size: 0.9rem;
    gap: 0.65rem;
  }

  .card-metric-strip {
    padding: 0.8rem 0.6rem;
    margin-bottom: 1.5rem;
  }

  .metric-val {
    font-size: 1.25rem;
  }

  .metric-lbl {
    font-size: 0.72rem;
  }

  .btn-portal {
    padding: 1rem 1.4rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .trust-summary-strip {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.2rem;
    gap: 0.9rem;
    text-align: center;
  }

  .trust-pill {
    font-size: 0.88rem;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .top-announcement {
    padding: 0.45rem 0.6rem;
  }

  .announcement-inner {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .header-container {
    padding: 0 0.85rem;
  }

  .brand-badge {
    gap: 0.55rem;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;
  }

  .lang-pill-btn {
    padding: 0.32rem 0.65rem;
    font-size: 0.78rem;
  }

  .main-wrapper {
    padding: 1.8rem 0.85rem 3rem;
  }

  .hero-headline {
    font-size: 1.7rem;
  }

  .hero-description {
    font-size: 0.94rem;
  }

  .card-content-wrap {
    padding: 1.4rem 1rem;
  }

  .mockup-browser-bar {
    padding: 0.4rem 0.7rem;
  }

  .browser-address {
    max-width: 150px;
    font-size: 0.68rem;
    padding: 0.15rem 0.6rem;
  }

  .mockup-image-container {
    height: 160px;
  }

  .portal-title {
    font-size: 1.45rem;
  }

  .card-metric-strip {
    padding: 0.75rem 0.4rem;
  }

  .metric-divider {
    height: 28px;
  }

  .metric-val {
    font-size: 1.15rem;
  }

  .metric-lbl {
    font-size: 0.68rem;
  }

  .btn-portal {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }
}
