@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Georgian:wght@700&display=swap");

:root {
  --gx-primary: #2563EB;
  --gx-heading: #000000;
  --gx-lagoon: #000000;
  --gx-gold: #C4B5FD;
  --gx-alabaster: #FFFFFF;
  --gx-moss: #475569;
  --gx-text: #000000;
  --gx-white: #ffffff;
  --gx-surface: rgba(255, 255, 255, 0.92);
  --gx-border: 1px solid rgba(93, 115, 124, 0.26);
  --gx-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  --gx-shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.1);
  --gx-radius-sm: 12px;
  --gx-radius-md: 18px;
  --gx-radius-lg: 24px;
  --gx-font-display: "Noto Sans Georgian", sans-serif;
  --gx-font-body: "Manrope", sans-serif;
  --gx-font-size-body: clamp(14px, 0.86rem + 0.18vw, 17px);
  --gx-font-size-small: clamp(12px, 0.76rem + 0.12vw, 14px);
  --gx-font-size-button: clamp(12px, 0.8rem + 0.12vw, 15px);
  --gx-font-size-heading-1: clamp(2rem, 1.45rem + 1.8vw, 3.6rem);
  --gx-font-size-heading-2: clamp(1.55rem, 1.2rem + 1vw, 2.6rem);
  --gx-font-size-heading-3: clamp(1.2rem, 1rem + 0.6vw, 1.8rem);
  --gx-logo-url: url("https://res.cloudinary.com/dauccwuuo/image/upload/logobase_ldvini.png");
  --gx-watermark-size: clamp(280px, 34vw, 520px);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  font-family: var(--gx-font-body);
  font-size: var(--gx-font-size-body);
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body :where(p, li, label, input, textarea, select, small, strong, em, blockquote, td, th, caption, figcaption, legend) {
  font-family: var(--gx-font-body) !important;
  font-size: inherit;
}

body :where(h1, h2, h3, .title, .hero-title, .section-title, .company-name, .brand-text, .logo-copy h1, .pane-head h2, .group-heading h2, .results-hero h2) {
  font-family: var(--gx-font-display) !important;
}

body :where(h1, .title, .hero-title, .section-title, .company-name) {
  font-size: var(--gx-font-size-heading-1);
  line-height: 1.18;
  letter-spacing: 0.03em;
}

body :where(h2, .hero-copy h2, .pane-head h2, .group-heading h2, .question-card h2) {
  font-size: var(--gx-font-size-heading-2);
  line-height: 1.22;
  letter-spacing: 0.025em;
}

body :where(h3, h4, h5, h6) {
  font-size: var(--gx-font-size-heading-3);
  line-height: 1.28;
  letter-spacing: 0.02em;
}

body :where(button, .btn, .sq-link, input, textarea, select) {
  font-family: var(--gx-font-body) !important;
  font-size: var(--gx-font-size-button);
  line-height: 1.45;
}

body :where(small, .meta-info, .helper-text, .status-text, .answer-helper, .hero-kicker, .pill, .soft-chip, .card-badge, .card-subject, .group-kicker) {
  font-family: var(--gx-font-body) !important;
  font-size: var(--gx-font-size-small);
}

body#home {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%) !important;
}

body:not(#home):not(#quiz-page) {
  font-family: var(--gx-font-body);
  color: var(--gx-text);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%) !important;
}

body#quiz-page {
  color: var(--gx-text);
}

body:not(#home):not(#quiz-page) :where(h1, h2, h3, h4, h5, h6, p, span, li, a, label, button, input, textarea, select, small, strong) {
  font-family: var(--gx-font-body);
}

body:not(#home):not(#quiz-page) :where(h1, h2, h3) {
  font-family: var(--gx-font-display);
  letter-spacing: 0.01em;
}

body:not(#home):not(#quiz-page) :where(main, .wrap, .card, .section, .container, .panel, .profile-page, .support-shell-page, .auth-box, .glass-panel, .term-section) :where(h1, h2) {
  color: var(--gx-heading);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  inset: 0;
  background-image: var(--gx-logo-url);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: var(--gx-watermark-size);
  opacity: 1;
  filter: grayscale(1) saturate(0) brightness(1.18) opacity(0.075);
  transform: translateZ(0);
}

body::after {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  opacity: 1;
}

@media (max-width: 900px) {
  :root {
    --gx-watermark-size: clamp(220px, 46vw, 360px);
  }
}

@media (max-width: 640px) {
  :root {
    --gx-watermark-size: clamp(180px, 56vw, 260px);
  }
}

