/* 
 * TERMS OF USE PAGE - Green/Teal Color Theme
 * Complete styles with all sections
 */

:root {
  /* Primary Color Palette (Teal/Green) */
  --primary-50: #f0fdf9;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --primary-300: #5eead4;
  --primary-400: #2dd4bf;
  --primary-500: #14b8a6;
  --primary-600: #0d9488;
  --primary-700: #0f766e;
  --primary-800: #115e59;
  --primary-900: #134e4a;

  /* Accent Colors */
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-200: #fed7aa;
  --accent-300: #fdba74;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  
  /* Secondary Colors */
  --secondary-300: #fcd34d;
  --secondary-400: #fbbf24;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --white: #ffffff;
  --black: #000000;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* ===== Breadcrumb Navigation ===== */
.breadcrumb-section {
  background: linear-gradient(90deg, var(--primary-700) 0%, var(--primary-600) 100%);
  padding: 1.5rem 0;
  color: var(--white);
  box-shadow: var(--shadow);
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.breadcrumb-link {
  color: var(--white);
  transition: var(--transition);
  opacity: 0.8;
  text-decoration: none;
}

.breadcrumb-link:hover {
  opacity: 1;
  color: var(--primary-200);
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.75rem;
  color: var(--white);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--white);
  font-weight: 600;
}

/* ===== Terms Hero Section ===== */
.terms-hero-section {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
  padding: 5rem 0 3rem 0;
  margin-top: 2rem;
  color: var(--white);
  position: relative;
}

@media (min-width: 768px) {
  .terms-hero-section {
    margin-top: 3rem;
  }
}

.terms-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.terms-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-300);
  margin-bottom: 1.5rem;
}

.terms-description {
  max-width: 800px;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.terms-updated {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
}

.update-label {
  font-weight: 600;
}

.update-date {
  font-weight: 400;
}

/* ===== Terms Content Section ===== */
.terms-content-section {
  padding: 3rem 0;
  background-color: var(--white);
}

.terms-content {
  max-width: 900px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.terms-section:nth-child(1) { animation-delay: 0.1s; }
.terms-section:nth-child(2) { animation-delay: 0.2s; }
.terms-section:nth-child(3) { animation-delay: 0.3s; }
.terms-section:nth-child(4) { animation-delay: 0.4s; }
.terms-section:nth-child(5) { animation-delay: 0.5s; }
.terms-section:nth-child(6) { animation-delay: 0.6s; }
.terms-section:nth-child(7) { animation-delay: 0.7s; }
.terms-section:nth-child(8) { animation-delay: 0.8s; }
.terms-section:nth-child(9) { animation-delay: 0.9s; }

.terms-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
  position: relative;
}

.terms-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--primary-500);
}

.terms-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}

.terms-text strong {
  color: var(--gray-800);
  font-weight: 600;
}

.terms-contact-list {
  list-style-type: none;
  margin-left: 0;
  margin-bottom: 1.5rem;
}

.terms-contact-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.terms-contact-list li::before {
  content: '\f0e0';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 0.75rem;
  color: var(--primary-500);
}

.terms-contact-list li:nth-child(2)::before {
  content: '\f0ac';
}

.terms-contact-list li:nth-child(3)::before {
  content: '\f095';
}

.terms-link {
  color: var(--primary-500);
  font-weight: 600;
  transition: var(--transition-fast);
}

.terms-link:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.terms-contact-info {
  font-weight: 500;
}

/* ===== Terms CTA Section ===== */
.terms-cta-section {
  background-color: var(--primary-50);
  padding: 3rem 0;
  position: relative;
}

.terms-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-200), transparent);
}

.terms-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.terms-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: 1rem;
}

.terms-cta-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.cta-button {
  background: linear-gradient(90deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--white);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: linear-gradient(90deg, var(--primary-700) 0%, var(--primary-800) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cta-button i {
  margin-left: 0.75rem;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Highlight important terms */
.highlight-term {
  background-color: var(--accent-50);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 2px solid var(--accent-300);
}

/* Table of Contents */
.terms-toc {
  background-color: var(--primary-50);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.terms-toc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.terms-toc-title::before {
  content: '\f02e';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 0.75rem;
  color: var(--primary-500);
}

.terms-toc-list {
  list-style-type: none;
  margin-left: 0;
}

.terms-toc-list li {
  margin-bottom: 0.5rem;
}

.terms-toc-list a {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.terms-toc-list a::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 0.5rem;
  color: var(--primary-400);
  transition: var(--transition-fast);
}

.terms-toc-list a:hover {
  color: var(--primary-700);
}

.terms-toc-list a:hover::before {
  margin-right: 0.75rem;
  color: var(--primary-500);
}

/* ===== Responsive Adjustments ===== */
@media (min-width: 768px) {
  .terms-title {
    font-size: 2.5rem;
  }
  
  .terms-subtitle {
    font-size: 1.75rem;
  }
  
  .terms-section-title {
    font-size: 2rem;
  }
}

/* ===== Print Styles ===== */
@media print {
  .terms-hero-section {
    background: none;
    color: var(--black);
    padding: 1rem 0;
  }
  
  .terms-subtitle {
    color: var(--gray-800);
  }
  
  .terms-updated {
    background-color: transparent;
    border: 1px solid var(--gray-300);
  }
  
  .terms-cta-section,
  .cta-button {
    display: none;
  }
  
  .terms-section {
    page-break-inside: avoid;
  }
  
  .terms-toc {
    background-color: transparent;
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}