/* Template Content Sections Styles */
/* Universal styles for all content sections */

/* ==================== COMMON SECTION STYLES ==================== */
.template-overview-section,
.template-features-grid-section,
.template-category-section,
.template-tech-specs-section,
.template-use-cases-section,
.template-related-section {
  padding: 80px 0;
  position: relative;
}

.template-overview-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FE 100%);
  position: relative;
  overflow: hidden;
}

.template-overview-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.template-overview-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.template-features-grid-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FE 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.template-features-grid-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.template-category-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}

.template-tech-specs-section {
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

.template-use-cases-section {
  background: linear-gradient(180deg, #F8F9FE 0%, #FFFFFF 50%, #F8F9FE 100%);
  position: relative;
  overflow: hidden;
}

.template-use-cases-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.template-use-cases-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.template-related-section {
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

/* Section Badge - Matching Hero Universal Style */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--white);
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-badge i {
  color: var(--primary-color);
  font-size: 1.125rem;
}

.section-badge span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
}

.section-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
  border-color: var(--primary-color);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color) 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-header p,
.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 0.5rem;
}

.section-long-description {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* ==================== OVERVIEW SECTION ==================== */
/* Overview Grid Layout */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Overview Main Card (Left) */
.overview-main {
  display: flex;
  flex-direction: column;
}

.overview-card {
  background: #FFFFFF;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #EC4899 100%);
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.overview-card .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #EC4899 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.overview-card .card-icon i {
  font-size: 26px;
  color: #FFFFFF;
}

.overview-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.overview-card p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Overview Highlights Card (Right) */
.overview-highlights {
  display: flex;
  flex-direction: column;
}

.highlights-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FE 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.highlights-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.3);
}

.highlights-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.highlights-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.highlights-icon i {
  font-size: 22px;
  color: #FFFFFF;
}

.highlights-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 1.125rem;
  color: #1E293B;
  line-height: 1.6;
  padding: 0.875rem 1rem;
  background: #FFFFFF;
  border-radius: 12px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.highlights-list li:hover {
  border-left-color: var(--accent-color);
  background: #F8F9FE;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.highlights-list li span {
  flex: 1;
  font-weight: 500;
}

.ideal-for-list li i {
  font-size: 1.25rem;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ==================== FEATURES GRID ==================== */
/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

/* Feature Card */
.feature-card {
  background: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #EC4899 50%, #8B5CF6 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

/* Feature Icon Wrapper */
.feature-icon-wrapper {
  position: relative;
  width: fit-content;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #8B5CF6 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.feature-card:hover .feature-icon {
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.feature-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-glow {
  opacity: 1;
}

/* Feature Content */
.feature-content {
  flex: 1;
}

.feature-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-content h3 {
  background: linear-gradient(135deg, var(--primary-color) 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Feature Arrow */
.feature-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(10px, -10px);
  transition: all 0.3s ease;
}

.feature-arrow i {
  font-size: 16px;
  color: var(--primary-color);
}

.feature-card:hover .feature-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Features Count Badge */
.features-count {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.count-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, #EC4899 100%);
  padding: 1rem 2.5rem;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.count-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 50px rgba(99, 102, 241, 0.4);
}

.count-number {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.count-label {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================== CATEGORY SECTIONS ==================== */
/* Category Features Grid */
.category-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.category-feature-card {
  background: #FFFFFF;
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: 18px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #8B5CF6 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.category-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}

.category-feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #8B5CF6 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #FFFFFF;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.category-feature-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.625rem 0;
  line-height: 1.3;
}

.category-feature-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.category-feature-items {
  list-style: none;
  padding: 0;
  margin: 0.875rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-feature-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 1.125rem;
  color: #1E293B;
  line-height: 1.5;
  padding: 0.375rem 0;
}

.category-feature-items li i {
  color: var(--accent-color);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Benefits & Other Lists */
.category-benefits,
.category-integrations,
.impact-areas,
.project-types {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-radius: 18px;
  border: 2px solid rgba(99, 102, 241, 0.15);
  position: relative;
  overflow: hidden;
}

.category-benefits::before,
.category-integrations::before,
.impact-areas::before,
.project-types::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #8B5CF6 100%);
}

.category-benefits h3,
.category-integrations h3,
.impact-areas h3,
.project-types h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 1.25rem 0;
}

.category-benefits-list,
.integrations-list,
.impact-list,
.project-types-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.875rem;
}

.category-benefits-list li,
.integrations-list li,
.impact-list li,
.project-types-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.category-benefits-list li i,
.integrations-list li i,
.impact-list li i,
.project-types-list li i {
  font-size: 1.125rem;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Process Steps */
/* Process Steps Section */
.category-process {
  margin-top: 2.5rem;
}

.category-process h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.75rem;
  text-align: center;
}

.process-steps {
  display: grid;
  gap: 1.25rem;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #FFFFFF;
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color) 0%, #8B5CF6 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.process-step:hover::before {
  transform: scaleY(1);
}

.process-step:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #8B5CF6 100%);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.step-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.step-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

.step-timeline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 1.125rem;
  color: #6366F1;
  font-weight: 600;
  margin-top: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 20px;
}

.step-timeline i {
  font-size: 16px;
}

/* Penalties Section */
/* Penalties Section */
.category-penalties {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(220, 38, 38, 0.06) 100%);
  border-radius: 20px;
  border: 2px solid rgba(239, 68, 68, 0.15);
  position: relative;
  overflow: hidden;
}

.category-penalties::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #EF4444 0%, #DC2626 100%);
}

