/* ========================================
   ABOUT ENTROPY - Global Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Work+Sans:wght@300;400;700&display=swap');

:root {
  --color-dark-bg: #1a1a1a;
  --color-dark-secondary: #2d2d2d;
  --color-light-bg: #f5f2ed;
  --color-light-secondary: #e8e4de;
  --color-text-light: #ffffff;
  --color-text-dark: #1a1a1a;
  --color-text-muted: #666666;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Work Sans', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: #fff;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
  background-color: var(--color-light-bg);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-light-secondary);
}

.header-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  order: -1;
}

.header-nav a {
  color: var(--color-text-dark);
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
}

.header-nav a:hover {
  color: var(--color-text-muted);
}

.header-nav a.active {
  font-weight: 700;
}

.header-title {
  text-align: center;
  flex: 1;
}

.header-title h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-text-dark);
  letter-spacing: -0.5px;
}

.header-spacer {
  width: 8rem;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 4rem 3rem;
  margin-top: 4rem;
}

footer h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

footer p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  opacity: 0.9;
}

footer a {
  color: var(--color-text-light);
  text-decoration: underline;
  transition: var(--transition);
  opacity: 0.8;
}

footer a:hover {
  opacity: 1;
}

.footer-divider {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(26, 26, 26, 0.6), rgba(26, 26, 26, 0.6)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" result="noise"/><feColorMatrix in="noise" type="saturate" values="0"/></filter><rect width="100" height="100" fill="white" filter="url(%23noise)" opacity="0.03"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  color: var(--color-text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: brightness(0.7);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" seed="1" result="noise"/><feColorMatrix in="noise" type="saturate" values="0"/></filter><rect width="100%" height="100%" fill="white" filter="url(%23noise)" opacity="0.02"/></svg>');
  background-size: 100px 100px;
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
  padding: 3rem;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid;
  background-color: transparent;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-light {
  border-color: var(--color-text-light);
  color: var(--color-text-light);
}

.btn-light:hover {
  background-color: var(--color-text-light);
  color: var(--color-dark-bg);
}

.btn-dark {
  border-color: var(--color-text-dark);
  color: var(--color-text-dark);
}

.btn-dark:hover {
  background-color: var(--color-text-dark);
  color: var(--color-text-light);
}

/* ========================================
   SECTIONS
   ======================================== */

section {
  padding: 4rem 3rem;
}

section.dark {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
}

section.light {
  background-color: var(--color-light-bg);
  color: var(--color-text-dark);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.section-content {
  max-width: 900px;
  margin: 0 auto;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.download-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

.download-col {
  padding: 2rem 0;
}

.download-col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.download-col p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

.divider {
  height: 1px;
  background-color: rgba(26, 26, 26, 0.2);
  margin: 3rem 0;
}

section.light .divider {
  background-color: rgba(26, 26, 26, 0.15);
}

section.dark .divider {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ========================================
   DONATIONS SECTION
   ======================================== */

.donations-section {
  background-color: var(--color-light-bg);
  padding: 3rem 0;
  margin-top: 2rem;
}

.donations-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
}

.donations-content h3 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.donations-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ========================================
   SUMMARY SECTION
   ======================================== */

.summary-section {
  max-width: 900px;
  margin: 0 auto;
}

.summary-section p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ========================================
   POLICY SECTIONS
   ======================================== */

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.policy-column {
  padding: 0;
}

.policy-column h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.policy-column h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-column p {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ========================================
   AUTHOR PORTRAIT
   ======================================== */

.author-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.author-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.author-info p {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .author-section {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* ========================================
   ITALIC & EMPHASIS
   ======================================== */

em {
  font-style: italic;
}

strong {
  font-weight: 700;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .header-nav {
    order: 0;
    gap: 1.5rem;
    font-size: 0.85rem;
    justify-content: center;
  }

  .header-title h1 {
    font-size: 1.4rem;
  }

  .header-spacer {
    display: none;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .download-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  footer {
    padding: 2.5rem 1.5rem;
  }

  .footer-divider {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-nav {
    gap: 1rem;
    font-size: 0.75rem;
  }

  .header-title h1 {
    font-size: 1.2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  section {
    padding: 2rem 1rem;
  }
}
