/* ============================================================
   Mobile styles - strictly isolated from desktop
   All styles are scoped under html.mobile-active
   ============================================================ */

/* ---------- Mobile Header ---------- */
html.mobile-active .site-header {
  padding: 0.75rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html.mobile-active .site-header.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

html.mobile-active .site-header.hidden,
html.mobile-active .site-header.visible {
  transform: none !important;
}

html.mobile-active .header-inner {
  gap: 0.75rem;
  position: relative;
  height: auto;
  min-height: 52px;
  display: flex;
  align-items: center;
}

html.mobile-active .brand {
  gap: 0.6rem;
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}

html.mobile-active .brand-logo {
  height: 32px;
  width: auto;
}

html.mobile-active .brand-text {
  display: flex !important;
  flex-direction: column;
  line-height: 1.1;
}

html.mobile-active .brand-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

html.mobile-active .brand-title small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue-600);
}

html.mobile-active .brand-slogan {
  display: none;
}

html.mobile-active .header-actions {
  display: none;
}

/* ---------- Hamburger Menu Button ---------- */
html.mobile-active .hamburger-btn {
  display: flex !important;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-200);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin-left: auto;
  transition: all 0.2s ease;
}

html.mobile-active .hamburger-btn:active {
  transform: scale(0.95);
  background: var(--blue-100);
}

html.mobile-active .hamburger-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--blue-700);
  border-radius: 2px;
}

html.mobile-active .hamburger-btn.active span {
  background: var(--gray-700);
}

html.mobile-active .hamburger-btn.menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

html.mobile-active .hamburger-btn.menu-open span:nth-child(2) {
  opacity: 0;
}

html.mobile-active .hamburger-btn.menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Mobile Sidebar ---------- */
html.mobile-active .mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

html.mobile-active .mobile-sidebar.open {
  transform: translateX(0);
}

html.mobile-active .mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  height: 100vh !important;
  width: 100vw !important;
}

html.mobile-active .mobile-sidebar-overlay.visible {
  opacity: 1;
  visibility: visible;
}

html.mobile-active .mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}

html.mobile-active .mobile-sidebar-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gray-900);
}

html.mobile-active .mobile-sidebar-header .brand-logo {
  height: 40px;
}

html.mobile-active .mobile-sidebar-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
}

html.mobile-active .mobile-sidebar-close svg {
  width: 20px;
  height: 20px;
}

/* ---------- Mobile Navigation ---------- */
html.mobile-active .mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0;
  overflow-y: auto;
}

html.mobile-active .mobile-nav .nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.25rem;
  font-size: 1rem !important;
  font-weight: 500;
  color: var(--gray-700) !important;
  text-decoration: none !important;
  border-radius: 0;
  transition: all 0.2s ease;
  position: relative;
}

html.mobile-active .mobile-nav .nav-link::after {
  content: '›';
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-left: auto;
}

html.mobile-active .mobile-nav .nav-link.nav-link-external::after {
  content: '';
  display: none;
}

html.mobile-active .mobile-nav .nav-link:active {
  background: var(--gray-50);
}

html.mobile-active .mobile-nav .nav-link.is-active {
  color: var(--blue-600) !important;
  background: var(--blue-50);
  font-weight: 600;
}

html.mobile-active .mobile-nav .nav-link.is-active::after {
  color: var(--blue-500);
}

html.mobile-active .mobile-nav .nav-link-external {
  color: #059669 !important;
  font-weight: 600 !important;
}

/* ---------- Sidebar Bottom Actions ---------- */
html.mobile-active .mobile-sidebar-actions {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

html.mobile-active .mobile-sidebar-actions .btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-radius: 12px;
}

html.mobile-active .mobile-sidebar-actions .btn-primary {
  background: var(--blue-600);
  color: white;
  border: none;
}

html.mobile-active .mobile-sidebar-actions .btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

/* ---------- Common Section Styles ---------- */
/* Remove padding-top to let fixed header cover content */

html.mobile-active .section {
  padding: 2rem 0;
}

html.mobile-active .section-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

html.mobile-active .section-head h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}

html.mobile-active .section-head .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html.mobile-active .section-head .text-link {
  align-self: flex-end;
  font-size: 0.88rem;
}

html.mobile-active .section-head p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

html.mobile-active .section-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ---------- Hero Carousel ---------- */
html.mobile-active .carousel-btn {
  display: none !important;
}

html.mobile-active .hero-banner {
  min-height: 340px;
}

html.mobile-active .hero-banner .hero-content {
  padding: 1.25rem 1rem;
}

