/* ============================================================
   WWNT Robotics · Bionic Robotics Store — Global Styles (Blue & White)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #0f172a;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: #10b981;
  --warn: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  border-radius: 10px;
  border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

/* Selection text style */
::selection {
  background: rgba(59, 130, 246, 0.2);
  color: var(--blue-900);
}

::-moz-selection {
  background: rgba(59, 130, 246, 0.2);
  color: var(--blue-900);
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background:
    radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.12), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.08), transparent 35%),
    linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

/* Background decoration */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 0% 100%, rgba(59, 130, 246, 0.03), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(96, 165, 250, 0.03), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--max-w), calc(100% - 2rem));
  margin-inline: auto;
}

/* ============================================================
   Header
   ============================================================ */
main {
  padding-top: 48px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue-700);
  background: var(--blue-50);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.25s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 
    0 8px 20px rgba(37, 99, 235, 0.28),
    0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  box-shadow: 
    0 12px 28px rgba(37, 99, 235, 0.38),
    0 4px 8px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
}

.btn-primary:active {
  box-shadow: 
    0 6px 16px rgba(37, 99, 235, 0.32),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

.btn-outline {
  color: var(--blue-700);
  background: white;
  border-color: var(--blue-200);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-ghost {
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--gray-200);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--blue-200);
}

.text-link {
  color: var(--blue-600);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
}

.text-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border-radius: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.text-link:hover {
  color: white;
  transform: translateX(6px) scale(1.05);
}

.text-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   Hero Carousel
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Slides container */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.70) 0%,
    rgba(30, 64, 175, 0.50) 50%,
    rgba(15, 23, 42, 0.62) 100%
  );
}

/* Particle decoration */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.30);
  border-radius: 50%;
  animation: float-up linear infinite;
}

.hero-particles span:nth-child(1)  { left: 8%;  animation-duration: 9s;  animation-delay: 0s;   width: 4px; height: 4px; }
.hero-particles span:nth-child(2)  { left: 18%; animation-duration: 13s; animation-delay: 2s;   width: 7px; height: 7px; }
.hero-particles span:nth-child(3)  { left: 28%; animation-duration: 10s; animation-delay: 4s; }
.hero-particles span:nth-child(4)  { left: 38%; animation-duration: 15s; animation-delay: 1s;   width: 5px; height: 5px; }
.hero-particles span:nth-child(5)  { left: 48%; animation-duration: 8s;  animation-delay: 3s;   width: 8px; height: 8px; }
.hero-particles span:nth-child(6)  { left: 58%; animation-duration: 11s; animation-delay: 5s;   width: 4px; height: 4px; }
.hero-particles span:nth-child(7)  { left: 68%; animation-duration: 7s;  animation-delay: 0.5s; width: 6px; height: 6px; }
.hero-particles span:nth-child(8)  { left: 78%; animation-duration: 14s; animation-delay: 2.5s; width: 9px; height: 9px; }
.hero-particles span:nth-child(9)  { left: 12%; animation-duration: 10s; animation-delay: 6s;   width: 4px; height: 4px; }
.hero-particles span:nth-child(10) { left: 52%; animation-duration: 12s; animation-delay: 1.5s; }
.hero-particles span:nth-child(11) { left: 82%; animation-duration: 16s; animation-delay: 3.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(12) { left: 35%; animation-duration: 9s;  animation-delay: 7s;   width: 7px; height: 7px; }
.hero-particles span:nth-child(13) { left: 65%; animation-duration: 11s; animation-delay: 0s;   width: 4px; height: 4px; }
.hero-particles span:nth-child(14) { left: 92%; animation-duration: 6s;  animation-delay: 4s;   width: 8px; height: 8px; }
.hero-particles span:nth-child(15) { left: 45%; animation-duration: 13s; animation-delay: 2s;   width: 5px; height: 5px; }

@keyframes float-up {
  0% {
    transform: translateY(100vh) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-10vh) scale(1.3);
    opacity: 0;
  }
}

/* Carousel content area */
.hero-banner .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 900px;
}

/* Slide eyebrow (top-left category tag) */
.slide-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.30);
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(96, 165, 250, 0.35);
}

/* Artistic subtitle — core visual highlight */
.artistic-subtitle {
  display: block;
  margin: 0.5rem 0 1.25rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(191, 219, 254, 0.85);
  text-shadow: 0 2px 20px rgba(96, 165, 250, 0.35);
}

.hero-banner .hero-content .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.25);
  color: #bfdbfe;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.hero-banner .hero-content h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-banner .hero-content .text-gradient {
  background: linear-gradient(135deg, #60a5fa, #34d399, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-banner .hero-content > p {
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 40rem;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Tech-spec badges (floating over carousel) */
.slide-tech-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tech-badge .badge-value {
  color: #60a5fa;
  font-weight: 700;
}

.hero-banner .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-banner .hero-actions .btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
  color: white;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.hero-banner .hero-actions .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.55);
  transform: translateY(-2px);
}

.hero-banner .hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  backdrop-filter: blur(8px);
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.hero-banner .hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-banner .hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-banner .hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-banner .hero-stats strong {
  font-size: 1.5rem;
  color: #60a5fa;
  text-shadow: 0 2px 12px rgba(96, 165, 250, 0.4);
}

.hero-banner .hero-stats span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Left/Right Arrows ---------- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}

.carousel-btn.prev {
  left: 1.5rem;
}

.carousel-btn.next {
  right: 1.5rem;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

/* ---------- Bottom Dot Indicators ---------- */
.hero-slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}

.hero-slide-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-slide-dots .dot.active {
  background: #60a5fa;
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

.hero-slide-dots .dot:hover {
  border-color: #fff;
}

/* ---------- Scroll Hint ---------- */
.hero-scroll-hint {
  position: absolute;
  bottom: 3.5rem;
  right: 2rem;
  z-index: 10;
  color: rgba(255, 255, 255, 0.40);
  animation: bounce 2s ease infinite;
}

.hero-scroll-hint svg {
  width: 26px;
  height: 26px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ============================================================
   Sections (common)
   ============================================================ */
.section {
  padding: 4rem 0;
}

.section.pt-0 {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: nowrap;
}

.section-head > div {
  min-width: 0;
}

.section-head .text-link {
  flex-shrink: 0;
  white-space: nowrap;
}

.section-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.trust-strip {
  padding-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7));
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.trust-item:hover::before {
  transform: scaleX(1);
}

.trust-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--gray-800);
}

.trust-item p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.92rem;
}

#hot-section {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.03), rgba(239, 68, 68, 0.02));
  position: relative;
  overflow: hidden;
}

#hot-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.1), transparent 70%);
  border-radius: 50%;
}

#hot-section .section-head h2 {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#featured-section {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.03), rgba(59, 130, 246, 0.03));
  position: relative;
  overflow: hidden;
}

#featured-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
  border-radius: 50%;
}