body:not(#home):not(#quiz-page) .video-bg-shell,
body:not(#home):not(#quiz-page) .video-shell,
body:not(#home):not(#quiz-page) .video-container,
body:not(#home):not(#quiz-page) .background-video,
body:not(#home):not(#quiz-page) .background-animation,
body:not(#home):not(#quiz-page) .bg-animation {
  display: none !important;
}

.sq-logo img,
.support-brand img,
.logo-image,
.company-logo img,
.navbar-logo img,
.gx-brand-mark {
  height: 58px !important;
  max-height: 58px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
  margin: 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
  animation: none;
}

@media (max-width: 640px) {
  .sq-logo img,
  .support-brand img,
  .logo-image,
  .company-logo img,
  .navbar-logo img,
  .gx-brand-mark {
    height: 48px !important;
    max-height: 48px;
  }

  .gx-brand-lockup {
    gap: 10px;
  }

  .gx-brand-title {
    font-size: clamp(0.95rem, 0.88rem + 0.42vw, 1.24rem) !important;
    letter-spacing: 0.12em !important;
  }

  .gx-brand-tagline {
    font-size: 0.62rem !important;
    letter-spacing: 0.12em;
  }

  .gx-brand-context {
    font-size: 0.74rem !important;
  }
}

.sq-logo,
.support-brand,
.header .logo,
.auth-box .logo {
  position: relative;
}

.gx-brand-lockup {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1.3vw, 16px);
  min-width: 0;
  width: fit-content;
  max-width: 100%;
}

.gx-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  gap: 2px;
}

.gx-brand-title {
  margin: 0 !important;
  color: var(--gx-lagoon) !important;
  font-family: var(--gx-font-display) !important;
  font-size: clamp(1.05rem, 0.95rem + 0.42vw, 1.5rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  text-wrap: balance;
}

.gx-brand-tagline,
.gx-brand-context {
  display: block;
  max-width: 32ch;
  font-family: var(--gx-font-body) !important;
  line-height: 1.35;
}

.gx-brand-tagline {
  color: var(--gx-moss) !important;
  font-size: clamp(0.64rem, 0.58rem + 0.18vw, 0.82rem) !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gx-brand-context {
  color: rgba(0, 0, 0, 0.72) !important;
  font-size: clamp(0.74rem, 0.68rem + 0.14vw, 0.9rem) !important;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.sq-logo.gx-brand-lockup,
.support-brand.gx-brand-lockup,
.contact-page .logo.gx-brand-lockup,
.brand-row.gx-brand-lockup,
.quiz-header-shell .logo.gx-brand-lockup,
.auth-box .logo.gx-brand-lockup,
.admin-panel .header .logo.gx-brand-lockup,
.sq-header .gx-brand-lockup,
.support-topbar .gx-brand-lockup {
  align-items: center;
}

.sq-header .gx-brand-lockup .gx-brand-copy,
.support-topbar .gx-brand-lockup .gx-brand-copy,
.brand-row.gx-brand-lockup .gx-brand-copy,
.auth-box .logo.gx-brand-lockup .gx-brand-copy,
.admin-panel .header .logo.gx-brand-lockup .gx-brand-copy {
  padding-top: 1px;
}

.contact-page .logo.gx-brand-lockup .gx-brand-tagline,
.support-brand.gx-brand-lockup .gx-brand-tagline,
.sq-logo.gx-brand-lockup .gx-brand-tagline,
.quiz-header-shell .logo.gx-brand-lockup .gx-brand-tagline {
  max-width: 26ch;
}

.company-logo.gx-brand-lockup {
  align-items: center;
}

.company-logo.gx-brand-lockup .gx-brand-title {
  font-size: clamp(1.22rem, 1rem + 0.5vw, 1.7rem) !important;
  letter-spacing: 0.1em !important;
}

.company-logo.gx-brand-lockup .gx-brand-copy {
  align-items: flex-start;
}

.auth-box .logo.gx-brand-lockup .gx-brand-copy,
.admin-panel .header .logo.gx-brand-lockup .gx-brand-copy {
  gap: 3px;
}

.auth-box .logo.gx-brand-lockup .gx-brand-title,
.admin-panel .header .logo.gx-brand-lockup .gx-brand-title,
.quiz-header-shell .logo.gx-brand-lockup .gx-brand-title {
  letter-spacing: 0.11em !important;
}

@media (max-width: 640px) {
  .gx-brand-lockup {
    gap: 10px;
  }

  .gx-brand-title {
    font-size: clamp(0.95rem, 0.88rem + 0.42vw, 1.24rem) !important;
    letter-spacing: 0.12em !important;
  }

  .gx-brand-tagline {
    font-size: 0.62rem !important;
    letter-spacing: 0.12em;
  }

  .gx-brand-context {
    font-size: 0.74rem !important;
  }
}

.sq-header .sq-logo img,
.support-topbar .support-brand img,
.admin-panel .header .logo-img img {
  animation: none;
  transform-origin: center center;
}

.sq-logo::before,
.support-brand::before,
.header .logo::before,
.auth-box .logo::before {
  content: none;
}

.sq-logo::after,
.support-brand::after,
.header .logo::after,
.auth-box .logo::after {
  content: none;
}

.sq-logo {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

a,
button,
input,
textarea,
select,
.sq-link,
.btn,
.action-btn {
  transition: all 0.24s ease;
}

body:not(#home):not(#quiz-page) a {
  color: var(--gx-lagoon);
}

body:not(#home):not(#quiz-page) a:hover {
  color: var(--gx-gold);
}

body:not(#home):not(#quiz-page) .sq-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(248, 245, 235, 0.95)) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(12px);
}

body:not(#home):not(#quiz-page) .sq-header .sq-logo span,
body:not(#home):not(#quiz-page) .sq-header .sq-link,
body:not(#home):not(#quiz-page) .sq-header .sq-toggle {
  color: var(--gx-lagoon) !important;
}

body:not(#home):not(#quiz-page) .sq-header .sq-link {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

body:not(#home):not(#quiz-page) .sq-header .sq-link i {
  color: rgba(196, 181, 253, 0.94) !important;
}

body:not(#home):not(#quiz-page) .sq-header .sq-link:hover,
body:not(#home):not(#quiz-page) .sq-header .sq-link.active {
  color: var(--gx-gold) !important;
  background: rgba(196, 181, 253, 0.12);
  border-color: rgba(196, 181, 253, 0.34);
}

body:not(#home):not(#quiz-page) .sq-header .sq-link:hover i,
body:not(#home):not(#quiz-page) .sq-header .sq-link.active i {
  color: var(--gx-gold) !important;
}

body:not(#home):not(#quiz-page) .sq-header .sq-toggle {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: none;
}

body:not(#home):not(#quiz-page) .btn,
body:not(#home):not(#quiz-page) .action-btn,
body:not(#home):not(#quiz-page) .submit-btn,
body:not(#home):not(#quiz-page) .login-btn,
body:not(#home):not(#quiz-page) .modal-close-btn,
body:not(#home):not(#quiz-page) .back-btn,
body:not(#home):not(#quiz-page) .back-button a,
body:not(#home):not(#quiz-page) .contact-button,
body:not(#home):not(#quiz-page) #save-cookies,
body:not(#home):not(#quiz-page) .home-btn,
body:not(#home):not(#quiz-page) .popup-btn,
body:not(#home):not(#quiz-page) .forgot-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  background: linear-gradient(135deg, #fbc466, var(--gx-gold));
  color: #3f2d00;
  border: 1px solid rgba(196, 181, 253, 0.45);
  border-radius: 999px;
  box-shadow: 0 12px 22px rgba(196, 181, 253, 0.25);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-align: center;
}

body:not(#home):not(#quiz-page) .btn:hover,
body:not(#home):not(#quiz-page) .action-btn:hover,
body:not(#home):not(#quiz-page) .submit-btn:hover,
body:not(#home):not(#quiz-page) .login-btn:hover,
body:not(#home):not(#quiz-page) .modal-close-btn:hover,
body:not(#home):not(#quiz-page) .back-btn:hover,
body:not(#home):not(#quiz-page) .back-button a:hover,
body:not(#home):not(#quiz-page) .contact-button:hover,
body:not(#home):not(#quiz-page) #save-cookies:hover,
body:not(#home):not(#quiz-page) .home-btn:hover,
body:not(#home):not(#quiz-page) .popup-btn:hover,
body:not(#home):not(#quiz-page) .forgot-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(196, 181, 253, 0.32);
}

body:not(#home):not(#quiz-page) input,
body:not(#home):not(#quiz-page) textarea,
body:not(#home):not(#quiz-page) select {
  border-color: rgba(93, 115, 124, 0.3);
  border-radius: var(--gx-radius-sm);
}

body:not(#home):not(#quiz-page) input:focus,
body:not(#home):not(#quiz-page) textarea:focus,
body:not(#home):not(#quiz-page) select:focus {
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gx-primary);
  outline-offset: 2px;
}

/* Inline top navigation used on About, Contact, Privacy */
body > nav[style*="position:sticky"] {
  position: sticky !important;
  top: 0 !important;
  z-index: 45 !important;
  display: flex !important;
  gap: 8px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  background: linear-gradient(130deg, rgba(0, 0, 0, 0.96), rgba(18, 58, 84, 0.94)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 20px rgba(10, 35, 52, 0.24);
  padding: 10px 14px !important;
}

body > nav[style*="position:sticky"] a {
  color: #f8f5e6 !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 12px !important;
}

body > nav[style*="position:sticky"] a:hover {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(255, 255, 255, 0.24);
}

/* Shared card direction for content pages */
body:not(#home):not(#quiz-page) .card,
body:not(#home):not(#quiz-page) .course,
body:not(#home):not(#quiz-page) .section,
body:not(#home):not(#quiz-page) .panel,
body:not(#home):not(#quiz-page) .tab-content,
body:not(#home):not(#quiz-page) .reward-card,
body:not(#home):not(#quiz-page) .claimed-rewards,
body:not(#home):not(#quiz-page) .rules,
body:not(#home):not(#quiz-page) .modal-content,
body:not(#home):not(#quiz-page) .auth-box,
body:not(#home):not(#quiz-page) .glass-panel,
body:not(#home):not(#quiz-page) .contact-form,
body:not(#home):not(#quiz-page) .contact-info,
body:not(#home):not(#quiz-page) .term-section {
  border: var(--gx-border);
  border-radius: var(--gx-radius-md);
  box-shadow: var(--gx-shadow-soft);
}

/* About */
body:not(#home):not(#quiz-page) .background-animation + .header {
  background: linear-gradient(155deg, rgba(0, 0, 0, 0.88), rgba(20, 63, 91, 0.86));
  border: var(--gx-border);
  border-radius: var(--gx-radius-lg);
  box-shadow: var(--gx-shadow);
}

body:not(#home):not(#quiz-page) .background-animation .circle {
  background: rgba(37, 99, 235, 0.24);
}

body:not(#home):not(#quiz-page) .about-section,
body:not(#home):not(#quiz-page) .mission-section {
  background: rgba(0, 0, 0, 0.56);
}

body:not(#home):not(#quiz-page) .title,
body:not(#home):not(#quiz-page) .team-section h2,
body:not(#home):not(#quiz-page) .about-section .content h2,
body:not(#home):not(#quiz-page) .mission-section h2 {
  color: #f8f5e6;
  font-family: var(--gx-font-display);
}

body:not(#home):not(#quiz-page) .subtitle,
body:not(#home):not(#quiz-page) .about-section p,
body:not(#home):not(#quiz-page) .mission-section p {
  color: rgba(255, 255, 255, 0.9);
}

body:not(#home):not(#quiz-page) .about-page .team-card {
  background: linear-gradient(180deg, rgba(28, 81, 117, 0.95), rgba(24, 71, 103, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(16, 48, 71, 0.2);
}

body:not(#home):not(#quiz-page) .about-page .team-card h3 {
  color: #f8f5e6 !important;
  text-shadow: 0 1px 0 rgba(8, 28, 41, 0.28);
}

body:not(#home):not(#quiz-page) .about-page .team-card .team-role {
  color: #f6cd7a !important;
  font-weight: 800;
}

body:not(#home):not(#quiz-page) .about-page .team-card .team-bio,
body:not(#home):not(#quiz-page) .about-page .team-card p:not(.team-role) {
  color: rgba(240, 247, 252, 0.94) !important;
}

body:not(#home):not(#quiz-page) .about-page .social-icons a {
  color: #f8f5e6 !important;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

body:not(#home):not(#quiz-page) .about-page .social-icons a:hover {
  color: #000000 !important;
  background: #f6cd7a;
  border-color: #f6cd7a;
}

/* Contact */
body:not(#home):not(#quiz-page) .contact-info {
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.95), rgba(42, 97, 135, 0.92));
  color: #f8f5e6;
}

body:not(#home):not(#quiz-page) .contact-info p,
body:not(#home):not(#quiz-page) .contact-text p {
  color: rgba(255, 255, 255, 0.88);
}

body:not(#home):not(#quiz-page) .contact-form h2,
body:not(#home):not(#quiz-page) .contact-form label,
body:not(#home):not(#quiz-page) .logo-text {
  color: var(--gx-heading);
}

body:not(#home):not(#quiz-page) .contact-form {
  background: rgba(255, 255, 255, 0.9);
}

body:not(#home):not(#quiz-page) .contact-icon,
body:not(#home):not(#quiz-page) .social-link {
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.28);
}

body:not(#home):not(#quiz-page) .social-link:hover {
  background: rgba(196, 181, 253, 0.22);
}

body:not(#home):not(#quiz-page) .captcha-container {
  background: rgba(255, 255, 255, 0.68);
}

body:not(#home):not(#quiz-page) .modal-content h2 {
  color: var(--gx-heading);
}

/* Courses and PDF */
body:not(#home):not(#quiz-page) .header-container {
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.95), rgba(18, 60, 88, 0.95));
  border-bottom: 3px solid rgba(196, 181, 253, 0.85);
}

body:not(#home):not(#quiz-page) .header-container h1,
body:not(#home):not(#quiz-page) .section-title,
body:not(#home):not(#quiz-page) h1 {
  color: var(--gx-heading);
  text-shadow: none;
}

body:not(#home):not(#quiz-page) .ticker-wrapper {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.96), rgba(14, 49, 72, 0.95));
}

body:not(#home):not(#quiz-page) .ticker p {
  color: #f8f5e6;
  font-weight: 700;
}

body:not(#home):not(#quiz-page) #searchInput {
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  padding-inline: 14px;
}

body:not(#home):not(#quiz-page) .search-container button {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(146, 132, 255, 0.94));
  color: #fff;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 12px 20px rgba(37, 99, 235, 0.24);
}

body:not(#home):not(#quiz-page) .search-container button:hover {
  background: linear-gradient(135deg, #6f60f3, #8578ff);
}

body:not(#home):not(#quiz-page) .course,
body:not(#home):not(#quiz-page) .section {
  background: rgba(255, 255, 255, 0.92);
}

body:not(#home):not(#quiz-page) .course-title,
body:not(#home):not(#quiz-page) .section h2,
body:not(#home):not(#quiz-page) .study-materials h4 {
  color: var(--gx-heading);
}

body:not(#home):not(#quiz-page) .pdf-list a,
body:not(#home):not(#quiz-page) .pdf-list i {
  color: var(--gx-lagoon);
}

body:not(#home):not(#quiz-page) .course-description,
body:not(#home):not(#quiz-page) .section-description {
  color: var(--gx-moss);
}







/* Shared preview design sync */
body:not(#home):not(#quiz-page) .sq-header {
  perspective: 1500px;
  background:
    radial-gradient(circle at 18% 0%, rgba(196, 181, 253, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
  box-shadow:
    0 18px 34px rgba(13, 38, 55, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 5px 0 rgba(0, 0, 0, 0.08) !important;
  transform-style: preserve-3d;
}

body:not(#home):not(#quiz-page) .sq-header .sq-header-container {
  transform: rotateX(2deg) translateY(-1px);
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

body:not(#home):not(#quiz-page) .sq-header:hover .sq-header-container {
  transform: rotateX(0deg) translateY(0);
}

body:not(#home):not(#quiz-page) .sq-header .sq-link {
  background: rgba(255, 255, 255, 0.36);
  box-shadow:
    0 10px 18px rgba(13, 38, 55, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}



@media (max-width: 760px) {
  body:not(#home):not(#quiz-page) .sq-header .sq-header-container {
    transform: none;
  }
}

/* Profile */
body:not(#home):not(#quiz-page) .profile-page {
  max-width: 1220px;
  padding: 24px 18px 110px;
}

body:not(#home):not(#quiz-page) .hero-card,
body:not(#home):not(#quiz-page) .panel,
body:not(#home):not(#quiz-page) .stats-cards,
body:not(#home):not(#quiz-page) .follow-card {
  border: var(--gx-border);
  box-shadow: var(--gx-shadow-soft);
}

body:not(#home):not(#quiz-page) .hero-brand-chip {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--gx-lagoon);
}

body:not(#home):not(#quiz-page) .btn,
body:not(#home):not(#quiz-page) .home-btn {
  background: linear-gradient(135deg, #fbc466, var(--gx-gold));
  color: #3f2d00;
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 12px 22px rgba(196, 181, 253, 0.26);
}

body:not(#home):not(#quiz-page) .btn:hover,
body:not(#home):not(#quiz-page) .home-btn:hover {
  background: linear-gradient(135deg, #f7b73f, #ffcb63);
}

body:not(#home):not(#quiz-page) .btn-danger {
  background: linear-gradient(135deg, #c87f21, #C4B5FD);
  color: #3f2d00;
  border-color: rgba(196, 181, 253, 0.45);
}

body:not(#home):not(#quiz-page) .panel h2 i,
body:not(#home):not(#quiz-page) .stats-cards h2 i,
body:not(#home):not(#quiz-page) .profile-update-form h3 i {
  color: var(--gx-primary);
}

/* Quiz */
:root {
  --primary-color: #2563EB;
  --secondary-color: #f2f0ff;
  --correct-color: #3e8a66;
  --incorrect-color: #b95b4f;
  --timeup-color: #C4B5FD;
  --text-color: #000000;
  --light-text: #475569;
  --border-color: rgba(0, 0, 0, 0.18);
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

body:not(#home):not(#quiz-page) .logo h1 {
  background: linear-gradient(135deg, var(--gx-lagoon), var(--gx-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body:not(#home):not(#quiz-page) .difficulty-card,
body:not(#home):not(#quiz-page) .question-container,
body:not(#home):not(#quiz-page) .result-card,
body:not(#home):not(#quiz-page) .modal-content,
body:not(#home):not(#quiz-page) .popup-content {
  border: var(--gx-border);
}

body:not(#home):not(#quiz-page) .option {
  background: rgba(255, 255, 255, 0.92);
}

body:not(#home):not(#quiz-page) .option:hover {
  background: rgba(196, 181, 253, 0.26);
}

body:not(#home):not(#quiz-page) .timer-display {
  color: var(--gx-lagoon);
}

/* Register */
body:not(#home):not(#quiz-page) .glass-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 99, 235, 0.28);
  box-shadow: 0 28px 46px -24px rgba(0, 0, 0, 0.4);
}

body:not(#home):not(#quiz-page) .brand-text {
  color: var(--gx-heading);
}

body:not(#home):not(#quiz-page) .brand-text span,
body:not(#home):not(#quiz-page) .tab-btn,
body:not(#home):not(#quiz-page) .forgot-link,
body:not(#home):not(#quiz-page) .info-note-mini {
  color: var(--gx-moss);
}

body:not(#home):not(#quiz-page) .tab-btn.active {
  color: var(--gx-lagoon);
  border-bottom-color: var(--gx-primary);
}

body:not(#home):not(#quiz-page) .info-pane {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.16);
}

body:not(#home):not(#quiz-page) .action-btn {
  background: linear-gradient(135deg, #fbc466, var(--gx-gold));
  color: #3f2d00;
  border-color: rgba(196, 181, 253, 0.42);
  box-shadow: 0 18px 28px -18px rgba(196, 181, 253, 0.4);
}

body:not(#home):not(#quiz-page) .otp-input {
  border-color: rgba(37, 99, 235, 0.64);
  color: var(--gx-lagoon);
  box-shadow: 0 5px 0 rgba(37, 99, 235, 0.42);
}

/* Reset password */
body:not(#home):not(#quiz-page) .reset-page {
  max-width: 1320px;
  margin: 0 auto;
}

body:not(#home):not(#quiz-page) .reset-page .container {
  border: var(--gx-border);
  border-radius: var(--gx-radius-md);
  box-shadow: var(--gx-shadow);
  background: rgba(255, 255, 255, 0.94);
}

body:not(#home):not(#quiz-page) .reset-page h2 {
  color: var(--gx-heading);
}

body:not(#home):not(#quiz-page) .reset-page button {
  background: linear-gradient(135deg, #fbc466, var(--gx-gold));
  color: #3f2d00;
  border-color: rgba(196, 181, 253, 0.42);
  box-shadow: 0 12px 22px rgba(196, 181, 253, 0.22);
}

/* Reward */
body:not(#home):not(#quiz-page) .claimed-rewards,
body:not(#home):not(#quiz-page) .rules,
body:not(#home):not(#quiz-page) .reward-card,
body:not(#home):not(#quiz-page) .modal-content {
  background: rgba(255, 255, 255, 0.94);
}

body:not(#home):not(#quiz-page) .notice-ticker {
  background: linear-gradient(130deg, rgba(0, 0, 0, 0.94), rgba(35, 95, 135, 0.92));
  color: #f8f5e6;
}

body:not(#home):not(#quiz-page) .reward-page .section-head h2,
body:not(#home):not(#quiz-page) .reward-card h4,
body:not(#home):not(#quiz-page) .rules h3,
body:not(#home):not(#quiz-page) .rules b,
body:not(#home):not(#quiz-page) #captcha-code {
  color: var(--gx-heading);
}

body:not(#home):not(#quiz-page) .method-img.selected {
  border-color: var(--gx-primary);
}

body:not(#home):not(#quiz-page) .toast {
  background: var(--gx-lagoon);
}

/* Admin */
body:not(#home):not(#quiz-page) .admin-panel,
body:not(#home):not(#quiz-page) .auth-container,
body:not(#home):not(#quiz-page) .restricted-container {
  --primary: #000000;
  --primary-dark: #143B56;
  --primary-light: #2D6D97;
  --secondary: #2563EB;
  --accent: #C4B5FD;
  --warning: #C4B5FD;
  --success: #475569;
  --danger: #D1792A;
  --light: #FFFFFF;
  --dark: #000000;
  --gray: #475569;
  --light-gray: #dce5eb;
  --bg-gradient: linear-gradient(135deg, #000000 0%, #2563EB 100%);
}

body:not(#home):not(#quiz-page) .auth-box,
body:not(#home):not(#quiz-page) .restricted-box,
body:not(#home):not(#quiz-page) .tab-content,
body:not(#home):not(#quiz-page) .ticker-admin-panel,
body:not(#home):not(#quiz-page) .modal-content,
body:not(#home):not(#quiz-page) .stat-card {
  border: var(--gx-border);
}

body:not(#home):not(#quiz-page) .admin-panel .header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: var(--gx-shadow-soft);
}

body:not(#home):not(#quiz-page) .admin-panel .tab-btn.active,
body:not(#home):not(#quiz-page) .admin-panel .archive-tab-btn.active,
body:not(#home):not(#quiz-page) .admin-panel .time-filter.active {
  background: linear-gradient(135deg, var(--gx-lagoon), #2a6d98);
}

/* Shared support bell */
.sq-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gx-support-bell-host {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  justify-content: center;
  min-width: 44px;
}

.gx-support-bell-wrap {
  position: relative;
  z-index: 1200;
  flex: 0 0 auto;
  visibility: visible;
}

.gx-support-bell-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(93, 115, 124, 0.34);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96));
  color: var(--gx-lagoon);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
  opacity: 1;
}

.gx-support-bell-btn i {
  color: currentColor;
  font-size: 1.05rem;
  opacity: 1;
}

.gx-support-bell-btn:hover,
.gx-support-bell-btn:focus-visible {
  background: linear-gradient(135deg, #fbc466, var(--gx-gold));
  color: #3f2d00;
  border-color: rgba(196, 181, 253, 0.44);
}

.gx-support-bell-count {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c75442;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gx-support-bell-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(380px, calc(100vw - 24px));
  max-height: min(440px, 72vh);
  border: var(--gx-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.18);
  padding: 14px;
  display: none;
  z-index: 1300;
}

.gx-support-bell-dropdown.show {
  display: block;
}

.gx-support-bell-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--gx-lagoon);
}

.gx-support-inline-link {
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.gx-support-bell-list {
  display: grid;
  gap: 8px;
  max-height: min(340px, 58vh);
  overflow: auto;
}

.gx-support-bell-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gx-support-bell-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gx-support-bell-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(93, 115, 124, 0.14);
  color: var(--gx-moss);
}

.gx-support-bell-badge--support {
  background: rgba(0, 0, 0, 0.12);
  color: var(--gx-lagoon);
}

.gx-support-bell-badge--reward {
  background: rgba(196, 181, 253, 0.16);
  color: #855800;
}

.gx-support-bell-badge--security {
  background: rgba(37, 99, 235, 0.14);
  color: #5345d6;
}

.gx-support-bell-badge--account,
.gx-support-bell-badge--system {
  background: rgba(93, 115, 124, 0.14);
  color: var(--gx-moss);
}

.gx-support-bell-badge--attention {
  background: rgba(206, 65, 65, 0.16);
  color: #a12626;
}

.gx-support-bell-item,
.gx-support-bell-empty {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(93, 115, 124, 0.18);
  background: rgba(255, 255, 255, 0.55);
  color: var(--gx-text);
  text-decoration: none;
}

.gx-support-bell-item.is-unread {
  background: rgba(37, 99, 235, 0.09);
  border-color: rgba(37, 99, 235, 0.2);
}

.gx-support-bell-item strong {
  color: var(--gx-lagoon);
}

.gx-support-bell-ticket-id {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.06);
  color: var(--gx-lagoon);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.gx-support-bell-item span,
.gx-support-bell-item small,
.gx-support-bell-empty {
  color: var(--gx-moss);
}

body.gx-support-bell-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .gx-support-bell-host,
  .gx-support-bell-wrap {
    min-width: 42px;
  }

  .gx-support-bell-btn {
    width: 42px;
    height: 42px;
  }

  .gx-support-bell-wrap {
    position: static;
  }

  .gx-support-bell-dropdown {
    position: fixed;
    top: max(74px, env(safe-area-inset-top) + 62px);
    left: 12px;
    right: 12px;
    width: auto;
    max-height: min(76vh, 520px);
    padding: 14px;
  }

  .gx-support-bell-head {
    align-items: flex-start;
  }

  .gx-support-bell-list {
    max-height: min(60vh, 400px);
  }
}

/* Policy, FAQ, Cookies, Help, Videos */
body:not(#home):not(#quiz-page) .wrap,
body:not(#home):not(#quiz-page) main.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(16px, 2.3vw, 28px);
}

body:not(#home):not(#quiz-page) > .card,
body:not(#home):not(#quiz-page) .wrap .card,
body:not(#home):not(#quiz-page) main.wrap,
body:not(#home):not(#quiz-page) .glass-layout .term-section {
  background: rgba(255, 255, 255, 0.94);
  border: var(--gx-border);
  border-radius: var(--gx-radius-md);
  box-shadow: var(--gx-shadow-soft);
}

body:not(#home):not(#quiz-page) .card h1,
body:not(#home):not(#quiz-page) .wrap h1,
body:not(#home):not(#quiz-page) .intro-header h1,
body:not(#home):not(#quiz-page) .term-section h2,
body:not(#home):not(#quiz-page) main.wrap h1 {
  color: var(--gx-heading);
  font-family: var(--gx-font-display);
}

body:not(#home):not(#quiz-page) details,
body:not(#home):not(#quiz-page) .row {
  border: 1px solid rgba(93, 115, 124, 0.22);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--gx-radius-sm);
}

body:not(#home):not(#quiz-page) .bubble-nav a {
  border: 1px solid rgba(37, 99, 235, 0.24);
  color: var(--gx-lagoon);
}

body:not(#home):not(#quiz-page) .bubble-nav a:hover {
  background: var(--gx-gold);
  color: #3f2d00;
}

/* Coming soon and logout status pages */
body:not(#home):not(#quiz-page) #countdown,
body:not(#home):not(#quiz-page) .countdown {
  color: var(--gx-gold);
  font-weight: 800;
}

body:not(#home):not(#quiz-page) .bg-animation {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent);
}

body:not(#home):not(#quiz-page) .pre-launch {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(196, 181, 253, 0.32);
  color: #f8f5e6;
}

body:not(#home):not(#quiz-page) .container .home-btn {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(150, 136, 255, 0.95));
  color: #fff;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.26);
}

/* Reveal and motion utilities */
.ux-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.ux-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.ux-float {
  animation: none;
}

/* Shared professional polish */
body:not(#home):not(#quiz-page) .card,
body:not(#home):not(#quiz-page) .course,
body:not(#home):not(#quiz-page) .section,
body:not(#home):not(#quiz-page) .panel,
body:not(#home):not(#quiz-page) .tab-content,
body:not(#home):not(#quiz-page) .reward-card,
body:not(#home):not(#quiz-page) .claimed-rewards,
body:not(#home):not(#quiz-page) .rules,
body:not(#home):not(#quiz-page) .modal-content,
body:not(#home):not(#quiz-page) .auth-box,
body:not(#home):not(#quiz-page) .glass-panel,
body:not(#home):not(#quiz-page) .contact-form,
body:not(#home):not(#quiz-page) .contact-info,
body:not(#home):not(#quiz-page) .term-section,
body:not(#home):not(#quiz-page) .hero-card,
body:not(#home):not(#quiz-page) .follow-card,
body:not(#home):not(#quiz-page) .stat-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 252, 0.88));
  transition:
    transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

body:not(#home):not(#quiz-page) .card::before,
body:not(#home):not(#quiz-page) .course::before,
body:not(#home):not(#quiz-page) .section::before,
body:not(#home):not(#quiz-page) .panel::before,
body:not(#home):not(#quiz-page) .tab-content::before,
body:not(#home):not(#quiz-page) .reward-card::before,
body:not(#home):not(#quiz-page) .claimed-rewards::before,
body:not(#home):not(#quiz-page) .rules::before,
body:not(#home):not(#quiz-page) .modal-content::before,
body:not(#home):not(#quiz-page) .auth-box::before,
body:not(#home):not(#quiz-page) .glass-panel::before,
body:not(#home):not(#quiz-page) .contact-form::before,
body:not(#home):not(#quiz-page) .contact-info::before,
body:not(#home):not(#quiz-page) .term-section::before,
body:not(#home):not(#quiz-page) .hero-card::before,
body:not(#home):not(#quiz-page) .follow-card::before,
body:not(#home):not(#quiz-page) .stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  pointer-events: none;
}

body:not(#home):not(#quiz-page) .card:hover,
body:not(#home):not(#quiz-page) .course:hover,
body:not(#home):not(#quiz-page) .section:hover,
body:not(#home):not(#quiz-page) .panel:hover,
body:not(#home):not(#quiz-page) .reward-card:hover,
body:not(#home):not(#quiz-page) .claimed-rewards:hover,
body:not(#home):not(#quiz-page) .rules:hover,
body:not(#home):not(#quiz-page) .glass-panel:hover,
body:not(#home):not(#quiz-page) .contact-form:hover,
body:not(#home):not(#quiz-page) .contact-info:hover,
body:not(#home):not(#quiz-page) .hero-card:hover,
body:not(#home):not(#quiz-page) .follow-card:hover,
body:not(#home):not(#quiz-page) .stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 16px 28px rgba(22, 49, 67, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .ux-reveal,
  .ux-reveal.is-visible,
  .ux-float {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* Laptop tuning */
@media (max-width: 1200px) {
  body:not(#home):not(#quiz-page) .profile-page {
    max-width: 1080px;
    padding: 18px 14px 102px;
  }

  body:not(#home):not(#quiz-page) .main-content {
    padding: 1.5rem;
  }

  body:not(#home):not(#quiz-page) .contact-container,
  body:not(#home):not(#quiz-page) .partner-benefit-cards {
    gap: 22px;
  }

  body:not(#home):not(#quiz-page) .course,
  body:not(#home):not(#quiz-page) .section,
  body:not(#home):not(#quiz-page) .contact-form,
  body:not(#home):not(#quiz-page) .contact-info {
    padding: 24px;
  }
}

/* Tablet and mobile */
@media (max-width: 900px) {
  body:not(#home):not(#quiz-page) .header-container {
    padding: 16px;
    gap: 12px;
  }

  body:not(#home):not(#quiz-page) .header-container h1 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  body:not(#home):not(#quiz-page) .search-container {
    width: min(100%, 780px);
    margin-inline: auto;
    padding-inline: 10px;
  }

  body:not(#home):not(#quiz-page) #searchInput {
    width: 100%;
  }

  body:not(#home):not(#quiz-page) .contact-container {
    gap: 16px;
  }

  body:not(#home):not(#quiz-page) .reward-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body:not(#home):not(#quiz-page) .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body::before {
    opacity: 1;
    background-size: min(36vw, 180px);
  }

  body:not(#home):not(#quiz-page) > nav[style*="position:sticky"] {
    gap: 6px !important;
    padding: 9px 10px !important;
  }

  body:not(#home):not(#quiz-page) > nav[style*="position:sticky"] a {
    padding: 7px 10px !important;
    font-size: 0.86rem;
  }

  body:not(#home):not(#quiz-page) .contact-info,
  body:not(#home):not(#quiz-page) .contact-form,
  body:not(#home):not(#quiz-page) .course,
  body:not(#home):not(#quiz-page) .section,
  body:not(#home):not(#quiz-page) .card,
  body:not(#home):not(#quiz-page) .wrap .card,
  body:not(#home):not(#quiz-page) .glass-panel {
    padding: 18px;
  }

  body:not(#home):not(#quiz-page) .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
  }

  body:not(#home):not(#quiz-page) .search-container button {
    width: 100%;
    margin-left: 0;
  }

  body:not(#home):not(#quiz-page) .reward-section {
    grid-template-columns: 1fr;
  }

  body:not(#home):not(#quiz-page) .methods {
    flex-wrap: wrap;
    gap: 10px;
  }

  body:not(#home):not(#quiz-page) .method-img {
    width: 66px;
    height: 66px;
  }

  body:not(#home):not(#quiz-page) .profile-page {
    padding-inline: 10px;
  }

  body:not(#home):not(#quiz-page) .main-content,
  body:not(#home):not(#quiz-page) .glass-layout {
    padding: 12px;
  }

  body:not(#home):not(#quiz-page) .admin-panel .tabs,
  body:not(#home):not(#quiz-page) .admin-panel .archive-tabs {
    gap: 0.4rem;
  }

  body:not(#home):not(#quiz-page) .admin-panel .tab-btn,
  body:not(#home):not(#quiz-page) .admin-panel .archive-tab-btn {
    font-size: 0.88rem;
    padding: 0.65rem 0.9rem;
  }

  body:not(#home):not(#quiz-page) .dashboard-stats {
    grid-template-columns: 1fr;
  }




}

@media (max-width: 560px) {
  body::before {
    background-size: min(42vw, 156px);
  }
}

@media (max-width: 560px) {
  body:not(#home):not(#quiz-page) {
    font-size: 15px;
  }

  body:not(#home):not(#quiz-page) .logo-text,
  body:not(#home):not(#quiz-page) .brand-text {
    font-size: 1.35rem;
  }

  body:not(#home):not(#quiz-page) .title,
  body:not(#home):not(#quiz-page) .intro-header h1,
  body:not(#home):not(#quiz-page) .card h1,
  body:not(#home):not(#quiz-page) .wrap h1,
  body:not(#home):not(#quiz-page) h1 {
    font-size: 1.7rem;
  }

  body:not(#home):not(#quiz-page) .subtitle,
  body:not(#home):not(#quiz-page) p,
  body:not(#home):not(#quiz-page) li {
    font-size: 0.94rem;
  }

  body:not(#home):not(#quiz-page) .otp-input {
    width: 46px;
    height: 56px;
    font-size: 1.45rem;
  }

  body:not(#home):not(#quiz-page) .modal-content {
    width: 94%;
    padding: 16px;
  }

  body:not(#home):not(#quiz-page) .table-container {
    border-radius: 10px;
  }

  body:not(#home):not(#quiz-page) .data-table th,
  body:not(#home):not(#quiz-page) .data-table td {
    padding: 0.75rem;
    font-size: 0.86rem;
  }

  body:not(#home):not(#quiz-page) .home-btn {
    width: calc(100% - 24px);
    max-width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* HOMEPAGE WOW REDESIGN OVERRIDES */
body#home .edu-banner-btn, body#home .hero-secondary-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

body#home .edu-banner-btn {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53, #FFA03A);
  background-size: 200% 200%;
  color: #fff !important;
  border: none;
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4), 0 0 0 2px rgba(255,255,255,0.2) inset !important;
  animation: gradientShift 5s ease infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

body#home .edu-banner-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6), 0 0 0 2px rgba(255,255,255,0.3) inset !important;
}

body#home .hero-secondary-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: var(--gx-lagoon) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05) !important;
}

body#home .hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255,255,255,0.8) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1) !important;
}

body#home .edu-banner-title {
  background: linear-gradient(to right, #000000, #2563EB, #FF6B6B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  font-weight: 900 !important;
}

body#home .hero-panel-card--primary {
  background: linear-gradient(135deg, #000000, #000000) !important;
  color: white !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}

body#home .hero-panel-card--primary .hero-panel-label,
body#home .hero-panel-card--primary li {
  color: rgba(255,255,255,0.9) !important;
}

body#home .hero-ambient--one {
  background: radial-gradient(circle, rgba(37, 99, 235,0.15) 0%, rgba(255,255,255,0) 70%);
  width: 600px; height: 600px; top: -100px; left: -100px;
}
body#home .hero-ambient--two {
  background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, rgba(255,255,255,0) 70%);
  width: 500px; height: 500px; bottom: -50px; right: -50px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* USER SELECTED DESIGNS OVERRIDES */


/* 2. Header (3D Floating Isometric Animated) */
body .sq-header {
  perspective: 1500px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 15px 20px 0 20px !important;
}
body .sq-header .sq-header-container {
  background: linear-gradient(145deg, #ffffff, #FFFFFF) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0,0,0,0.05), 0 8px 0 #d0cebd !important;
  transform-style: preserve-3d;
  transform: rotateX(-5deg) translateY(5px);
  transition: all 0.5s ease;
  border: 1px solid rgba(255,255,255,0.8) !important;
  margin: 0 auto;
  max-width: 1200px;
}
body .sq-header:hover .sq-header-container {
  transform: rotateX(0deg) translateY(0px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 -2px 4px rgba(0,0,0,0.05), 0 4px 0 #d0cebd !important;
}

/* 3. Action Buttons (Liquid 3D Blob) */
body .edu-banner-btn, body .action-btn, body .submit-btn {
  background: linear-gradient(135deg, var(--gx-gold), #FF6B6B) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: 0 15px 25px rgba(196, 181, 253, 0.4), inset 0 -4px 8px rgba(0,0,0,0.2), inset 0 4px 8px rgba(255,255,255,0.4) !important;
  transition: all 0.3s ease !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
  animation: none !important;
}
body .edu-banner-btn:hover, body .action-btn:hover, body .submit-btn:hover {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 20px 30px rgba(196, 181, 253, 0.5), inset 0 -4px 8px rgba(0,0,0,0.1), inset 0 4px 8px rgba(255,255,255,0.5) !important;
}

/* 4. Hero Secondary Buttons (Glassmorphism) */
body#home .hero-secondary-btn {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: var(--gx-lagoon) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05) !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
}
body#home .hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.4) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1) !important;
}

/* 5. Category Cards (Floating 3D Pop) */
body .category-card, body .subject-card, body .study-card, body .hero-mini-card {
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 8px 8px 16px #e6e6e6, -8px -8px 16px #ffffff !important;
  border: none !important;
  border-bottom: 4px solid var(--gx-gold) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
body .category-card:hover, body .subject-card:hover, body .study-card:hover, body .hero-mini-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
  border-bottom: 4px solid var(--gx-primary) !important;
}

/* FINAL POLISH: synced project colors after older preview overrides */
body#home .edu-banner-btn,
body .edu-banner-btn,
body .start-btn,
body .primary-btn,
body .back-home-btn,
body .submit-btn,
body #start-level-btn,
body .btn-accent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #3a2a00 !important;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.58), transparent 28%),
    linear-gradient(135deg, #f9dc99 0%, var(--gx-gold) 50%, #d98f18 100%) !important;
  border: 1px solid rgba(196, 181, 253, 0.5) !important;
  box-shadow:
    0 16px 26px rgba(196, 181, 253, 0.32),
    inset 0 -4px 8px rgba(82, 56, 0, 0.16),
    inset 0 4px 8px rgba(255, 255, 255, 0.46) !important;
  text-shadow: none !important;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.32s ease,
    filter 0.32s ease !important;
  animation: gx-liquid-glow 5.5s ease-in-out infinite !important;
}

body#home .edu-banner-btn::before,
body .edu-banner-btn::before,
body .start-btn::before,
body .primary-btn::before,
body .back-home-btn::before,
body .submit-btn::before,
body #start-level-btn::before,
body .btn-accent::before {
  content: "";
  position: absolute;
  inset: -40% -18%;
  z-index: -1;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.56), transparent 18%),
    radial-gradient(circle at 72% 66%, rgba(0, 0, 0, 0.16), transparent 22%);
  transform: translateX(-12%) rotate(8deg);
  transition: transform 0.45s ease, opacity 0.35s ease;
  opacity: 0.78;
}

body#home .edu-banner-btn:hover,
body .edu-banner-btn:hover,
body .start-btn:hover,
body .primary-btn:hover,
body .back-home-btn:hover,
body .submit-btn:hover,
body #start-level-btn:hover,
body .btn-accent:hover {
  transform: scale(1.04) translateY(-2px) !important;
  box-shadow:
    0 22px 34px rgba(196, 181, 253, 0.42),
    inset 0 -4px 8px rgba(82, 56, 0, 0.12),
    inset 0 4px 10px rgba(255, 255, 255, 0.55) !important;
  filter: saturate(1.04);
}

body#home .edu-banner-btn:hover::before,
body .edu-banner-btn:hover::before,
body .start-btn:hover::before,
body .primary-btn:hover::before,
body .back-home-btn:hover::before,
body .submit-btn:hover::before,
body #start-level-btn:hover::before,
body .btn-accent:hover::before {
  transform: translateX(12%) rotate(0deg);
}

body .btn-outline {
  color: var(--gx-lagoon) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.1) !important;
  animation: none !important;
}

body#home .hero-secondary-btn {
  color: var(--gx-lagoon) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.22)) !important;
  border: 1px solid rgba(0, 0, 0, 0.3) !important;
  box-shadow:
    0 12px 24px rgba(13, 38, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

body#home .hero-secondary-btn:hover {
  color: var(--gx-lagoon) !important;
  border-color: rgba(196, 181, 253, 0.5) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.34)) !important;
  box-shadow:
    0 16px 28px rgba(13, 38, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}


































@keyframes gx-liquid-glow {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }
  50% {
    filter: saturate(1.08) brightness(1.025);
  }
}

@media (max-width: 760px) {





}

@media (prefers-reduced-motion: reduce) {
  body#home .edu-banner-btn,
  body .edu-banner-btn,
  body .start-btn,
  body .primary-btn,
  body .back-home-btn,
  body .submit-btn,
  body #start-level-btn,
  body .btn-accent {
    animation: none !important;
  }
}

@keyframes flyAwayForm {
  0% { transform: scale(1) translateY(0) rotate(0deg); opacity: 1; }
  20% { transform: scale(0.9) translateY(20px) rotate(-5deg); opacity: 1; }
  100% { transform: scale(0.1) translateY(-1000px) translateX(1000px) rotate(45deg); opacity: 0; }
}

.fly-away-form {
  animation: flyAwayForm 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards !important;
  pointer-events: none;
}




/* Refined Partner With Us section */
body#home .partner-with-us-wrapper {
  margin-top: 54px;
  padding: 0;
}

body#home .partner-with-us-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(95, 138, 255, 0.28) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 84% 40%, rgba(0, 151, 255, 0.28), transparent 28%),
    radial-gradient(circle at 74% 15%, rgba(111, 82, 255, 0.18), transparent 18%),
    linear-gradient(126deg, #061430 0%, #071a3a 47%, #082759 100%) !important;
  box-shadow: 0 22px 44px rgba(13, 35, 82, 0.16) !important;
}

body#home .partner-with-us-hero::before,
body#home .partner-with-us-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -42% 36%;
  height: 260px;
  border: 1px solid rgba(41, 143, 255, 0.24);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

body#home .partner-with-us-hero::after {
  inset: 18% -14% auto 64%;
  height: 190px;
  border-color: rgba(255, 213, 92, 0.12);
  transform: rotate(20deg);
}

body#home .partner-with-us-hero-text {
  position: relative;
  z-index: 2;
}

body#home .partner-with-us-hero-text h1 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  color: #ffffff;
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

body#home .partner-with-us-hero-text h1 i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 12px;
  color: #aeb7ff;
  background: linear-gradient(145deg, rgba(121, 137, 255, 0.24), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 1.45rem;
}

body#home .partner-with-us-hero-text h1 {
  text-wrap: balance;
}

body#home .partner-with-us-hero-text h1 span {
  color: #bf8cff;
}

body#home .partner-with-us-hero-text p {
  max-width: 660px;
  margin: 0 0 32px;
  color: rgba(233, 240, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.72;
}

body#home .partner-with-us-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #271c08;
  background: linear-gradient(100deg, #ffc65c 0%, #ffd274 48%, #cf9bff 100%);
  box-shadow: 0 16px 30px rgba(202, 140, 255, 0.25), 0 10px 22px rgba(255, 191, 83, 0.16);
  font-size: 0.98rem;
  font-weight: 900;
}

body#home .partner-with-us-btn i {
  margin: 0;
}

body#home .partner-with-us-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(202, 140, 255, 0.31), 0 12px 24px rgba(255, 191, 83, 0.2);
}

body#home .partner-with-us-hero-image {
  position: relative;
  z-index: 2;
  padding: 0;
}

body#home .partner-with-us-hero-image::before {
  content: "";
  position: absolute;
  inset: 7% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 159, 255, 0.28), transparent 62%);
  filter: blur(2px);
}

body#home .partner-with-us-hero-image::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 12%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #48c8ff;
  box-shadow:
    -168px 32px 0 -2px #33bfff,
    -88px 116px 0 -1px #ffd36a,
    42px 126px 0 -2px #79a9ff;
}

body#home .partner-with-us-hero-image img {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  max-width: none;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.32));
}

body#home .partner-benefits {
  margin-top: 38px;
}

body#home .partner-benefits h2 {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  gap: 18px;
  color: #101936;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.1;
}

body#home .partner-benefits h2::before,
body#home .partner-benefits h2::after {
  content: "";
  width: 76px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9aa5ff);
}

body#home .partner-benefits h2::after {
  background: linear-gradient(90deg, #9aa5ff, transparent);
}

body#home .partner-benefits h2 i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(145deg, #5266ff, #7b5cff);
  box-shadow: 0 12px 20px rgba(96, 94, 255, 0.25);
  font-size: 1rem;
}

body#home .partner-benefits-copy {
  margin: 16px auto 28px;
  max-width: 760px;
  color: #5b6684;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.55;
}

body#home .partner-benefit-cards {
  gap: 22px;
}

body#home .partner-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 28px 30px;
  border: 1px solid #e1e6f4;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(33, 47, 82, 0.08);
  transform: none;
  opacity: 1;
  animation: none;
}

body#home .partner-card h3 {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
  color: #18223c;
  font-size: 1.02rem;
  line-height: 1.32;
}

body#home .partner-card h3::after {
  content: "";
  position: absolute;
  left: 70px;
  bottom: -12px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: #6571ff;
}

body#home .partner-card h3 i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5d63ff;
  background: #f0f1ff;
  font-size: 1.28rem;
}

body#home .partner-card p {
  margin: 0;
  color: #55627f;
  line-height: 1.7;
  font-size: 0.94rem;
}

body#home .partner-card span {
  display: block;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 8px;
  color: #4856f3;
  background: #f5f6ff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  body#home .partner-with-us-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: left;
  }

  body#home .partner-with-us-hero-image {
    justify-content: center;
  }

  body#home .partner-benefit-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body#home .partner-with-us-wrapper {
    width: min(100% - 18px, 1480px);
    margin-top: 36px;
  }

  body#home .partner-with-us-hero {
    padding: 22px;
    gap: 16px;
  }

  body#home .partner-with-us-hero-text h1 {
    display: block;
    font-size: 1.86rem;
  }

  body#home .partner-with-us-hero-text h1 i {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    vertical-align: middle;
    font-size: 1rem;
  }

  body#home .partner-with-us-hero-text p {
    margin-bottom: 22px;
    font-size: 0.94rem;
  }

  body#home .partner-with-us-btn {
    width: 100%;
    justify-content: center;
  }

  body#home .partner-with-us-hero-image img {
    width: min(240px, 86%);
  }

  body#home .partner-benefits h2 {
    font-size: 1.55rem;
  }

  body#home .partner-benefits h2::before,
  body#home .partner-benefits h2::after {
    width: 28px;
  }

  body#home .partner-card {
    min-height: 0;
    padding: 22px;
  }
}





























@media (max-width: 900px) {

  .company-info {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 600px) {


}

/* Home redesign 01: blue and white learning landing page */
body#home {
  --home-blue: #2563eb;
  --home-blue-dark: #1d4ed8;
  --home-ink: #101828;
  --home-muted: #64748b;
  --home-line: #e7ecf7;
  color: var(--home-ink);
  background: #ffffff !important;
}

body#home::before,
body#home::after {
  display: none !important;
}

body#home .sq-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
  perspective: none;
}

body#home .sq-header::before {
  display: none !important;
}

body#home .sq-header-container {
  max-width: 1440px;
  min-height: 72px;
  padding: 14px 40px;
  transform: none !important;
}

body#home .sq-logo {
  gap: 8px;
  color: var(--home-ink);
  text-decoration: none;
}

body#home .sq-logo img {
  width: 30px;
  height: 30px !important;
  max-height: 30px !important;
  object-fit: contain;
  filter: none !important;
}

body#home .sq-logo span {
  font-family: "Manrope", sans-serif !important;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--home-ink);
}

body#home .sq-nav {
  gap: 8px;
}

body#home .sq-link {
  min-height: 34px;
  padding: 8px 15px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  color: #344054 !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

body#home .sq-link i {
  display: none;
}

body#home .sq-link:hover,
body#home .sq-link.active {
  color: var(--home-blue) !important;
  background: #eef4ff !important;
  transform: none;
}

body#home .sq-auth {
  gap: 8px;
}

body#home .sq-auth button {
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12) !important;
}

body#home .sq-login-btn {
  color: #ffffff !important;
  border: 1px solid #1f5a78 !important;
  background: linear-gradient(135deg, #245f82 0%, #174d70 100%) !important;
}

body#home .sq-register-btn {
  color: #263238 !important;
  border: 1px solid #ffbd45 !important;
  background: linear-gradient(135deg, #ffc85f 0%, #ffad2f 100%) !important;
}

body#home .sq-profile-btn {
  color: #ffffff !important;
  border: 1px solid var(--home-blue) !important;
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-dark)) !important;
}

body#home .sq-login-btn:hover {
  background: linear-gradient(135deg, #2a6f96 0%, #19597f 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(31, 90, 120, 0.22) !important;
}

body#home .sq-register-btn:hover {
  background: linear-gradient(135deg, #ffd170 0%, #ffb33a 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(255, 173, 47, 0.28) !important;
}

body#home .sq-profile-btn:hover {
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-dark)) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16) !important;
}

body#home .sq-toggle {
  border-radius: 8px;
  border-color: var(--home-line);
  color: var(--home-blue);
  background: #ffffff;
}

body#home main#app {
  background: #ffffff;
}

body#home .edu-banner {
  width: min(1480px, calc(100% - 48px));
  min-height: auto;
  margin: 0 auto;
  padding: 38px 0 20px;
  display: block;
  overflow: visible;
}

body#home .edu-banner-content.home-v1-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 24px;
  max-width: none;
  min-height: 430px;
  padding: 42px 54px;
  text-align: left;
  background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%) !important;
  border: 1px solid var(--home-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 54px rgba(37, 99, 235, 0.08) !important;
  overflow: hidden;
  animation: none;
  backdrop-filter: none;
}

body#home .edu-banner-content.home-v1-hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -130px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0));
  pointer-events: none;
}

body#home .hero-copy {
  max-width: 520px;
}

body#home .edu-banner-title {
  display: grid;
  gap: 0;
  margin: 0;
  color: var(--home-ink);
  font-family: "Manrope", sans-serif !important;
  font-size: 3.5rem !important;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 900;
}

body#home .edu-banner-title span:last-child {
  color: var(--home-blue);
}

body#home .edu-banner-subtitle {
  max-width: 460px;
  margin: 20px 0 28px;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 600;
}

body#home .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

body#home .edu-banner-btn,
body#home .hero-secondary-btn {
  min-height: 42px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body#home .edu-banner-btn {
  color: #ffffff !important;
  border: 1px solid var(--home-blue) !important;
  background: var(--home-blue) !important;
}

body#home .hero-secondary-btn {
  color: var(--home-blue) !important;
  border: 1px solid #d7e2ff !important;
  background: #ffffff !important;
}

body#home .edu-banner-btn:hover,
body#home .hero-secondary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.16) !important;
}

body#home .hero-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  isolation: isolate;
}

body#home .hero-panel::before {
  content: "";
  position: absolute;
  inset: 4% -2% 0 0;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 52%, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.035) 44%, transparent 68%),
    linear-gradient(145deg, rgba(239, 246, 255, 0.72), rgba(255, 255, 255, 0));
  filter: blur(8px);
}

body#home .hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248, 250, 255, 0.16), transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(248, 250, 255, 0.42) 76%, rgba(248, 250, 255, 0.78) 100%);
}

body#home .home-v1-visual {
  width: min(525px, 100%);
  max-height: 365px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.86;
  mask-image: radial-gradient(ellipse 66% 64% at 50% 52%, #000 48%, rgba(0, 0, 0, 0.72) 64%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 66% 64% at 50% 52%, #000 48%, rgba(0, 0, 0, 0.72) 64%, transparent 80%);
  filter:
    saturate(0.96)
    contrast(0.98)
    drop-shadow(0 24px 32px rgba(37, 99, 235, 0.16));
}

body#home .home-v1-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 0;
}

body#home .home-v1-stats article {
  min-height: 104px;
  padding: 22px 20px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

body#home .home-v1-stats strong {
  display: block;
  color: var(--home-ink);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

body#home .home-v1-stats span {
  display: block;
  margin-top: 8px;
  color: var(--home-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

body#home .ticker-container,
body#home .home-search-section,
body#home .home-section,
body#home .categories,
body#home .edu-testimonials,
body#home .partner-with-us-wrapper,
body#home .edu-feedback {
  width: min(1480px, calc(100% - 48px));
}

body#home .ticker-container,
body#home .home-search-card,
body#home .category-item,
body#home .study-card,
body#home .how-card,
body#home .trust-stat,
body#home .test-series-overview,
body#home .partner-with-us-hero,
body#home .feedback-box,
body#home .edu-testimonials {
  border-radius: 8px !important;
  border-color: var(--home-line) !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05) !important;
}

body#home .section-kicker,
body#home .home-search-result-type,
body#home .study-tag {
  color: var(--home-blue);
  background: #eef4ff;
  border-color: #dbe6ff;
  border-radius: 8px;
}

body#home .section-title,
body#home .categories h3,
body#home .edu-testimonials-title,
body#home .partner-benefits h2,
body#home .feedback-box h2 {
  color: var(--home-ink);
  font-family: "Manrope", sans-serif !important;
  letter-spacing: 0;
}











































@media (max-width: 1080px) {
  body#home .sq-header-container {
    padding: 12px 22px;
  }

  body#home .edu-banner-content.home-v1-hero {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  body#home .hero-copy {
    max-width: 680px;
  }

  body#home .hero-panel {
    min-height: 260px;
  }

  body#home .home-v1-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }



  body#home .company-info {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  body#home .sq-nav {
    background: #ffffff !important;
    border-color: var(--home-line) !important;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08) !important;
  }

  body#home .sq-nav.active {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  body#home .edu-banner,
  body#home .ticker-container,
  body#home .home-search-section,
  body#home .home-section,
  body#home .categories,
  body#home .edu-testimonials,
  body#home .partner-with-us-wrapper,
  body#home .edu-feedback {
    width: calc(100% - 24px);
  }

  body#home .edu-banner {
    padding-top: 18px;
  }

  body#home .edu-banner-content.home-v1-hero {
    min-height: auto;
    padding: 28px 20px;
  }

  body#home .edu-banner-title {
    font-size: 2.55rem !important;
  }

  body#home .hero-actions {
    align-items: stretch;
  }

  body#home .hero-actions > * {
    width: 100%;
  }

  body#home .home-v1-stats {
    grid-template-columns: 1fr;
  }

  body#home .home-v1-stats article {
    min-height: 88px;
  }






}

/* Auth pages: original layout restored with blue + white polish */
body:has(.auth-shell) {
  --auth-blue: #2563eb;
  --auth-blue-dark: #1d4ed8;
  --auth-ink: #101828;
  --auth-muted: #667085;
  --auth-line: rgba(37, 99, 235, 0.16);
  background:
    radial-gradient(circle at 10% 8%, rgba(37, 99, 235, 0.16), transparent 38%),
    radial-gradient(circle at 88% 14%, rgba(147, 197, 253, 0.22), transparent 34%),
    linear-gradient(160deg, #ffffff 0%, #f7faff 56%, #ffffff 100%) !important;
}

body:has(.auth-shell) .auth-panel {
  border: 1px solid rgba(37, 99, 235, 0.16) !important;
  background:
    radial-gradient(circle at 16% 12%, rgba(37, 99, 235, 0.08), transparent 42%),
    linear-gradient(156deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 255, 0.94)) !important;
  box-shadow:
    0 30px 70px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

body:has(.auth-shell) .info-pane {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.22), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(147, 197, 253, 0.32), transparent 34%),
    linear-gradient(145deg, #1d4ed8 0%, #2563eb 56%, #60a5fa 100%) !important;
  box-shadow:
    0 22px 44px rgba(37, 99, 235, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body:has(.auth-shell) .info-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 32%),
    radial-gradient(circle at 78% 78%, rgba(255, 255, 255, 0.16), transparent 30%);
}

body:has(.auth-shell) .info-pane > * {
  position: relative;
  z-index: 1;
}

body:has(.auth-shell) .logo-icon {
  border-color: rgba(255, 255, 255, 0.36) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 14px 24px rgba(29, 78, 216, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

body:has(.auth-shell) .brand-text,
body:has(.auth-shell) .info-pane h1,
body:has(.auth-shell) .eyebrow,
body:has(.auth-shell) .info-pane-copy,
body:has(.auth-shell) .brand-signoff {
  color: #ffffff !important;
}

body:has(.auth-shell) .eyebrow,
body:has(.auth-shell) .brand-signoff,
body:has(.auth-shell) .tips-box,
body:has(.auth-shell) .login-story-card,
body:has(.auth-shell) .password-guide-pane {
  border-color: rgba(255, 255, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(10px);
}

body:has(.auth-shell) .form-pane {
  border-color: rgba(37, 99, 235, 0.14) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

body:has(.auth-shell) .pane-head h2,
body:has(.auth-shell) .password-guide-head h3,
body:has(.auth-shell) .login-assist-card h3,
body:has(.auth-shell) .register-assist-card h3 {
  color: var(--auth-ink) !important;
}

body:has(.auth-shell) .pane-head p,
body:has(.auth-shell) .register-guidance span,
body:has(.auth-shell) .login-assist-card p,
body:has(.auth-shell) .register-assist-card p {
  color: var(--auth-muted) !important;
}

body:has(.auth-shell) .tab-buttons {
  padding: 5px;
  gap: 8px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: #eef4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body:has(.auth-shell) .tab-btn {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--auth-blue) !important;
  font-weight: 900;
  box-shadow: none !important;
}

body:has(.auth-shell) .tab-btn i {
  color: currentColor !important;
}

body:has(.auth-shell) .tab-btn.active {
  color: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.28) !important;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, var(--auth-blue), var(--auth-blue-dark)) !important;
  box-shadow:
    0 12px 22px rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

body:has(.auth-shell) .input-group input {
  border-color: rgba(37, 99, 235, 0.18) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--auth-ink) !important;
}

body:has(.auth-shell) .input-group input:focus {
  border-color: var(--auth-blue) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

body:has(.auth-shell) .action-btn,
body:has(.auth-shell) .forgot-btn.primary,
body:has(.auth-shell) .popup-btn {
  border-radius: 999px !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(135deg, var(--auth-blue), var(--auth-blue-dark)) !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
  box-shadow:
    0 16px 26px rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body:has(.auth-shell) .action-btn:hover,
body:has(.auth-shell) .forgot-btn.primary:hover,
body:has(.auth-shell) .popup-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 20px 30px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

body:has(.auth-shell) .forgot-link {
  color: var(--auth-blue) !important;
}

/* Shared header auth pills */
.sq-auth .sq-login-btn,
.sq-auth .sq-register-btn {
  min-height: 40px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12) !important;
}

.sq-auth .sq-login-btn {
  color: #ffffff !important;
  border: 1px solid #1f5a78 !important;
  background: linear-gradient(135deg, #245f82 0%, #174d70 100%) !important;
}

.sq-auth .sq-register-btn {
  color: #263238 !important;
  border: 1px solid #ffbd45 !important;
  background: linear-gradient(135deg, #ffc85f 0%, #ffad2f 100%) !important;
}

.sq-auth .sq-login-btn:hover,
.sq-auth .sq-login-btn:focus-visible {
  background: linear-gradient(135deg, #2a6f96 0%, #19597f 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 32px rgba(31, 90, 120, 0.22) !important;
}

.sq-auth .sq-register-btn:hover,
.sq-auth .sq-register-btn:focus-visible {
  background: linear-gradient(135deg, #ffd170 0%, #ffb33a 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 32px rgba(255, 173, 47, 0.28) !important;
}

.sq-nav .sq-link {
  border-radius: 999px !important;
}








/* Keep refreshed quiz category cards intact after home brand overrides. */
body#home #categories-section .category-item {
  border-radius: 18px !important;
  border-color: #bdd3ff !important;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.1) !important;
}

body#home #categories-section .category-overlay {
  border-radius: 14px !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08) !important;
}

body#home #test-series.test-series-section {
  border-radius: 28px !important;
  border-color: #d7e4fb !important;
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.08) !important;
}

body#home #test-series .test-series-overview {
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#home #test-series .test-series-overview-stat {
  border-radius: 22px !important;
  border-color: #d7e4fb !important;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08) !important;
}

/* Study Content Section */
body#home #study-content.study-content {
  width: min(1480px, calc(100% - 72px));
  padding: 92px 0 0;
}

body#home .study-content-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.88fr);
  align-items: center;
  gap: 48px;
  min-height: 300px;
  margin-bottom: 42px;
}

body#home .study-content-copy {
  max-width: 800px;
}

body#home .study-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 0 0 26px;
  padding: 17px 28px;
  border: 1px solid #d6e3ff;
  border-radius: 999px;
  color: #1e4b93;
  background: linear-gradient(180deg, #f7faff, #eef5ff);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.07);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

body#home .study-kicker-badge i {
  color: #286cf0;
  font-size: 1.25rem;
}

body#home .study-content-copy h2 {
  max-width: 820px;
  margin: 0;
  color: #10172a !important;
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(3rem, 4.7vw, 5.6rem);
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  font-weight: 950;
}

body#home .study-content-copy p {
  max-width: 760px;
  margin: 26px 0 0;
  color: #52617f !important;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.75;
  font-weight: 650;
}

body#home .study-content-visual {
  position: relative;
  min-height: 330px;
  isolation: isolate;
}

body#home .study-content-visual::before {
  content: "";
  position: absolute;
  inset: -40px 6% 0 3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 236, 255, 0.92), rgba(242, 247, 255, 0.34) 58%, transparent 70%);
}

body#home .study-book-stack {
  position: absolute;
  right: 18%;
  top: 51%;
  width: 320px;
  height: 210px;
  transform: translateY(-50%);
  filter: drop-shadow(0 28px 34px rgba(37, 99, 235, 0.18));
}

body#home .study-book {
  position: absolute;
  left: 28px;
  width: 270px;
  height: 56px;
  border-radius: 12px 18px 18px 12px;
  background:
    linear-gradient(90deg, #1f62dc 0 9%, #ffffff 9% 82%, #dbe9ff 82% 100%);
  border: 2px solid rgba(69, 123, 235, 0.34);
  box-shadow: inset 0 -8px 0 rgba(58, 114, 233, 0.12);
}

body#home .study-book::before,
body#home .study-book::after {
  content: "";
  position: absolute;
  left: 52px;
  right: 36px;
  height: 3px;
  border-radius: 999px;
  background: rgba(161, 191, 240, 0.62);
}

body#home .study-book::before {
  top: 20px;
}

body#home .study-book::after {
  top: 32px;
}

body#home .study-book-one {
  bottom: 0;
  transform: skewY(-5deg);
}

body#home .study-book-two {
  bottom: 48px;
  left: 18px;
  background:
    linear-gradient(90deg, #2a72ee 0 9%, #ffffff 9% 82%, #e4efff 82% 100%);
  transform: skewY(4deg);
}

body#home .study-book-three {
  bottom: 94px;
  left: 42px;
  width: 242px;
  background:
    linear-gradient(90deg, #4c8ff8 0 9%, #ffffff 9% 82%, #e9f2ff 82% 100%);
  transform: skewY(-3deg);
}

body#home .study-cap {
  position: absolute;
  left: 68px;
  top: -28px;
  width: 224px;
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(145deg, #76a6ff, #1353d8);
  transform: perspective(320px) rotateX(54deg) rotateZ(8deg);
  box-shadow: inset 16px 12px 18px rgba(255, 255, 255, 0.18), inset -18px -22px 28px rgba(12, 61, 174, 0.22);
}

body#home .study-cap::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 26px;
  bottom: -50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(145deg, #5f94fb, #1554d8);
  transform: rotateX(-56deg);
  transform-origin: top;
}

body#home .study-cap::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 18px;
  width: 48px;
  height: 8px;
  border-radius: 999px;
  background: #2d6feb;
  box-shadow:
    -112px 18px 0 -2px #cfe1ff,
    -118px 50px 0 -1px #2e6ee8;
}

body#home .study-plant,
body#home .study-pencil-cup {
  position: absolute;
  bottom: 20px;
  width: 72px;
  height: 72px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, #ffffff, #e9eff9);
  box-shadow: 0 18px 26px rgba(18, 37, 76, 0.12);
}

body#home .study-plant {
  left: 4%;
}

body#home .study-plant::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 52px;
  width: 10px;
  height: 92px;
  border-radius: 999px;
  background: #76b95c;
  transform: rotate(-8deg);
  box-shadow:
    -24px 18px 0 7px #75c34a,
    22px 4px 0 8px #8cd66a,
    -12px -10px 0 8px #8cd66a,
    25px -24px 0 9px #75c34a;
}

body#home .study-pencil-cup {
  right: 2%;
}

body#home .study-pencil-cup::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 54px;
  width: 10px;
  height: 88px;
  border-radius: 999px;
  background: #0e4ebd;
  transform: rotate(-7deg);
  box-shadow:
    20px -4px 0 #2b7df5,
    41px 2px 0 #1a2f55;
}

body#home .study-spark,
body#home .study-dot {
  position: absolute;
  display: block;
}

body#home .study-spark::before,
body#home .study-spark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #6f9fee;
}

body#home .study-spark::before {
  width: 18px;
  height: 5px;
  top: 7px;
}

body#home .study-spark::after {
  width: 5px;
  height: 18px;
  left: 7px;
}

body#home .study-spark-one {
  left: 3%;
  top: 42%;
}

body#home .study-spark-two {
  right: 5%;
  top: 28%;
}

body#home .study-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: linear-gradient(145deg, #9bc0ff, #4e86ec);
}

body#home .study-dot-one {
  left: 6%;
  top: 10%;
}

body#home .study-dot-two {
  right: 0;
  top: 44%;
}

body#home .study-grid-redesigned {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

body#home .study-card-new {
  position: relative;
  display: flex;
  min-height: 385px;
  padding: 28px;
  border: 1px solid #d8e5fb;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.07);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

body#home .study-card-new:hover {
  transform: translateY(-5px);
  border-color: #adc8f8;
  box-shadow: 0 26px 58px rgba(37, 99, 235, 0.12);
}

body#home .study-card-header-new {
  position: absolute;
  inset: 28px 28px auto 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body#home .study-icon-new {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid #d5e3fc;
  border-radius: 20px;
  color: #286cf0;
  background: linear-gradient(145deg, #eef5ff, #e8f1ff);
  box-shadow: inset 10px 10px 20px rgba(255, 255, 255, 0.64), 0 14px 24px rgba(37, 99, 235, 0.08);
  font-size: 2rem;
}

body#home .study-badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid #d7e4fb;
  border-radius: 16px;
  color: #286cf0;
  background: linear-gradient(180deg, #f6f9ff, #edf4ff);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0;
}

body#home .study-card-graphic {
  position: absolute;
  right: 28px;
  top: 112px;
  width: min(235px, 48%);
  height: 168px;
  transition: transform 200ms ease;
}

body#home .study-card-new:hover .study-card-graphic {
  transform: scale(1.04) translateY(-2px);
}

body#home .study-note-paper {
  position: absolute;
  right: 48px;
  top: 14px;
  width: 112px;
  height: 132px;
  border-radius: 14px;
  background:
    linear-gradient(#cfe1ff 0 0) 30px 36px / 64px 7px no-repeat,
    linear-gradient(#cfe1ff 0 0) 30px 58px / 76px 7px no-repeat,
    linear-gradient(#cfe1ff 0 0) 30px 80px / 58px 7px no-repeat,
    linear-gradient(#cfe1ff 0 0) 30px 102px / 44px 7px no-repeat,
    linear-gradient(160deg, #ffffff, #e9f2ff);
  border: 1px solid #d8e6ff;
  box-shadow: 0 20px 26px rgba(37, 99, 235, 0.14);
  transform: rotate(7deg);
}

body#home .study-note-paper::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 28px;
  width: 18px;
  height: 82px;
  border-radius: 999px;
  background: repeating-linear-gradient(to bottom, #2769e5 0 10px, transparent 10px 22px);
}

body#home .study-note-pen {
  position: absolute;
  right: 22px;
  top: 50px;
  width: 18px;
  height: 112px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d8bfd, #0f52d9);
  transform: rotate(14deg);
  box-shadow: 0 18px 22px rgba(37, 99, 235, 0.18);
}

body#home .study-note-pen::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -18px;
  width: 14px;
  height: 22px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #9cc4ff;
}

body#home .study-clipboard {
  position: absolute;
  right: 72px;
  top: 4px;
  width: 120px;
  height: 142px;
  border: 7px solid #2d6ee7;
  border-radius: 16px;
  background:
    radial-gradient(circle at 24px 38px, #82b0ff 0 8px, transparent 9px),
    radial-gradient(circle at 24px 66px, #82b0ff 0 8px, transparent 9px),
    radial-gradient(circle at 24px 94px, #82b0ff 0 8px, transparent 9px),
    linear-gradient(#cfe1ff 0 0) 44px 36px / 52px 7px no-repeat,
    linear-gradient(#cfe1ff 0 0) 44px 64px / 64px 7px no-repeat,
    linear-gradient(#cfe1ff 0 0) 44px 92px / 44px 7px no-repeat,
    linear-gradient(160deg, #ffffff, #eaf3ff);
  box-shadow: 0 20px 28px rgba(37, 99, 235, 0.15);
}

body#home .study-clipboard::before {
  content: "";
  position: absolute;
  left: 35px;
  top: -23px;
  width: 52px;
  height: 30px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(145deg, #5a96fb, #1761df);
}

body#home .study-lens {
  position: absolute;
  right: 16px;
  bottom: 4px;
  width: 76px;
  height: 76px;
  border: 13px solid #2b6fe7;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.16);
}

body#home .study-lens::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -24px;
  width: 58px;
  height: 16px;
  border-radius: 999px;
  background: #2367e3;
  transform: rotate(45deg);
}

body#home .study-video-card {
  position: absolute;
  right: 42px;
  top: 18px;
  width: 168px;
  height: 112px;
  border: 11px solid #2868e4;
  border-radius: 18px;
  background:
    radial-gradient(circle at 44px 46px, #3176ed 0 25px, transparent 26px),
    linear-gradient(#c9ddff 0 0) 88px 32px / 42px 6px no-repeat,
    linear-gradient(#c9ddff 0 0) 88px 52px / 56px 6px no-repeat,
    linear-gradient(#c9ddff 0 0) 30px 82px / 72px 6px no-repeat,
    linear-gradient(160deg, #ffffff, #eaf3ff);
  box-shadow: 0 20px 28px rgba(37, 99, 235, 0.15);
}

body#home .study-video-card::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 37px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
}

body#home .study-mini-books {
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 116px;
  height: 56px;
  border-radius: 8px 14px 14px 8px;
  background:
    linear-gradient(90deg, #2568df 0 13%, #ffffff 13% 82%, #dceaff 82%),
    linear-gradient(90deg, #4c8ff8, #1963df);
  box-shadow:
    0 -18px 0 -3px #ffffff,
    0 -34px 0 -8px #4b8df5,
    0 14px 22px rgba(37, 99, 235, 0.16);
}

body#home .study-card-body {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  max-width: 320px;
  padding-top: 205px;
}

body#home .study-card-body h3 {
  margin: 0 0 14px;
  color: #10172a !important;
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(1.22rem, 1.45vw, 1.52rem);
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0;
}

body#home .study-card-body p {
  margin: 0 0 30px;
  color: #5c6b87 !important;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.65;
  font-weight: 650;
}

body#home .study-btn-new {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid #d7e4fb;
  border-radius: 14px;
  color: #2367e3;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.06);
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1;
}

body#home .study-card-new:hover .study-btn-new {
  color: #ffffff;
  border-color: #286cf0;
  background: #286cf0;
}

@media (max-width: 1120px) {
  body#home #study-content.study-content {
    width: min(900px, calc(100% - 34px));
  }

  body#home .study-content-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body#home .study-content-copy,
  body#home .study-content-copy h2,
  body#home .study-content-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  body#home .study-kicker-badge {
    margin-left: auto;
    margin-right: auto;
  }

  body#home .study-content-visual {
    min-height: 285px;
  }

  body#home .study-grid-redesigned {
    grid-template-columns: 1fr;
  }

  body#home .study-card-new {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  body#home #study-content.study-content {
    width: calc(100% - 24px);
    padding-top: 60px;
  }

  body#home .study-content-hero {
    gap: 24px;
    margin-bottom: 28px;
  }

  body#home .study-kicker-badge {
    padding: 13px 18px;
    font-size: 0.82rem;
  }

  body#home .study-content-copy h2 {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
  }

  body#home .study-content-copy p {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.65;
  }

  body#home .study-content-visual {
    min-height: 220px;
    transform: scale(0.82);
    transform-origin: center;
    margin: -16px 0;
  }

  body#home .study-book-stack {
    right: 50%;
    width: 292px;
    transform: translate(50%, -50%);
  }

  body#home .study-plant {
    left: -6%;
  }

  body#home .study-pencil-cup {
    right: -6%;
  }

  body#home .study-card-new {
    min-height: 360px;
    padding: 22px;
    border-radius: 18px;
  }

  body#home .study-card-header-new {
    inset: 22px 22px auto 22px;
  }

  body#home .study-icon-new {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.45rem;
  }

  body#home .study-badge-new {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 13px;
    font-size: 0.78rem;
  }

  body#home .study-card-graphic {
    top: 98px;
    right: 12px;
    width: 220px;
    max-width: 62%;
    height: 142px;
    transform: scale(0.86);
    transform-origin: right top;
  }

  body#home .study-card-body {
    max-width: min(100%, 280px);
    padding-top: 188px;
  }

  body#home .study-card-body h3 {
    font-size: 1.18rem;
  }

  body#home .study-card-body p {
    margin-bottom: 22px;
    font-size: 0.95rem;
  }

  body#home .study-btn-new {
    min-height: 48px;
    padding: 0 18px;
    gap: 12px;
    font-size: 0.98rem;
  }
}

/* Minimal Hero Layout */
.edu-banner-content.hero-minimal {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 80px 20px !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  gap: 24px;
}

.edu-banner-content.hero-minimal .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}

.edu-banner-content.hero-minimal .hero-actions {
  justify-content: center;
  margin-top: 10px;
}

/* Study solution home hero */
body#home .edu-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 77% 22%, rgba(126, 99, 255, 0.16), transparent 34%),
    radial-gradient(circle at 12% 8%, rgba(52, 211, 153, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfbff 0%, #f6f8ff 100%);
  overflow: hidden;
}

body#home .edu-banner-content.home-v1-hero {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 1.06fr);
  grid-template-areas:
    "copy art"
    "features features"
    "trust trust";
  align-items: center;
  gap: 34px 36px;
  width: min(1280px, calc(100% - 64px));
  max-width: 1280px !important;
  min-height: 650px;
  margin: 0 auto !important;
  padding: 78px 0 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
  overflow: visible;
}

body#home .edu-banner-content.home-v1-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 46px;
  width: min(620px, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 28%, rgba(141, 116, 255, 0.12) 29% 47%, transparent 48%),
    repeating-radial-gradient(circle, rgba(124, 101, 255, 0.16) 0 1px, transparent 1px 56px);
  filter: blur(0.2px);
  pointer-events: none;
}

body#home .hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  max-width: 560px;
}

body#home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 24px;
  padding: 8px 15px;
  border: 1px solid rgba(124, 101, 255, 0.24);
  border-radius: 999px;
  color: #5b42f3;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(96, 83, 214, 0.1);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body#home .hero-eyebrow i:first-child {
  color: #7c63ff;
}

body#home .hero-eyebrow i:last-child {
  color: #ffc02e;
}

body#home .edu-banner-title {
  display: grid;
  gap: 0;
  max-width: 11.8ch;
  margin: 0;
  color: #0d1430;
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(3.35rem, 5vw, 5.8rem) !important;
  line-height: 1.02;
  letter-spacing: 0 !important;
  font-weight: 950;
}

body#home .edu-banner-title span:last-child {
  width: max-content;
  max-width: 100%;
  color: transparent;
  background: linear-gradient(90deg, #7357ff 0%, #8e63ff 34%, #ffaf28 72%, #ffc421 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body#home .edu-banner-subtitle {
  max-width: 540px;
  margin: 22px 0 28px;
  color: #667397;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.72;
  font-weight: 650;
}

body#home .hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

body#home .edu-banner-btn,
body#home .hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body#home .edu-banner-btn {
  color: #ffffff !important;
  border: 1px solid #5a46f0 !important;
  background: linear-gradient(135deg, #6f5cff 0%, #4b45e9 100%) !important;
  box-shadow: 0 18px 34px rgba(77, 70, 229, 0.28) !important;
}

body#home .hero-secondary-btn {
  color: #17204a !important;
  border: 1px solid #d7ddf1 !important;
  background: #ffffff !important;
  box-shadow: 0 14px 28px rgba(27, 38, 79, 0.06) !important;
}

body#home .edu-banner-btn:hover,
body#home .hero-secondary-btn:hover {
  transform: translateY(-2px);
}

body#home .hero-study-art {
  grid-area: art;
  position: relative;
  z-index: 2;
  min-height: 440px;
}

body#home .hero-main-card {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(285px, 50vw);
  height: min(390px, 68vw);
  padding: 54px 38px 38px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 38px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 244, 255, 0.92));
  box-shadow: 0 34px 82px rgba(89, 77, 189, 0.18);
  transform: translate(-50%, -50%) rotate(9deg);
}

body#home .hero-main-card img {
  display: block;
  width: 138px;
  height: 138px;
  margin: 0 auto 50px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(28, 94, 169, 0.16));
}

body#home .hero-card-dot,
body#home .hero-card-line {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: #d8dcfb;
}

body#home .hero-card-dot {
  bottom: 79px;
  width: 19px;
  height: 19px;
}

body#home .hero-card-dot-one {
  left: 40px;
}

body#home .hero-card-dot-two {
  left: 78px;
}

body#home .hero-card-dot-three {
  left: 116px;
}

body#home .hero-card-line {
  left: 40px;
  height: 11px;
}

body#home .hero-card-line-one {
  bottom: 48px;
  width: 115px;
}

body#home .hero-card-line-two {
  bottom: 29px;
  width: 76px;
  opacity: 0.72;
}

body#home .hero-float-card,
body#home .hero-trophy,
body#home .hero-gift {
  position: absolute;
  display: grid;
  place-items: center;
  z-index: 3;
  filter: drop-shadow(0 18px 22px rgba(91, 66, 243, 0.18));
}

body#home .hero-float-card {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  color: #ffffff;
  font-size: 2.1rem;
  background: linear-gradient(145deg, #a480ff, #6a52ee);
  box-shadow: inset 10px 10px 18px rgba(255, 255, 255, 0.18), inset -12px -14px 24px rgba(49, 31, 165, 0.18);
}

body#home .hero-float-book {
  left: 14%;
  top: 5%;
  transform: rotate(10deg);
}

body#home .hero-float-chart {
  right: 4%;
  top: 13%;
  width: 76px;
  height: 76px;
  color: #8d73ff;
  background: rgba(255, 255, 255, 0.86);
  transform: rotate(8deg);
}

body#home .hero-trophy {
  left: 8%;
  bottom: 18%;
  color: #f8a71f;
  font-size: 4.4rem;
}

body#home .hero-gift {
  right: 10%;
  bottom: 16%;
  color: #725bff;
  font-size: 5.1rem;
}

body#home .hero-feature-strip {
  grid-area: features;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 6px;
  border: 1px solid #e6eafa;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(36, 50, 102, 0.08);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

body#home .hero-feature-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  min-height: 118px;
  padding: 26px 28px;
  border-right: 1px solid #eef1fb;
}

body#home .hero-feature-strip article:last-child {
  border-right: 0;
}

body#home .hero-feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.15rem;
}

body#home .hero-feature-purple {
  color: #745cff;
  background: #f0ecff;
}

body#home .hero-feature-green {
  color: #22a76f;
  background: #ddf8eb;
}

body#home .hero-feature-orange {
  color: #f5a51d;
  background: #fff1cf;
}

