/* Service Page Styles */

/* Service Hero */
.service-hero {
  padding: var(--space-16) 0 var(--space-12);
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-outline-variant);
}

.service-hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.service-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-display-medium);
  font-weight: var(--font-weight-medium);
  color: var(--color-on-surface);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-display-medium);
}

.service-hero__description {
  font-family: var(--font-text);
  font-size: var(--text-title-large);
  color: var(--color-on-surface-variant);
  line-height: var(--line-height-title-large);
  margin: 0;
}

/* Service Categories */
.service-categories {
  padding: var(--space-12) 0 var(--space-8);
  background-color: var(--color-surface-variant);
}

.service-categories__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.service-categories__title {
  font-family: var(--font-display);
  font-size: var(--text-headline-large);
  font-weight: var(--font-weight-medium);
  color: var(--color-on-surface);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-headline-large);
}

.service-categories__description {
  font-family: var(--font-text);
  font-size: var(--text-body-large);
  color: var(--color-on-surface-variant);
  line-height: var(--line-height-body-large);
  margin: 0;
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.service-tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background-color: var(--color-surface);
  border: 1px solid var(--color-outline);
  border-radius: var(--shape-corner-large);
  font-family: var(--font-text);
  font-size: var(--text-label-large);
  font-weight: var(--font-weight-medium);
  color: var(--color-on-surface-variant);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.service-tab:hover {
  background-color: var(--color-surface-variant);
  border-color: var(--color-outline-variant);
}

.service-tab.active {
  background-color: #ce3f01;
  color: var(--color-on-primary);
  border-color: #ce3f01;
}

.service-tab .material-symbols-outlined {
  font-size: 20px;
}

/* Service Content */
.service-content {
  padding: var(--space-16) 0;
  background-color: var(--color-surface);
}

.service-category {
  display: none;
}

.service-category.active {
  display: block;
}

.service-category__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.service-category__title {
  font-family: var(--font-display);
  font-size: var(--text-headline-large);
  font-weight: var(--font-weight-medium);
  color: var(--color-on-surface);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-headline-large);
}

.service-category__description {
  font-family: var(--font-text);
  font-size: var(--text-title-large);
  color: var(--color-on-surface-variant);
  line-height: var(--line-height-title-large);
  max-width: 600px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-outline);
  border-radius: var(--shape-corner-large);
  padding: var(--space-8);
  position: relative;
  transition: border-color 0.2s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-color: var(--color-on-surface-variant);
}

.service-card--featured {
  background-color: var(--color-surface);
  border: 1px solid var(--color-outline);
  border-radius: var(--shape-corner-large);
  box-shadow: none;
}

.service-card--featured:hover {
  border-color: var(--color-on-surface-variant);
  box-shadow: none;
}

