/* 3D SYSTEMS PAGE STYLES - All classes prefixed with 'threed-' */
.threed-main {
  padding-top: 70px;
  min-height: 100vh;
  background: var(--dark);
}

/* Header Section */
.threed-header-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
}

.threed-header-content {
  flex: 1;
  padding: 0 5%;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.threed-header-title {
  font-size: clamp(48px, 8vw, 72px);
  margin-bottom: 30px;
  color: var(--text);
  line-height: 1.2;
}

.threed-header-title span {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.threed-header-title span::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255,107,53,0.2);
  z-index: -1;
}

.threed-header-subtitle {
  color: var(--light);
  font-size: 20px;
  line-height: 1.7;
  max-width: 600px;
}

.threed-header-visual {
  flex: 1;
  height: 80vh;
  position: relative;
}

#threedCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Capabilities Section */
.threed-capabilities-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.threed-capabilities-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.threed-capabilities-title span {
  color: var(--orange);
}

.threed-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.threed-capability-card {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.threed-capability-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.capability-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.capability-name {
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 10px;
}

.capability-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.6;
}

/* Interactive Demo Section */
.threed-demo-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.threed-demo-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--text);
}

.threed-demo-title span {
  color: var(--orange);
}

.threed-demo-subtitle {
  text-align: center;
  color: var(--light);
  font-size: 18px;
  margin-bottom: 40px;
}

.threed-demo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

.threed-viewer {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,107,53,0.2);
}

#demoCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.threed-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(0,0,0,0.7);
  padding: 10px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,107,53,0.3);
}

.threed-control-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--orange);
  border-radius: 30px;
  color: var(--orange);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
}

.threed-control-btn:hover {
  background: var(--orange);
  color: white;
}

.threed-info-panel {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 25px;
}

.info-panel-title {
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,107,53,0.2);
}

.info-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.info-stat {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.info-label {
  display: block;
  color: var(--light);
  font-size: 11px;
  margin-bottom: 5px;
}

.info-value {
  color: var(--orange);
  font-size: 16px;
  font-weight: 600;
}

.info-controls h4 {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 10px;
}

.material-options {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}

.material-option {
  flex: 1;
  padding: 10px;
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 8px;
  color: var(--light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.material-option:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.material-option.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

.export-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 2px solid var(--orange);
  border-radius: 10px;
  color: var(--orange);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.export-btn:hover {
  background: var(--orange);
  color: white;
}

/* Technologies Section */
.threed-tech-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.threed-tech-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.threed-tech-title span {
  color: var(--orange);
}

.threed-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.threed-tech-item {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.threed-tech-item:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.tech-logo {
  font-size: 36px;
  margin-bottom: 15px;
}

.threed-tech-item h4 {
  color: var(--orange);
  font-size: 16px;
  margin-bottom: 8px;
}

.threed-tech-item p {
  color: var(--light);
  font-size: 12px;
  line-height: 1.5;
}

/* Applications Section */
.threed-apps-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.threed-apps-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.threed-apps-title span {
  color: var(--orange);
}

.threed-apps-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.threed-app-card {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.threed-app-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
}

.app-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.app-name {
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 15px;
}

.app-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.app-features {
  list-style: none;
  padding: 0;
}

.app-features li {
  color: var(--text);
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

/* Case Studies */
.threed-case-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.threed-case-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.threed-case-title span {
  color: var(--orange);
}

.threed-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.threed-case-card {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.threed-case-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.threed-case-preview {
  height: 200px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  position: relative;
  overflow: hidden;
}

.preview-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.threed-case-content {
  padding: 25px;
}

.threed-case-name {
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 10px;
}

.threed-case-desc {
  color: var(--light);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.threed-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.threed-case-tags span {
  padding: 4px 10px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  font-size: 10px;
  color: var(--light);
}

.threed-case-link {
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Process Section */
.threed-process-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.threed-process-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.threed-process-title span {
  color: var(--orange);
}

.threed-process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.threed-process-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--orange), transparent);
}

.threed-process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  position: relative;
}

.process-marker {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 2;
}

.process-content {
  flex: 1;
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  padding: 20px;
}

.process-content h3 {
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 8px;
}

.process-content p {
  color: var(--light);
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ */
.threed-faq-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.threed-faq-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.threed-faq-title span {
  color: var(--orange);
}

.threed-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.threed-faq-item {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  overflow: hidden;
}

.threed-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.threed-faq-question:hover {
  background: rgba(255,107,53,0.05);
}

.threed-faq-icon {
  color: var(--orange);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.threed-faq-item.active .threed-faq-icon {
  transform: rotate(45deg);
}

.threed-faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--light);
  line-height: 1.7;
  font-size: 14px;
}

.threed-faq-item.active .threed-faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

/* CTA Section */
.threed-cta-section {
  background: linear-gradient(135deg, var(--orange), #ff8c5a);
  padding: 80px 20px;
  text-align: center;
}

.threed-cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.threed-cta-title {
  color: white;
  font-size: 42px;
  margin-bottom: 20px;
}

.threed-cta-title span {
  color: rgba(255,255,255,0.9);
}

.threed-cta-text {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.threed-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.threed-cta-btn {
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.threed-cta-btn.primary {
  background: white;
  color: var(--orange);
}

.threed-cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.threed-cta-btn.secondary {
  border: 2px solid white;
  color: white;
}

.threed-cta-btn.secondary:hover {
  background: white;
  color: var(--orange);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .threed-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .threed-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .threed-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .threed-header-section {
    flex-direction: column;
    min-height: auto;
  }
  
  .threed-header-content {
    padding: 60px 20px 40px;
    text-align: center;
  }
  
  .threed-header-visual {
    width: 100%;
    height: 400px;
  }
  
  .threed-demo-container {
    grid-template-columns: 1fr;
  }
  
  .threed-apps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .threed-capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .threed-tech-grid {
    grid-template-columns: 1fr;
  }
  
  .threed-case-grid {
    grid-template-columns: 1fr;
  }
  
  .threed-cta-buttons {
    flex-direction: column;
  }
  
  .threed-controls {
    flex-wrap: wrap;
    width: 90%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .threed-header-title {
    font-size: 36px;
  }
  
  .threed-header-subtitle {
    font-size: 16px;
  }
  
  .threed-capabilities-title {
    font-size: 32px;
  }
  
  .info-stats {
    grid-template-columns: 1fr;
  }
  
  .material-options {
    flex-direction: column;
  }
}