body#home .hero-feature-blue {
  color: #2f7de1;
  background: #e8f1ff;
}

body#home .hero-feature-strip strong {
  display: block;
  margin: 2px 0 8px;
  color: #111831;
  font-size: 0.94rem;
  line-height: 1.25;
  font-weight: 950;
}

body#home .hero-feature-strip p {
  margin: 0;
  color: #637092;
  font-size: 0.86rem;
  line-height: 1.55;
  font-weight: 650;
}

body#home .hero-trust-note {
  grid-area: trust;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #e8ecf8;
  border-radius: 999px;
  color: #6b789b;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.35;
  font-weight: 700;
}

body#home .hero-trust-note i,
body#home .hero-trust-note strong {
  color: #5b61f3;
}

@media (max-width: 1080px) {
  body#home .edu-banner-content.home-v1-hero {
    width: min(760px, calc(100% - 32px));
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "art"
      "features"
      "trust";
    gap: 26px;
    padding-top: 44px !important;
    text-align: center !important;
  }

  body#home .hero-copy {
    justify-self: center;
    max-width: 620px;
  }

  body#home .hero-eyebrow,
  body#home .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

  body#home .edu-banner-title,
  body#home .edu-banner-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  body#home .hero-actions {
    justify-content: center;
  }

  body#home .hero-study-art {
    min-height: 360px;
  }

  body#home .hero-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body#home .hero-feature-strip article:nth-child(2) {
    border-right: 0;
  }

  body#home .hero-feature-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid #eef1fb;
  }
}

