/**
 * ELIO SOLAR - COMPLETE SOLUTION SHOWCASE
 * Visual showcase of complete solar system components
 * Version: 1.0
 */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */

:root {
  /* Section */
  --solution-padding: 80px;
  --solution-padding-mobile: 60px;
  --solution-bg: white;
  --solution-max-width: 1400px;

  /* Components */
  --component-card-bg: #f8fafc;
  --component-card-hover-bg: white;
  --component-card-border: #e5e7eb;
  --component-card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --component-card-radius: 20px;
  --component-card-padding: 32px;

  /* Image showcase */
  --showcase-image-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --showcase-image-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ============================================
   SOLUTION CONTAINER
   ============================================ */

.solution-showcase {
  background: var(--solution-bg);
  padding: var(--solution-padding) 32px;
  position: relative;
  overflow: hidden;
}

.solution-container {
  max-width: var(--solution-max-width);
  margin: 0 auto;
}

/* ============================================
   SECTION HEADER
   ============================================ */

.solution-header {
  text-align: center;
  margin-bottom: 64px;
}

.solution-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.solution-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.solution-subtitle {
  font-size: 18px;
  color: #64748b;
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   MAIN SHOWCASE AREA
   ============================================ */

.solution-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

/* Image Side */
.solution-image-wrapper {
  position: relative;
  padding: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 24px;
  box-shadow: var(--showcase-image-shadow);
}

.solution-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--showcase-image-gradient);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.1;
}

.solution-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Content Side */
.solution-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.solution-content-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin: 0;
}

.solution-content-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

.solution-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #10b981;
  transition: all 0.3s ease;
}

.solution-highlight:hover {
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.solution-highlight-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 8px;
}

.solution-highlight-text {
  flex: 1;
}

.solution-highlight-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.solution-highlight-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   COMPONENTS GRID
   ============================================ */

.solution-components {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-component {
  background: var(--component-card-bg);
  border: 2px solid var(--component-card-border);
  border-radius: var(--component-card-radius);
  padding: var(--component-card-padding);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.solution-component::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.solution-component:hover {
  background: var(--component-card-hover-bg);
  border-color: #3b82f6;
  box-shadow: var(--component-card-shadow);
  transform: translateY(-8px);
}

.solution-component:hover::before {
  transform: scaleX(1);
}

.solution-component-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.solution-component:hover .solution-component-icon {
  transform: scale(1.15) rotate(5deg);
}

.solution-component-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px 0;
}

.solution-component-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   PRICING TEASER (Optional)
   ============================================ */

.solution-pricing {
  margin-top: 64px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}

.solution-pricing::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.solution-pricing-content {
  position: relative;
  z-index: 1;
}

.solution-pricing-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: white;
}

.solution-pricing-desc {
  font-size: 16px;
  margin: 0 0 32px 0;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.solution-pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  background: white;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-pricing-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  color: #1e3a8a;
}

.solution-pricing-cta-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.solution-pricing-cta:hover .solution-pricing-cta-icon {
  transform: translateX(4px);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1023px) {
  :root {
    --solution-padding: 60px;
    --component-card-padding: 24px;
  }

  .solution-title {
    font-size: 36px;
  }

  .solution-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution-components {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 640px) {
  :root {
    --solution-padding: var(--solution-padding-mobile);
    --component-card-padding: 20px;
  }

  .solution-showcase {
    padding: var(--solution-padding-mobile) 20px;
  }

  .solution-eyebrow {
    font-size: 11px;
    padding: 6px 16px;
  }

  .solution-title {
    font-size: 28px;
  }

  .solution-subtitle {
    font-size: 16px;
  }

  .solution-content-title {
    font-size: 24px;
  }

  .solution-image-wrapper {
    padding: 20px;
  }

  .solution-components {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-pricing {
    padding: 32px 20px;
  }

  .solution-pricing-title {
    font-size: 24px;
  }

  .solution-pricing-cta {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .solution-showcase {
    padding: 40px 20px;
  }

  .solution-component {
    box-shadow: none;
    border: 1px solid #000;
    page-break-inside: avoid;
  }

  .solution-component:hover {
    transform: none;
  }

  .solution-pricing-cta {
    display: none;
  }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .solution-component,
  .solution-component-icon,
  .solution-highlight,
  .solution-pricing-cta {
    transition: none !important;
  }

  .solution-component:hover,
  .solution-highlight:hover,
  .solution-pricing-cta:hover {
    transform: none !important;
  }

  .solution-component:hover .solution-component-icon {
    transform: none !important;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus states */
.solution-pricing-cta:focus {
  outline: 3px solid white;
  outline-offset: 4px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .solution-component {
    border: 2px solid currentColor;
  }

  .solution-pricing {
    background: #000;
    border: 2px solid #fff;
  }
}
