/* guidelines.css - Identical to other legal pages */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0a0a;
  color: #ddd;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* RETURN BUTTON */
.return-button {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.95), rgba(140, 15, 15, 0.95));
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(180, 22, 22, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.return-button:hover {
  background: linear-gradient(135deg, #b41616, #8c0f0f);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(180, 22, 22, 0.5);
  border-color: rgba(180, 22, 22, 0.5);
  text-decoration: none;
}

.return-button svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 18px;
  height: 18px;
}

.return-button:hover svg {
  transform: translateX(-3px);
}

/* CONTAINER */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADER */
.header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(180, 22, 22, 0.3);
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(180, 22, 22, 0.3));
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.last-updated {
  color: #999;
  font-size: 0.95rem;
  font-style: italic;
}

.jurisdiction-notice {
  color: #b41616;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* TABLE OF CONTENTS */
.table-of-contents {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.table-of-contents h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 1.5rem 0;
  padding: 0;
  border: none;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toc-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc-link {
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 600;
}

.toc-link:hover {
  color: #fff;
  background: rgba(180, 22, 22, 0.15);
  border-color: rgba(180, 22, 22, 0.4);
  transform: translateX(3px);
  text-decoration: none;
}

.toc-sublink {
  color: #aaa;
  text-decoration: none;
  padding: 0.5rem 1rem 0.5rem 2rem;
  background: transparent;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  border-left: 2px solid rgba(255, 255, 255, 0.05);
  margin-left: 1rem;
}

.toc-sublink:hover {
  color: #ddd;
  border-left-color: rgba(180, 22, 22, 0.5);
  transform: translateX(3px);
  text-decoration: none;
}

/* CONTENT */
.content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

section {
  margin-bottom: 2rem;
}

section:last-child {
  margin-bottom: 0;
}

h2 {
  color: #fff;
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(180, 22, 22, 0.2);
  scroll-margin-top: 100px;
}

h2:first-child {
  margin-top: 0;
}

h3 {
  color: #f0f0f0;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: #bbb;
  text-align: justify;
}

/* LISTS */
ul,
ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: #bbb;
}

li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

ul li::marker {
  color: #b41616;
}

ol li::marker {
  color: #b41616;
  font-weight: 600;
}

/* STRONG EMPHASIS */
strong {
  color: #ddd;
  font-weight: 600;
}

/* LEGAL EMPHASIS */
.legal-caps {
  font-weight: 600;
  color: #ddd;
  background: rgba(180, 22, 22, 0.05);
  padding: 1rem;
  border-left: 3px solid #b41616;
  margin: 1rem 0;
  border-radius: 4px;
}

/* CONTACT INFO */
.contact-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  text-align: left;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info strong {
  color: #fff;
  font-size: 1.1rem;
}

/* ACKNOWLEDGMENT */
.acknowledgment {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(180, 22, 22, 0.08);
  border: 2px solid rgba(180, 22, 22, 0.3);
  border-radius: 12px;
  text-align: center;
}

.acknowledgment p {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0;
  text-align: center;
}

/* SMOOTH SCROLLING */
html {
  scroll-behavior: smooth;
}

/* SELECTION */
::selection {
  background: rgba(180, 22, 22, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(180, 22, 22, 0.3);
  color: #fff;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: rgba(180, 22, 22, 0.5);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(180, 22, 22, 0.7);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .return-button {
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .return-button svg {
    width: 16px;
    height: 16px;
  }

  .container {
    padding: 5rem 1.5rem 3rem;
  }

  .content {
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .logo-section {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .logo-img {
    width: 45px;
    height: 45px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .table-of-contents {
    padding: 1.5rem;
  }

  .table-of-contents h2 {
    font-size: 1.3rem;
  }

  .toc-link {
    font-size: 0.9rem;
  }

  .toc-sublink {
    font-size: 0.825rem;
    padding: 0.45rem 0.75rem 0.45rem 1.75rem;
  }

  ul,
  ol {
    margin-left: 1.5rem;
  }

  .legal-caps {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .contact-info {
    padding: 1rem;
  }

  .acknowledgment {
    padding: 1.5rem;
  }

  .acknowledgment p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .return-button {
    position: static;
    margin: 1rem auto;
    display: inline-flex;
    width: auto;
  }

  .container {
    padding: 1rem 1rem 3rem;
  }

  .content {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
    scroll-margin-top: 80px;
  }

  h3 {
    font-size: 1.1rem;
  }

  .logo-section {
    gap: 0.5rem;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .table-of-contents {
    padding: 1.25rem;
  }

  .table-of-contents h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .toc-link {
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
  }

  .toc-sublink {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem 0.4rem 1.5rem;
  }

  ul,
  ol {
    margin-left: 1.25rem;
  }

  li {
    font-size: 0.95rem;
  }

  .header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .last-updated {
    font-size: 0.85rem;
  }

  .jurisdiction-notice {
    font-size: 0.8rem;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* PRINT STYLES */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .return-button {
    display: none;
  }

  .content {
    background: #fff;
    border: none;
    box-shadow: none;
  }

  h1,
  h2,
  h3 {
    color: #000;
  }

  p,
  li {
    color: #333;
  }

  .legal-caps {
    background: #f0f0f0;
    border-left-color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}