:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-muted: #555555;
  --accent: #ffffff;
  --accent-dim: rgba(255, 255, 255, 0.1);
  --border: #222222;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Page Transition Effects */
main {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

body.page-loaded main {
  opacity: 1;
  transform: translateY(0);
}

body.page-exit main {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Glitch line effect on transition */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}

body.page-exit::before {
  transform: scaleX(1);
  animation: scanline-move 0.3s ease forwards;
}

@keyframes scanline-move {
  0% {
    top: 0;
    transform: scaleX(1);
  }
  100% {
    top: 100%;
    transform: scaleX(1);
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===================================
   NAVBAR
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
  transition: var(--transition);
}

.logo-text {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--text-primary);
}

.logo-text.glitch::before,
.logo-text.glitch::after {
  background: rgba(0, 0, 0, 0.9);
}

.nav-logo:hover .logo-img {
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-btn::after {
  display: none;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: var(--transition);
}

.dropdown-item:hover {
  color: var(--text-primary);
  background: var(--accent-dim);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.lang-btn {
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--text-primary);
  background: var(--accent-dim);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ===================================
   MAIN CONTENT
   =================================== */

.main {
  min-height: 100vh;
  padding-top: 70px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Scanlines effect */
.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  opacity: 0.3;
  animation: scanlines 10s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* Glitch overlay */
.glitch-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo-img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Glitch effect - Cyberpunk style (hover only) */
.glitch {
  position: relative;
  cursor: default;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  overflow: hidden;
  clip: rect(0, 9999px, 0, 0);
}

.glitch::before {
  left: 3px;
  text-shadow: -2px 0 #ff0000;
}

.glitch::after {
  left: -3px;
  text-shadow: 2px 0 #00ffff;
}

/* Activate glitch on hover */
.glitch:hover::before {
  left: 3px;
  text-shadow: -2px 0 #ff0000;
  animation: glitch-anim-1 2s linear infinite alternate-reverse;
}

.glitch:hover::after {
  left: -3px;
  text-shadow: 2px 0 #00ffff;
  animation: glitch-anim-2 2s linear infinite alternate-reverse;
}

/* Glitch animations with clip rect */
@keyframes glitch-anim-1 {
  0% { clip: rect(42px, 9999px, 44px, 0); }
  5% { clip: rect(12px, 9999px, 59px, 0); }
  10% { clip: rect(48px, 9999px, 29px, 0); }
  15% { clip: rect(42px, 9999px, 73px, 0); }
  20% { clip: rect(63px, 9999px, 27px, 0); }
  25% { clip: rect(34px, 9999px, 55px, 0); }
  30% { clip: rect(86px, 9999px, 73px, 0); }
  35% { clip: rect(20px, 9999px, 20px, 0); }
  40% { clip: rect(26px, 9999px, 60px, 0); }
  45% { clip: rect(25px, 9999px, 66px, 0); }
  50% { clip: rect(57px, 9999px, 98px, 0); }
  55% { clip: rect(5px, 9999px, 46px, 0); }
  60% { clip: rect(82px, 9999px, 31px, 0); }
  65% { clip: rect(54px, 9999px, 27px, 0); }
  70% { clip: rect(28px, 9999px, 99px, 0); }
  75% { clip: rect(45px, 9999px, 69px, 0); }
  80% { clip: rect(23px, 9999px, 85px, 0); }
  85% { clip: rect(54px, 9999px, 84px, 0); }
  90% { clip: rect(45px, 9999px, 47px, 0); }
  95% { clip: rect(37px, 9999px, 20px, 0); }
  100% { clip: rect(4px, 9999px, 91px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(65px, 9999px, 100px, 0); }
  5% { clip: rect(52px, 9999px, 74px, 0); }
  10% { clip: rect(79px, 9999px, 85px, 0); }
  15% { clip: rect(75px, 9999px, 5px, 0); }
  20% { clip: rect(67px, 9999px, 61px, 0); }
  25% { clip: rect(14px, 9999px, 79px, 0); }
  30% { clip: rect(1px, 9999px, 66px, 0); }
  35% { clip: rect(86px, 9999px, 30px, 0); }
  40% { clip: rect(23px, 9999px, 98px, 0); }
  45% { clip: rect(85px, 9999px, 72px, 0); }
  50% { clip: rect(71px, 9999px, 75px, 0); }
  55% { clip: rect(2px, 9999px, 48px, 0); }
  60% { clip: rect(30px, 9999px, 16px, 0); }
  65% { clip: rect(59px, 9999px, 50px, 0); }
  70% { clip: rect(41px, 9999px, 62px, 0); }
  75% { clip: rect(2px, 9999px, 82px, 0); }
  80% { clip: rect(47px, 9999px, 73px, 0); }
  85% { clip: rect(3px, 9999px, 27px, 0); }
  90% { clip: rect(26px, 9999px, 55px, 0); }
  95% { clip: rect(42px, 9999px, 97px, 0); }
  100% { clip: rect(38px, 9999px, 49px, 0); }
}

.hero-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.2em;
  margin-bottom: 3rem;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border: 1px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  transition: var(--transition);
  z-index: -1;
}

.cta-button:hover {
  color: var(--bg-primary);
}

.cta-button:hover::before {
  left: 0;
}

.cta-icon {
  transition: var(--transition);
}

.cta-button:hover .cta-icon {
  transform: translateX(5px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-primary), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===================================
   CONTENT PAGE
   =================================== */

.content-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  position: relative;
  min-height: calc(100vh - 70px);
}

.content-page::before {
  content: '';
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background-image: url('/images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.2);
}

.content-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.content-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.content-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.resource-card[style*="background-image"] {
  min-height: 280px;
}

.resource-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
  pointer-events: none;
}

.resource-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
  transform: scaleX(0);
  transition: var(--transition);
  z-index: 3;
}

.resource-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-muted);
}

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

.resource-tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.resource-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.resource-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

.resource-link:hover {
  color: var(--text-primary);
}

.resource-link .arrow {
  transition: var(--transition);
}

.resource-link:hover .arrow {
  transform: translateX(5px);
}

/* ===================================
   PRODUCT PAGE
   =================================== */

.product-page {
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - 70px);
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.back-link:hover {
  color: var(--text-primary);
}

.back-arrow {
  transition: var(--transition);
}

.back-link:hover .back-arrow {
  transform: translateX(-5px);
}

/* Hero Section */
.product-header {
  margin-bottom: 2rem;
}

.product-hero {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Split Layout Banner */
.product-hero-split {
  margin-bottom: 2rem;
}

.hero-split-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40vh;
  background: var(--bg-primary);
}

.hero-split-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-split-image img {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
}

.hero-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem;
  background: var(--bg-primary);
}

