/* ============================================================
       DISCLAIMER PAGE STYLESHEET
       Golden Ratio Consulting
============================================================ */

/* ============================================================
       1. CSS VARIABLES & RESET
============================================================ */
:root {
  --color-gray-900: #0a0a0a;
  --color-gray-800: #1a1a1a;
  --color-gray-700: #2d2d2d;
  --color-gray-100: #f5f5f5;
  --color-primary: #DAA520;
  --color-primary-dark: #B8860B;
  --color-primary-light: #FFD700;
  --card-radius: 1rem;
  --transition-base: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
       2. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
       3. BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(218, 165, 32, 0.35);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

/* ============================================================
       4. PAGE HERO SECTION
============================================================ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0a0a2e 0%, #16213e 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  color: white;
  overflow: hidden;
}

.page-hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================
       5. GENERAL SECTION STYLES
============================================================ */
.section {
  padding: 4rem 0;
}

/* ============================================================
       6. TABLE OF CONTENTS
============================================================ */
.table-of-contents {
  background: var(--color-gray-100);
  border-radius: var(--card-radius);
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid #eee;
}

.table-of-contents h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #111;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.toc-link {
  display: block;
  padding: 0.5rem 0;
  color: #4a4a4a;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-base);
  border-bottom: 1px solid #e0e0e0;
}

.toc-link:hover {
  color: var(--color-primary);
  padding-left: 0.5rem;
  border-bottom-color: var(--color-primary);
}

.toc-link.active {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom-color: var(--color-primary);
  padding-left: 0.5rem;
}

/* ============================================================
       7. POLICY CARDS (DISCLAIMER SECTIONS)
============================================================ */
.policy-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
}

.policy-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.policy-card h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #111;
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
}

.policy-card h3 {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  color: var(--color-primary-dark);
}

.policy-card p {
  margin-bottom: 1rem;
  color: #4a4a4a;
}

.policy-card ul, 
.policy-card ol {
  margin: 1rem 0 1rem 2rem;
  color: #4a4a4a;
}

.policy-card li {
  margin-bottom: 0.5rem;
}

/* Badge for section headers */
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--color-gray-900);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Contact Highlight Card */
.contact-highlight {
  background: var(--color-gray-100);
  border-left: 4px solid var(--color-primary);
}

/* ============================================================
       8. CTA BANNER
============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  margin-top: 2rem;
}

.cta-banner h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-banner .btn {
  background: white;
  color: var(--color-primary-dark);
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================================
       9. BACK TO TOP BUTTON
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
       10. HEADER & NAVIGATION
============================================================ */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__image {
  height: 90px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* Navigation */
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111111;
  transition: var(--transition-base);
}

.nav-list a:hover {
  color: var(--color-primary);
}

.nav-list .btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: #111;
  transition: var(--transition-base);
}

/* ============================================================
       11. FOOTER SECTION
============================================================ */
.site-footer {
  background: var(--color-gray-900);
  color: #aaa;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.footer-logo__image {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-heading {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-bottom__links a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-bottom__links a:hover {
  color: var(--color-primary);
}

.separator {
  color: #555;
}

.footer-bottom__copyright {
  opacity: 0.7;
}

.gold-text {
  color: #b8860b !important;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================================
       12. ANIMATIONS
============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
       13. RESPONSIVE STYLES
============================================================ */
/* Tablet */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .page-hero h1 {
    font-size: 2.2rem;
  }
  
  .page-hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  /* Navigation */
  .nav-list {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Table of Contents */
  .toc-grid {
    grid-template-columns: 1fr;
  }
  
  /* Policy Cards */
  .policy-card {
    padding: 1.5rem;
  }
  
  .policy-card h2 {
    font-size: 1.3rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .site-logo__image {
    height: 50px;
  }
  
  .footer-bottom__links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .separator {
    display: none;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.8rem;
  }
  
  .page-hero p {
    font-size: 0.9rem;
  }
  
  .policy-card h2 {
    font-size: 1.2rem;
  }
  
  .cta-banner {
    padding: 2rem 1.5rem;
  }
  
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  
  .gold-text {
    font-size: 15px;
  }
}

/* Tablet Landscape */
@media (max-width: 992px) and (min-width: 769px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .toc-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* Desktop Large */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
  
  .page-hero h1 {
    font-size: 4rem;
  }
}

/* ============================================================
       14. PRINT STYLES
============================================================ */
@media print {
  .site-header,
  .nav-toggle,
  .back-to-top,
  .btn,
  .site-footer,
  .cta-banner,
  .table-of-contents {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .policy-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .policy-card:hover {
    transform: none;
  }
}