#featured-section .section-head h2 {
  background: linear-gradient(135deg, var(--purple-600), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.35s ease;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.05));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-200);
  box-shadow: 
    0 16px 40px rgba(37, 99, 235, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.06);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-media {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.product-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-media img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.product-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  color: var(--gray-500);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  min-height: 2.8rem;
}

.product-card-body p {
  margin: 0 0 0.85rem;
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.5;
  min-height: 4.2rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.price {
  color: var(--blue-700);
  font-size: 1.15rem;
}

.price-xl {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.stock {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.in-stock {
  color: var(--success);
  background: rgba(16, 185, 129, 0.12);
}

.out-of-stock {
  color: var(--warn);
  background: rgba(245, 158, 11, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--blue-50);
  color: var(--blue-700);
}

.pill-soft {
  background: var(--gray-100);
  color: var(--gray-600);
}

.pill-success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}

.pill-warn {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warn);
}

/* ============================================================
   CTA
   ============================================================ */
.cta-band {
  padding-bottom: 5rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 2.5rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, var(--blue-900), #1e3a8a 55%, var(--blue-600));
  color: white;
  box-shadow: 
    0 20px 50px rgba(15, 23, 42, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3), transparent 70%);
  animation: float-slow 8s ease-in-out infinite;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
  animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.cta-inner h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  position: relative;
  z-index: 1;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  position: relative;
  z-index: 1;
}

.cta-inner .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cta-inner .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.cta-inner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   Store page
   ============================================================ */
.page-hero.compact {
  padding: 0 0 1.5rem;
}

.page-hero h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--gray-500);
  max-width: 40rem;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.store-toolbar {
  padding: 1.25rem;
}

.search-box {
  position: relative;
  margin-bottom: 1rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--gray-400);
}

#search-input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#search-input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
}

.field select {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-800);
  outline: none;
}

.field select:focus {
  border-color: var(--blue-400);
}

.store-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.popular-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.tag-btn {
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--blue-700);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s ease;
}

.tag-btn:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
}

.store-meta-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gray-500);
  font-size: 0.92rem;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-500);
}

.empty-state h3,
.empty-state h1 {
  color: var(--gray-800);
}

.checkout-note {
  padding-top: 1rem;
}

.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.note-grid article {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--gray-200);
}

.note-grid ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--gray-500);
}

.note-highlight {
  background: linear-gradient(180deg, var(--blue-50), white);
  border-color: var(--blue-100);
}

.note-highlight p {
  color: var(--gray-500);
}

.note-highlight ul li a {
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.note-highlight ul li a:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

/* ============================================================
   Product detail
   ============================================================ */
.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--blue-600);
  font-weight: 600;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.gallery-main {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  max-height: 520px;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: none;
  width: 84px;
  height: 64px;
}

.thumb.is-active {
  border-color: var(--blue-500);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-head h1 {
  margin: 0.75rem 0 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}

.product-tagline {
  margin: 0;
  color: var(--gray-500);
  font-size: 1.02rem;
}

.product-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}

.price-note {
  color: var(--gray-400);
  font-size: 0.88rem;
}

.product-description {
  color: var(--gray-600);
  margin: 0 0 1.25rem;
}

.spec-grid {
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row span {
  color: var(--gray-500);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.detail-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.detail-panel {
  padding: 1.35rem;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.panel-head svg {
  width: 22px;
  height: 22px;
  color: var(--blue-600);
}

.panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.detail-panel p {
  margin: 0 0 0.75rem;
  color: var(--gray-500);
  font-size: 0.92rem;
}

.mono-link {
  display: inline-block;
  color: var(--blue-600);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  word-break: break-all;
}

.contact-list {
  display: grid;
  gap: 0.65rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: border-color 0.18s;
}

a.contact-item:hover {
  border-color: var(--blue-200);
}

.contact-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: auto;
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  max-width: 22rem;
  font-size: 0.92rem;
}

.brand-footer .brand-text strong,
.brand-footer .brand-text small {
  color: white;
}

.brand-footer .brand-text small {
  opacity: 0.7;
}

.brand-footer .brand-logo {
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  color: white;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255,255,255,0.2);
  color: white;
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0.2rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   Responsive
   ============================================================ */

/* Carousel responsive */
@media (max-width: 960px) {
  .hero-banner {
    min-height: 80vh;
  }

  .hero-banner .hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
  }

  .hero-banner .hero-stats {
    gap: 1.5rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn.prev {
    left: 0.75rem;
  }

  .carousel-btn.next {
    right: 0.75rem;
  }

  .hero-scroll-hint {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-banner {
    min-height: 70vh;
  }

  .hero-banner .hero-content {
    padding: 1rem 0.75rem;
  }

  .hero-banner .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-banner .hero-content > p {
    font-size: 1rem;
  }

  .hero-banner .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-banner .hero-stats {
    gap: 1rem;
  }

  .hero-banner .hero-stats strong {
    font-size: 1.2rem;
  }

  .hero-slide-dots {
    bottom: 1rem;
  }

  .carousel-btn {
    display: none; /* Hide arrows on small screens, use swipe gestures */
  }

  .artistic-subtitle {
    font-size: 0.9rem;
  }

  .slide-tech-badges {
    gap: 0.5rem;
  }

  .tech-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Common responsive */
@media (max-width: 960px) {
  .hero-grid,
  .product-layout,
  .note-grid,
  .detail-panels,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .product-layout,
  .filter-row,
  .note-grid,
  .detail-panels,
  .trust-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .section {
    padding: 2.75rem 0;
  }
}
/* =========================
   Courses Hero
========================= */
.courses-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.courses-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #4c1d95 100%);
}

.courses-hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 30%, rgba(96,165,250,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(167,139,250,0.15) 0%, transparent 50%);
}

.courses-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.courses-hero-content {
  position: relative;
  z-index: 1;
}

.courses-hero .eyebrow {
  color: rgba(191,219,254,0.9);
  margin-bottom: 0.8rem;
}

.courses-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.courses-hero .text-gradient {
  background: linear-gradient(135deg, #bfdbfe, #ddd6fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.courses-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.courses-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.3rem;
}

/* =========================
   Courses Navigation
========================= */
.courses-nav-section {
  padding: 2rem 0;
  background: white;
  border-bottom: 1px solid var(--gray-100);
}

.courses-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.courses-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--gray-50);
  border-radius: 50px;
  text-decoration: none;
  color: var(--gray-600);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.courses-nav-item:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}

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

.nav-icon {
  font-size: 1.2rem;
}

.nav-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* =========================
   Courses Features
========================= */
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 800px;
}

.courses-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.feature-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =========================
   Learning Path
========================= */
.learning-path {
  margin-bottom: 3.5rem;
}

.learning-path h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.path-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.path-step {
  text-align: center;
  background: white;
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  border: 1px solid var(--gray-100);
  flex: 1;
  min-width: 0;
  transition: all 0.3s ease;
}