.hero-split-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-split-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-split-container {
    grid-template-columns: 1fr;
  }
  
  .hero-split-image {
    padding: 1.5rem;
  }
  
  .hero-split-image img {
    max-height: 35vh;
  }
  
  .hero-split-text {
    padding: 2rem 1.5rem;
    text-align: center;
  }
}

.product-hero-content {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  display: flex;
  flex-direction: column;
}

.product-hero-content .product-preview {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-hero-content .preview-window {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-hero-content .carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-hero-content .carousel-track {
  width: 100%;
}

.product-hero-content .carousel-slide {
  width: 100%;
}

.product-hero-content .carousel-image {
  width: 100%;
  height: auto;
}

.product-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.product-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* Preview Window */
.product-preview {
  margin-top: 0;
}

.preview-window {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

/* Carousel - Single Image */
.carousel {
  position: relative;
  width: 100%;
  min-height: 200px;
  background: var(--bg-primary);
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
}

.carousel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.carousel-image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.carousel-banner-text {
  position: absolute;
  top: 50%;
  right: 35%;
  transform: translateY(-50%) translateX(50%);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 3vw;
  font-weight: normal;
  text-align: center;
  max-width: 45%;
  line-height: 1.2;
  z-index: 3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  padding: 1vw;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 3;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

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

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot:hover {
  background: var(--text-muted);
}

.carousel-dot.active {
  background: var(--text-primary);
  width: 24px;
  border-radius: 4px;
}

/* Gallery Carousel (below description) */
.gallery-section {
  margin-top: 2rem;
}

.gallery-carousel {
  position: relative;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: 100%;
}

.gallery-slide {
  min-width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 400px;
}

.gallery-slide.active {
  display: flex;
}

.gallery-image {
  max-width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.05));
  transition: var(--transition);
}

.gallery-slide.active .gallery-image {
  animation: fadeIn 0.3s ease;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

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

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-dot:hover {
  background: var(--text-muted);
}

.gallery-dot.active {
  background: var(--text-primary);
  width: 24px;
  border-radius: 4px;
}

.gallery-cta-btn {
  display: block;
  width: 100%;
  padding: 1.25rem 2rem;
  margin-top: 2rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-cta-btn:hover {
  background: transparent;
  color: var(--text-primary);
}

/* Sidebar */
.product-hero-sidebar {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.highlights-list {
  list-style: none;
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.highlight-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
}

.highlight-item:first-child {
  padding-top: 0;
}

.highlight-item:last-child {
  padding-bottom: 0;
}

.sidebar-bullets {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--border);
}

.bullets-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.bullets-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
}

.bullet-item:first-child {
  padding-top: 0;
}

.bullet-item:last-child {
  padding-bottom: 0;
}

.sidebar-price {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.price-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sidebar-date {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.date-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.date-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
}

.sidebar-btn.primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.sidebar-btn.primary:hover {
  background: transparent;
  color: var(--text-primary);
}

.sidebar-btn.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.sidebar-btn.secondary:hover {
  background: var(--border);
}

.sidebar-btn.compact {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
}

.sidebar-links {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.sidebar-link:hover {
  color: var(--text-primary);
}

.sidebar-link-icon {
  width: 16px;
  height: 16px;
}

/* Product Content Wrapper - Two Column Layout */
.product-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem 2.5rem 2rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.product-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  align-items: start;
}

/* Left Column - Main Content */
.product-main-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0;
  margin-right: 0;
}

.product-content-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-content-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  margin-bottom: 0.5rem;
}

/* Instructor Info */
.instructors-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.instructor-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.instructor-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.instructor-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.instructor-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.instructor-role {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Course Metadata */
.course-metadata {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0.5rem 0;
}

.metadata-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.metadata-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

svg.metadata-icon {
  color: var(--text-secondary);
}

.metadata-text {
}

/* Modules Gallery Carousel (above modules) */
.modules-gallery-section {
  margin: 2rem 0;
}

.modules-gallery-carousel {
  position: relative;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.modules-gallery-track {
  position: relative;
  width: 100%;
  height: 400px;
}

.modules-gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.modules-gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

.modules-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modules-gallery-prev,
.modules-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
  border-radius: 50%;
}

.modules-gallery-prev:hover,
.modules-gallery-next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.modules-gallery-prev {
  left: 1rem;
}

.modules-gallery-next {
  right: 1rem;
}

.modules-gallery-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.modules-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.modules-gallery-dot:hover {
  background: var(--text-muted);
}

.modules-gallery-dot.active {
  background: var(--text-primary);
  width: 24px;
  border-radius: 4px;
}

/* Modules Section */
.modules-section {
  margin: 2rem 0 1rem 0;
}

.modules-title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
}

.module-card:hover {
  border-color: var(--text-muted);
  background: var(--bg-secondary);
}

.module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.module-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.module-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.module-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.module-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.module-duration {
}

.module-lock {
  font-size: 1rem;
}

/* Recordings Section (alternative to modules for live content) */
.recordings-section {
  margin: 2rem 0 1rem 0;
}

.recordings-title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.recordings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.recording-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}

.recording-card:hover {
  border-color: var(--text-muted);
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.recording-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.recording-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recording-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.recording-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Product Description Long */
.product-description-long {
  margin: 0;
  padding: 0;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.product-description-long p {
  margin-bottom: 1rem;
  margin-top: 0;
}

.product-description-long p:first-child {
  margin-top: 0;
}

.product-description-long h2,
.product-description-long h3 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.product-description-long h2 {
  font-size: 1.75rem;
}

.product-description-long h3 {
  font-size: 1.5rem;
}

.product-description-long ul,
.product-description-long ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.product-description-long li {
  margin-bottom: 0.5rem;
}

/* Right Column - Sidebar */
.product-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  margin-left: 2rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Video Placeholder */
.video-placeholder {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.sidebar-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Sidebar Media Image */
.sidebar-media-image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.sidebar-media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-button {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.video-play-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.video-play-button svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

/* Sidebar Section */
.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-section-title {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.benefit-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-primary);
  font-size: 1.2rem;
}

/* Sidebar Price */
.sidebar-price {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-label {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Sidebar Button Primary */
.sidebar-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2rem;
  background: #ffffff;
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.sidebar-btn-primary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Money Back Guarantee */
.money-back-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

.guarantee-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.guarantee-text {
}

/* Product Details Section */
.product-details-section {
  margin-bottom: 5rem;
}

.product-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.product-tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}

.product-tab:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.product-tab.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
}

.overview-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-description {
  margin-bottom: 0;
}

.product-description:last-child {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.product-description p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.features-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.features-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
}

.feature-bullet {
  color: var(--text-primary);
  font-weight: bold;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.feature-number {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Sticky Sidebar Compact */
.product-sidebar-sticky {
  position: relative;
}

.sidebar-card.compact {
  padding: 1.5rem;
}

.sidebar-preview-img {
  background: var(--bg-secondary);
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.sidebar-preview-img img {
  max-width: 80px;
  height: auto;
  opacity: 0.8;
}

.sidebar-compact-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-compact-title {
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 180px;
}

.sidebar-compact-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.testimonial-avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* Related Products */
.related-products {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
}

.related-header {
  text-align: center;
  margin-bottom: 3rem;
}

.related-title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.related-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
}

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

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-4px);
}

.related-card-image {
  position: relative;
  background: var(--bg-secondary);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.related-card-image img {
  max-width: 80px;
  height: auto;
  opacity: 0.7;
}

.related-card-image[style*="background-image"] {
  padding: 0;
}

.related-price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
}

.related-card-content {
  padding: 1.5rem;
}

.related-card-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag-icon {
  color: var(--text-muted);
}

.related-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-card-title:hover {
  color: var(--text-secondary);
}

.related-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.related-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.related-btn {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition);
}

.related-btn:hover {
  background: var(--border);
}

.related-btn.outline {
  background: transparent;
  border: 1px solid var(--border);
}

.related-btn.outline:hover {
  border-color: var(--text-muted);
}

.related-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: var(--transition);
}

.related-card:hover .related-arrow {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Responsive Product Page */
@media (max-width: 1024px) {
  .product-content-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .product-sidebar {
    position: relative;
    top: 0;
    order: -1;
    margin-left: 0;
    margin-bottom: 2rem;
  }
  
  .product-content-wrapper {
    padding: 0 1.5rem 4rem;
  }
  
  .testimonials-section {
    padding: 3rem 1.5rem;
  }
  
  .related-products {
    padding: 2rem 1.5rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-page {
    padding: 1.5rem 1rem;
  }
  
  .product-content-wrapper {
    padding: 0 1rem 3rem;
  }
  
  .carousel-banner-text {
    right: 3%;
    max-width: 50%;
    font-size: 4vw;
    padding: 0.5vw;
  }
  
  .testimonials-section {
    padding: 3rem 1rem;
  }
  
  .related-products {
    padding: 2rem 1rem;
  }
  
  .product-content-grid {
    gap: 2rem;
  }
  
  .product-content-title {
    font-size: 2rem;
  }
  
  .modules-title {
    font-size: 1.75rem;
  }
  
  .modules-gallery-track {
    height: 250px;
  }
  
  .modules-gallery-prev,
  .modules-gallery-next {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }
  
  .modules-gallery-prev {
    left: 0.5rem;
  }
  
  .modules-gallery-next {
    right: 0.5rem;
  }
  
  .course-metadata {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .module-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .module-meta {
    width: 100%;
    justify-content: space-between;
  }
  
  .product-tabs {
    flex-wrap: wrap;
  }
  
  .product-tab {
    flex: 1;
    min-width: 120px;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===================================
   ERROR PAGE
   =================================== */

.error-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-content {
  max-width: 400px;
}

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.2;
}

.error-message {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-logo.glitch::before,
.footer-logo.glitch::after {
  background: var(--bg-secondary);
}


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

.social-link {
  color: #ffffff;
  transition: var(--transition);
  display: flex;
}

.social-link:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
}

.footer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===================================
   ABOUT PAGE
   =================================== */

.about-page {
  min-height: 100vh;
}

.about-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}

.about-hero .scanlines,
.about-hero .glitch-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.about-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.about-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.about-intro {
  margin-bottom: 4rem;
}

.terminal-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.terminal-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
  padding: 1.5rem;
}

.terminal-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.terminal-prompt {
  color: var(--accent);
  margin-right: 0.5rem;
}

.team-section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-5px);
}

.team-card-inner {
  padding: 2rem;
  text-align: center;
}

.team-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

.avatar-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: var(--transition);
}

.team-card:hover .avatar-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.avatar-glitch {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover .avatar-glitch {
  opacity: 1;
  animation: avatar-glitch 0.3s ease;
}

@keyframes avatar-glitch {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: var(--transition);
}

.team-card:hover .avatar-ring {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

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

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-role {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social .social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: var(--transition);
}

.team-social .social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .stats-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===================================
   CIRCUIT DECORATION
   =================================== */

.circuit-lines {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
  opacity: 0.1;
  z-index: -1;
}

.circuit-svg {
  width: 100%;
  height: 100%;
}

.circuit-path {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 0.5;
}

.circuit-node {
  fill: var(--text-primary);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  
  .hero-logo-img {
    width: 150px;
  }
  
  .hero-subtitle {
    letter-spacing: 0.1em;
  }
  
  .cta-button {
    padding: 0.875rem 1.5rem;
  }
  
  .content-page {
    padding: 2rem 1rem;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem;
  }
  
  .hero {
    padding: 1rem;
  }
  
  .hero-logo-img {
    width: 120px;
  }
  
  .hero-title {
    font-size: 1.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.75rem;
  }
  
  .carousel-banner-text {
    font-size: 5vw;
    right: 2%;
    max-width: 55%;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

