/* 
 * Creator Commons - Modern Floating Design
 * Removes heavy borders and creates a contemporary, modular aesthetic
 */

/* Remove heavy borders from cards and terminals */
.creator-commons-modern .card,
.creator-commons-modern .data-terminal {
  border: none;
  background: rgba(21, 25, 43, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(76, 201, 240, 0.05);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.creator-commons-modern .card:hover,
.creator-commons-modern .data-terminal:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.6),
    0 4px 16px rgba(76, 201, 240, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: none;
}

/* Remove corner markers */
.creator-commons-modern .card::before,
.creator-commons-modern .card::after {
  display: none;
}

/* Terminal headers - subtle gradient instead of border */
.creator-commons-modern .terminal-header {
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.3), rgba(76, 201, 240, 0.1));
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 1rem 1.5rem;
}

/* Floating section containers */
.creator-commons-modern .section {
  border-bottom: none;
  position: relative;
}

/* Alternating section backgrounds for visual variety */
.creator-commons-modern .section:nth-child(even) {
  background: linear-gradient(180deg, transparent 0%, rgba(11, 61, 145, 0.03) 50%, transparent 100%);
}

.creator-commons-modern .section:nth-child(odd) {
  background: linear-gradient(180deg, transparent 0%, rgba(76, 201, 240, 0.02) 50%, transparent 100%);
}

/* Hero section - modern gradient overlay */
.creator-commons-modern .creator-commons-hero {
  background: radial-gradient(ellipse at top, rgba(11, 61, 145, 0.15), transparent 70%);
  border-bottom: none;
}

/* Answer block - floating card style */
.creator-commons-modern .answer-block {
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.25), rgba(76, 201, 240, 0.15));
  border-left: none;
  border-radius: 12px;
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.creator-commons-modern .answer-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-accent-cyan), var(--color-nasa-blue));
  box-shadow: 0 0 12px rgba(76, 201, 240, 0.5);
}

/* Page meta - clean card style */
.creator-commons-modern .page-meta {
  background: rgba(21, 25, 43, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.creator-commons-modern .page-meta-item {
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border-left: 2px solid var(--color-accent-cyan);
}

/* Mission badge - floating pill */
.creator-commons-modern .mission-badge {
  background: rgba(76, 201, 240, 0.15);
  border: none;
  border-radius: 24px;
  box-shadow: 
    0 4px 16px rgba(76, 201, 240, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: inline-flex;
}

/* Data rows - remove borders, add subtle separators */
.creator-commons-modern .data-row {
  border-bottom: none;
  padding: 1.25rem 0;
  position: relative;
}

.creator-commons-modern .data-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.2), transparent);
}

.creator-commons-modern .data-row:last-child::after {
  display: none;
}

/* Spec tables - modern styling */
.creator-commons-modern .spec-table {
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.creator-commons-modern .spec-table th,
.creator-commons-modern .spec-table td {
  border-bottom: none;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem 1.5rem;
}

.creator-commons-modern .spec-table th {
  background: rgba(11, 61, 145, 0.3);
  border-radius: 6px 6px 0 0;
}

.creator-commons-modern .spec-table tr:last-child td {
  border-radius: 0 0 6px 6px;
}

/* FAQ items - floating cards with variety */
.creator-commons-modern .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.creator-commons-modern .faq-item {
  background: rgba(21, 25, 43, 0.5);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.creator-commons-modern .faq-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(76, 201, 240, 0.1);
}

.creator-commons-modern .faq-item h3 {
  border-bottom: none;
  padding-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-nasa-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Directive cards - asymmetric layout */
.creator-commons-modern .directive-card {
  position: relative;
  overflow: hidden;
}

.creator-commons-modern .directive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-gold));
  opacity: 0.6;
}

.creator-commons-modern .directive-card:nth-child(odd) {
  transform: translateY(-10px);
}

.creator-commons-modern .directive-card:nth-child(even) {
  transform: translateY(10px);
}

.creator-commons-modern .directive-card:hover {
  transform: translateY(0) scale(1.03);
}

/* Card header badges - modern pills */
.creator-commons-modern .card-header-badge {
  border: none;
  background: linear-gradient(135deg, rgba(76, 201, 240, 0.2), rgba(11, 61, 145, 0.2));
  border-radius: 20px;
  padding: 0.4rem 1rem;
  box-shadow: 0 2px 8px rgba(76, 201, 240, 0.2);
}

