/* ========================================
   SOLUTION SYSTEM — Gemini Industrial Design
   ======================================== */

/* Main Section */
.solution-system-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--color-surface);
}

/* Main Content */
.solution-system-main {
  background-image: radial-gradient(circle, #353534 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 80px clamp(24px, 4vw, 80px);
}

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

/* Header */
.solution-system-header {
  margin-bottom: 80px;
}

.solution-system-badge {
  background-color: #25F4EE;
  color: black;
  font-family: "Bebas Neue";
  font-size: 1.125rem;
  padding: 4px 12px;
  margin-bottom: 24px;
  display: inline-block;
}

.solution-system-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.8;
  letter-spacing: -0.025em;
  color: white;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.title-accent {
  color: #FF2D55;
}

.solution-system-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #e6bcbd;
  max-width: 32rem;
  margin-top: 24px;
  border-left: 4px solid var(--color-digital-cyan);
  padding-left: 24px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4;
}

/* Industrial Grid */
.solution-system-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: #353534;
  border: 1px solid #353534;
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .solution-system-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* System Blocks */
.solution-system-block {
  background-color: var(--color-surface);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 400px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.solution-system-block:hover {
  background-color: #1a1a1a;
}

/* Background Images */
.solution-system-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  transition: all 0.4s ease;
  z-index: 1;
}

.solution-system-block:hover::after {
  transform: scale(1.05);
  opacity: 0.45;
}

/* Specific Background Images */
.solution-system-block:nth-child(1)::after {
  background-image: url('../../assets/images/systems/content-engine.jpg');
}

.solution-system-block:nth-child(2)::after {
  background-image: url('../../assets/images/systems/creator-network.jpg');
}

.solution-system-block:nth-child(3)::after {
  background-image: url('../../assets/images/systems/scaling-loop.jpg');
}

/* Ensure content stays above background */
.solution-system-block > * {
  position: relative;
  z-index: 2;
}

/* Enhanced text visibility on background images */
.solution-system-block .block-title,
.solution-system-block .content-item p,
.solution-system-block .content-number {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.solution-system-block .block-icon .material-symbols-outlined {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}

/* Block Numbers (Background) */
.block-number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--color-digital-cyan);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

.block-number--purple {
  color: var(--color-deep-purple);
}

.block-number--red {
  color: var(--color-electric-red);
}

/* Block Icons */
.block-icon {
  margin-bottom: 48px;
  z-index: 1;
}

.block-icon .material-symbols-outlined {
  font-size: 48px;
  color: var(--color-digital-cyan);
  font-variation-settings: 'FILL' 1;
}

.block-icon--purple .material-symbols-outlined {
  color: var(--color-deep-purple);
}

.block-icon--red .material-symbols-outlined {
  color: var(--color-electric-red);
}

/* Block Titles */
.block-title {
  font-family: "Bebas Neue", "Archivo Black", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: white;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}

/* Block Content */
.block-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
}

.content-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.content-number {
  color: var(--color-digital-cyan);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.content-number--purple {
  color: var(--color-deep-purple);
}

.content-number--red {
  color: var(--color-electric-red);
}

.content-item p {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: white;
  line-height: 1.4;
}

/* Block Accents */
.block-accent {
  height: 4px;
  width: 100%;
  margin-top: 48px;
  transform-origin: left;
  transition: transform 0.3s ease;
}

.solution-system-block:hover .block-accent {
  transform: scaleX(1.1);
}

.accent-cyan {
  background-color: var(--color-digital-cyan);
}

.accent-purple {
  background-color: var(--color-deep-purple);
}

.accent-red {
  background-color: var(--color-electric-red);
}



/* Mobile Responsive */
@media (max-width: 767px) {
  .solution-system-main {
    padding: 60px clamp(24px, 4vw, 80px);
  }

  .solution-system-header {
    margin-bottom: 60px;
  }

  .solution-system-block {
    padding: 32px 24px;
    min-height: 350px;
  }

  .block-number {
    font-size: 4rem;
  }

  .block-icon .material-symbols-outlined {
    font-size: 40px;
  }

  .block-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }

  .content-item p {
    font-size: 12px;
  }

  /* Mobile background images adjustment */
  .solution-system-block::after {
    opacity: 0.25;
  }

  .solution-system-block:hover::after {
    opacity: 0.4;
  }
}

/* Animation Support */
.solution-system-section .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.solution-system-section .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.solution-system-section .reveal-delay-1 {
  transition-delay: 0.1s;
}

.solution-system-section .reveal-delay-2 {
  transition-delay: 0.2s;
}

.solution-system-section .reveal-delay-3 {
  transition-delay: 0.3s;
}

.solution-system-section .reveal-delay-4 {
  transition-delay: 0.4s;
}