.penalties-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.penalties-header i {
  font-size: 32px;
  color: #EF4444;
}

.penalties-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #DC2626;
  margin: 0;
}

.penalties-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.real-cases {
  margin-top: 2rem;
}

.real-cases h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Case Cards */
.case-card {
  background: #FFFFFF;
  border: 2px solid rgba(239, 68, 68, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.08);
}

.case-card:hover {
  transform: translateX(4px);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.15);
}

.case-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #DC2626;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-title::before {
  content: '⚠️';
  font-size: 18px;
}

.case-violation {
  font-size: 1.125rem;
  color: #1E293B;
  line-height: 1.6;
  margin-bottom: 0.875rem;
}

.case-source a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.case-source a:hover {
  color: var(--primary-color);
}

/* Consequences */
.consequences {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.consequences h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #DC2626;
  margin-bottom: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.consequences h4::before {
  content: '⚡';
  font-size: 20px;
}

.consequences-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.consequences-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.125rem;
  color: #1E293B;
  line-height: 1.5;
  padding: 0.375rem 0;
}

.consequences-list li i {
  font-size: 18px;
  color: #EF4444;
  flex-shrink: 0;
  margin-top: 3px;
}

.category-reference {
  margin-top: 2rem;
}

/* Reference Box */
.category-reference {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
}

.category-reference i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.reference-content strong {
  font-size: 1rem;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.reference-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.reference-sections {
  font-size: 0.875rem !important;
  color: var(--text-light) !important;
  margin-top: 0.5rem !important;
}

/* ==================== TECH SPECS ==================== */
/* Tech Specs Grid */
.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* Tech Spec Card */
.tech-spec-card {
  background: #FFFFFF;
  border: 2px solid rgba(99, 102, 241, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tech-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #8B5CF6 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.tech-spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.1);
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(99, 102, 241, 0.02) 100%);
}

/* Spec Icon */
.spec-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.spec-icon i {
  font-size: 22px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.tech-spec-card:hover .spec-icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, #8B5CF6 100%);
  transform: rotate(-5deg) scale(1.1);
}

.tech-spec-card:hover .spec-icon i {
  color: #FFFFFF;
}

/* Spec Content */
.spec-content {
  flex: 1;
  min-width: 0;
}

.spec-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.spec-value {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  word-wrap: break-word;
}

/* ==================== USE CASES ==================== */
/* Use Cases Grid */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

/* Use Case Card */
.use-case-card {
  background: #FFFFFF;
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  opacity: 0;
  animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.use-case-card:hover::before {
  opacity: 1;
}

.use-case-card:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 25px 60px rgba(99, 102, 241, 0.2);
}

/* Use Case Number */
.use-case-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.08);
  line-height: 1;
  transition: all 0.3s ease;
}

.use-case-card:hover .use-case-number {
  color: rgba(99, 102, 241, 0.15);
  transform: scale(1.1);
}

/* Use Case Icon Wrapper */
.use-case-icon-wrapper {
  position: relative;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.use-case-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.use-case-card:hover .use-case-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.icon-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: 2px solid rgba(236, 72, 153, 0.2);
  border-radius: 20px;
  z-index: 1;
  transition: all 0.4s ease;
}

.use-case-card:hover .icon-ring {
  width: 80px;
  height: 80px;
  border-color: rgba(236, 72, 153, 0.4);
  transform: translate(-50%, -50%) rotate(10deg);
}

/* Use Case Content */
.use-case-content {
  position: relative;
  z-index: 2;
}

.use-case-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.use-case-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Benefits Wrapper */
.benefits-wrapper {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(99, 102, 241, 0.1);
  z-index: 1;
}

.benefits-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Benefits Header */
.benefits-header {
  text-align: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
}

.benefits-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.benefits-icon i {
  font-size: 32px;
  color: #FFFFFF;
}

.benefits-header h3 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.375rem 0;
}

.benefits-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: #FFFFFF;
  padding: 1.125rem;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInScale 0.5s ease forwards;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.benefit-item:hover {
  transform: translateX(8px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(99, 102, 241, 0.02) 100%);
}

