/* Service Page Styles */

.service-page {
  background: var(--color-dark);
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

/* Service Hero Section */
.service-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(88, 101, 242, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.service-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.service-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.5rem 0;
  color: var(--color-white);
}

.service-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 2.5rem;
}

.service-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Problem Section */
.service-problem {
  padding: 80px 0;
  background: var(--color-dark);
}

.problem-card {
  background: var(--color-darker);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  text-align: center;
}

.problem-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-white);
  line-height: 1.3;
}

.problem-card p {
  color: var(--color-gray);
  line-height: 1.5;
  font-size: 0.875rem;
}

/* Solution Section */
.service-solution {
  padding: 80px 0;
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.solution-item {
  position: relative;
  padding-left: 4rem;
}

.solution-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.2;
}

.solution-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.solution-item p {
  color: var(--color-gray);
  line-height: 1.6;
}

/* Benefits Section */
.service-benefits {
  padding: 80px 0;
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--color-darker);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Różne kolory dla każdej karty */
.benefit-card:nth-child(1) {
  border-color: #00c4ff;
}

.benefit-card:nth-child(1):hover {
  border-color: #00c4ff;
  box-shadow: 0 10px 40px rgba(0, 196, 255, 0.2);
}

.benefit-card:nth-child(1) .benefit-icon {
  background: rgba(0, 196, 255, 0.1);
}

.benefit-card:nth-child(1) h3 {
  color: #00c4ff;
}

.benefit-card:nth-child(2) {
  border-color: #7a2cff;
}

.benefit-card:nth-child(2):hover {
  border-color: #7a2cff;
  box-shadow: 0 10px 40px rgba(122, 44, 255, 0.2);
}

.benefit-card:nth-child(2) .benefit-icon {
  background: rgba(122, 44, 255, 0.1);
}

.benefit-card:nth-child(2) h3 {
  color: #7a2cff;
}

.benefit-card:nth-child(3) {
  border-color: #00ff9d;
}

.benefit-card:nth-child(3):hover {
  border-color: #00ff9d;
  box-shadow: 0 10px 40px rgba(0, 255, 157, 0.2);
}

.benefit-card:nth-child(3) .benefit-icon {
  background: rgba(0, 255, 157, 0.1);
}

.benefit-card:nth-child(3) h3 {
  color: #00ff9d;
}

.benefit-card:nth-child(4) {
  border-color: #ff6b35;
}

.benefit-card:nth-child(4):hover {
  border-color: #ff6b35;
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
}

.benefit-card:nth-child(4) .benefit-icon {
  background: rgba(255, 107, 53, 0.1);
}

.benefit-card:nth-child(4) h3 {
  color: #ff6b35;
}

.benefit-card:nth-child(5) {
  border-color: #ff3d8f;
}

.benefit-card:nth-child(5):hover {
  border-color: #ff3d8f;
  box-shadow: 0 10px 40px rgba(255, 61, 143, 0.2);
}

.benefit-card:nth-child(5) .benefit-icon {
  background: rgba(255, 61, 143, 0.1);
}

.benefit-card:nth-child(5) h3 {
  color: #ff3d8f;
}

.benefit-card:nth-child(6) {
  border-color: #ffd700;
}

.benefit-card:nth-child(6):hover {
  border-color: #ffd700;
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

.benefit-card:nth-child(6) .benefit-icon {
  background: rgba(255, 215, 0, 0.1);
}

.benefit-card:nth-child(6) h3 {
  color: #ffd700;
}

.benefit-card p {
  color: var(--color-gray);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* Tech Section */
.service-tech {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Process Section */
.service-process {
  padding: 80px 0;
  background: var(--color-dark);
}

/* CTA Section */
.service-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-darker);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 4rem 3rem;
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.cta-box p {
  font-size: 1.125rem;
  color: var(--color-gray);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .service-hero {
    padding: 80px 0 60px;
  }

  .service-hero-title {
    font-size: 2.5rem;
  }

  .service-hero-subtitle {
    font-size: 1.125rem;
  }

  .service-hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 3rem 2rem;
  }

  .cta-box h2 {
    font-size: 2rem;
  }
}