@media (max-width: 640px) {
  body#home .edu-banner-content.home-v1-hero {
    width: min(430px, calc(100% - 26px));
    gap: 22px;
    min-height: auto;
    padding: 30px 0 22px !important;
  }

  body#home .edu-banner-content.home-v1-hero::before {
    right: 50%;
    top: 236px;
    width: 460px;
    transform: translateX(50%);
  }

  body#home .hero-eyebrow {
    margin-bottom: 18px;
    padding: 8px 12px;
    font-size: 0.62rem;
  }

  body#home .edu-banner-title {
    max-width: 10.8ch;
    font-size: clamp(2.7rem, 13vw, 3.75rem) !important;
  }

  body#home .edu-banner-subtitle {
    max-width: 35ch;
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  body#home .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body#home .hero-actions > * {
    width: 100%;
  }

  body#home .edu-banner-btn,
  body#home .hero-secondary-btn {
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.86rem;
  }

  body#home .hero-study-art {
    width: 100%;
    min-height: 278px;
  }

  body#home .hero-main-card {
    width: 150px;
    height: 208px;
    padding: 30px 18px 22px;
    border-radius: 22px;
  }

  body#home .hero-main-card img {
    width: 78px;
    height: 78px;
    margin-bottom: 26px;
  }

  body#home .hero-card-dot {
    bottom: 45px;
    width: 10px;
    height: 10px;
  }

  body#home .hero-card-dot-one {
    left: 22px;
  }

  body#home .hero-card-dot-two {
    left: 42px;
  }

  body#home .hero-card-dot-three {
    left: 62px;
  }

  body#home .hero-card-line {
    left: 22px;
    height: 6px;
  }

  body#home .hero-card-line-one {
    bottom: 28px;
    width: 64px;
  }

  body#home .hero-card-line-two {
    bottom: 17px;
    width: 44px;
  }

  body#home .hero-float-card {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    font-size: 1.3rem;
  }

  body#home .hero-float-book {
    left: 17%;
    top: 2%;
  }

  body#home .hero-float-chart {
    right: 15%;
    top: 9%;
    width: 46px;
    height: 46px;
  }

  body#home .hero-trophy {
    left: 12%;
    bottom: 16%;
    font-size: 3rem;
  }

  body#home .hero-gift {
    right: 10%;
    bottom: 13%;
    font-size: 3.65rem;
  }

  body#home .hero-feature-strip {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  body#home .hero-feature-strip article,
  body#home .hero-feature-strip article:nth-child(2) {
    min-height: 0;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid #eef1fb;
    text-align: left;
  }

  body#home .hero-feature-strip article:last-child {
    border-bottom: 0;
  }

  body#home .hero-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.98rem;
  }

  body#home .hero-feature-strip strong {
    margin-bottom: 4px;
    font-size: 0.82rem;
  }

  body#home .hero-feature-strip p {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  body#home .hero-trust-note {
    align-items: flex-start;
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
    text-align: left;
    font-size: 0.82rem;
  }
}

