/* Terms of Service Styles - Matches Landing Page Design */

.terms-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
               "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* Responsive container */
@media (min-width: 768px) {
  .terms-page {
    max-width: 900px;
    padding: 32px 24px;
  }
}

@media (min-width: 1024px) {
  .terms-page {
    max-width: 1100px;
    padding: 40px 32px;
  }
}

.terms-page .back-container {
  text-align: left;
  margin-bottom: 16px;
}

.terms-page .back-button {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.terms-page .back-button:hover {
  background: var(--border);
  transform: translateY(-1px);
}
  font-size: 16px;
  cursor: pointer;
  padding: 8px 0;
  font-family: inherit;
}

.terms-page .back-button:hover {
  opacity: 0.8;
}

.terms-page h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  color: #ffe4c4;
}

.terms-page .subtitle {
  font-size: 16px;
  text-align: center;
  color: #ccc;
  margin-bottom: 24px;
  font-style: italic;
}

.terms-content {
  background: #2a2a2a;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.terms-content p {
  margin-bottom: 12px;
  color: #e0e0e0;
}

.terms-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #ffe4c4;
  border-bottom: 2px solid #444;
  padding-bottom: 8px;
}

.terms-content h2:first-of-type {
  margin-top: 16px;
}

.terms-content ul {
  margin: 12px 0;
  padding-left: 24px;
}

.terms-content li {
  margin-bottom: 8px;
  color: #e0e0e0;
}

.terms-content a {
  color: #88ccff;
  text-decoration: none;
  transition: color 0.2s;
}

.terms-content a:hover {
  color: #66aaff;
  text-decoration: underline;
}

.terms-content strong {
  color: #ffe4c4;
  font-weight: 600;
}

.back-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px 24px;
  background: #333;
  color: #ffe4c4;
  border: 2px solid #555;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.back-btn:hover {
  background: #444;
  border-color: #ffe4c4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.back-btn:active {
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .terms-page {
    padding: 16px;
  }

  .terms-page h1 {
    font-size: 24px;
  }

  .terms-content {
    padding: 16px;
  }

  .terms-content h2 {
    font-size: 18px;
    margin-top: 24px;
  }

  .back-btn {
    max-width: 100%;
  }
}

/* Dark theme enhancement */
@media (prefers-color-scheme: dark) {
  .terms-page {
    background: #0d0d0d;
  }

  .terms-content {
    background: #1a1a1a;
  }
}