.path-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.path-step h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.path-step p {
  font-size: 0.72rem;
  color: var(--blue-600);
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.step-desc {
  display: block;
  font-size: 0.68rem;
  color: var(--gray-400);
  line-height: 1.3;
}

.path-arrow {
  font-size: 1.2rem;
  color: var(--gray-300);
  margin-top: -1rem;
  flex-shrink: 0;
}

/* =========================
   Core Courses
========================= */
.core-courses h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.course-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.course-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.6rem;
}

.course-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.course-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-card li {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}

.course-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue-400);
}

/* =========================
   Course Categories
========================= */
.course-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.category-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.category-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.3rem;
}

.category-level {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.8rem;
}

.category-courses {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

/* =========================
   Institution Fit
========================= */
.institution-fit h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.fit-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.fit-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.6rem;
}

.fit-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.fit-stats {
  text-align: center;
  padding: 1rem;
  background: var(--blue-50);
  border-radius: var(--radius);
}

.fit-stats span {
  font-size: 0.9rem;
  color: var(--blue-700);
  font-weight: 500;
}

/* =========================
   Course Metrics
========================= */
.course-metrics {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

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

.metric-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue-600);
}

.metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 0.3rem;
}

/* =========================
   Course Modules
========================= */
.course-modules {
  margin-bottom: 3rem;
}

.module-group {
  margin-bottom: 3rem;
}

.module-group h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

.module-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.module-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--purple-50);
  color: var(--purple-600);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.module-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

.module-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 12px;
  font-size: 0.7rem;
  margin-bottom: 0.8rem;
}

.module-card p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.module-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-card li {
  font-size: 0.75rem;
  color: var(--gray-600);
  padding: 0.25rem 0;
}

/* =========================
   Support System
========================= */
.support-system h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.support-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.support-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.support-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.support-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =========================
   Layered Courses
========================= */
.layered-courses {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.layer-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.layer-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue-400), var(--purple-400));
}

.layer-badge {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  width: 36px;
  height: 36px;
  background: var(--blue-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.layer-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
  padding-left: 1rem;
}

.layer-info {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.8rem;
  padding-left: 1rem;
}

.layer-objective {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  font-style: italic;
}

.layer-modules {
  padding-left: 1rem;
}

.layer-module {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}

.layer-module:last-child {
  margin-bottom: 0;
}

.layer-module h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.6rem;
}

.module-hours {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 12px;
  font-size: 0.7rem;
  margin-left: 0.5rem;
}

.layer-module ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.layer-module li {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 0.3rem 0;
  padding-left: 0.8rem;
  position: relative;
}

.layer-module li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--blue-400);
}

/* =========================
   Delivery Plans
========================= */
.delivery-plans h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.plan-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.plan-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--purple-50);
  color: var(--purple-600);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.plan-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.6rem;
}

.plan-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* =========================
   About Hero
========================= */
.about-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gray-950);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1535223289827-42f1e9919769?w=1600&q=80")
    center/cover no-repeat;
  transform: scale(1.05);
  will-change: transform;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,.75) 0%,
    rgba(15,23,42,.55) 40%,
    rgba(15,23,42,.85) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.about-hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin: 0.6rem 0;
  color: #ffffff !important;
}

.about-hero-content h1 span.text-gradient {
  background: linear-gradient(135deg, #bfdbfe, #ddd6fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 1.6rem;
}

.about-hero-meta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   Mission Grid
========================= */
.mission-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-copy ul {
  padding-left: 1.2rem;
  color: var(--gray-600);
  display: grid;
  gap: 0.6rem;
}

.mission-panel .panel-card {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.stat-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.stat strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-600);
}