/* Terminal status badges */
.creator-commons-modern .terminal-status {
  border: none;
  background: rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  padding: 0.3rem 0.8rem;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

/* Glossary items - clean separators */
.creator-commons-modern .glossary-item {
  border-bottom: none;
  padding: 1.5rem 0;
  position: relative;
}

.creator-commons-modern .glossary-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.3), transparent);
}

.creator-commons-modern .glossary-item:last-child::after {
  display: none;
}

/* Price display - modern emphasis */
.creator-commons-modern .price-display {
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.3), rgba(76, 201, 240, 0.2));
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Grid layouts - varied spacing */
.creator-commons-modern .grid {
  gap: 2.5rem;
}

/* Section titles - floating effect */
.creator-commons-modern .section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.creator-commons-modern .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-cyan), transparent);
  box-shadow: 0 0 12px rgba(76, 201, 240, 0.5);
}

/* Manifesto section - special treatment */
.creator-commons-modern #manifesto {
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.08), transparent 70%);
  position: relative;
  overflow: hidden;
}

.creator-commons-modern #manifesto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(11, 61, 145, 0.1), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(252, 61, 33, 0.1), transparent 40%);
  pointer-events: none;
}

.creator-commons-modern #manifesto .card {
  border: none;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(255, 215, 0, 0.1);
}

/* Pull quote style for emphasis blocks */
.creator-commons-modern .answer-block p strong,
.creator-commons-modern .data-terminal p strong {
  color: var(--color-accent-cyan);
  font-weight: 600;
  text-shadow: 0 0 20px rgba(76, 201, 240, 0.3);
}

/* Smooth scroll behavior */
.creator-commons-modern {
  scroll-behavior: smooth;
}

/* Subtle animations */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.creator-commons-modern .card,
.creator-commons-modern .data-terminal {
  animation: floatIn 0.6s ease-out backwards;
}

.creator-commons-modern .card:nth-child(1) { animation-delay: 0.1s; }
.creator-commons-modern .card:nth-child(2) { animation-delay: 0.2s; }
.creator-commons-modern .card:nth-child(3) { animation-delay: 0.3s; }
.creator-commons-modern .card:nth-child(4) { animation-delay: 0.4s; }
.creator-commons-modern .card:nth-child(5) { animation-delay: 0.5s; }
.creator-commons-modern .card:nth-child(6) { animation-delay: 0.6s; }

/* Offset content layouts for visual variety */
.creator-commons-modern #entity-profile .container {
  max-width: 900px;
  margin-left: auto;
  margin-right: 5%;
}

.creator-commons-modern #addon-services .container {
  max-width: 900px;
  margin-left: 5%;
  margin-right: auto;
}

.creator-commons-modern #philosophy .container {
  max-width: 1100px;
}

/* Stat block style for key numbers */
.creator-commons-modern .price-display {
  text-align: center;
  position: relative;
}

.creator-commons-modern .price-display::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.1), transparent 70%);
  pointer-events: none;
}

/* Callout boxes for important info */
.creator-commons-modern .spec-note {
  background: rgba(255, 215, 0, 0.1);
  border-left: 3px solid var(--color-accent-gold);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 2px 12px rgba(255, 215, 0, 0.1);
}

/* Timeline-style layout for glossary */
.creator-commons-modern .glossary-list {
  position: relative;
  padding-left: 2rem;
}

.creator-commons-modern .glossary-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    var(--color-accent-cyan),
    var(--color-nasa-blue),
    var(--color-accent-gold));
  opacity: 0.3;
}

.creator-commons-modern .glossary-item dt {
  position: relative;
}

.creator-commons-modern .glossary-item dt::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--color-accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(76, 201, 240, 0.6);
}

/* Feature list enhancements */
.creator-commons-modern .features-list {
  list-style: none;
  padding-left: 0;
}

.creator-commons-modern .features-list li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.creator-commons-modern .features-list li:hover {
  transform: translateX(8px);
  color: var(--color-accent-cyan);
}

.creator-commons-modern .features-list .check-icon {
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--color-accent-cyan);
  font-weight: bold;
}

/* Code blocks - modern styling */
.creator-commons-modern pre {
  background: rgba(0, 0, 0, 0.6) !important;
  border-radius: 8px;
  border-left: 3px solid var(--color-accent-cyan);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Links - modern hover effects */
.creator-commons-modern a:not(.btn) {
  position: relative;
  transition: all 0.3s ease;
}

.creator-commons-modern a:not(.btn):hover {
  text-shadow: 0 0 12px rgba(76, 201, 240, 0.5);
}

/* Buttons - enhanced styling */
.creator-commons-modern .btn {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.creator-commons-modern .btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(76, 201, 240, 0.3);
}

/* Status badges - modern glow */
.creator-commons-modern .status-badge {
  border: none;
  border-radius: 16px;
  padding: 0.4rem 1rem;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.15);
}

