.sms-terms-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
  padding: 60px 20px 40px;
}

.terms-header {
  text-align: center;
  margin-bottom: 60px;
}

.terms-header h1 {
  font-size: 3rem;
  color: #1a5e20;
  margin-bottom: 10px;
  font-weight: 700;
}

.terms-header .last-updated {
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
}

.terms-content {
  max-width: 900px;
  margin: 0 auto;
}

.terms-intro,
.terms-program,
.terms-carrier,
.terms-legal,
.terms-contact,
.terms-cta {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.terms-intro h2,
.terms-program h2,
.terms-carrier h2,
.terms-legal h2,
.terms-contact h2 {
  font-size: 1.5rem;
  color: #1a5e20;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 3px solid #4a7c4f;
  padding-bottom: 10px;
}

.terms-program h3,
.terms-carrier h3,
.terms-legal h3 {
  font-size: 1.2rem;
  color: #355639;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.terms-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

.terms-text strong {
  color: #1a5e20;
  font-weight: 600;
}

.program-description {
  margin-bottom: 25px;
}

.program-description:last-child {
  margin-bottom: 0;
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.terms-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.7;
  color: #555;
  font-size: 0.95rem;
}

.terms-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: #4a7c4f;
  font-weight: bold;
  font-size: 1.1rem;
}

.opt-out-section,
.help-section {
  margin-bottom: 25px;
}

.opt-out-section:last-child,
.help-section:last-child {
  margin-bottom: 0;
}

.important-notice {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.important-notice .terms-text {
  margin-bottom: 0;
}

.carrier-liability,
.rates-disclaimer,
.message-frequency {
  margin-bottom: 25px;
}

.carrier-liability:last-child,
.rates-disclaimer:last-child,
.message-frequency:last-child {
  margin-bottom: 0;
}

.consent-disclosure,
.privacy-link,
.termination,
.modifications {
  margin-bottom: 25px;
}

.consent-disclosure:last-child,
.privacy-link:last-child,
.termination:last-child,
.modifications:last-child {
  margin-bottom: 0;
}

.policy-link {
  margin: 15px 0;
}

.privacy-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4a7c4f 0%, #355639 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.privacy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 79, 0.4);
  color: white;
}

.contact-box {
  background: #f9f9f9;
  padding: 25px;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.contact-item {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item strong {
  color: #333;
  display: inline-block;
  min-width: 150px;
  font-weight: 600;
}

.contact-item a {
  color: #4a7c4f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #1a5e20;
  text-decoration: underline;
}

.terms-cta {
  text-align: center;
  border: 3px solid #4a7c4f;
  background: linear-gradient(135deg, #f1f8f3 0%, #ffffff 100%);
}

.terms-cta h2 {
  font-size: 2rem;
  color: #1a5e20;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #4a7c4f 0%, #355639 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 79, 0.4);
  color: white;
}

.cta-button:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .sms-terms-page {
    padding: 40px 15px 20px;
  }

  .terms-header h1 {
    font-size: 2rem;
  }

  .terms-intro,
  .terms-program,
  .terms-carrier,
  .terms-legal,
  .terms-contact,
  .terms-cta {
    padding: 25px 20px;
  }

  .terms-intro h2,
  .terms-program h2,
  .terms-carrier h2,
  .terms-legal h2,
  .terms-contact h2 {
    font-size: 1.3rem;
  }

  .terms-program h3,
  .terms-carrier h3,
  .terms-legal h3 {
    font-size: 1.1rem;
  }

  .terms-text {
    font-size: 0.95rem;
  }

  .terms-list li {
    font-size: 0.9rem;
  }

  .contact-item {
    font-size: 0.9rem;
  }

  .contact-item strong {
    display: block;
    margin-bottom: 5px;
  }

  .terms-cta h2 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
}