html.mobile-active .hero-banner .hero-content h1 {
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

html.mobile-active .hero-banner .hero-content > p {
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 340px;
  margin: 0 auto 1.25rem;
}

html.mobile-active .slide-eyebrow {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .artistic-subtitle {
  font-size: 0.9rem;
  margin: 0.35rem 0 0.85rem;
}

html.mobile-active .hero-banner .hero-content .eyebrow {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .hero-banner .hero-content .text-gradient {
  line-height: 1.15;
}

html.mobile-active .carousel-dots {
  bottom: 0.75rem;
}

html.mobile-active .carousel-dots button {
  width: 6px;
  height: 6px;
}

html.mobile-active .carousel-dots button.active {
  width: 18px;
}

/* ---------- Product Grid ---------- */
html.mobile-active .product-grid,
html.mobile-active .product-card-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.5rem !important;
}

html.mobile-active .product-grid .product-card,
html.mobile-active .product-card-grid .product-card {
  border-radius: 10px;
  overflow: hidden;
}

html.mobile-active .product-grid .product-media,
html.mobile-active .product-card-grid .product-card-media,
html.mobile-active .product-grid .product-image {
  aspect-ratio: 1 !important;
}

html.mobile-active .product-grid .product-body,
html.mobile-active .product-card-grid .product-card-body,
html.mobile-active .product-grid .product-card-body,
html.mobile-active .product-grid .product-info {
  padding: 0.4rem 0.5rem !important;
}

/* Hide brand - homepage structure */
html.mobile-active .product-grid .product-brand,
html.mobile-active .product-card-grid .product-brand {
  display: none !important;
}

/* Hide product card meta - store structure */
html.mobile-active .product-card-grid .product-card-meta,
html.mobile-active .product-grid .product-card-meta {
  display: none !important;
}

/* Product name - unified style */
html.mobile-active .product-grid .product-title,
html.mobile-active .product-card-grid .product-card-body h3,
html.mobile-active .product-grid .product-card-body h3 {
  font-size: 0.72rem !important;
  line-height: 1.3;
  margin: 0 0 0.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
  color: var(--gray-800);
}

/* Hide description text - both structures */
html.mobile-active .product-grid .product-desc,
html.mobile-active .product-card-grid .product-card-body p,
html.mobile-active .product-grid .product-card-body p {
  display: none !important;
}

/* Price row - homepage structure */
html.mobile-active .product-grid .product-footer {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-top: 0.25rem;
}

/* Price row - store structure */
html.mobile-active .product-card-grid .product-card-footer,
html.mobile-active .product-grid .product-card-footer {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-top: 0.25rem;
}

/* Price style - unified */
html.mobile-active .product-grid .price,
html.mobile-active .product-grid .price-current,
html.mobile-active .product-card-grid .price,
html.mobile-active .product-grid .product-card-footer .price,
html.mobile-active .product-card-grid .product-card-footer .price {
  font-size: 0.75rem !important;
  font-weight: 700;
  color: var(--blue-600);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide stock/discount/badge - all structures */
html.mobile-active .product-grid .stock,
html.mobile-active .product-card-grid .stock,
html.mobile-active .product-grid .product-card-footer .stock,
html.mobile-active .product-card-grid .product-card-footer .stock {
  display: none !important;
}

html.mobile-active .product-grid .price-discount,
html.mobile-active .product-card-grid .price-discount {
  display: none !important;
}

html.mobile-active .product-grid .product-badge,
html.mobile-active .product-card-grid .product-badge,
html.mobile-active .product-grid .product-card-media .product-badge,
html.mobile-active .product-card-grid .product-card-media .product-badge {
  display: none !important;
}

/* Hide default styles of product card link wrapper */
html.mobile-active .product-card-grid .product-card-link,
html.mobile-active .product-grid .product-card-link {
  text-decoration: none !important;
  color: inherit !important;
}

/* ---------- Store Page ---------- */
html.mobile-active .page-hero {
  padding: 1.25rem 0 0.75rem;
  text-align: left;
}

html.mobile-active .page-hero h1 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

html.mobile-active .page-hero p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray-600);
}

html.mobile-active .page-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

html.mobile-active .store-toolbar-section {
  padding: 0.5rem 0 1rem;
}

html.mobile-active .store-toolbar {
  padding: 0.75rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html.mobile-active .search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

html.mobile-active .search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  outline: none;
  color: var(--gray-800);
}

html.mobile-active .search-box input::placeholder {
  color: var(--gray-400);
}

html.mobile-active .search-icon {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
}

html.mobile-active .filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

html.mobile-active .filter-row .field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

html.mobile-active .filter-row .field span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
}

html.mobile-active .filter-row select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  color: var(--gray-800);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

html.mobile-active .store-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
}

html.mobile-active .popular-tags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--gray-500);
}

html.mobile-active .tag-btn {
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

html.mobile-active .tag-btn:active {
  background: var(--blue-50);
  border-color: var(--blue-200);
  color: var(--blue-700);
}

html.mobile-active .store-meta-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--gray-600);
}

html.mobile-active .text-link {
  font-size: 0.82rem;
  color: var(--blue-600);
  text-decoration: none;
}

html.mobile-active .text-link:active {
  color: var(--blue-700);
}

html.mobile-active .active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

html.mobile-active .filter-chip {
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 8px;
}

html.mobile-active .featured-section {
  padding: 1rem 0;
}

html.mobile-active .featured-header {
  font-size: 1.1rem;
}

html.mobile-active .view-all-link {
  font-size: 0.82rem;
}

/* Store page product grid special handling */
html.mobile-active .store-page .product-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.5rem !important;
}

html.mobile-active .store-page .product-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-100);
}

html.mobile-active .store-page .product-card-media {
  aspect-ratio: 1 !important;
  background: var(--gray-50);
}

html.mobile-active .store-page .product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html.mobile-active .store-page .product-card-body {
  padding: 0.4rem 0.5rem !important;
}

html.mobile-active .store-page .product-card-body h3 {
  font-size: 0.72rem !important;
  line-height: 1.3;
  margin: 0 0 0.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
  color: var(--gray-800);
}

html.mobile-active .store-page .product-card-body p {
  display: none !important;
}

html.mobile-active .store-page .product-card-footer {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-top: 0.25rem;
}

html.mobile-active .store-page .product-card-footer .price {
  font-size: 0.75rem !important;
  font-weight: 700;
  color: var(--blue-600);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.mobile-active .store-page .product-card-footer .stock {
  display: none !important;
}

/* Store page bottom info card */
html.mobile-active .store-notes {
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
}

html.mobile-active .note-card,
html.mobile-active .note-highlight {
  padding: 1rem;
  border-radius: 14px;
}

html.mobile-active .note-card h3,
html.mobile-active .note-highlight h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .note-card li,
html.mobile-active .note-highlight li {
  font-size: 0.85rem;
  padding: 0.25rem 0;
}

html.mobile-active .note-highlight ul li a {
  font-size: 0.85rem;
}

html.mobile-active .note-highlight .btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

html.mobile-active .checkout-note {
  padding: 1.5rem 0;
}

html.mobile-active .note-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* ============================================================
   Courses page full mobile styles
   ============================================================ */
html.mobile-active .courses-hero {
  min-height: auto;
  padding: 0 1rem 1.5rem;
  text-align: center;
}

html.mobile-active .courses-hero-content {
  max-width: 100%;
}

html.mobile-active .courses-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

html.mobile-active .courses-hero h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

html.mobile-active .courses-hero-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 1rem;
  line-height: 1.5;
  max-width: 340px;
}

html.mobile-active .courses-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  max-width: 100%;
  margin: 0 auto;
}

html.mobile-active .courses-hero-stats .stat-item {
  text-align: center;
  padding: 0.65rem 0.5rem;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
}

html.mobile-active .courses-hero-stats .stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