.stat span {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.panel-foot {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* =========================
   Values Cards
========================= */
.value-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid transparent;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

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

.timeline-orange {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: calc(100% - 4rem);
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  border-radius: 2px;
}

.timeline-arrow {
  position: absolute;
  top: 2rem;
  right: calc(50% - 2rem);
  transform: translateX(50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ea580c;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: calc(50% + 2rem);
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: calc(50% + 2rem);
  text-align: right;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #f97316;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px rgba(249,115,22,0.2);
  z-index: 1;
}

.timeline-content {
  position: relative;
  width: 42%;
  padding: 1rem 1.4rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #ffe4d4;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(249,115,22,0.15);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 0.3rem;
  display: block;
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

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

.timeline-item.timeline-current .timeline-content h4 {
  color: white;
}

.timeline-item.timeline-current .timeline-content p {
  color: rgba(255,255,255,0.85);
}

.timeline-item.timeline-current .timeline-year {
  color: rgba(255,255,255,0.9);
}

.timeline-item.timeline-current .timeline-marker {
  background: white;
  border-color: #ea580c;
  box-shadow: 0 0 0 4px rgba(249,115,22,0.3);
}

.timeline-footer {
  text-align: center;
  margin-top: 1rem;
}

.timeline-footer p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* About page product arrays */
.products-section {
  padding: 3.2rem 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.products-section .product-card {
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: white;
  transition: all 0.3s ease;
  position: relative;
}

.products-section .product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.products-section .product-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.products-section .product-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}

.products-section .product-badge {
  position: static;
  margin-left: 0.5rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
}

.products-section .product-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.product-tags span {
  padding: 0.25rem 0.6rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 4px;
  font-size: 0.7rem;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.intro-content {
  max-width: 720px;
}

.intro-content .eyebrow {
  color: var(--blue-500);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.intro-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.intro-content p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.highlight-item {
  background: white;
  padding: 1.2rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.highlight-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-600);
  margin-bottom: 0.2rem;
}

.highlight-label {
  font-size: 0.8rem;
  color: var(--gray-500);
}
.capabilities-section {
  padding: 3.2rem 0;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--purple-50) 100%);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.capability-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--purple-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.capability-card:hover::before {
  transform: scaleX(1);
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.capability-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.capability-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.capability-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* University use cases */
.scenarios-section {
  padding: 3.2rem 0;
  background: white;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.scenario-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.6rem;
  border-left: 4px solid var(--blue-500);
  transition: all 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: var(--shadow-md);
}

.scenario-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.scenario-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.scenario-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Strategic partners */
.partners-section {
  padding: 3.2rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
}

.partners-section .section-head h2 {
  color: white;
}

.partners-section .section-head p {
  color: rgba(255,255,255,0.7);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.partner-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

.partner-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.partner-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* =========================
   Responsive
========================= */
@media (max-width: 960px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stat-row {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .section-head h2 {
    font-size: 1.5rem;
  }

  .section-head p {
    font-size: 0.9rem;
  }

  .products-preview-grid {
    grid-template-columns: 1fr;
  }

  .products-preview-card {
    padding: 1.5rem;
  }

  .products-preview-icon {
    font-size: 2rem;
  }

  .products-preview-card h3 {
    font-size: 1.1rem;
  }

  .products-preview-card p {
    font-size: 0.85rem;
  }

  .products-preview-tags {
    gap: 0.375rem;
  }

  .products-preview-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .scenarios-preview-grid {
    grid-template-columns: 1fr;
  }

  .scenarios-preview-card {
    padding: 1.5rem;
  }

  .scenarios-preview-card h3 {
    font-size: 1rem;
  }

  .scenarios-preview-card p {
    font-size: 0.85rem;
  }

  .opensource-preview-grid {
    grid-template-columns: 1fr;
  }

  .opensource-preview-card {
    padding: 1.5rem;
  }

  .opensource-preview-card h3 {
    font-size: 1rem;
  }

  .opensource-preview-card p {
    font-size: 0.85rem;
  }

  .cta-band {
    padding: 3rem 1rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .cta-inner h2 {
    font-size: 1.5rem;
  }

  .cta-inner p {
    font-size: 0.9rem;
  }

  .cta-inner .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-inner .btn-group .btn {
    width: 100%;
    text-align: center;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .trust-item {
    padding: 1rem;
  }

  .trust-item h3 {
    font-size: 0.95rem;
  }

  .trust-item p {
    font-size: 0.8rem;
  }

  .product-card {
    padding: 1rem;
  }

  .product-card-image {
    height: 160px;
  }

  .product-card-title {
    font-size: 0.95rem;
  }

  .product-card-price {
    font-size: 1.1rem;
  }

  .product-card-original {
    font-size: 0.75rem;
  }

  .product-card-rating {
    font-size: 0.7rem;
  }

  .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-group .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 0.75rem;
  }

  .section {
    padding: 2rem 0;
  }

  .hero-banner {
    min-height: 65vh;
  }

  .hero-banner .hero-content h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-banner .hero-content p {
    font-size: 0.9rem;
  }

  .hero-banner .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-banner .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .hero-stat-item {
    text-align: center;
  }

  .hero-stat-item strong {
    font-size: 1.5rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .product-card-image {
    height: 180px;
  }

  .section-head h2 {
    font-size: 1.3rem;
  }

  .section-head p {
    font-size: 0.85rem;
  }

  .text-link {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-column h4 {
    font-size: 0.95rem;
  }

  .footer-links {
    gap: 0.5rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .store-toolbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .search-box {
    width: 100%;
  }

  .filter-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .store-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .popular-tags {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tag-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

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

  .product-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-gallery {
    order: 1;
  }

  .product-info {
    order: 2;
  }

  .product-info-head {
    padding: 0;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .product-tagline {
    font-size: 0.9rem;
  }

  .product-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .product-price-row .price-xl {
    font-size: 1.8rem;
  }

  .product-description {
    font-size: 0.9rem;
  }

  .spec-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .product-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .detail-panels {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .detail-panel {
    padding: 1.5rem;
  }

  .detail-panel h2 {
    font-size: 1.1rem;
  }

  .detail-panel p {
    font-size: 0.85rem;
  }

  .gallery-main {
    max-height: 300px;
  }

  .gallery-main img {
    max-height: 300px;
  }

  .gallery-thumbs {
    gap: 0.5rem;
  }

  .gallery-thumbs button {
    width: 60px;
    height: 60px;
  }

  .inquiry-form-container {
    padding: 1.5rem;
  }

  .inquiry-form-container h2 {
    font-size: 1.5rem;
  }

  .inquiry-form-container form > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .contact-form-container h2 {
    font-size: 1.5rem;
  }

  .contact-form-container form > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .thanks-hero {
    padding: 3rem 1rem;
  }

  .thanks-hero h1 {
    font-size: 1.8rem;
  }

  .thanks-hero p {
    font-size: 0.9rem;
  }

  .thanks-hero .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .thanks-hero .btn-group .btn {
    width: 100%;
  }

  .thanks-features {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .thanks-features > div {
    padding: 1.5rem !important;
  }

  .thanks-more-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .thanks-more-links .btn {
    width: 100%;
  }

  .courses-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.3;
  }

  .courses-hero-sub {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 1rem;
  }

  .courses-hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .stat-item {
    width: calc(50% - 0.5rem);
    text-align: center;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .courses-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .courses-nav-item {
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem;
  }

  .courses-nav-item .nav-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
  }

  .courses-nav-item .nav-text {
    font-size: 0.95rem;
  }

  .courses-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  .learning-path .path-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .path-arrow {
    display: none;
  }

  .path-step {
    padding: 1rem;
    text-align: center;
  }

  .path-step .step-number {
    font-size: 1.5rem;
  }

  .path-step h4 {
    font-size: 0.95rem;
  }

  .path-step p {
    font-size: 0.85rem;
  }

  .path-step .step-desc {
    font-size: 0.75rem;
  }

  .opensource-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .opensource-hero-sub {
    font-size: 0.9rem;
  }

  .repo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .repo-card {
    padding: 1.5rem;
  }

  .repo-card h3 {
    font-size: 1rem;
  }

  .repo-card p {
    font-size: 0.85rem;
  }

  .repo-stats {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .repo-stat {
    font-size: 0.75rem;
  }

  .about-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .about-hero-sub {
    font-size: 0.9rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mission-card {
    padding: 1.5rem;
  }

  .mission-card h3 {
    font-size: 1rem;
  }

  .mission-card p {
    font-size: 0.85rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-item::before {
    left: -1.5rem;
  }

  .timeline-item h3 {
    font-size: 0.95rem;
  }

  .timeline-item p {
    font-size: 0.85rem;
  }
}
/* ===== Price-related ===== */
.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price-original {
  font-size: 0.88rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* ===== Stock bar ===== */
.stock-bar {
  margin-top: 0.5rem;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
  overflow: hidden;
}

.stock-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.stock-bar-fill.high   { background: var(--success, #10b981); width: 85%; }
.stock-bar-fill.medium { background: #f59e0b; width: 45%; }
.stock-bar-fill.low    { background: #ef4444; width: 15%; }

.stock-text {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 0.2rem;
}

/* ===== Badge color variants ===== */
.product-badge.badge-hot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  animation: badge-pulse 2s ease infinite;
}

.product-badge.badge-deal {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.product-badge.badge-new {
  background: linear-gradient(135deg, #10b981, #059669);
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Cursor glow ===== */
#cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  display: none;
}

body:hover #cursor-glow {
  display: block;
}
/* ========== Product card image fix ========== */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; /* Use Flexbox for tidy layout */
  flex-direction: column;
  height: 100%; /* Ensure consistent card height */
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Key: fix the image container aspect ratio */
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* Force 1:1 square ratio, like a phone screen */
  position: relative;
  background: #f8f9fa; /* Background color when image fails to load */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Key: image fills container, keeps ratio, crops excess */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover container, keep ratio, crop excess (best for product images) */
  /* If you want the image fully visible (no crop) with whitespace, change the above to: object-fit: contain; */
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05); /* Hover zoom effect */
}

/* Badge positioning */
.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ef4444;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

/* Price tag positioning (if any) */
.price-original {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* ========== Product info area ========== */
.product-info {
  padding: 16px;
  flex: 1; /* Let info area fill remaining space */
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.product-desc {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 12px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto; /* Push price and button to bottom */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-current {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.price-discount {
  font-size: 12px;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-sm:hover {
  background: #2563eb;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   Site Header (cool version)
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 0 rgba(59, 130, 246, 0.08);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 4px 20px rgba(37, 99, 235, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom-color: rgba(59, 130, 246, 0.25);
}

.site-header.scrolled::before {
  opacity: 1;
}

.site-header.hidden {
  transform: translateY(-100%) !important;
}

.site-header.visible {
  transform: translateY(0) !important;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 1.5rem;
  position: relative;
  flex-wrap: nowrap;
  overflow: visible;
}

/* Logo - direct display, no blue box */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  padding: 0.25rem 0;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.25));
}

/* Brand text */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.brand-title strong {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-title small {
  font-weight: 400;
  color: var(--gray-500);
  -webkit-text-fill-color: var(--gray-500);
}

.brand-slogan {
  font-size: 0.58rem;
  color: var(--gray-500);
  white-space: nowrap;
  letter-spacing: 0.01em;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

/* Nav - cool version */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: visible;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover,
.nav-link.active,
.nav-link.is-active {
  color: var(--blue-700);
  background: rgba(59, 130, 246, 0.08);
}

.nav-link:hover::before,
.nav-link.active::before,
.nav-link.is-active::before {
  width: 60%;
}

/* =========================
   Nav dropdown (Help Center)
========================= */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: inherit;
  text-decoration: inherit;
}

.nav-dropdown-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 290px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  height: 10px;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 11px;
  text-decoration: none;
  color: var(--gray-700);
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-dropdown-item + .nav-dropdown-item {
  margin-top: 2px;
}

.nav-dropdown-item:hover {
  background: rgba(59, 130, 246, 0.08);
  transform: translateX(2px);
}

.nav-dropdown-icon {
  font-size: 1.15rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-dropdown-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-900);
}

.nav-dropdown-text small {
  font-size: 0.74rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.nav-dropdown-item-chat {
  border-top: 1px solid var(--gray-100);
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  position: relative;
}

.nav-dropdown-item-chat .nav-dropdown-text strong {
  color: var(--blue-700);
}

.nav-dropdown-item-chat::after {
  content: '●';
  position: absolute;
  top: 0.95rem;
  right: 0.85rem;
  font-size: 0.5rem;
  color: #10b981;
  animation: chat-pulse-dot 1.8s ease-in-out infinite;
}

@keyframes chat-pulse-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Action buttons - cooler */
.header-actions {
  margin-left: 1rem;
}

.header-actions .btn {
  position: relative;
  overflow: hidden;
}

.header-actions .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.header-actions .btn:active::after {
  width: 200px;
  height: 200px;
}

/* Responsive */
@media (max-width: 768px) {
  .brand-slogan {
    display: none;
  }

  .brand-logo {
    height: 36px;
  }

  .main-nav {
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* =========================
   External link styles
========================= */
.nav-link-external {
  color: #059669;
  font-weight: 600;
}

.nav-link-external:hover {
  color: #047857;
}

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

/* =========================
   Mobile hamburger menu
========================= */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 1px;
  transition: all 0.3s ease;
}

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

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

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

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.mobile-sidebar.open {
  right: 0;
}

.mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

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

.mobile-sidebar-header .brand-logo {
  height: 32px;
}

.mobile-sidebar-close {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-sidebar-close svg {
  width: 16px;
  height: 16px;
  color: var(--gray-600);
}

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav .nav-link {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  background: var(--blue-50);
}

/* Mobile accordion (Help Center dropdown inside sidebar) */
.mobile-nav-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-dropdown-toggle:hover,
.mobile-nav-dropdown-toggle.is-active {
  background: var(--blue-50);
  color: var(--blue-700);
}

.mobile-nav-dropdown.is-open .mobile-nav-dropdown-toggle {
  background: var(--blue-50);
  color: var(--blue-700);
}

.mobile-nav-dropdown-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mobile-nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-nav-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 0.5rem;
}

.mobile-nav-dropdown.is-open .mobile-nav-dropdown-menu {
  max-height: 320px;
}

.mobile-nav-dropdown-menu .nav-link {
  font-size: 0.92rem;
  padding: 0.7rem 0.85rem;
  color: var(--gray-500);
}

.mobile-chat-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-700) !important;
  font-weight: 600 !important;
}

.mobile-sidebar-actions {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.mobile-sidebar-actions .btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }
}

/* =========================
   Back to top button
========================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 20px rgba(37, 99, 235, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 998;
  overflow: hidden;
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.back-to-top::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 8px 30px rgba(37, 99, 235, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover::before {
  opacity: 1;
}

.back-to-top:hover::after {
  opacity: 1;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.98);
}

/* ===================== Custom Solutions Page Styles ===================== */

.customize-hero {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 50%, var(--purple-600) 100%);
}

.customize-hero-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(168,85,247,0.2) 0%, transparent 50%);
  animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.customize-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.customize-hero-content .eyebrow {
  color: rgba(191,219,254,.9);
  margin-bottom: 1rem;
}

.customize-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.customize-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.customize-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.customize-hero-actions .btn-outline {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  color: white;
}

.customize-hero-actions .btn-outline:hover {
  background: rgba(255,255,255,.2);
}

/* Product showcase area */
.showcase-section {
  padding: 3.2rem 0;
  background: var(--gray-50);
  position: relative;
}

/* Video showcase */
.showcase-video-container {
  margin-top: 1.6rem;
  position: relative;
}

.showcase-video-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.15);
}

.showcase-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  transition: all 0.3s ease;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.5);
  }
}

.video-play-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
}

.video-info {
  text-align: center;
  margin-top: 1.6rem;
}

.video-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.video-info p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* Image carousel */
.gallery-section {
  margin-top: 3.2rem;
}

.gallery-head {
  text-align: center;
  margin-bottom: 1.6rem;
}

.gallery-head h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.gallery-head p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.carousel-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--gray-50);
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: white;
}

.carousel-caption span {
  font-size: 1rem;
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--gray-700);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  color: var(--blue-600);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  width: 24px;
  border-radius: 5px;
  background: white;
}

/* Lightbox image zoom */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

/* Four custom modules */
.customize-modules {
  padding: 3.2rem 0;
  background: white;
}

.customize-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.customize-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.customize-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}

.customize-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.customize-card.brand-card::before {
  background: linear-gradient(90deg, var(--orange-500), var(--orange-600));
}

.customize-card.course-card::before {
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
}

.customize-card.industry-card::before {
  background: linear-gradient(90deg, var(--purple-500), var(--purple-600));
}

.customize-card.competition-card::before {
  background: linear-gradient(90deg, var(--success), #059669);
}

.customize-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.customize-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--gray-800);
}

.customize-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.customize-card-features {
  list-style: none;
  padding: 0;
}

.customize-card-features li {
  font-size: 0.82rem;
  color: var(--gray-500);
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.customize-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 600;
}

/* Tech specs */
.specs-section {
  padding: 3.2rem 0;
  background: white;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.spec-item {
  text-align: center;
  padding: 1.6rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.spec-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.spec-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 0.4rem;
}

.spec-label {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Core features */
.features-section {
  padding: 3.2rem 0;
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem;
  background: white;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.feature-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-100);
  min-width: 48px;
  text-align: center;
}

.feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Adapted course system */
.courses-section {
  padding: 3.2rem 0;
  background: white;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.course-card {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.course-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.course-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--gray-800);
}

.course-card p {
  font-size: 0.82rem;
  color: var(--blue-600);
  margin-bottom: 0.8rem;
}

.course-card ul {
  list-style: none;
  padding: 0;
}

.course-card li {
  font-size: 0.82rem;
  color: var(--gray-600);
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}

.course-card li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--blue-400);
}

/* Customization process */
.process-section {
  padding: 3.2rem 0;
  background: var(--gray-50);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--purple-500));
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.process-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--blue-500);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .process-num {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--blue-500), var(--purple-500));
  border-color: transparent;
  color: white;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.process-arrow {
  display: none;
}

/* Contact */
.contact-section {
  padding: 3.2rem 0;
  background: var(--gray-50);
}

.contact-section .section-head {
  justify-content: center;
  text-align: center;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.contact-icon-wrap {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.3rem;
}

.contact-card a,
.contact-card span {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--blue-600);
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form .form-group:last-child {
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: all 0.2s ease;
  background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Homepage custom solutions preview */
.customize-preview {
  padding: 3.2rem 0;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 30%, var(--purple-50) 70%, var(--purple-100) 100%);
  position: relative;
  overflow: hidden;
}

.customize-preview::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.customize-preview::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.customize-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 1.6rem;
  position: relative;
  z-index: 1;
}

.customize-preview-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.customize-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}

.customize-preview-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.customize-preview-card.brand-card::before {
  background: linear-gradient(90deg, var(--orange-500), var(--orange-600));
}

.customize-preview-card.course-card::before {
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
}

.customize-preview-card.industry-card::before {
  background: linear-gradient(90deg, var(--purple-500), var(--purple-600));
}

.customize-preview-card.competition-card::before {
  background: linear-gradient(90deg, var(--success), #059669);
}

.customize-preview-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.customize-preview-card:hover .customize-preview-icon {
  transform: scale(1.1);
}

.customize-preview-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.customize-preview-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.customize-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.customize-preview-footer span {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Responsive */
@media (max-width: 992px) {
  .customize-grid,
  .customize-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2/1;
  }
}

@media (max-width: 768px) {
  .customize-grid,
  .customize-preview-grid {
    grid-template-columns: 1fr;
  }
  
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .customize-hero-content h1 {
    font-size: 1.8rem;
  }
  
  .process-steps {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .process-arrow {
    display: none;
  }
  
  .customize-preview-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item.featured {
    grid-column: span 2;
    aspect-ratio: 1.618;
  }
  
  .gallery-item:not(.featured) {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}

@media (max-width: 576px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* Open-source community page */
.opensource-hero {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #4c1d95 100%);
  overflow: hidden;
}

.opensource-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(99,102,241,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139,92,246,0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(147,197,253,0.15) 0%, transparent 70%);
}

.opensource-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.opensource-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  color: var(--blue-200);
  transition: all 0.3s ease;
}

.opensource-hero-icon:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.2);
}

.opensource-hero-icon svg {
  width: 100%;
  height: 100%;
}

.opensource-hero .eyebrow {
  color: #bfdbfe !important;
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.opensource-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.opensource-hero h1 span.text-gradient {
  background: linear-gradient(135deg, #bfdbfe, #ddd6fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.opensource-hero p {
  font-size: 1.15rem;
  color: #f1f5f9 !important;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
}

.opensource-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.opensource-stats {
  background: white;
  padding: 2.5rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-500), var(--purple-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.repos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.6rem;
}

.repo-category {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.repo-category-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.5rem;
}

.repo-category-header.public {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
}

.repo-category-header.private {
  background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
}

.repo-category-icon {
  font-size: 1.2rem;
}

.repo-category-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.repo-category-badge {
  margin-left: auto;
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: white;
}

.repo-category-desc {
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}

.repo-access-info {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  background: var(--yellow-50);
  border-bottom: 1px solid var(--gray-100);
}

.info-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.info-text {
  font-size: 0.8rem;
  color: var(--yellow-800);
  line-height: 1.5;
}

.repo-list {
  padding: 0.5rem;
}

.repo-card {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.repo-card:hover {
  background: var(--gray-50);
}

.repo-card.private-card:hover {
  background: var(--gray-100);
}

.repo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.repo-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-600);
  text-decoration: none;
  transition: all 0.2s ease;
}

.repo-name:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

.repo-name.private {
  color: var(--gray-500);
}

.license-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
}

.license-badge.gpl {
  background: #e53935;
  color: white;
}

.license-badge.apache {
  background: #d93636;
  color: white;
}

.license-badge.agpl {
  background: #333;
  color: white;
}

.license-badge.private {
  background: var(--gray-300);
  color: var(--gray-600);
}

.repo-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.8rem;
}

.repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.repo-tags span {
  padding: 0.2rem 0.5rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 4px;
  font-size: 0.7rem;
}

.repo-docs-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.repo-docs-list span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.path-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue-500);
  transition: all 0.3s ease;
  position: relative;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.path-card.full-stack {
  grid-column: span 2;
  border-left-color: var(--purple-500);
  background: linear-gradient(135deg, var(--purple-50) 0%, var(--blue-50) 100%);
}

.path-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(59,130,246,0.1);
}

.path-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.path-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.8rem;
}

