/* ==========================================================================
   PANTAM LEARNING UNIVERSE - PREMIUM CARD ILLUSTRATIONS
   Isometric CSS Micro-Illustrations - No Images, Pure CSS Magic
   ========================================================================== */

/* ==========================================================================
   CARD VISUAL CONTAINER - GLASSMORPHISM BASE
   ========================================================================== */
.card-visual {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, 
    rgba(88, 166, 255, 0.05) 0%, 
    rgba(139, 92, 246, 0.05) 50%,
    rgba(57, 208, 216, 0.05) 100%);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

.card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-accent, var(--gradient-primary));
  opacity: 0.08;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tutorial-card:hover .card-visual::before {
  opacity: 0.15;
}

/* Grid pattern overlay */
.card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

/* Light theme adjustments */
.light-theme .card-visual {
  background: linear-gradient(135deg, 
    rgba(88, 166, 255, 0.08) 0%, 
    rgba(139, 92, 246, 0.08) 50%,
    rgba(57, 208, 216, 0.08) 100%);
}

.light-theme .card-visual::after {
  background-image: 
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
}

/* ==========================================================================
   ISOMETRIC 3D SCENE CONTAINER
   ========================================================================== */
.iso-scene {
  position: relative;
  width: 100px;
  height: 100px;
  transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(-45deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tutorial-card:hover .iso-scene {
  transform: rotateX(55deg) rotateZ(-40deg) scale(1.1);
}

/* ==========================================================================
   ISOMETRIC SHAPES - BUILDING BLOCKS
   ========================================================================== */

/* Base isometric cube */
.iso-cube {
  position: absolute;
  transform-style: preserve-3d;
}

.iso-cube .face {
  position: absolute;
  width: 100%;
  height: 100%;
}

.iso-cube .face--top {
  transform: rotateX(0deg) translateZ(var(--depth, 20px));
}

.iso-cube .face--front {
  transform: rotateX(-90deg) translateZ(var(--depth, 20px));
  transform-origin: bottom;
}

.iso-cube .face--side {
  transform: rotateY(90deg) translateZ(var(--depth, 20px));
  transform-origin: right;
}

/* ==========================================================================
   HTML/CSS CARD ILLUSTRATION - Code Editor 3D
   ========================================================================== */
.iso-html-css .editor-window {
  width: 60px;
  height: 45px;
  position: absolute;
  top: 20px;
  left: 20px;
  transform-style: preserve-3d;
}

.iso-html-css .editor-top {
  position: absolute;
  width: 60px;
  height: 45px;
  background: linear-gradient(135deg, #58a6ff 0%, #39d0d8 100%);
  transform: rotateX(0deg) translateZ(8px);
  border-radius: 4px 4px 0 0;
}

.iso-html-css .editor-front {
  position: absolute;
  width: 60px;
  height: 8px;
  background: linear-gradient(135deg, #4a9af0 0%, #2bc4c4 100%);
  transform: rotateX(-90deg) translateZ(45px);
  transform-origin: bottom;
  border-radius: 0 0 4px 4px;
}

.iso-html-css .editor-side {
  position: absolute;
  width: 8px;
  height: 45px;
  background: linear-gradient(135deg, #3d8ce0 0%, #1fb4b4 100%);
  transform: rotateY(90deg) translateZ(60px);
  transform-origin: right;
  border-radius: 0 4px 0 0;
}

/* Code lines on top */
.iso-html-css .code-lines {
  position: absolute;
  top: 8px;
  left: 6px;
  right: 6px;
}

.iso-html-css .code-line {
  height: 3px;
  margin-bottom: 4px;
  border-radius: 1px;
  opacity: 0.8;
}

.iso-html-css .code-line:nth-child(1) { width: 70%; background: rgba(255,255,255,0.9); }
.iso-html-css .code-line:nth-child(2) { width: 50%; background: rgba(255,255,255,0.6); }
.iso-html-css .code-line:nth-child(3) { width: 80%; background: rgba(255,255,255,0.7); }
.iso-html-css .code-line:nth-child(4) { width: 40%; background: rgba(255,255,255,0.5); }

/* Floating brackets */
.iso-html-css .bracket {
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  color: var(--accent-primary);
  animation: float-bracket 3s ease-in-out infinite;
}

.iso-html-css .bracket-left {
  top: 5px;
  right: 15px;
  animation-delay: 0s;
}

.iso-html-css .bracket-right {
  bottom: 15px;
  left: 5px;
  animation-delay: 1.5s;
}

@keyframes float-bracket {
  0%, 100% { transform: translateY(0) rotateX(60deg) rotateZ(-45deg); opacity: 0.6; }
  50% { transform: translateY(-8px) rotateX(60deg) rotateZ(-45deg); opacity: 1; }
}

/* ==========================================================================
   JAVASCRIPT CARD ILLUSTRATION - Function Flow
   ========================================================================== */
.iso-js .function-box {
  width: 50px;
  height: 35px;
  position: absolute;
  top: 25px;
  left: 25px;
  transform-style: preserve-3d;
}

.iso-js .func-top {
  position: absolute;
  width: 50px;
  height: 35px;
  background: linear-gradient(135deg, #f7df1e 0%, #f0c000 100%);
  transform: rotateX(0deg) translateZ(10px);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iso-js .func-front {
  position: absolute;
  width: 50px;
  height: 10px;
  background: linear-gradient(135deg, #e0c800 0%, #d4a800 100%);
  transform: rotateX(-90deg) translateZ(35px);
  transform-origin: bottom;
  border-radius: 0 0 4px 4px;
}

.iso-js .func-side {
  position: absolute;
  width: 10px;
  height: 35px;
  background: linear-gradient(135deg, #d4b000 0%, #c09000 100%);
  transform: rotateY(90deg) translateZ(50px);
  transform-origin: right;
}

.iso-js .js-logo {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a2e;
  text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

/* Flow arrows */
.iso-js .flow-arrow {
  position: absolute;
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
  border-radius: 2px;
  animation: flow-pulse 2s ease-in-out infinite;
}

.iso-js .flow-arrow::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -3px;
  border: 4px solid transparent;
  border-left: 6px solid var(--accent-cyan);
}

.iso-js .arrow-1 {
  top: 55px;
  left: 40px;
  transform: rotateZ(0deg);
  animation-delay: 0s;
}

.iso-js .arrow-2 {
  top: 70px;
  left: 30px;
  transform: rotateZ(45deg);
  animation-delay: 0.6s;
}

.iso-js .arrow-3 {
  top: 65px;
  left: 55px;
  transform: rotateZ(-30deg);
  animation-delay: 1.2s;
}

@keyframes flow-pulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* ==========================================================================
   GRAPHICS CARD ILLUSTRATION - Color Palette
   ========================================================================== */
.iso-graphics .color-palette {
  position: absolute;
  top: 30px;
  left: 20px;
  transform-style: preserve-3d;
}

.iso-graphics .palette-base {
  width: 50px;
  height: 30px;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  transform: rotateX(0deg) translateZ(5px);
  border-radius: 4px;
  position: relative;
}

.iso-graphics .palette-front {
  position: absolute;
  width: 50px;
  height: 5px;
  background: linear-gradient(135deg, #7c4ce0 0%, #dd3a8a 100%);
  transform: rotateX(-90deg) translateZ(30px);
  transform-origin: bottom;
  border-radius: 0 0 4px 4px;
  top: 30px;
}

/* Color drops */
.iso-graphics .color-drop {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  animation: drop-bounce 2s ease-in-out infinite;
}

.iso-graphics .drop-1 {
  background: linear-gradient(135deg, #58a6ff, #39d0d8);
  top: 15px;
  right: 20px;
  animation-delay: 0s;
}

.iso-graphics .drop-2 {
  background: linear-gradient(135deg, #3fb950, #39d0d8);
  top: 35px;
  right: 5px;
  animation-delay: 0.4s;
}

.iso-graphics .drop-3 {
  background: linear-gradient(135deg, #f7df1e, #f59e0b);
  top: 50px;
  right: 25px;
  animation-delay: 0.8s;
}

@keyframes drop-bounce {
  0%, 100% { transform: rotate(-45deg) translateY(0) scale(1); }
  50% { transform: rotate(-45deg) translateY(-5px) scale(1.1); }
}

/* ==========================================================================
   AUDIO CARD ILLUSTRATION - Sound Waves
   ========================================================================== */
.iso-audio .wave-container {
  position: absolute;
  top: 35px;
  left: 25px;
  width: 60px;
  height: 40px;
  transform-style: preserve-3d;
}

.iso-audio .speaker {
  width: 25px;
  height: 20px;
  background: linear-gradient(135deg, #3fb950 0%, #39d0d8 100%);
  position: relative;
  border-radius: 3px;
  transform: rotateX(0deg) translateZ(8px);
}

.iso-audio .speaker::before {
  content: '';
  position: absolute;
  right: -12px;
  top: -5px;
  border: 10px solid transparent;
  border-left: 15px solid #3fb950;
}

/* Sound wave bars */
.iso-audio .wave-bar {
  position: absolute;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-cyan));
  border-radius: 2px;
  animation: wave-dance 1s ease-in-out infinite;
}

.iso-audio .wave-bar:nth-child(2) {
  height: 15px;
  left: 35px;
  top: 10px;
  animation-delay: 0.1s;
}

.iso-audio .wave-bar:nth-child(3) {
  height: 25px;
  left: 42px;
  top: 5px;
  animation-delay: 0.2s;
}

.iso-audio .wave-bar:nth-child(4) {
  height: 18px;
  left: 49px;
  top: 8px;
  animation-delay: 0.3s;
}

.iso-audio .wave-bar:nth-child(5) {
  height: 22px;
  left: 56px;
  top: 6px;
  animation-delay: 0.15s;
}

@keyframes wave-dance {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Floating notes */
.iso-audio .note {
  position: absolute;
  font-size: 16px;
  animation: note-float 3s ease-in-out infinite;
  opacity: 0.8;
}

.iso-audio .note-1 {
  top: 10px;
  right: 20px;
  animation-delay: 0s;
  color: var(--accent-primary);
}

.iso-audio .note-2 {
  bottom: 20px;
  left: 10px;
  animation-delay: 1s;
  color: var(--accent-cyan);
}

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

/* ==========================================================================
   KI/AI CARD ILLUSTRATION - Neural Network
   ========================================================================== */
.iso-ki .neural-net {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 70px;
  height: 60px;
  transform-style: preserve-3d;
}

/* Brain hub */
.iso-ki .brain-hub {
  position: absolute;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle at 30% 30%, var(--accent-violet), var(--accent-pink));
  border-radius: 50%;
  top: 20px;
  left: 25px;
  box-shadow: 
    0 0 20px var(--accent-violet-glow),
    inset 0 0 10px rgba(255,255,255,0.2);
  animation: brain-pulse 2s ease-in-out infinite;
}

@keyframes brain-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--accent-violet-glow); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px var(--accent-violet-glow), 0 0 50px var(--accent-pink-glow); }
}

/* Network nodes */
.iso-ki .node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: node-glow 1.5s ease-in-out infinite;
}

.iso-ki .node-1 { top: 5px; left: 10px; animation-delay: 0s; }
.iso-ki .node-2 { top: 0; left: 40px; animation-delay: 0.2s; }
.iso-ki .node-3 { top: 8px; right: 10px; animation-delay: 0.4s; }
.iso-ki .node-4 { bottom: 10px; left: 5px; animation-delay: 0.6s; }
.iso-ki .node-5 { bottom: 5px; right: 15px; animation-delay: 0.8s; }

@keyframes node-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Connection lines */
.iso-ki .connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), transparent);
  opacity: 0.5;
  animation: connection-flow 2s ease-in-out infinite;
}

.iso-ki .conn-1 {
  width: 25px;
  top: 30px;
  left: 15px;
  transform: rotate(-20deg);
  animation-delay: 0s;
}

.iso-ki .conn-2 {
  width: 20px;
  top: 25px;
  right: 15px;
  transform: rotate(20deg);
  animation-delay: 0.3s;
}

.iso-ki .conn-3 {
  width: 30px;
  bottom: 25px;
  left: 20px;
  transform: rotate(10deg);
  animation-delay: 0.6s;
}

@keyframes connection-flow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* ==========================================================================
   CARD TYPE VARIATIONS - Color Themes
   ========================================================================== */

/* Classic Mode Cards */
.tutorial-card[data-mode="classic"] .card-visual::before {
  background: linear-gradient(135deg, #58a6ff, #39d0d8);
}

/* Modern Mode Cards */
.tutorial-card[data-mode="modern"] .card-visual::before {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

/* Graphics Cards */
.tutorial-card[data-category="graphics"] .card-visual::before {
  background: linear-gradient(135deg, #f59e0b, #ec4899);
}

/* Audio Cards */
.tutorial-card[data-category="audio"] .card-visual::before {
  background: linear-gradient(135deg, #3fb950, #39d0d8);
}

/* ==========================================================================
   CARD BADGES & LABELS
   ========================================================================== */
.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: badge-dot-pulse 2s ease-in-out infinite;
}

@keyframes badge-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ==========================================================================
   HOVER ENHANCEMENTS
   ========================================================================== */
.tutorial-card:hover .iso-scene {
  animation: iso-bounce 0.5s ease-out;
}

@keyframes iso-bounce {
  0% { transform: rotateX(60deg) rotateZ(-45deg) scale(1); }
  50% { transform: rotateX(55deg) rotateZ(-40deg) scale(1.15); }
  100% { transform: rotateX(55deg) rotateZ(-40deg) scale(1.1); }
}

/* ==========================================================================
   GRID SYSTEM - For Card Layouts
   ========================================================================== */

/* Base Grid Container */
.grid {
  display: grid;
  gap: 24px;
}

/* 2 Column Grid */
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 3 Column Grid */
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 4 Column Grid */
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Grid items fill height */
.grid > * {
  height: 100%;
}

/* Charter cards in grid */
.grid .charter-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.grid .charter-card h4 {
  margin-top: 0;
}

.grid .charter-card p {
  flex-grow: 1;
  margin-bottom: 0;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Grid items as links */
.grid a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}


/* ==========================================================================
   LEGAL PAGES - PREMIUM CARD STYLES
   ========================================================================== */

/* Legal Grid Layout */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

/* Legal Cards */
.legal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.legal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 32px rgba(88, 166, 255, 0.1);
}

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

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card-highlight {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

.legal-card-highlight::before {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  opacity: 1;
}

.legal-card-highlight:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15);
}

/* Legal Card Header */
.legal-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.legal-card-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* Legal Icons */
.legal-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-cyan) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-icon i {
  font-size: 24px;
  color: white;
}

.legal-icon-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.legal-icon-success {
  background: linear-gradient(135deg, #3fb950 0%, #39d0d8 100%);
}

/* Legal Card Content */
.legal-card-content {
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-card-content p {
  margin-bottom: 12px;
}

.legal-card-content p:last-child {
  margin-bottom: 0;
}

.legal-card-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-card-content h3:first-child {
  margin-top: 0;
}

/* Organization Info */
.org-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.org-address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Legal Lists */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.legal-list li i {
  color: var(--accent-primary);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-list-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (max-width: 600px) {
  .legal-list-2col {
    grid-template-columns: 1fr;
  }
}

/* Legal Info Boxes */
.legal-info-box {
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
}

.legal-info-box p {
  margin-bottom: 8px;
}

.legal-info-box p:last-child {
  margin-bottom: 0;
}

/* Legal Highlight Boxes */
.legal-highlight-box {
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 16px 0;
}

.legal-highlight-box p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.legal-highlight-box p:last-child {
  margin-bottom: 0;
}

.legal-highlight-box i {
  color: #3fb950;
  font-size: 20px;
}

.legal-highlight-success {
  background: rgba(63, 185, 80, 0.1);
  border-color: rgba(63, 185, 80, 0.2);
}

/* Legal Links */
.legal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.legal-link:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* Legal Note */
.legal-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Legal Rights Grid */
.legal-rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.legal-right-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.legal-right-item:hover {
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.legal-right-item i {
  font-size: 24px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.legal-right-item span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .legal-rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .legal-rights-grid {
    grid-template-columns: 1fr;
  }
}

/* License Sections */
.license-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-secondary);
}

.license-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.license-name {
  font-weight: 600;
  color: var(--accent-primary);
  margin: 12px 0;
}

/* Hero Small Variant */
.hero-small {
  min-height: 40vh;
  padding: 120px 24px 60px;
}

.hero-small .hero-content {
  max-width: 800px;
}

.hero-small h1 {
  font-size: clamp(36px, 6vw, 56px);
}

.hero-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Light Theme Adjustments */
.light-theme .legal-card {
  background: var(--bg-secondary);
  border-color: var(--border-primary);
}

.light-theme .legal-info-box {
  background: rgba(88, 166, 255, 0.05);
}

.light-theme .legal-right-item {
  background: rgba(0, 0, 0, 0.03);
}

.light-theme .legal-right-item:hover {
  background: rgba(0, 0, 0, 0.05);
}