html.mobile-active .courses-hero-stats .stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
  word-break: break-word;
}

/* Courses Nav */
html.mobile-active .courses-nav-section {
  padding: 1.25rem 0;
  background: white;
}

html.mobile-active .courses-nav {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

html.mobile-active .courses-nav-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  background: var(--gray-50);
  border-radius: 50px;
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.82rem;
  white-space: nowrap;
}

html.mobile-active .courses-nav-item.active {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

html.mobile-active .courses-nav-item .nav-icon {
  font-size: 1rem;
}

html.mobile-active .courses-nav-item .nav-text {
  font-size: 0.82rem;
  font-weight: 500;
}

/* Courses Feature Cards */
html.mobile-active .courses-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

html.mobile-active .feature-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .feature-card .feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .feature-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

html.mobile-active .feature-card p {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Learning Path */
html.mobile-active .learning-path {
  margin-bottom: 2rem;
}

html.mobile-active .learning-path h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

html.mobile-active .path-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

html.mobile-active .path-step {
  background: white;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-areas:
    "number title"
    "number subtitle"
    "number desc";
  align-items: start;
  text-align: left;
}

html.mobile-active .path-step .step-number {
  grid-area: number;
  width: 32px;
  height: 32px;
  margin-bottom: 0;
}

html.mobile-active .path-step h4 {
  grid-area: title;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

html.mobile-active .path-step p {
  grid-area: subtitle;
  font-size: 0.78rem;
  margin-bottom: 0.1rem;
}

html.mobile-active .path-step .step-desc {
  grid-area: desc;
  font-size: 0.72rem;
  margin-bottom: 0;
}

html.mobile-active .path-arrow {
  display: none;
}

/* Core Courses */
html.mobile-active .core-courses h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

html.mobile-active .courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

html.mobile-active .course-card {
  background: white;
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .course-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

html.mobile-active .course-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

html.mobile-active .course-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

html.mobile-active .course-card ul {
  padding-left: 1rem;
}

html.mobile-active .course-card li {
  font-size: 0.82rem;
  color: var(--gray-600);
  padding: 0.2rem 0;
}

/* Course Categories */
html.mobile-active .course-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

html.mobile-active .category-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .category-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .category-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

html.mobile-active .category-level {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

html.mobile-active .category-courses {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

html.mobile-active .category-courses span {
  font-size: 0.75rem;
  color: var(--gray-600);
  padding: 0.15rem 0;
}

/* Institution Fit */
html.mobile-active .institution-fit h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

html.mobile-active .fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

html.mobile-active .fit-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1rem;
}

html.mobile-active .fit-card h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

html.mobile-active .fit-card p {
  font-size: 0.82rem;
  line-height: 1.5;
}

html.mobile-active .fit-stats {
  text-align: center;
  padding: 0.75rem;
  background: var(--blue-50);
  border-radius: 12px;
}

html.mobile-active .fit-stats span {
  font-size: 0.85rem;
}

/* Course Metrics */
html.mobile-active .course-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

html.mobile-active .metric-item {
  text-align: center;
}

html.mobile-active .metric-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-600);
}

html.mobile-active .metric-label {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* Course Modules */
html.mobile-active .course-modules {
  margin-bottom: 2rem;
}

html.mobile-active .module-group {
  margin-bottom: 2rem;
}

html.mobile-active .module-group h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

html.mobile-active .module-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

html.mobile-active .modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

html.mobile-active .module-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .module-number {
  width: 32px;
  height: 32px;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}

html.mobile-active .module-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

html.mobile-active .module-card .module-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  background: var(--purple-50);
  color: var(--purple-600);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

html.mobile-active .module-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

html.mobile-active .module-card ul {
  padding-left: 1rem;
}

html.mobile-active .module-card li {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 0.15rem 0;
}

/* Support System */
html.mobile-active .support-system h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

html.mobile-active .support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

html.mobile-active .support-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .support-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .support-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

html.mobile-active .support-card p {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Layered Courses */
html.mobile-active .layered-courses {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html.mobile-active .layer-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

html.mobile-active .layer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--blue-500);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

html.mobile-active .layer-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

html.mobile-active .layer-info {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

html.mobile-active .layer-objective {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 10px;
}

html.mobile-active .layer-modules {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html.mobile-active .layer-module {
  border-left: 3px solid var(--blue-200);
  padding-left: 0.75rem;
}

html.mobile-active .layer-module h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

html.mobile-active .module-hours {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

html.mobile-active .layer-module ul {
  padding-left: 1rem;
}

html.mobile-active .layer-module li {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 0.15rem 0;
}

/* Delivery Plans */
html.mobile-active .delivery-plans h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

html.mobile-active .plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

html.mobile-active .plan-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .plan-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  background: var(--blue-500);
  color: white;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

html.mobile-active .plan-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

html.mobile-active .plan-card p {
  font-size: 0.82rem;
  line-height: 1.5;
}

/* CTA band */
html.mobile-active .cta-band {
  padding: 2rem 0;
}

html.mobile-active .cta-inner {
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

html.mobile-active .cta-inner h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

html.mobile-active .cta-inner p {
  font-size: 0.88rem;
  line-height: 1.5;
}

html.mobile-active .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

html.mobile-active .cta-actions .btn {
  width: 100%;
}

/* ============================================================
   About page full mobile styles
   ============================================================ */
html.mobile-active .about-hero {
  min-height: auto;
  padding: 0 1rem 1.5rem;
  text-align: center;
}

html.mobile-active .about-hero-content {
  max-width: 100%;
}

html.mobile-active .about-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

html.mobile-active .about-hero-content h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

html.mobile-active .about-hero-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.5;
  margin: 0 auto 1rem;
  max-width: 320px;
}

html.mobile-active .about-hero-meta {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

html.mobile-active .about-hero-meta .pill {
  font-size: 0.7rem;
  padding: 0.22rem 0.65rem;
}

html.mobile-active .pill-soft {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Company Intro */
html.mobile-active .company-intro {
  padding: 2rem 0;
  background: linear-gradient(180deg, white 0%, var(--blue-50) 100%);
}

html.mobile-active .intro-grid {
  grid-template-columns: 1fr;
}

html.mobile-active .intro-content {
  max-width: 100%;
}

html.mobile-active .intro-content .eyebrow {
  font-size: 0.72rem;
  color: var(--blue-500);
  margin-bottom: 0.5rem;
}

html.mobile-active .intro-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

html.mobile-active .intro-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

html.mobile-active .intro-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

html.mobile-active .highlight-item {
  background: white;
  padding: 0.85rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--gray-100);
}

html.mobile-active .highlight-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-600);
  margin-bottom: 0.15rem;
}

html.mobile-active .highlight-label {
  font-size: 0.72rem;
  color: var(--gray-500);
}

/* Core Capabilities */
html.mobile-active .capabilities-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--purple-50) 100%);
}

html.mobile-active .capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

html.mobile-active .capability-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
}

html.mobile-active .capability-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .capability-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

html.mobile-active .capability-card p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

html.mobile-active .capability-card .text-link {
  font-size: 0.78rem;
}

/* Timeline */
html.mobile-active .timeline-section {
  padding: 2rem 0;
  background: linear-gradient(180deg, white 0%, #fff9f5 100%);
}

html.mobile-active .timeline-orange {
  position: relative;
  max-width: 100%;
  padding: 1rem 0;
}

html.mobile-active .timeline-line {
  left: 20px;
  transform: none;
  width: 3px;
  height: calc(100% - 2rem);
  top: 1rem;
}

html.mobile-active .timeline-arrow {
  display: none;
}

html.mobile-active .timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-left: 48px;
}

html.mobile-active .timeline-item:nth-child(odd) .timeline-content,
html.mobile-active .timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  width: 100%;
}

html.mobile-active .timeline-item:nth-child(odd),
html.mobile-active .timeline-item:nth-child(even) {
  justify-content: flex-start;
}

html.mobile-active .timeline-marker {
  left: 11px;
  transform: none;
  width: 18px;
  height: 18px;
}

html.mobile-active .timeline-content {
  width: 100%;
  padding: 0.85rem 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #ffe4d4;
}

html.mobile-active .timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 0.2rem;
}

html.mobile-active .timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

html.mobile-active .timeline-content p {
  font-size: 0.82rem;
  color: var(--gray-600);
}

html.mobile-active .timeline-item.timeline-current .timeline-content {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-color: #ea580c;
}

html.mobile-active .timeline-item.timeline-current .timeline-content h4,
html.mobile-active .timeline-item.timeline-current .timeline-content p,
html.mobile-active .timeline-item.timeline-current .timeline-year {
  color: white;
}

html.mobile-active .timeline-footer {
  text-align: center;
  margin-top: 0.75rem;
}

html.mobile-active .timeline-footer p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Product Arrays */
html.mobile-active .products-section {
  padding: 2rem 0;
  background: white;
}

html.mobile-active .products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

html.mobile-active .products-section .product-card {
  padding: 1rem;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  background: white;
}

html.mobile-active .products-section .product-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .products-section .product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

html.mobile-active .products-section .product-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

html.mobile-active .products-section .product-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
}

