.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-graphite) 100%);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__title {
  color: var(--color-white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  position: relative;
}

.page-hero__subtitle {
  color: var(--color-silver);
  font-size: var(--text-lg);
  margin-bottom: 0;
}

.breadcrumb {
  margin-bottom: var(--space-6);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  color: var(--color-silver);
  margin-left: var(--space-2);
}

.breadcrumb__link {
  color: var(--color-silver);
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
  color: var(--color-electric-blue);
}

.breadcrumb__item--active {
  color: var(--color-white);
  font-weight: 500;
}

.terms-content {
  padding: var(--space-16) 0;
  background-color: var(--color-background-alt);
}

.terms-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-12);
  align-items: start;
}

.terms-sidebar {
  position: sticky;
  top: var(--space-8);
}

.terms-nav {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.terms-nav__title {
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-electric-blue);
}

.terms-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.terms-nav__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.terms-nav__link:hover {
  background-color: rgba(0, 212, 255, 0.05);
  color: var(--color-navy);
  border-left-color: var(--color-electric-blue);
  padding-left: var(--space-4);
}

.terms-print {
  width: 100%;
  gap: var(--space-2);
}

.terms-body {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.terms-section {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
}

.terms-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-section h2 {
  color: var(--color-navy);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.terms-section h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: var(--color-electric-blue);
  border-radius: var(--radius-sm);
}

.terms-section p {
  color: var(--color-text);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  max-width: none;
}

.terms-section p:last-child {
  margin-bottom: 0;
}

.link-arrow {
  color: var(--color-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: var(--space-2);
}

.terms-footer {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-background-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}

.terms-footer__note {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  max-width: none;
}

@media (max-width: 1024px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }
  
  .terms-sidebar {
    position: static;
    order: 2;
  }
  
  .terms-nav {
    padding: var(--space-4);
  }
  
  .terms-nav__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-2);
  }
  
  .terms-body {
    order: 1;
    padding: var(--space-6);
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: var(--space-12) 0 var(--space-8);
  }
  
  .page-hero__title {
    font-size: var(--text-3xl);
  }
  
  .terms-body {
    padding: var(--space-4);
  }
  
  .terms-section h2 {
    font-size: var(--text-xl);
  }
  
  .terms-nav__list {
    grid-template-columns: 1fr;
  }
}

@media print {
  .terms-sidebar,
  .page-hero,
  .btn {
    display: none;
  }
  
  .terms-body {
    box-shadow: none;
    border: none;
    padding: 0;
  }
  
  .terms-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}