/* Site-wide readability guardrails: prevent squeezed columns, overlap, and broken words. */


body :where(h1, h2, h3, h4, h5, h6, p, li, a, button, span, strong, small, label, td, th) {
  overflow-wrap: break-word;
}

body :where(h1, h2, h3, h4, h5, h6) {
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}

body :where(p, li, td, th, label, input, textarea, select) {
  word-break: normal;
  hyphens: auto;
}

body :where(img, video, iframe, canvas, svg) {
  max-width: 100%;
}

body :where(.card, .section, .panel, .container, .hero-card, .support-card, .policy-card, .note-card, .pdf-card, .video-card, .about-value-card, .about-team-card, .series-card, .category-item) {
  overflow-wrap: break-word;
}


@media (max-width: 760px) {
  body :where([class*="grid"], [class*="layout"], [class*="hero"], [class*="cards"], [class*="stats"], [class*="overview"], [class*="content"]) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body :where([class*="card"], [class*="panel"], [class*="tile"], [class*="item"]) {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  body :where(.card, .section, .panel, .container, .hero-card, .support-card, .policy-card) {
    max-width: 100% !important;
  }

  body :where(.policy-card, .support-card, .note-card, .pdf-card, .video-card, .about-value-card, .about-team-card, .series-card) {
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
  }

  body :where(.section-title, .hero-title, h1) {
    font-size: clamp(1.55rem, 8vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }

  body :where(h2) {
    font-size: clamp(1.05rem, 5.5vw, 1.55rem) !important;
    line-height: 1.25 !important;
  }

  body :where(a, button, .btn, [class*="btn"], [class*="button"], [class*="chip"], [class*="badge"], [class*="pill"], [class*="tag"], [class*="status"]) {
    white-space: normal !important;
    max-width: 100% !important;
  }
}

/* =========================================================================
   UI/UX POLISH & ANIMATION FRAMEWORK (GLOBAL ENHANCEMENTS)
   ========================================================================= */

/* 1. Smooth Page Entrance Transition */
@keyframes gx-page-entrance {
  0% { opacity: 0; filter: blur(6px); transform: translateY(14px) scale(0.995); }
  100% { opacity: 1; filter: blur(0px); transform: translateY(0) scale(1); }
}

body:not(#home) {
  animation: gx-page-entrance 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  will-change: opacity, filter, transform;
}

/* 2. Scroll Reveal Transitions (Used by ui-enhancements.js) */
.ux-reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, filter, transform;
}
.ux-reveal.is-visible {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0) scale(1);
}