html.mobile-active .products-section .product-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

html.mobile-active .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .product-tags span {
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
}

html.mobile-active .products-section .text-link {
  font-size: 0.8rem;
}

/* Use Cases */
html.mobile-active .scenarios-section {
  padding: 2rem 0;
  background: white;
}

html.mobile-active .scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

html.mobile-active .scenario-card {
  background: var(--gray-50);
  border-radius: 14px;
  padding: 1rem;
  border-left: 3px solid var(--blue-500);
}

html.mobile-active .scenario-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .scenario-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

html.mobile-active .scenario-card p {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ============================================================
   Contact page full mobile styles
   ============================================================ */
html.mobile-active .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

html.mobile-active .product-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html.mobile-active .glass-panel {
  padding: 1.25rem;
  border-radius: 14px;
}

html.mobile-active .panel-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

html.mobile-active .panel-head svg {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
}

html.mobile-active .panel-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
}

html.mobile-active .contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

html.mobile-active .contact-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

html.mobile-active .contact-item:active {
  background: var(--blue-50);
}

html.mobile-active .contact-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 0.2rem;
}

html.mobile-active .contact-item strong {
  font-size: 0.9rem;
  color: var(--gray-800);
  font-weight: 600;
}

html.mobile-active .contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html.mobile-active .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .form-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
}

html.mobile-active .form-input,
html.mobile-active .form-textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  outline: none;
}

html.mobile-active .form-input:focus,
html.mobile-active .form-textarea:focus {
  border-color: var(--blue-400);
  background: white;
}

html.mobile-active .submit-btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
}

/* ============================================================
   Open-source page full mobile styles
   ============================================================ */
html.mobile-active .opensource-hero {
  min-height: auto;
  padding: 0 1rem 1.25rem;
}

html.mobile-active .opensource-hero-content {
  text-align: center;
}

html.mobile-active .opensource-hero-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

html.mobile-active .opensource-hero h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.6rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

html.mobile-active .opensource-hero p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 0 auto 1rem;
  max-width: 320px;
}

html.mobile-active .opensource-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 280px;
  margin: 0 auto;
}

html.mobile-active .opensource-hero-actions .btn {
  width: 100%;
}

html.mobile-active .opensource-stats {
  padding: 1.5rem 0;
}

html.mobile-active .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

html.mobile-active .stat-item {
  text-align: center;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 12px;
}

html.mobile-active .stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-600);
}

html.mobile-active .stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
}

html.mobile-active .repos-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

html.mobile-active .repo-category {
  background: white;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .repo-category-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}

html.mobile-active .repo-category-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

html.mobile-active .repo-category-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

html.mobile-active .repo-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html.mobile-active .repo-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 0.85rem;
}

html.mobile-active .repo-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

html.mobile-active .repo-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-600);
}

html.mobile-active .repo-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

html.mobile-active .repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

html.mobile-active .repo-tags span {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  background: white;
  border-radius: 6px;
  color: var(--gray-600);
}

html.mobile-active .paths-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html.mobile-active .path-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .path-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-600);
  margin-bottom: 0.5rem;
}

html.mobile-active .path-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

html.mobile-active .path-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

