/* ==========================================================================
   Terms of Service Page Styles
   ========================================================================== */

/* Hero Section
   ========================================================================== */

.hero-tos {
  position: relative;
  padding: 128px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 247, 242, 1) 50%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
}

.hero-tos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(158, 0, 49, 0.05) 0%, rgba(0, 0, 0, 0) 50%, rgba(158, 0, 49, 0.1) 100%);
  pointer-events: none;
}

.hero-tos__content {
  position: relative;
  max-width: 1216px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tos__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(158, 0, 49, 0.1);
  border-radius: 16px;
  margin-bottom: 24px;
}

.hero-tos__icon {
  width: 32px;
  height: 32px;
}

.hero-tos__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 60px;
  line-height: 1.25;
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

.hero-tos__highlight {
  color: #9E0031;
}

.hero-tos__description {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.625;
  text-align: center;
  color: #4A5565;
  max-width: 896px;
  margin: 0 0 20px;
}

.hero-tos__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-tos__meta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-tos__meta-text {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.429;
  text-align: center;
  color: #6A7282;
}

/* TOS Content Section
   ========================================================================== */

.section--tos-content {
  padding: 80px 0;
  background: #FFFFFF;
}

.tos-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 832px;
  margin: 0 auto;
}

/* TOS Section
   ========================================================================== */

.tos-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tos-section__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.333;
  color: var(--color-text-primary);
  margin: 0;
}

.tos-section__text {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
  color: #4A5565;
  margin: 0;
}

.tos-section__list {
  list-style: none;
  padding: 0 0 0 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tos-section__list-item {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
  color: #4A5565;
  position: relative;
  padding-left: 0;
}

.tos-section__list-item::before {
  content: "•";
  position: absolute;
  left: -24px;
  color: #4A5565;
}

/* TOS Contact Box
   ========================================================================== */

.tos-contact-box {
  background: #F7F7F2;
  border-radius: 16px;
  padding: 32px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tos-contact-box__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.333;
  color: var(--color-text-primary);
  margin: 0;
}

.tos-contact-box__text {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
  color: #4A5565;
  margin: 0;
}

.tos-contact-box__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 32px;
}

.tos-contact-box__detail {
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #4A5565;
  margin: 0;
}

/* Related Information Section
   ========================================================================== */

.section--related-info {
  padding: 80px 0;
  background: #F7F7F2;
}

.related-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 832px;
  margin: 0 auto;
  text-align: center;
}

.related-info__title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
  color: var(--color-text-primary);
  margin: 0;
}

.related-info__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Button Variants
   ========================================================================== */

.btn--outline-secondary {
  background: transparent;
  color: #364153;
  border: 2px solid #D1D5DC;
  padding: 18px 34px;
  font-family: var(--font-family-primary);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.556;
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Removed duplicate .btn--outline-secondary:hover - now in components.css */

.btn--outline-secondary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .hero-tos {
    padding: 96px 0;
  }

  .hero-tos__title {
    font-size: 36px;
  }

  .hero-tos__description {
    font-size: 18px;
  }

  .section--tos-content,
  .section--related-info {
    padding: 64px 0;
  }

  .tos-section__title,
  .tos-contact-box__title {
    font-size: 20px;
  }

  .tos-contact-box {
    padding: 24px 24px 0;
  }

  .tos-contact-box__details {
    padding-bottom: 24px;
  }

  .related-info__title {
    font-size: 24px;
  }

  .related-info__actions {
    flex-direction: column;
    width: 100%;
  }

  .related-info__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-tos__title {
    font-size: 28px;
  }

  .hero-tos__description {
    font-size: 16px;
  }

  .tos-section__title,
  .tos-contact-box__title {
    font-size: 18px;
  }

  .related-info__title {
    font-size: 20px;
  }
}