/* Prevent giant layout wrappers from getting stuck hidden due to IntersectionObserver threshold */
body :where(section.policy-body, section.policy-grid, section.policy-shell, section.notes-section, main.policy-shell).ux-reveal:not(.is-visible) {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* 3. Global Spacing & Layout Normalization (Zero Specificity via :where) */
body :where(.card, .course, .panel, .team-card, .reward-card, .support-card, .note-card, .pdf-card) {
  padding: clamp(20px, 3.5vw, 36px);
  border-radius: clamp(16px, 2.5vw, 24px);
}

/* 4. Button & Interaction Polish */
body :where(button:not(.navbar-toggler):not(.close-btn), .btn, .primary-btn, .secondary-btn, .action-btn, .submit-btn, .home-btn) {
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1.05rem);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s ease;
  will-change: transform, box-shadow;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

body :where(button:not(.navbar-toggler):not(.close-btn):hover, .btn:hover, .primary-btn:hover, .secondary-btn:hover, .action-btn:hover, .submit-btn:hover, .home-btn:hover) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.16), 0 6px 12px rgba(0, 0, 0, 0.06);
}

body :where(button:not(.navbar-toggler):not(.close-btn):active, .btn:active, .primary-btn:active, .secondary-btn:active, .action-btn:active, .submit-btn:active, .home-btn:active) {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease-out;
}