html.mobile-active .path-repos {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

html.mobile-active .path-repos span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

html.mobile-active .licenses-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html.mobile-active .license-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .license-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

html.mobile-active .license-apply {
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

html.mobile-active .license-rules {
  padding-left: 1rem;
}

html.mobile-active .license-rules li {
  font-size: 0.82rem;
  padding: 0.2rem 0;
}

html.mobile-active .standards-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html.mobile-active .standard-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--gray-100);
}

html.mobile-active .standard-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

html.mobile-active .opensource-cta {
  padding: 2rem 0;
}

html.mobile-active .cta-content {
  text-align: center;
}

html.mobile-active .cta-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

html.mobile-active .cta-content p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

html.mobile-active .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 280px;
  margin: 0 auto;
}

html.mobile-active .cta-actions .btn {
  width: 100%;
}

/* ============================================================
   Product detail page mobile styles
   ============================================================ */
html.mobile-active .product-detail {
  padding: 1.5rem 0;
}

html.mobile-active .back-link {
  font-size: 0.88rem;
  color: var(--blue-600);
  margin-bottom: 1rem;
  display: inline-block;
}

html.mobile-active .product-detail .product-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html.mobile-active .product-gallery {
  width: 100%;
}

html.mobile-active .gallery-main {
  border-radius: 14px;
  padding: 0.75rem;
}

html.mobile-active .gallery-main img {
  width: 100%;
  border-radius: 10px;
}

html.mobile-active .gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  overflow-x: auto;
}

html.mobile-active .product-info {
  width: 100%;
}

html.mobile-active .product-info-head h1 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

html.mobile-active .product-tagline {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

html.mobile-active .product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

html.mobile-active .product-price-row .price-xl {
  font-size: 1.5rem !important;
}

html.mobile-active .product-description {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

html.mobile-active .spec-grid {
  margin-bottom: 1rem;
}

html.mobile-active .spec-grid .spec-item {
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
}

html.mobile-active .product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

html.mobile-active .product-actions .btn {
  width: 100%;
}

html.mobile-active .detail-panels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html.mobile-active .detail-panel {
  padding: 1rem;
}

html.mobile-active .detail-panel p {
  font-size: 0.85rem;
  line-height: 1.5;
}

html.mobile-active .mono-link {
  font-size: 0.82rem;
  word-break: break-all;
}

html.mobile-active .contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

html.mobile-active .contact-list a {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
}

/* ============================================================
   Common override styles - override @media query conflicts in styles.css
   ============================================================ */

/* Force override of styles.css responsive rules */
html.mobile-active .courses-nav {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

html.mobile-active .courses-nav-item {
  flex-direction: row !important;
  justify-content: flex-start !important;
  padding: 0.5rem 0.85rem !important;
}

html.mobile-active .courses-features {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
}

html.mobile-active .feature-card {
  padding: 1rem !important;
}

html.mobile-active .feature-card h3 {
  font-size: 0.9rem !important;
}

html.mobile-active .feature-card p {
  font-size: 0.8rem !important;
}

html.mobile-active .learning-path .path-steps {
  flex-direction: column !important;
  gap: 0.5rem !important;
}

html.mobile-active .path-step {
  text-align: left !important;
  padding: 1rem !important;
}

html.mobile-active .path-step .step-number {
  font-size: 1rem !important;
}

html.mobile-active .path-step h4 {
  font-size: 0.88rem !important;
}

html.mobile-active .path-step p {
  font-size: 0.78rem !important;
}

html.mobile-active .stat-item {
  width: auto !important;
  text-align: center !important;
}

html.mobile-active .stat-number {
  font-size: 1.5rem !important;
}

html.mobile-active .stat-label {
  font-size: 0.72rem !important;
}

html.mobile-active .about-hero h1 {
  font-size: 1.6rem !important;
}

html.mobile-active .about-hero-sub {
  font-size: 0.88rem !important;
}

/* Timeline force override */
html.mobile-active .timeline-orange {
  padding: 1rem 0 !important;
  max-width: 100% !important;
}

html.mobile-active .timeline-line {
  left: 20px !important;
  transform: none !important;
  width: 3px !important;
  height: calc(100% - 2rem) !important;
  top: 1rem !important;
}

html.mobile-active .timeline-item {
  margin-bottom: 1.5rem !important;
  padding-left: 48px !important;
}

html.mobile-active .timeline-item:nth-child(odd) .timeline-content,
html.mobile-active .timeline-item:nth-child(even) .timeline-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  text-align: left !important;
}

html.mobile-active .timeline-marker {
  left: 11px !important;
  transform: none !important;
  width: 18px !important;
  height: 18px !important;
}

html.mobile-active .timeline-content {
  padding: 0.85rem 1rem !important;
}

/* Open-source page overrides */
html.mobile-active .opensource-hero h1 {
  font-size: 1.5rem !important;
}

html.mobile-active .opensource-hero-actions {
  flex-direction: column !important;
  align-items: center !important;
  max-width: 280px !important;
  margin: 0 auto !important;
}

html.mobile-active .stats-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

html.mobile-active .stat-item {
  padding: 0.75rem !important;
}

html.mobile-active .repos-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .repo-card {
  padding: 0.85rem !important;
}

html.mobile-active .repo-card h3 {
  font-size: 0.92rem !important;
}

html.mobile-active .repo-card p {
  font-size: 0.82rem !important;
}

html.mobile-active .paths-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .licenses-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .standards-grid {
  grid-template-columns: 1fr !important;
}

/* Product preview overrides */
html.mobile-active .products-preview-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .scenarios-preview-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .opensource-preview-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .opensource-preview-footer {
  flex-direction: column !important;
  gap: 1rem !important;
  text-align: center !important;
}

/* Back to top */
html.mobile-active .back-to-top {
  bottom: 1.5rem !important;
  right: 1rem !important;
  width: 44px !important;
  height: 44px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

html.mobile-active .back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
}

html.mobile-active .back-to-top svg {
  width: 20px !important;
  height: 20px !important;
}

/* Ensure hamburger menu button visible on all pages */
html.mobile-active .hamburger-btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 200 !important;
  margin-left: auto !important;
}

/* Ensure header fixed positioning */
html.mobile-active .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
}