.path-repos {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.path-repos span {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 0.3rem 0.6rem;
  background: var(--gray-50);
  border-radius: 4px;
}

.licenses-section {
  background: var(--gray-50);
}

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.license-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid #e53935;
}

.license-card.apache {
  border-top-color: #d93636;
}

.license-card.agpl {
  border-top-color: #333;
}

.license-header {
  margin-bottom: 0.8rem;
}

.license-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
}

.license-full-name {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.license-apply {
  font-size: 0.8rem;
  color: var(--blue-600);
  margin-bottom: 1rem;
}

.license-rules {
  list-style: none;
  padding: 0;
  margin: 0;
}

.license-rules li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.license-rules li:last-child {
  border-bottom: none;
}

.private-disclaimer {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--orange-50);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange-500);
}

.private-disclaimer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.private-disclaimer p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.standards-section {
  background: white;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.standard-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.standard-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-list span {
  font-size: 0.85rem;
  color: var(--blue-600);
  padding: 0.4rem 0.6rem;
  background: white;
  border-radius: 4px;
}

.material-flow {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.flow-item {
  padding: 0.8rem;
  background: white;
  border-radius: 8px;
}

.flow-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  display: block;
}

.flow-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.permission-rules {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rule-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  background: white;
  border-radius: 8px;
}

.rule-icon {
  font-size: 1.2rem;
}

.rule-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  display: block;
}

