/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #7399C6;
  --primary-blue-dark: #5a7ba3;
  --primary-blue-light: #d4e3f3;
  --secondary-blue: #4a6fa5;
  --secondary-blue-light: #e8f0f8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --danger: #ef4444;
  --success: #10b981;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: white;
}

.container.plain-text {
  margin-top: 1rem;
  padding-top: 1rem;
}

.coming-soon {
  position: relative;
  display: inline-block; /* ensures the pseudo-element sits relative to the text */
}

.coming-soon::after {
  content: "COMING SOON";
  background: var(--danger);
  color: white;
  font-size: 0.35em;
  font-weight: 500;
  padding: 3px 6px;
  border-radius: 4px;
  margin-left: 0.5em; /* spacing from the title */
  vertical-align: top; /* moves the badge up relative to baseline */
  transform: translateY(-0.35em); /* fine-tune how high it sits */
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* Navigation */
.navbar {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  width: auto;
  height: 125px;
  object-fit: contain;
  background-color: white;
  padding: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a, .nav-right > a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-right > a:hover {
  color: var(--primary-blue);
}

.nav-links a.active {
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-menu-button {
  background: none;
  border: 1px solid var(--gray-300);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 101;
}

.user-dropdown a, .user-dropdown button {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--gray-700);
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.user-dropdown a:hover, .user-dropdown button:hover {
  background: var(--gray-50);
}

.logout-btn {
  color: var(--danger) !important;
  border-top: 1px solid var(--gray-200);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-blue-dark);
}

.btn-secondary {
  background: white;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue-light);
}

.btn-white {
  background: white;
  color: var(--primary-blue);
}

.btn-white:hover {
  background: var(--gray-100);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn-signin {
  padding: 0.5rem 1.5rem;
  background: var(--primary-blue);
  color: white !important;
  border-radius: 0.5rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, white 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-graphic svg {
  width: 100%;
  max-width: 400px;
}

.hero-small {
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, white 100%);
  text-align: center;
}

.hero-small h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
}

/* Sections */
.section-white {
  padding: 4rem 0;
  background: white;
}

.section-light {
  padding: 4rem 0;
  background: var(--gray-50);
}

.section-blue {
  padding: 4rem 0;
  background: var(--primary-blue);
  color: white;
}

/* Mission */
.mission {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.mission h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mission p {
  font-size: 1.1rem;
  color: var(--gray-600);
}

/* Tables */
.tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.table-container h2 {
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.data-table thead {
  background: var(--gray-50);
}

.data-table th, .data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.data-table th {
  font-weight: 600;
  color: var(--gray-700);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

/* Scoreboard */
.scoreboard-container {
  margin: 2rem 0;
}

.scoreboard-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
}

.scoreboard-table thead {
  background: var(--primary-blue);
  color: white;
}

.scoreboard-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.scoreboard-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.scoreboard-table tbody tr:hover {
  background: var(--gray-50);
}

.scoreboard-table .top-three {
  background: #fffbeb;
}

.medal {
  font-size: 1.5rem;
}

.flag-icon {
  width: 24px;
  height: 18px;
}

.rank-col {
  width: 80px;
  text-align: center !important;
}

.country-col {
  width: 80px;
  text-align: center !important;
}

.amount-col {
  text-align: right !important;
  font-weight: 600;
  color: var(--primary-blue);
}

.name-col {
  font-weight: 500;
}

/* Charities Grid */
.charities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.charity-card {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.charity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.charity-image {
  height: 200px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.charity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.charity-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.charity-placeholder svg {
  width: 100px;
  height: 100px;
}

.charity-content {
  padding: 1.5rem;
}

.charity-content h3 {
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.charity-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.charity-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.charity-link:hover {
  text-decoration: underline;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 1rem;
  color: var(--gray-600);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

input[type="number"] {
  padding-left: 2rem;
}

input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* Number Calculator */
.number-calculator {
  background: white;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.number-calculator h3 {
  margin: 2rem 0 1rem 0;
  color: var(--gray-900);
  border-bottom: 2px solid var(--primary-blue);
  padding-bottom: 0.5rem;
}

.number-calculator h3:first-child {
  margin-top: 0;
}

.result-box {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.result-box h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.number-display {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.result-box p {
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.small-text {
  font-size: 0.9rem;
}

.result-actions {
  margin-top: 2rem;
}

/* Concept Explanation */
.concept-explanation {
  margin: 2rem 0;
}

.concept-explanation p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.concept-graphic {
  margin: 2rem 0;
  text-align: center;
}

.concept-graphic svg {
  max-width: 500px;
  width: 100%;
}

.info-box {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.info-box h3 {
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.info-box ul {
  margin-left: 1.5rem;
  line-height: 1.8;
}

.info-box li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.info-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.info-section h2 {
  margin-bottom: 1rem;
}

.info-section ul {
  margin-left: 1.5rem;
  margin-top: 1rem;
  line-height: 1.8;
}

.info-section li {
  margin-bottom: 0.75rem;
}

/* CTA Section */
.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-section {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem 2rem;
  background: var(--gray-50);
  border-radius: 0.5rem;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  color: var(--gray-600);
}

/* About Page */
 .book-section {
  display: grid;
  /* grid-template-columns: 2fr 1fr; */
  /* gap: 3rem; */
  align-items: center;
  margin-bottom: 2rem;
}

.book-section h4 {
  /* font-weight: normal; */
  font-style: italic;
  font-size: 1.25rem;
}

.book-content h2 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.book-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.book-content p {
  margin-bottom: 2rem;
  color: var(--gray-600);
}

.book-actions {
  display: flex;
  gap: 1rem;
}

.book-cover img {
  width: 100%;
  max-width: 300px;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-chris {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.chris-photo img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chris-bio h2 {
  margin-bottom: 1rem;
}

.chris-bio p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-card {
  background: white;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.contact-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Sign In Page */
.signin-section {
  padding: 4rem 0;
  background: var(--gray-50);
  min-height: calc(100vh - 200px);
}

.signin-container {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.signin-box {
  background: white;
  padding: 3rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.signin-box h1 {
  margin-bottom: 0.5rem;
}

.error-message {
  background: #fee2e2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  background: white;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-oauth:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.divider {
  position: relative;
  text-align: center;
  margin: 2rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-300);
}

.divider span {
  position: relative;
  background: white;
  padding: 0 1rem;
  color: var(--gray-600);
}

.signin-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-200);
}

.tab-button {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.tab-button.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.signin-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.signin-info h2 {
  margin-bottom: 1rem;
}

.signin-info ul {
  list-style: none;
}

.signin-info li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.6;
}

.signin-info li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

.signup-prompt {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.signup-prompt p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.forgot-password-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 0.875rem;
  margin-left: 0.5rem;
  font-weight: 400;
}

.forgot-password-link:hover {
  text-decoration: underline;
}

.password-requirements {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.password-validation {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.validation-error {
  color: var(--danger);
  font-weight: 500;
}

.validation-success {
  color: var(--success);
  font-weight: 500;
}

/* Account Page */
.account-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.account-section:last-child {
  border-bottom: none;
}

.account-section h2 {
  margin-bottom: 1.5rem;
}

.account-info {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 0.5rem;
}

.info-row {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  width: 150px;
  color: var(--gray-700);
}

.info-value {
  color: var(--gray-900);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.action-card {
  background: white;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.action-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.action-card h3 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.action-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.danger-zone {
  border-top: 2px solid var(--danger);
  padding-top: 2rem;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.footer-section p {
  color: var(--gray-300);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  text-align: center;
  color: var(--gray-400);
}

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--gray-600);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 999;
  padding: 2rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.mobile-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--gray-700);
  padding: 0.5rem;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-links a {
  padding: 1rem;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo {
    height: 90px;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-right > a:not(.btn-signin) {
    display: none;
  }

  .user-menu {
    display: none;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .tables-grid {
    grid-template-columns: 1fr;
  }

  .signin-container {
    grid-template-columns: 1fr;
  }

  .signin-info {
    display: none;
  }

  .book-section, .about-chris {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}

/* ============================================
   ENHANCED HOME PAGE STYLES
   ============================================ */

/* Enhanced Hero Section */
.hero-home {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #dbeafe 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-blue);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-blue);
  bottom: -50px;
  left: 10%;
  animation-delay: 7s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--primary-blue-dark);
  top: 40%;
  left: -50px;
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content-home {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease-out;
}

.hero-title-large {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  animation: fadeInUp 0.8s ease-out;
}

.highlight-gradient {
  color: var(--primary-blue);
  font-weight: 800;
  position: relative;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out;
}

.hero-cta-enhanced {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  animation: fadeInUp 1.2s ease-out;
}

.btn-secondary-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary-outline:hover {
  background: var(--primary-blue);
  color: white;
}

.btn-large svg {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

/* .hero-cta-enhanced .btn svg {
  vertical-align: middle;
  margin-top: 0px;
} */

.btn-large:hover svg {
  transform: translateX(4px);
}

.btn-xl {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1.4s ease-out;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--gray-200);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Sections */
.section-spacious {
  padding: 6rem 0;
}

.content-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.section-title-white {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: white;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-600);
}

/* Problem/Solution Cards */
.problem-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ps-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
}

.ps-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}

.plain-text.ps-card {
  text-align: left;
  transform: none;
}

.ps-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.ps-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.ps-card p {
  color: var(--gray-600);
  line-height: 1.8;
}

/* Card link wrapper - removes underline and inherits text color */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover {
  text-decoration: none;
}


/* Comparison Section */
.comparison-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  padding: 6rem 0;
  color: white;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.comparison-column {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.column-header {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.column-header.accumulation {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.column-header.giving {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.header-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.column-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: white;
}

.column-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comparison-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.comparison-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.rank-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  font-size: 1.25rem;
}

.rank-badge.rank-2 {
  background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
  color: #000;
  font-size: 1.25rem;
}

.rank-badge.rank-3 {
  background: linear-gradient(135deg, #cd7f32 0%, #d4a574 100%);
  color: #000;
  font-size: 1.25rem;
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-name {
  font-weight: 600;
  color: white;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-detail {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-amount {
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.item-amount.wealth {
  color: #fca5a5;
}

.item-amount.giving {
  color: #6ee7b7;
}

.view-full-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.view-full-link:hover {
  opacity: 1;
}

/* Enhanced CTA Section */
.cta-section-enhanced {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  padding: 8rem 0;
}

.cta-content-centered {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.cta-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* Responsive Design for New Elements */
@media (max-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .problem-solution-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title-large {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-title-large {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .stat-divider {
    width: 50px;
    height: 1px;
  }
  
  .hero-cta-enhanced {
    flex-direction: column;
  }
  
  .section-title,
  .section-title-white,
  .cta-title {
    font-size: 2rem;
  }
}

/* ============================================
   ENHANCED INNER PAGES STYLES
   ============================================ */

/* Inner Page Hero */
.hero-inner {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #dbeafe 100%);
}

.hero-content-centered {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-title-large {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.page-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* Concept Visual Card */
.concept-visual-card {
  background: white;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
  border: 1px solid var(--gray-200);
}

.concept-visual-card h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--gray-900);
}

.formula-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.formula-item {
  flex: 0 1 auto;
}

.formula-box {
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  min-width: 180px;
}

.formula-box.accent {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #fbbf24;
}

.formula-box.neutral {
  background: var(--gray-100);
  border: 2px solid var(--gray-300);
}

.formula-box.primary {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, #bfdbfe 100%);
  border: 2px solid var(--primary-blue);
}

.formula-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.formula-example {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.formula-operator {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-600);
}

.formula-note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

/* Examples Grid */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.example-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
}

.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}

.example-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.example-amount {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.example-arrow {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin: 0.5rem 0;
}

.example-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Philosophy Section */
.section-philosophy {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  padding: 6rem 0;
  color: white;
}

.philosophy-content {
  max-width: 1000px;
  margin: 0 auto;
}

.philosophy-intro {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.impact-grid,
.criteria-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.impact-card,
.criteria-card,
.why-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.impact-card:hover,
.criteria-card:hover,
.why-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.impact-icon,
.criteria-icon,
.why-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.impact-card h4,
.criteria-card h4,
.why-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}

.impact-card p,
.criteria-card p,
.why-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.methodology-note {
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.methodology-note p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.8;
}

/* Stats Banner */
.stats-banner {
  background: white;
  padding: 3rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.stat-item-large {
  text-align: center;
}

.stat-number-large {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label-large {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 500;
}

.stat-divider-vertical {
  width: 1px;
  height: 60px;
  background: var(--gray-200);
}

/* Podium Section */
.podium-section {
  margin-bottom: 4rem;
  text-align: center;
}

.podium-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--gray-900);
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.podium-position {
  background: white;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gray-200);
  flex: 1;
  transition: all 0.3s ease;
}

.podium-position:hover {
  transform: translateY(-8px);
}

.podium-position.position-1 {
  order: 2;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.podium-position.position-2 {
  order: 1;
  border-color: #9ca3af;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.podium-position.position-3 {
  order: 3;
  border-color: #d97706;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.podium-medal {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.podium-rank {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.podium-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.podium-location {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.podium-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.flag-icon-small {
  width: 20px;
  height: 15px;
}

/* Modern Scoreboard List */
.scoreboard-modern {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.scoreboard-section-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--gray-900);
}

.scoreboard-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scoreboard-row {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.scoreboard-row:hover {
  background: white;
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-blue-light);
}

.scoreboard-row.top-three-row {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fbbf24;
}

.rank-column {
  width: 60px;
  flex-shrink: 0;
}

.rank-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-700);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rank-number.rank-top {
  font-size: 1.75rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
}

.info-column {
  flex: 1;
  min-width: 0;
}

.name-primary {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.location-secondary {
  font-size: 0.95rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flag-icon-inline {
  width: 20px;
  height: 15px;
}

.amount-column {
  text-align: right;
  flex-shrink: 0;
}

.amount-primary {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.amount-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Modern Charity Cards */
.charities-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.charity-card-modern {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.charity-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

.charity-image-modern {
  height: 200px;
  background: var(--gray-100);
  overflow: hidden;
}

.charity-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: white;
  padding: 1rem;
}

.charity-content-modern {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.charity-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.charity-description {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.charity-link-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.charity-link-modern:hover {
  gap: 0.75rem;
  color: var(--primary-blue-dark);
}

.charity-link-modern svg {
  transition: transform 0.2s ease;
}

.charity-link-modern:hover svg {
  transform: translateX(2px) translateY(-2px);
}

/* Empty State */
.empty-state-modern {
  text-align: center;
  padding: 6rem 2rem;
}

.empty-icon {
  font-size: 5rem;
  margin-bottom: 2rem;
  opacity: 0.5;
}

.empty-state-modern h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.empty-state-modern p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* Responsive for Inner Pages */
@media (max-width: 1024px) {
  .impact-grid,
  .criteria-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .examples-grid {
    grid-template-columns: 1fr;
  }
  
  .podium {
    flex-direction: column;
    align-items: stretch;
  }
  
  .podium-position {
    order: 0 !important;
  }
}

@media (max-width: 768px) {
  .page-title-large {
    font-size: 2.5rem;
  }
  
  .impact-grid,
  .criteria-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    flex-direction: column;
    gap: 2rem;
  }
  
  .stat-divider-vertical {
    width: 60px;
    height: 1px;
  }
  
  .scoreboard-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .info-column {
    order: 1;
  }
  
  .rank-column {
    order: 2;
  }
  
  .amount-column {
    order: 3;
    text-align: center;
  }
  
  .formula-display {
    flex-direction: column;
  }
  
  .formula-operator {
    transform: rotate(90deg);
  }
}

/* ============================================
   ABOUT & CONTACT PAGE STYLES
   ============================================ */

/* About Content Blocks */
.about-content-block {
  margin-bottom: 3rem;
}

.about-content-block h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.about-content-block p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-600);
}

/* Book Showcase */
.book-showcase {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.book-cover-large {
  text-align: center;
}

.book-cover-large img {
  max-width: 100%;
  width: 300px;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.book-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: white;
  opacity: 0.95;
}

.book-info p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.book-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* About Chris Modern */
.about-chris-modern {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.chris-photo-large img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.chris-bio-modern h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--gray-900);
}

.chris-bio-modern p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* Contact Grid Modern */
.contact-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card-modern {
  background: white;
  padding: 3rem 2rem;
  border-radius: 1rem;
  border: 2px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}

.contact-icon-large {
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.contact-card-modern h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.contact-card-modern p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-link-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-link-modern:hover {
  color: var(--primary-blue-dark);
  gap: 0.75rem;
}

.contact-link-modern svg {
  transition: transform 0.2s ease;
}

.contact-link-modern:hover svg {
  transform: translateX(2px) translateY(-2px);
}

/* Involvement Grid */
.involvement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.involvement-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.involvement-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.involvement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.involvement-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}

.involvement-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Responsive for About/Contact */
@media (max-width: 1024px) {
  .book-showcase,
  .about-chris-modern {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .book-cover-large,
  .chris-photo-large {
    text-align: center;
  }
  
  .contact-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .involvement-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BOOK PAGE STYLES
   ============================================ */

/* Single Column Book Layout */
.book-single-column {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Book Cover Centered */
.book-cover-centered {
  text-align: center;
  margin-bottom: 2rem;
}

.book-cover-image-centered {
  max-width: 350px;
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* CTA Buttons Centered */
.book-cta-centered {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn svg {
  margin-right: 0.5rem;
  vertical-align: middle;
  margin-top: 0px;
}

/* Book Meta Centered */
.book-meta-centered {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid var(--gray-200);
  width: 100%;
}

.book-meta-item {
  text-align: center;
}

.meta-label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.meta-value {
  display: block;
  color: var(--gray-900);
  font-size: 1.125rem;
  font-weight: 500;
}

/* Book Content Full Width */
.book-content-full {
  width: 100%;
}

.book-intro {
  margin-bottom: 2rem;
}

.book-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 2rem;
}

.book-section h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.book-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

/* Concepts List */
.concepts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.concept-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.concept-item:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateX(8px);
}

.concept-icon {
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
}

.concept-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.concept-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin: 0;
}

/* Audience List */
.audience-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.audience-list li {
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  color: var(--gray-700);
  border-left: 4px solid var(--primary-blue);
  transition: all 0.2s ease;
}

.audience-list li:hover {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateX(8px);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.quote-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: white;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* Responsive for Book Page */
@media (max-width: 768px) {
  .book-cover-image-centered {
    max-width: 280px;
  }

  .book-cta-centered {
    flex-direction: column;
    width: 100%;
    max-width: 350px;
  }

  .book-cta-centered .btn {
    width: 100%;
  }

  .book-meta-centered {
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .concept-item {
    flex-direction: column;
    text-align: center;
  }
}


/* Legal Pages Styling */

.legal-page {
    background-color: #ffffff;
    min-height: calc(100vh - 120px);
    padding: 60px 20px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff;
}

.legal-container h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 3px solid #7399C6;
}

.legal-updated {
    color: #666;
    font-size: 0.95em;
    font-style: italic;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #7399C6;
    font-size: 1.8em;
    margin-bottom: 15px;
    margin-top: 30px;
}

.legal-section h3 {
    color: #2c3e50;
    font-size: 1.3em;
    margin-bottom: 10px;
    margin-top: 20px;
}

.legal-section p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.legal-section ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.legal-section li {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.legal-section a {
    color: #7399C6;
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-section strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 20px;
    }

    .legal-container h1 {
        font-size: 2em;
    }

    .legal-section h2 {
        font-size: 1.5em;
    }

    .legal-section h3 {
        font-size: 1.2em;
    }

    .legal-section p,
    .legal-section li {
        font-size: 1em;
    }
}