/* Mobile main padding - unified one-line overlay (header~76px, covers ~one line) */
html.mobile-active main {
  padding-top: 52px !important;
}

/* Page hero fix - add top padding so text isn't blocked by header */
html.mobile-active .page-hero {
  padding: 1.5rem 0 0.75rem !important;
}

html.mobile-active .page-hero.compact {
  padding: 1rem 0 0.5rem !important;
}

/* About hero fix - add top padding so text isn't blocked by header */
html.mobile-active .about-hero {
  padding: 1.5rem 1rem 2rem !important;
}

/* Contact page fix */
html.mobile-active .contact-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .glass-panel {
  padding: 1.25rem !important;
}

/* Store page fix */
html.mobile-active .store-page .product-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.5rem !important;
}

html.mobile-active .search-box {
  padding: 0.6rem 0.85rem !important;
}

html.mobile-active .filter-row {
  grid-template-columns: 1fr !important;
}

/* Fix section spacing on mobile */
html.mobile-active .section {
  padding: 1.5rem 0 !important;
}

html.mobile-active .container {
  width: min(100%, calc(100% - 1.5rem)) !important;
}

/* Hide desktop nav */
html.mobile-active .main-nav {
  display: none !important;
}

html.mobile-active .header-actions {
  display: none !important;
}

/* ============================================================
   Force override all styles.css @media queries
   Ensure mobile styles take absolute priority
   ============================================================ */

/* Courses - nav keeps horizontal scroll */
html.mobile-active .courses-nav {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 0.5rem !important;
}

html.mobile-active .courses-nav-item {
  flex-direction: row !important;
  justify-content: flex-start !important;
  padding: 0.5rem 0.85rem !important;
  flex-shrink: 0 !important;
}

html.mobile-active .courses-nav-item .nav-icon {
  font-size: 1rem !important;
  margin-right: 0 !important;
}

html.mobile-active .courses-nav-item .nav-text {
  font-size: 0.82rem !important;
}

/* Courses - feature cards keep 2 columns */
html.mobile-active .courses-features {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
}

html.mobile-active .feature-card {
  padding: 1rem !important;
}

html.mobile-active .feature-card h3 {
  font-size: 0.9rem !important;
}

html.mobile-active .feature-card p {
  font-size: 0.8rem !important;
}

/* Courses - learning path keeps vertical steps (mobile-friendly) */
html.mobile-active .learning-path .path-steps {
  flex-direction: column !important;
  gap: 0.5rem !important;
  flex-wrap: nowrap !important;
}

html.mobile-active .path-step {
  text-align: left !important;
  padding: 1rem !important;
  min-width: unset !important;
}

html.mobile-active .path-step .step-number {
  font-size: 1rem !important;
  margin-bottom: 0 !important;
  margin-right: 0.75rem !important;
}

html.mobile-active .path-step h4 {
  font-size: 0.88rem !important;
}

html.mobile-active .path-step p {
  font-size: 0.78rem !important;
}

/* Courses - stats keep 2 columns */
html.mobile-active .courses-hero-stats {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
  justify-content: center !important;
}

html.mobile-active .stat-item {
  width: auto !important;
  text-align: center !important;
}

html.mobile-active .stat-number {
  font-size: 1.5rem !important;
}

html.mobile-active .stat-label {
  font-size: 0.72rem !important;
}

/* Courses - categories keep 2 columns */
html.mobile-active .course-categories {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
}

html.mobile-active .category-card {
  padding: 1rem !important;
}

/* Courses - metrics keep 2 columns */
html.mobile-active .course-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
  justify-content: center !important;
}

/* Courses - modules keep single column */
html.mobile-active .modules-grid {
  grid-template-columns: 1fr !important;
  gap: 0.75rem !important;
}

html.mobile-active .module-card {
  padding: 1rem !important;
}

/* Courses - support system keeps 2 columns */
html.mobile-active .support-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
}

html.mobile-active .support-card {
  padding: 1rem !important;
}

/* Courses - institution fit keeps single column */
html.mobile-active .fit-grid {
  grid-template-columns: 1fr !important;
  gap: 0.75rem !important;
}

/* Courses - delivery plans keep single column */
html.mobile-active .plans-grid {
  grid-template-columns: 1fr !important;
  gap: 0.75rem !important;
}

/* Courses - core courses keep single column */
html.mobile-active .courses-grid {
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

/* About - Hero section */
html.mobile-active .about-hero h1 {
  font-size: 1.6rem !important;
}

html.mobile-active .about-hero-sub {
  font-size: 0.88rem !important;
}

/* About - company intro keeps single column */
html.mobile-active .intro-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .intro-highlights {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
}

/* About - core capabilities keep 2 columns */
html.mobile-active .capabilities-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
}

html.mobile-active .capability-card {
  padding: 1rem !important;
}

html.mobile-active .capability-card h3 {
  font-size: 0.9rem !important;
}

html.mobile-active .capability-card p {
  font-size: 0.8rem !important;
}

/* About - timeline keeps vertical layout */
html.mobile-active .timeline-orange {
  padding: 1rem 0 !important;
  max-width: 100% !important;
}

html.mobile-active .timeline-line {
  left: 20px !important;
  transform: none !important;
  width: 3px !important;
  height: calc(100% - 2rem) !important;
  top: 1rem !important;
}

html.mobile-active .timeline-item {
  margin-bottom: 1.5rem !important;
  padding-left: 48px !important;
}

html.mobile-active .timeline-item:nth-child(odd) .timeline-content,
html.mobile-active .timeline-item:nth-child(even) .timeline-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  text-align: left !important;
}

html.mobile-active .timeline-item:nth-child(odd),
html.mobile-active .timeline-item:nth-child(even) {
  justify-content: flex-start !important;
}

html.mobile-active .timeline-marker {
  left: 11px !important;
  transform: none !important;
  width: 18px !important;
  height: 18px !important;
}

html.mobile-active .timeline-content {
  padding: 0.85rem 1rem !important;
  width: 100% !important;
}

/* About - product arrays keep single column */
html.mobile-active .products-grid {
  grid-template-columns: 1fr !important;
  gap: 0.75rem !important;
}

/* About - use cases keep 2 columns */
html.mobile-active .scenarios-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
}