.rule-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.opensource-cta {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--purple-600) 100%);
  padding: 3.2rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.8rem;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.6rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Homepage product arrays preview */
.products-preview {
  padding: 3.2rem 0;
  background: white;
}

.products-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.products-preview-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.products-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.products-preview-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.products-preview-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

.products-preview-card p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.products-preview-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.products-preview-tags span {
  padding: 0.2rem 0.5rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 4px;
  font-size: 0.7rem;
}

/* Homepage use cases preview */
.scenarios-preview {
  padding: 3.2rem 0;
  background: linear-gradient(135deg, var(--purple-50) 0%, var(--blue-50) 100%);
}

.scenarios-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.scenarios-preview-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue-500);
  transition: all 0.3s ease;
}

.scenarios-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.scenarios-preview-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.scenarios-preview-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.scenarios-preview-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Homepage open-source preview */
.opensource-preview {
  padding: 3.2rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
}

.opensource-preview::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.opensource-preview::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.opensource-preview .section-head {
  position: relative;
  z-index: 1;
}

.opensource-preview .text-link {
  color: #93c5fd;
}

.opensource-preview .text-link:hover {
  color: white;
}

.opensource-preview .eyebrow {
  color: #bfdbfe;
}

.opensource-preview h2 {
  color: white;
}

