/* CUSTOM SOFTWARE PAGE STYLES - All classes prefixed with 'custom-' */
.custom-main {
  padding-top: 70px;
  min-height: 100vh;
  background: var(--dark);
}

/* Header Section */
.custom-header-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
}

.custom-header-content {
  flex: 1;
  padding: 0 5%;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.custom-header-title {
  font-size: clamp(48px, 8vw, 72px);
  margin-bottom: 30px;
  color: var(--text);
  line-height: 1.2;
}

.custom-header-title span {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.custom-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;
}

.custom-header-subtitle {
  color: var(--light);
  font-size: 20px;
  line-height: 1.7;
  max-width: 600px;
}

.custom-header-visual {
  flex: 1;
  height: 80vh;
  position: relative;
}

#headerCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Overview Section */
.custom-overview-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.custom-overview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.custom-overview-title {
  font-size: 42px;
  margin-bottom: 25px;
  color: var(--text);
}

.custom-overview-title span {
  color: var(--orange);
}

.custom-overview-text {
  color: var(--light);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.custom-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.custom-stat {
  text-align: center;
}

.custom-stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 5px;
}

.custom-stat-label {
  color: var(--light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Code Window */
.custom-code-window {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,107,53,0.2);
}

.code-header {
  background: #2a2a2a;
  padding: 12px 15px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255,107,53,0.2);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-content {
  padding: 20px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 14px;
  line-height: 1.6;
}

.code-line {
  display: block;
  color: #e6e6e6;
}

.code-keyword { color: #ff6b35; }
.code-class { color: #4ecdc4; }
.code-function { color: #ffe66d; }
.code-variable { color: #6c5ce7; }
.code-string { color: #00cc88; }

/* Types Grid */
.custom-types-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);
}

.custom-types-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.custom-types-title span {
  color: var(--orange);
}

.custom-types-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.custom-type-card {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.custom-type-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.custom-type-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.custom-type-name {
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 15px;
}

.custom-type-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.custom-type-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.custom-type-features li {
  color: var(--text);
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.custom-type-link {
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Process Timeline */
.custom-process-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.custom-process-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
  color: var(--text);
}

.custom-process-title span {
  color: var(--orange);
}

.custom-process-timeline {
  position: relative;
}

.custom-process-timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--orange), transparent);
}

.custom-process-step {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.custom-step-number {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(255,107,53,0.3);
}

.custom-step-content {
  flex: 1;
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 25px;
}

.custom-step-title {
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 10px;
}

.custom-step-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.custom-step-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-step-details span {
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--light);
}

/* Case Studies */
.custom-case-studies {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.custom-case-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.custom-case-title span {
  color: var(--orange);
}

.custom-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.custom-case-card {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-case-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.custom-case-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-case-icon {
  font-size: 48px;
}

.custom-case-content {
  padding: 25px;
}

.custom-case-name {
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 5px;
}

.custom-case-industry {
  color: var(--light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.custom-case-description {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.custom-case-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255,107,53,0.05);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 10px;
}

.custom-result {
  text-align: center;
}

.custom-result-number {
  display: block;
  color: var(--orange);
  font-size: 24px;
  font-weight: 700;
}

.custom-result-label {
  color: var(--light);
  font-size: 11px;
}

.custom-case-link {
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Technologies */
.custom-tech-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);
}

.custom-tech-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.custom-tech-title span {
  color: var(--orange);
}

.custom-tech-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.custom-tech-category {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 25px;
}

.custom-tech-category-title {
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,107,53,0.2);
}

.custom-tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-tech-item {
  padding: 6px 12px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  color: var(--text);
  font-size: 12px;
}

/* FAQ */
.custom-faq-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.custom-faq-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.custom-faq-title span {
  color: var(--orange);
}

.custom-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.custom-faq-item {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  overflow: hidden;
}

.custom-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;
}

.custom-faq-question:hover {
  background: rgba(255,107,53,0.05);
}

.custom-faq-icon {
  color: var(--orange);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.custom-faq-item.active .custom-faq-icon {
  transform: rotate(45deg);
}

.custom-faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--light);
  line-height: 1.7;
  font-size: 14px;
}

.custom-faq-item.active .custom-faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Section */
.custom-cta-section {
  background: linear-gradient(135deg, var(--orange), #ff8c5a);
  padding: 80px 20px;
  text-align: center;
}

.custom-cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.custom-cta-title {
  color: white;
  font-size: 42px;
  margin-bottom: 20px;
}

.custom-cta-title span {
  color: rgba(255,255,255,0.9);
}

.custom-cta-text {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.custom-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.custom-cta-btn {
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-cta-btn.primary {
  background: white;
  color: var(--orange);
}

.custom-cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.custom-cta-btn.secondary {
  border: 2px solid white;
  color: white;
}

.custom-cta-btn.secondary:hover {
  background: white;
  color: var(--orange);
}

/* Responsive */
@media (max-width: 1200px) {
  .custom-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .custom-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .custom-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .custom-header-section {
    flex-direction: column;
    min-height: auto;
  }
  
  .custom-header-content {
    padding: 60px 20px 40px;
    text-align: center;
  }
  
  .custom-header-visual {
    width: 100%;
    height: 400px;
  }
  
  .custom-overview-container {
    grid-template-columns: 1fr;
  }
  
  .custom-process-timeline::before {
    left: 30px;
  }
  
  .custom-step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .custom-step-content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .custom-types-grid {
    grid-template-columns: 1fr;
  }
  
  .custom-case-grid {
    grid-template-columns: 1fr;
  }
  
  .custom-tech-grid {
    grid-template-columns: 1fr;
  }
  
  .custom-overview-stats {
    grid-template-columns: 1fr;
  }
  
  .custom-cta-buttons {
    flex-direction: column;
  }
  
  .custom-step-details {
    flex-direction: column;
  }
  
  .custom-step-details span {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .custom-header-title {
    font-size: 36px;
  }
  
  .custom-header-subtitle {
    font-size: 16px;
  }
  
  .custom-overview-title {
    font-size: 32px;
  }
  
  .custom-process-step {
    gap: 20px;
  }
  
  .custom-step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}