.benefit-check {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.benefit-check i {
  font-size: 16px;
  color: #FFFFFF;
}

.benefit-item span {
  flex: 1;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.5;
}

/* ==================== RELATED TEMPLATES ==================== */
/* Related Templates Grid */
.related-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Related Template Card - Matching Template Sample Style */
.related-template-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.related-template-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.related-template-card:hover::before {
  opacity: 1;
}

.related-template-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Card Icon */
.related-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #8B5CF6 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  position: relative;
  z-index: 1;
}

.related-template-card:hover .related-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
}

/* Card Content */
.related-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.related-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.related-template-card:hover .related-card-content h3 {
  color: var(--accent-color);
}

.related-card-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

/* Card Meta */
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.style-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.style-badge i {
  font-size: 16px;
}

.related-template-card:hover .style-badge {
  background: var(--accent-color);
  color: #FFFFFF;
}

/* Card Arrow */
.card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(8px, -8px);
  transition: all 0.3s ease;
  z-index: 1;
}

.card-arrow i {
  font-size: 18px;
  color: var(--accent-color);
}

.related-template-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* View All Button */
.view-all-templates {
  text-align: center;
  margin-top: 2rem;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #8B5CF6 100%);
  color: #FFFFFF;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-view-all i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.btn-view-all:hover i:last-child {
  transform: translateX(4px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .template-overview-section,
  .template-features-grid-section,
  .template-category-section,
  .template-tech-specs-section,
  .template-use-cases-section,
  .template-related-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  /* Overview Grid Responsive */
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .overview-card,
  .highlights-card {
    padding: 1.75rem;
  }

  .overview-card h3,
  .highlights-header h3 {
    font-size: 1.5rem;
  }

  .overview-card p,
  .highlights-list li {
    font-size: 1.125rem;
  }

  .overview-card .card-icon {
    width: 50px;
    height: 50px;
  }

  .overview-card .card-icon i {
    font-size: 24px;
  }

  .highlights-icon {
    width: 44px;
    height: 44px;
  }

  .highlights-icon i {
    font-size: 20px;
  }

  .features-grid,
  .category-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .category-feature-card {
    padding: 1.5rem;
  }

  .category-feature-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .category-feature-content h3 {
    font-size: 1.125rem;
  }

  .category-feature-content p,
  .category-feature-items li {
    font-size: 1.125rem;
  }

  .category-penalties {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .case-card {
    padding: 1.25rem;
  }

  .case-title {
    font-size: 1.125rem;
  }

  .case-violation,
  .consequences-list li {
    font-size: 1.125rem;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .use-case-card {
    padding: 2rem;
  }

  .use-case-number {
    font-size: 3rem;
    top: 1rem;
    right: 1.5rem;
  }

  .use-case-icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .icon-ring {
    width: 80px;
    height: 80px;
  }

  .use-case-content h3 {
    font-size: 1.25rem;
  }

  .use-case-content p {
    font-size: 1.125rem;
  }

  .benefits-wrapper {
    padding: 2rem;
  }

  .benefits-icon {
    width: 70px;
    height: 70px;
  }

  .benefits-icon i {
    font-size: 36px;
  }

  .benefits-header h3 {
    font-size: 1.75rem;
  }

  .benefits-header p {
    font-size: 1.125rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .benefit-item {
    padding: 1.25rem;
  }

  .benefit-item span {
    font-size: 1.125rem;
  }

  .related-templates-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

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

  .related-card-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .related-card-content h3 {
    font-size: 1.125rem;
  }

  .related-card-content p {
    font-size: 1.125rem;
  }

  .style-badge {
    font-size: 1.125rem;
    padding: 0.5rem 0.875rem;
  }

  .btn-view-all {
    font-size: 1.125rem;
    padding: 0.875rem 1.75rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .feature-content h3 {
    font-size: 1.25rem;
  }

  .feature-content p {
    font-size: 1.125rem;
  }

  .count-badge {
    padding: 1.25rem 2rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .count-number {
    font-size: 2rem;
  }

  .count-label {
    font-size: 1rem;
  }

  .tech-specs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .tech-spec-card {
    padding: 1.25rem;
    gap: 0.875rem;
  }

  .spec-icon {
    width: 40px;
    height: 40px;
  }

  .spec-icon i {
    font-size: 20px;
  }

  .spec-label,
  .spec-value {
    font-size: 1.125rem;
  }

  .benefits-list,
  .category-benefits-list,
  .integrations-list {
    grid-template-columns: 1fr;
  }

  .category-process {
    margin-top: 2rem;
  }

  .process-steps {
    gap: 1rem;
  }

  .process-step {
    flex-direction: row;
    padding: 1.25rem;
    gap: 1rem;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }

  .step-content h4 {
    font-size: 1.125rem;
  }

  .step-content p,
  .step-timeline {
    font-size: 1.125rem;
  }
}