.service-card__badge {
  position: absolute;
  top: -12px;
  right: var(--space-6);
  background-color: var(--color-secondary);
  color: var(--color-on-secondary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--shape-corner-large);
  font-size: var(--text-label-small);
  font-weight: var(--font-weight-medium);
  font-family: var(--font-text);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #ce3f01;
  border-radius: 12px;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__icon {
  transform: translateY(-1px);
}

.service-card__icon .material-symbols-outlined {
  font-size: 28px;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__icon .material-symbols-outlined {
  color: #ffffff;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 25px;
  line-height: 1.3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__title {
  color: rgba(0, 0, 0, 0.95);
}

.service-card__description {
  font-family: var(--font-text);
  font-size: var(--text-body-large);
  color: var(--color-on-surface-variant);
  line-height: var(--line-height-body-large);
  margin-bottom: var(--space-6);
}

.service-card__features {
  flex: 1;
}

.service-card__features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card__features li {
  padding: var(--space-2) 0;
  font-family: var(--font-text);
  font-size: var(--text-body-large);
  color: var(--color-on-surface-variant);
  line-height: var(--line-height-body-large);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.service-card__features .feature-icon {
  color: var(--color-secondary);
  font-size: 20px;
  flex-shrink: 0;
}

.service-card__features .feature-text {
  flex: 1;
}

.service-card__features li:before {
  display: none;
}

.service-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.price-from {
  font-family: var(--font-text);
  font-size: var(--text-body-small);
  color: var(--color-on-surface-variant);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
}

.price-currency {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
}

.price-period {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
}

/* Process Section */
.service-process {
  padding: var(--space-20) 0;
  background: #14161e;
  margin: 15px;
  border-radius: var(--shape-corner-large);
}

.service-process__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}

.service-process__title {
  font-family: var(--font-display);
  font-size: var(--text-headline-large);
  font-weight: var(--font-weight-bold);
  color: #ffffff;
  margin-bottom: var(--space-4);
  line-height: var(--line-height-headline-large);
}

.service-process__description {
  font-family: var(--font-text);
  font-size: var(--text-title-large);
  color: #ffffff;
  line-height: var(--line-height-title-large);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -32px;
  width: 24px;
  height: 2px;
  background: #ffffff;
  z-index: 1;
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 32px;
  right: -36px;
  width: 0;
  height: 0;
  border-left: 8px solid #ffffff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  z-index: 2;
}

.process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--text-headline-small);
  font-weight: var(--font-weight-bold);
  margin: 0 auto var(--space-4);
  position: relative;
  z-index: 3;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-title-large);
  font-weight: var(--font-weight-medium);
  color: #ffffff;
  margin-bottom: var(--space-2);
  line-height: var(--line-height-title-large);
}

.process-step__description {
  font-family: var(--font-text);
  font-size: var(--text-body-large);
  color: #ffffff;
  line-height: var(--line-height-body-large);
  margin: 0;
}

/* CTA Section */
.service-cta {
  padding: var(--space-24) 0;
  background-color: var(--color-surface);
}

.service-cta__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.service-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-display-medium);
  line-height: var(--line-height-display-medium);
  font-weight: var(--font-weight-regular);
  color: var(--color-on-surface);
  margin-bottom: var(--space-6);
}

.service-cta__description {
  font-family: var(--font-text);
  font-size: var(--text-title-large);
  line-height: var(--line-height-title-large);
  color: var(--color-on-surface-variant);
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-regular);
}

.service-cta__actions {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}

/* Animation keyframes */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
}

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

.service-card {
  animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* Smooth entrance animation */
.service-card.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Button hover effects */
.service-card .btn {
  position: relative;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .service-hero {
    padding: var(--space-12) 0 var(--space-8);
  }
  
  .service-hero__title {
    font-size: var(--text-headline-large);
  }
  
  .service-categories {
    padding: var(--space-8) 0 var(--space-6);
  }
  
  .service-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .service-tab {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .service-content {
    padding: var(--space-12) 0;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .service-card__features li {
    font-size: var(--text-title-large);
    line-height: var(--line-height-title-large);
  }
  
  .service-card__description {
    font-size: var(--text-title-large);
    line-height: var(--line-height-title-large);
  }
  
  .process-step__title {
    font-size: var(--text-title-large);
    line-height: var(--line-height-title-large);
  }
  
  .process-step__description {
    font-size: var(--text-body-large);
    line-height: var(--line-height-body-large);
  }
  
  .service-process {
    padding: var(--space-12) 0;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .process-step:not(:last-child)::after,
  .process-step:not(:last-child)::before {
    display: none;
  }
  
  .service-cta {
    padding: var(--space-12) 0;
  }
  
  .service-cta__actions {
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
  }
  
  .service-cta__actions .btn {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: var(--space-6);
  }
  
  .service-card__icon {
    width: 56px;
    height: 56px;
  }
  
  .service-card__icon .material-symbols-outlined {
    font-size: 28px;
  }
  
  .price-amount {
    font-size: var(--text-title-large);
  }
  
  .process-step__number {
    width: 56px;
    height: 56px;
    font-size: var(--text-title-medium);
  }
}