.opensource-preview p {
  color: rgba(255,255,255,0.7);
}

.opensource-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
  position: relative;
  z-index: 1;
}

.opensource-preview-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.opensource-preview-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

.opensource-preview-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.opensource-preview-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.4rem;
}

.opensource-preview-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.8rem;
}

.license-tag {
  padding: 0.2rem 0.6rem;
  background: rgba(229,57,53,0.2);
  color: #ef5350;
  border-radius: 4px;
  font-size: 0.7rem;
}

.license-tag.apache {
  background: rgba(217,54,54,0.2);
  color: #ef5350;
}

.license-tag.agpl {
  background: rgba(100,100,100,0.2);
  color: #ccc;
}

.opensource-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

.opensource-preview-footer span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.opensource-preview-footer .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: white;
  background: transparent;
}

.opensource-preview-footer .btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 992px) {
  .products-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .timeline-orange {
    padding: 1rem 0;
  }
  
  .timeline-line {
    left: 2rem;
    transform: none;
    height: calc(100% - 2rem);
  }
  
  .timeline-arrow {
    right: auto;
    left: 2rem;
    transform: none;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 4rem;
    margin-right: 0;
    width: calc(100% - 4rem);
    text-align: left;
  }
  
  .timeline-marker {
    left: 2rem;
    transform: translateX(-50%);
  }
  
  .customize-features {
    flex-direction: column;
  }
  
  .products-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .scenarios-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .products-preview-grid {
    grid-template-columns: 1fr;
  }
  
  .scenarios-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .opensource-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .opensource-preview-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .opensource-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .opensource-hero h1 {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .repos-grid {
    grid-template-columns: 1fr;
  }
  
  .paths-grid {
    grid-template-columns: 1fr;
  }
  
  .path-card.full-stack {
    grid-column: span 1;
  }
  
  .licenses-grid {
    grid-template-columns: 1fr;
  }
  
  .standards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .opensource-hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================================
   AI Live Chat Widget
   ============================================================ */
#wwnt-chat-widget {
  position: fixed;
  bottom: 6rem; /* stack above .back-to-top (2rem + 52px ≈ 5.25rem) */
  right: 1.5rem;
  z-index: 9999;
  font-family: inherit;
}

.chat-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
}

.chat-bubble:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.chat-bubble:active {
  transform: scale(1.02);
}

.chat-bubble svg {
  width: 26px;
  height: 26px;
}

.chat-bubble-icon-close {
  display: none;
}

.chat-bubble.is-active .chat-bubble-icon-open {
  display: none;
}

.chat-bubble.is-active .chat-bubble-icon-close {
  display: block;
}

.chat-bubble-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue-500);
  opacity: 0.5;
  z-index: -1;
  animation: chatPulse 2.4s ease-out infinite;
}

.chat-bubble.is-active .chat-bubble-pulse {
  animation: none;
  opacity: 0;
}

@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.chat-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 200px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-avatar svg {
  width: 22px;
  height: 22px;
}

.chat-header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.chat-header-text strong {
  font-size: 0.95rem;
}

.chat-header-status {
  font-size: 0.72rem;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
}

.chat-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chat-close svg {
  width: 16px;
  height: 16px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
}

.chat-message {
  display: flex;
  max-width: 85%;
}

.chat-message-ai {
  align-self: flex-start;
}

.chat-message-user {
  align-self: flex-end;
}

.chat-message-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.chat-message-ai .chat-message-bubble {
  background: #fff;
  color: var(--gray-800);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-bottom-left-radius: 4px;
}

.chat-message-user .chat-message-bubble {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-typing .chat-message-bubble {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: typingBounce 1.3s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.chat-quick-reply {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-700);
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.chat-quick-reply:hover {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
  transform: translateY(-1px);
}

.chat-input-area {
  padding: 12px 14px;
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  background: #fff;
  flex-shrink: 0;
}

.chat-input-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input {
  flex: 1;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--gray-800);
}

.chat-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.chat-input:disabled {
  background: #f1f5f9;
  cursor: not-allowed;
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.chat-send svg {
  width: 18px;
  height: 18px;
}

.chat-disclaimer {
  font-size: 0.66rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

.chat-disclaimer a {
  color: var(--blue-600);
  text-decoration: none;
}

.chat-disclaimer a:hover {
  text-decoration: underline;
}

/* ============================================================
   Help Center
   ============================================================ */
.help-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.04));
}

.help-search {
  position: relative;
  max-width: 560px;
  margin: 1.5rem auto 0;
}

.help-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--gray-400);
}

.help-search input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  background: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--gray-800);
}

.help-search input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.help-layout-section {
  padding-top: 2.5rem;
}

.help-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.help-sidebar {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.05);
}

.help-sidebar-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin: 0 0 14px;
  font-weight: 700;
}

.help-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.help-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.help-sidebar-link:hover {
  background: rgba(59, 130, 246, 0.08);
  color: var(--blue-700);
  transform: translateX(2px);
}

.help-sidebar-link.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.06));
  color: var(--blue-700);
  font-weight: 600;
}