/* Hero subtitle - enhanced styling */
.creator-commons-modern .hero-subtitle {
  background: rgba(21, 25, 43, 0.5);
  backdrop-filter: blur(8px);
  border-left: none;
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.creator-commons-modern .hero-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-accent-gold), var(--color-accent-cyan));
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .creator-commons-modern .card,
  .creator-commons-modern .data-terminal {
    border-radius: 8px;
  }

  .creator-commons-modern .directive-card:nth-child(odd),
  .creator-commons-modern .directive-card:nth-child(even) {
    transform: none;
  }

  .creator-commons-modern .page-meta {
    grid-template-columns: 1fr;
  }

  .creator-commons-modern #entity-profile .container,
  .creator-commons-modern #addon-services .container {
    margin-left: auto;
    margin-right: auto;
  }

  .creator-commons-modern .glossary-list {
    padding-left: 1rem;
  }

  .creator-commons-modern .glossary-item dt::before {
    left: -1.5rem;
  }
}

/* Additional visual variety elements */

/* Asymmetric grid for service specs */
.creator-commons-modern #service-specs .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.creator-commons-modern #service-specs .card:first-child {
  transform: translateY(-20px);
}

.creator-commons-modern #service-specs .card:last-child {
  transform: translateY(20px);
}

@media (max-width: 768px) {
  .creator-commons-modern #service-specs .card:first-child,
  .creator-commons-modern #service-specs .card:last-child {
    transform: none;
  }
}

/* Pull quote styling for manifesto */
.creator-commons-modern #manifesto blockquote,
.creator-commons-modern #manifesto .answer-block p[style*="italic"] {
  font-size: 1.15rem;
  line-height: 1.8;
  position: relative;
  padding-left: 2rem;
}

.creator-commons-modern #manifesto blockquote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: var(--color-accent-gold);
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* Gradient text for emphasis */
.creator-commons-modern h1 span,
.creator-commons-modern .section-title {
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism effect for certain cards */
.creator-commons-modern #contact-protocols .card,
.creator-commons-modern #build-your-own .card {
  background: rgba(21, 25, 43, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(76, 201, 240, 0.1);
}

/* Neumorphism touches for interactive elements */
.creator-commons-modern .btn-primary {
  background: linear-gradient(135deg, var(--color-nasa-blue), rgba(11, 61, 145, 0.8));
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.creator-commons-modern .btn-primary:hover {
  background: linear-gradient(135deg, rgba(11, 61, 145, 1), var(--color-nasa-blue));
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(76, 201, 240, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Staggered fade-in for grid items */
.creator-commons-modern .grid > * {
  animation: floatIn 0.6s ease-out backwards;
}

.creator-commons-modern .grid > *:nth-child(1) { animation-delay: 0.1s; }
.creator-commons-modern .grid > *:nth-child(2) { animation-delay: 0.2s; }
.creator-commons-modern .grid > *:nth-child(3) { animation-delay: 0.3s; }
.creator-commons-modern .grid > *:nth-child(4) { animation-delay: 0.4s; }

/* Subtle hover glow for data rows */
.creator-commons-modern .data-row:hover {
  background: rgba(76, 201, 240, 0.03);
  padding-left: 1rem;
  margin-left: -1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Enhanced table styling */
.creator-commons-modern .spec-table tbody tr {
  transition: all 0.3s ease;
}

.creator-commons-modern .spec-table tbody tr:hover {
  background: rgba(76, 201, 240, 0.08) !important;
  transform: scale(1.01);
}

/* Section dividers - subtle and modern */
.creator-commons-modern .section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.2), transparent);
}

.creator-commons-modern .section:last-of-type::after {
  display: none;
}

/* Floating particles effect (subtle) */
.creator-commons-modern .creator-commons-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(76, 201, 240, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(11, 61, 145, 0.1) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 200px 200px;
  pointer-events: none;
  opacity: 0.5;
}

/* Content width variations for visual interest */
.creator-commons-modern #knowledge-base .container {
  max-width: 1200px;
}

.creator-commons-modern #glossary .container {
  max-width: 900px;
}

/* Special styling for implementation guide */
.creator-commons-modern #build-your-own h3 {
  color: var(--color-accent-cyan);
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent-cyan);
}

.creator-commons-modern #build-your-own ul {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Smooth transitions for all interactive elements */
.creator-commons-modern * {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .creator-commons-modern *,
  .creator-commons-modern *::before,
  .creator-commons-modern *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