/* About - mission grid keeps single column */
html.mobile-active .mission-grid {
  grid-template-columns: 1fr !important;
}

/* Store - product grid keeps 3 columns */
html.mobile-active .product-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.5rem !important;
}

html.mobile-active .product-card {
  padding: 0 !important;
}

html.mobile-active .product-card-body {
  padding: 0.4rem 0.5rem !important;
}

/* Store - filters keep single column */
html.mobile-active .filter-row {
  grid-template-columns: 1fr !important;
  gap: 0.5rem !important;
}

html.mobile-active .filter-row .field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
}

/* Store - product detail keeps single column */
html.mobile-active .product-layout {
  grid-template-columns: 1fr !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

html.mobile-active .product-gallery {
  order: 1 !important;
}

html.mobile-active .product-info {
  order: 2 !important;
}

html.mobile-active .product-price-row {
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 0.5rem !important;
}

html.mobile-active .detail-panels {
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

/* Contact - keep single column layout */
html.mobile-active .contact-grid {
  grid-template-columns: 1fr !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Contact - form keeps single column */
html.mobile-active .contact-form-card form,
html.mobile-active .inquiry-form-container form {
  grid-template-columns: 1fr !important;
}

/* Open source - keep single column layout */
html.mobile-active .repos-grid,
html.mobile-active .repo-list {
  grid-template-columns: 1fr !important;
}

/* Common - ensure all grids correct on mobile, excluding product grid */
html.mobile-active .grid:not(.product-grid):not([class*="product-grid"]),
html.mobile-active [class*="-grid"]:not(.product-grid):not([class*="product-grid"]) {
  grid-template-columns: 1fr !important;
}

/* Product grid keeps 3 columns - overrides the common rule above */
html.mobile-active .product-grid,
html.mobile-active [class*="product-grid"] {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.5rem !important;
}

html.mobile-active .trust-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

html.mobile-active .note-grid {
  grid-template-columns: 1fr !important;
}

html.mobile-active .footer-grid {
  grid-template-columns: 1fr !important;
  text-align: center !important;
}

/* Common - ensure buttons correct on mobile */
html.mobile-active .btn-group {
  flex-direction: column !important;
  gap: 0.75rem !important;
}

html.mobile-active .btn-group .btn {
  width: 100% !important;
}

/* Common - search box style */
html.mobile-active .search-box {
  width: 100% !important;
}

/* Ensure all container widths correct */
html.mobile-active .container {
  width: min(100%, calc(100% - 1.5rem)) !important;
  padding: 0 0.75rem !important;
}

/* Fix stat-item layout on mobile */
html.mobile-active .stat-item {
  width: auto !important;
  min-width: 0 !important;
}

html.mobile-active .stat-item .stat-number,
html.mobile-active .stat-item > .stat-number {
  display: block !important;
}

/* Ensure page-hero correct */
html.mobile-active .page-hero {
  padding: 1.5rem 0 0.75rem !important;
}
html.mobile-active .page-hero.compact {
  padding: 1rem 0 0.5rem !important;
}

/* Ensure courses-hero correct */
html.mobile-active .courses-hero {
  min-height: auto !important;
  padding: 1.5rem 1rem 1.5rem !important;
}

/* Ensure about-hero correct */
html.mobile-active .about-hero {
  min-height: auto !important;
  padding: 1.5rem 1rem 2rem !important;
}

/* Ensure opensource-hero correct */
html.mobile-active .opensource-hero {
  min-height: auto !important;
  padding: 1.5rem 1rem 1.5rem !important;
}

/* CTA band mobile optimization */
html.mobile-active .cta-band {
  padding: 2rem 0 !important;
}

html.mobile-active .cta-inner {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  padding: 1.5rem !important;
}

html.mobile-active .cta-actions {
  flex-direction: column !important;
  gap: 0.5rem !important;
  width: 100% !important;
}

html.mobile-active .cta-actions .btn {
  width: 100% !important;
}

/* Ensure hamburger menu button always visible */
html.mobile-active .hamburger-btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 200 !important;
  margin-left: auto !important;
}

/* Ensure header fixed positioning */
html.mobile-active .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  transform: none !important;
}

/* Back to top button */
html.mobile-active .back-to-top {
  bottom: 1.5rem !important;
  right: 1rem !important;
  width: 44px !important;
  height: 44px !important;
}

/* Force override timeline-related styles */
html.mobile-active .timeline-arrow {
  display: none !important;
}

/* Ensure capability-card icon size correct */
html.mobile-active .capability-icon {
  font-size: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Ensure scenario-card style correct */
html.mobile-active .scenario-card {
  padding: 1rem !important;
}

html.mobile-active .scenario-icon {
  font-size: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Ensure section title style correct */
html.mobile-active .section-head {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  margin-bottom: 1.25rem !important;
}

html.mobile-active .section-head h2 {
  font-size: 1.35rem !important;
}

html.mobile-active .section-head p {
  font-size: 0.85rem !important;
}

/* Fix section spacing */
html.mobile-active .section {
  padding: 1.5rem 0 !important;
}

html.mobile-active .section.pt-0 {
  padding-top: 0 !important;
}

/* ============================================================
   Mobile footer - simplified redesign (dark blue bg + large text + less content)
   ============================================================ */
html.mobile-active .site-footer {
  background: var(--blue-900) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0 !important;
}

html.mobile-active .footer-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 1.25rem 1rem 0 !important;
}

/* Brand area - simplified */
html.mobile-active .footer-brand {
  padding: 0 0 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

html.mobile-active .footer-brand .brand-footer {
  justify-content: center !important;
}

html.mobile-active .footer-brand .footer-desc {
  display: none !important;
}

html.mobile-active .footer-social {
  justify-content: center !important;
  margin-top: 0.75rem !important;
  gap: 1rem !important;
}

html.mobile-active .social-link {
  width: 40px !important;
  height: 40px !important;
}

html.mobile-active .social-link svg {
  width: 20px !important;
  height: 20px !important;
}

/* Hide titles and most links in Products & Services / About columns */
html.mobile-active .footer-col-links,
html.mobile-active .footer-col-about {
  display: none !important;
}

/* Contact column - keep only phone and email, arranged in a row */
html.mobile-active .footer-col-contact {
  padding: 1rem 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.mobile-active .footer-col-contact .footer-col-title {
  display: none !important;
}

html.mobile-active .footer-col-contact .footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  max-height: none !important;
  overflow: visible !important;
  border: none !important;
}

html.mobile-active .footer-col-contact .footer-links li {
  padding: 0 !important;
}

html.mobile-active .footer-col-contact .footer-links a,
html.mobile-active .footer-col-contact .footer-links li {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Desktop copyright block, hidden on mobile (shown in footer-bottom) */
html.mobile-active .footer-copyright-desktop {
  display: none !important;
}

/* Unified bottom copyright row */
html.mobile-active .footer-bottom {
  flex-direction: column !important;
  gap: 0.35rem !important;
  padding: 1rem 1rem 1.25rem !important;
  font-size: 0.75rem !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.mobile-active .footer-bottom .footer-tagline {
  display: none !important; /* Hide tagline on mobile */
}

/* Extra mobile footer copyright (single line) */
html.mobile-active .footer-bottom::before {
  content: "© 2026 WWNT Robotics · WWNT AI Technology (Guangdong) Co., Ltd." !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.75rem !important;
  display: block !important;
}

/* Ensure all h4 are white on mobile (prevent inheritance issues) */
html.mobile-active .site-footer h4 {
  color: white !important;
}

/* ============================================================
   Mobile: Header brand slogan (hide long uppercase slogan)
   ============================================================ */
html.mobile-active .brand-slogan {
  display: none !important;
}

html.mobile-active .brand-title {
  font-size: 1rem !important;
}

/* ============================================================
   Mobile: AI Live Chat Widget
   ============================================================ */
html.mobile-active #wwnt-chat-widget {
  bottom: 5rem !important; /* stack above mobile .back-to-top (1.5rem + 44px ≈ 4.25rem) */
  right: 1rem !important;
}

html.mobile-active .chat-bubble {
  width: 54px !important;
  height: 54px !important;
}

html.mobile-active .chat-bubble svg {
  width: 24px !important;
  height: 24px !important;
}

html.mobile-active .chat-window {
  bottom: 70px !important;
  right: 0 !important;
  width: calc(100vw - 32px) !important;
  max-width: calc(100vw - 32px) !important;
  height: calc(100vh - 170px) !important;
  max-height: calc(100vh - 170px) !important;
  border-radius: 16px !important;
}

html.mobile-active .chat-messages {
  padding: 12px !important;
}

html.mobile-active .chat-message {
  max-width: 90% !important;
}

html.mobile-active .chat-message-bubble {
  font-size: 0.84rem !important;
}

html.mobile-active .chat-quick-reply {
  font-size: 0.74rem !important;
  padding: 5px 10px !important;
}

html.mobile-active .chat-disclaimer {
  font-size: 0.62rem !important;
}

/* ============================================================
   Mobile: Help Center
   ============================================================ */
html.mobile-active .help-layout {
  grid-template-columns: 1fr !important;
  gap: 1.25rem !important;
}

html.mobile-active .help-sidebar {
  position: static !important;
  padding: 16px !important;
}

html.mobile-active .help-sidebar-nav {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

html.mobile-active .help-sidebar-link {
  padding: 8px 12px !important;
  font-size: 0.82rem !important;
  background: rgba(59, 130, 246, 0.05) !important;
  border-radius: 20px !important;
}

html.mobile-active .help-sidebar-link.is-active {
  background: var(--blue-600) !important;
  color: #fff !important;
}

html.mobile-active .help-topic-icon {
  display: none !important;
}

html.mobile-active .help-sidebar-contact {
  margin-top: 14px !important;
  padding-top: 14px !important;
}

html.mobile-active .help-quick-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
}

html.mobile-active .help-quick-card {
  padding: 14px 12px !important;
}

html.mobile-active .help-quick-card h3 {
  font-size: 0.85rem !important;
}

html.mobile-active .help-quick-card p {
  font-size: 0.72rem !important;
}

html.mobile-active .help-topic-heading {
  font-size: 1.15rem !important;
}

html.mobile-active .faq-item summary {
  padding: 12px 14px !important;
  font-size: 0.86rem !important;
}

html.mobile-active .faq-answer {
  padding: 0 14px 14px !important;
  font-size: 0.82rem !important;
}

html.mobile-active .help-search input {
  padding: 12px 16px 12px 44px !important;
  font-size: 0.92rem !important;
}

html.mobile-active .help-search svg {
  left: 14px !important;
  width: 18px !important;
  height: 18px !important;
}

html.mobile-active .help-cta {
  padding: 20px !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: center !important;
}

html.mobile-active .help-cta-actions {
  flex-direction: column !important;
}

html.mobile-active .help-cta-actions .btn {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
}

/* ============================================================
   Mobile: Pricing
   ============================================================ */
html.mobile-active .pricing-grid {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  margin-bottom: 2.5rem !important;
}

html.mobile-active .pricing-card {
  padding: 22px 20px !important;
}

html.mobile-active .pricing-card-head h2 {
  font-size: 1.2rem !important;
}

html.mobile-active .pricing-amount {
  font-size: 1.55rem !important;
}

html.mobile-active .pricing-included-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}

html.mobile-active .pricing-included-item {
  padding: 16px 12px !important;
}

html.mobile-active .section-title-center {
  font-size: 1.3rem !important;
  margin: 2rem 0 1.5rem !important;
}

/* ============================================================
   Mobile: Logistics
   ============================================================ */
html.mobile-active .logistics-hero-actions {
  flex-direction: column !important;
}

html.mobile-active .logistics-hero-actions .btn {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
}

html.mobile-active .logistics-grid {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin-bottom: 2.5rem !important;
}

html.mobile-active .logistics-card {
  padding: 20px 18px !important;
}

html.mobile-active .logistics-feature {
  grid-template-columns: 1fr !important;
  gap: 20px !important;
  padding: 20px !important;
  margin: 2.5rem 0 !important;
}

html.mobile-active .logistics-feature-reverse .logistics-feature-text {
  order: 0 !important;
}

html.mobile-active .logistics-incoterms {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-bottom: 2.5rem !important;
}