.help-topic-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.help-sidebar-contact {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.help-sidebar-contact h3 {
  font-size: 0.85rem;
  color: var(--gray-800);
  margin: 0 0 6px;
}

.help-sidebar-contact p {
  font-size: 0.76rem;
  color: var(--gray-500);
  margin: 0 0 12px;
  line-height: 1.4;
}

.help-contact-link {
  display: block;
  font-size: 0.8rem;
  color: var(--blue-700);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.help-contact-link:hover {
  color: var(--blue-800);
  text-decoration: underline;
}

.help-content {
  min-width: 0;
}

.help-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 2.5rem;
}

.help-quick-card {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 14px;
  padding: 18px 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.help-quick-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.help-quick-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.help-quick-card h3 {
  font-size: 0.92rem;
  color: var(--gray-900);
  margin: 0;
}

.help-quick-card p {
  font-size: 0.76rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.4;
}

.help-topic-block {
  margin-bottom: 2rem;
  scroll-margin-top: 90px;
}

.help-topic-heading {
  font-size: 1.3rem;
  color: var(--gray-900);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.15);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--blue-300);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.faq-item summary {
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--blue-600);
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(59, 130, 246, 0.04);
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 0.86rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.faq-answer a {
  color: var(--blue-700);
  text-decoration: none;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.help-empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed rgba(59, 130, 246, 0.25);
}

.help-cta {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.help-cta-text h2 {
  font-size: 1.3rem;
  color: var(--gray-900);
  margin: 0 0 6px;
}

.help-cta-text p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0;
}

.help-cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 4rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
}

.pricing-card-featured {
  border: 2px solid var(--blue-500);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-card-head {
  margin-bottom: 18px;
}

.pricing-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  font-weight: 700;
}

.pricing-card-head h2 {
  font-size: 1.35rem;
  color: var(--gray-900);
  margin: 6px 0 8px;
}

.pricing-desc {
  font-size: 0.84rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

.pricing-price {
  margin: 16px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.pricing-amount {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.pricing-unit {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.86rem;
  color: var(--gray-700);
  padding-left: 26px;
  position: relative;
  line-height: 1.45;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--blue-600);
  border-radius: 50%;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

.btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.pricing-included {
  margin: 3rem 0;
}

.pricing-included h2 {
  text-align: center;
  font-size: 1.6rem;
  color: var(--gray-900);
  margin: 0 0 2rem;
}

.pricing-included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pricing-included-item {
  text-align: center;
  padding: 22px 16px;
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-included-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.1);
}

.pricing-included-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.pricing-included-item h3 {
  font-size: 0.98rem;
  color: var(--gray-900);
  margin: 0 0 8px;
}

.pricing-included-item p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

.section-title-center {
  text-align: center;
  font-size: 1.6rem;
  color: var(--gray-900);
  margin: 3rem 0 2rem;
}

/* ============================================================
   Logistics
   ============================================================ */
.logistics-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 3.5rem;
}

.logistics-card {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 16px;
  padding: 26px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.logistics-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
}

.logistics-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}

.logistics-card h3 {
  font-size: 1.15rem;
  color: var(--gray-900);
  margin: 0 0 4px;
}

.logistics-meta {
  font-size: 0.78rem;
  color: var(--blue-600);
  font-weight: 600;
  margin: 0 0 10px;
}

.logistics-card p {
  font-size: 0.86rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0 0 14px;
}

.logistics-eta {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.logistics-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 3.5rem 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.02));
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.logistics-feature-reverse .logistics-feature-text {
  order: 2;
}

.logistics-feature-text h2 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin: 8px 0 12px;
}

.logistics-feature-text p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 18px;
}

.tracking-mock {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.tracking-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-700);
}

.tracking-status {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 0.74rem;
  padding: 3px 10px;
  border-radius: 12px;
}

.tracking-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.84rem;
  color: var(--gray-400);
}

.tracking-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: #fff;
  flex-shrink: 0;
}

.tracking-step.is-done {
  color: var(--gray-600);
}

.tracking-step.is-done .tracking-dot {
  background: var(--blue-500);
  border-color: var(--blue-500);
}

.tracking-step.is-active {
  color: var(--blue-700);
  font-weight: 600;
}

.tracking-step.is-active .tracking-dot {
  background: var(--blue-600);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.packaging-mock {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.packaging-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 14px;
}

.packaging-mock ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.packaging-mock li {
  font-size: 0.86rem;
  color: var(--gray-700);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.packaging-mock li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-600);
  font-weight: 700;
}

.logistics-incoterms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 3.5rem;
}

.incoterm-card {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.incoterm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
}

.incoterm-card-featured {
  border-color: var(--blue-400);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), #fff);
}

.incoterm-card h3 {
  font-size: 1.1rem;
  color: var(--gray-900);
  margin: 0 0 10px;
}

.incoterm-card h3 small {
  font-size: 0.74rem;
  color: var(--gray-400);
  font-weight: 400;
}

.incoterm-card p {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   Video Showcase Widget
   ============================================================ */
.video-widget {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  z-index: 998;
  font-family: inherit;
}

.video-widget-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.video-widget-toggle:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.video-widget-toggle svg {
  width: 18px;
  height: 18px;
}

.video-widget-panel {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.video-widget-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.video-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
}

.video-widget-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.video-widget-close {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.video-widget-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-widget-close svg {
  width: 14px;
  height: 14px;
}

.video-widget-body {
  padding: 16px;
  background: #f8fafc;
}

.video-widget-video {
  width: 100%;
  border-radius: 10px;
  background: #000;
}

.video-widget-placeholder {
  text-align: center;
  padding: 24px 16px;
}

.video-widget-placeholder-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}

.video-widget-placeholder-icon svg {
  width: 24px;
  height: 24px;
}

.video-widget-placeholder h4 {
  font-size: 0.92rem;
  color: var(--gray-800);
  margin: 0 0 6px;
}

.video-widget-placeholder p {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

.video-widget-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.video-widget-thumb {
  width: 80px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.video-widget-thumb.is-active {
  border-color: var(--blue-500);
}

.video-widget-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Product Detail - Video Showcase
   ============================================================ */
.video-showcase {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.video-showcase-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(59, 130, 246, 0.02));
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.video-showcase-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.video-showcase-header svg {
  color: var(--blue-600);
}

.video-container {
  padding: 16px;
  background: #000;
}

.video-container video {
  width: 100%;
  border-radius: 10px;
  background: #000;
  display: block;
}

.video-placeholder {
  text-align: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px dashed var(--gray-200);
}

.video-placeholder-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}

.video-placeholder h4 {
  font-size: 0.95rem;
  color: var(--gray-800);
  margin: 0 0 6px;
}

.video-placeholder p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* Video showcase styles */
.video-showcase {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.video-showcase-header {
  margin-bottom: 1rem;
}

.video-showcase-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.video-showcase-header svg {
  color: var(--blue-600);
}

.video-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.video-container .showcase-video {
  width: 100%;
  display: block;
  border-radius: 10px;
  background: #000;
}

/* Responsive video widget */
@media (max-width: 768px) {
  .video-widget {
    bottom: 5rem;
    left: 1rem;
  }

  .video-widget-toggle span {
    display: none;
  }

  .video-widget-toggle {
    padding: 10px;
    border-radius: 50%;
  }

  .video-widget-panel {
    bottom: 56px;
    left: 0;
    width: 260px;
  }
}