body :where(.sq-link) {
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, box-shadow, background;
}
body :where(.sq-link:hover) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 181, 253, 0.22);
}

/* 5. Smooth Hover for Cards & Sections */
body :where(.card, .course, .panel, .team-card, .reward-card, .support-card, .note-card, .pdf-card) {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s ease;
  will-change: transform, box-shadow;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body :where(.card:hover, .course:hover, .panel:hover, .team-card:hover, .reward-card:hover, .support-card:hover, .note-card:hover, .pdf-card:hover) {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.18);
  z-index: 2;
}

/* 6. Form Inputs & Controls */
body :where(input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]), textarea, select) {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: clamp(12px, 1.5vw, 16px);
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
  font-family: inherit;
}

body :where(input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):focus, textarea:focus, select:focus) {
  outline: none;
  border-color: var(--gx-primary, #2563EB);
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12), inset 0 2px 6px rgba(0, 0, 0, 0.0);
  transform: translateY(-1px);
}

/* 7. Typography Hierarchy Polish */
body {
  letter-spacing: -0.01em;
}
body :where(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0.4em;
  color: var(--gx-heading, #0f172a);
}
body :where(p) {
  margin-bottom: 1.2em;
  color: var(--gx-moss, #475569);
  line-height: 1.75;
}
body :where(.pill, .hero-kicker, .eyebrow, .card-badge) {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
}

/* 8. Modal & Dialog Transitions */
@keyframes gx-modal-entrance {
  0% { opacity: 0; filter: blur(8px); transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; filter: blur(0px); transform: translateY(0) scale(1); }
}
.modal.show .modal-content, .modal:not(.hidden) .modal-content, .modal:not([hidden]) .modal-content {
  animation: gx-modal-entrance 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  will-change: transform, opacity, filter;
}

/* 9. Navbar Refinement */
body :where(.sq-header, .support-topbar, .policy-nav, nav) {
  backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* 10. Depth & Glassmorphism Polish */
body :where(.glass-panel, .auth-box, .ticker-wrapper) {
  backdrop-filter: blur(16px) saturate(160%);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 11. Eliminate Layout Shifts during hover */
body :where(a, button, .card) {
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* 12. End of List Beautiful Message */
.end-of-list-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 48px auto 32px;
  padding: 0 20px;
  max-width: 700px;
  color: #647089;
  text-align: center;
}

.end-of-list-msg p {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 750;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.end-of-list-msg i {
  color: #7b5cff;
  font-size: 1.1rem;
}

.elegant-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(123, 92, 255, 0.2), transparent);
  border-radius: 999px;
}

@media (max-width: 640px) {
  .end-of-list-msg p {
    white-space: normal;
    font-size: 0.88rem;
  }
}
