@charset "UTF-8";

/* =========================================================
   LIFELEDGER PRO � MAIN STYLESHEET (CLEANED)
   ========================================================= */

/* === COLOR VARIABLES === */
:root {
  --gold-1: #c9a23d;
  --gold-2: #f2d14b;
  --gold-3: #e7c43a;
  --ink: #1a1a1a;
  --paper: #f5f5f5;
  --muted: #e6e6e6;
  --ink-2: #2a2a2a;
}

/* === GLOBAL SETTINGS === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--paper);
  text-decoration: none;
}

img {
  loading: lazy;
  decoding: async;
}

/* === FIX FOR HEADER VISIBILITY === */
#pageTop {
  position: relative;
  width: 100%;
  z-index: 10 !important;  /* Changed from 1000 */
}

header {
  position: sticky;
  top: 0;
  z-index: 10 !important;  /* Changed from 900 */
}

/* Remove focus outline from logo link */
header a[aria-label="Return to LifeLedger Pro homepage"],
header a[aria-label="Return to LifeLedger Pro homepage"]:focus,
header a[aria-label="Return to LifeLedger Pro homepage"]:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Also target the logo image itself */
header .logo,
header .logo:focus,
header .logo:active {
  outline: none !important;
  border: none !important;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: transparent;
}

/* === HEADER === */
/* And the duplicate header below: */
header {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 135px;
  background: linear-gradient(90deg, #e2c15a, #f8e67d);
  overflow: hidden;
  z-index: 10;  /* Changed from 900 */
  transition: all 0.4s ease;
}

header .logo {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  position: relative;
  z-index: 2;
  transition: width 0.3s ease, height 0.3s ease;
}

/* Hide mobile logo on desktop */
header .logo-mobile {
  display: none !important;  /* Added !important */
}


/* Header sheen effect */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 240, 180, 0) 25%,
    rgba(255, 240, 170, 0.45) 50%,
    rgba(255, 240, 180, 0) 75%
  );
  background-size: 200% 100%;
  animation: lightSweep 6s linear infinite;
  mix-blend-mode: overlay;
  opacity: 0.85;
  pointer-events: none;
  filter: blur(2px);
}

@keyframes lightSweep {
  0% { background-position: -150% 0; }
  100% { background-position: 150% 0; }
}
/* === HEADER TAGLINE === */
#mainHeader .tagline-image,
.tagline-image {
  display: block;
  width: 100%;
  max-width: 500px;  /* Changed from 85% to 500px */
  height: auto;
  margin: 0 auto;
  transition: max-width 0.4s ease;
}

#mainHeader .tagline {
  background: linear-gradient(
    to bottom,
    #fff8c5 0%,
    #f5d15a 35%,
    #c38a00 70%,
    #7b5200 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 #b37a00,
    0 2px 1px rgba(0, 0, 0, 0.35),
    0 3px 3px rgba(0, 0, 0, 0.45),
    0 -1px 1px rgba(255, 255, 255, 0.35);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* === FEATURE BAR === */
#feature-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  border-top: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  text-align: center;
  line-height: 1.7;
  backdrop-filter: blur(4px);
  width: 100%;
  margin: 0 auto;
}

#feature-bar a {
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  text-align: center;
  display: inline-block;
  position: relative;
  padding: 2px 4px;
}

#feature-bar a:hover {
  color: #fff7b2;
  text-shadow: 0 0 8px rgba(255, 240, 150, 0.6);
  text-decoration: underline;
}

#feature-bar a.active {
  color: #fff7b2;
  font-weight: 700;
}

/* === MAIN LAYOUT === */
main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 70px auto;
  padding: 0 20px 40px;
  box-sizing: border-box;
}

.section {
  margin: 48px auto;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  color: var(--gold-2);
  margin: 0 0 12px 0;
  line-height: 1.15;
}

h1 {
  font-size: 32px;
  line-height: 1.3;
}

h2 {
  font-size: 24px;
  line-height: 1.35;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
  text-align: left;
}

/* === ICONS === */
.icon {
  height: 35px;
  width: 35px;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}

.icon-new {
  height: 35px;
  width: 35px;
  vertical-align: middle;
  margin-right: -5px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}

.icon-new2 {
  height: 35px;
  width: 35px;
  vertical-align: middle;
  margin-right: 0;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}

.icon-new-larger {
  height: 50px;
  width: 50px;
  vertical-align: middle;
  margin-right: -5px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}

.icon-title-offset {
  display: inline-block;
  position: relative;
  top: 4px;
} 

/* === CENTER TOP H2 ON PAGES === */
h2.center-desktop {
    text-align: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
} 

/* === SECTION HEADINGS WITH ICONS === */
section h2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  text-align: left;
  color: var(--gold-2);
}

section h2 img.icon {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  vertical-align: middle;
}

section h2 > .nowrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

h2.section-header-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

/* === HERO SECTION === */
.hero {
  text-align: center;
  padding: 10px 0 6px 0;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
}

.hero .sub {
  font-size: 18px;
  line-height: 1.55;
  max-width: 900px;
  margin: 0 auto 10px auto;
  text-align: left;
}

.note {
  font-size: 14px;
  color: #ddd;
  opacity: 0.9;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* === SPOTLIGHT TEXT === */
#spotlight-top {
  font-size: 30px;
  line-height: 1.5;
  color: #f6f3e4;
  font-weight: 400;
  margin: 20px auto 10px auto;
  font-style: italic;
  width: 80%;
  text-align: center;
  animation: zoomInFade 1.2s ease-out both;
}

#spotlight-one {
  font-size: 20px;
  line-height: 1.5;
  color: #f6f3e4;
  font-weight: 400;
  margin: 0 auto 24px auto;
  font-style: italic;
  width: 80%;
  text-align: center;
  animation: zoomInFade 1.2s ease-out both;
}

#spotlight-two {
  font-size: 18px;
  line-height: 1.5;
  color: #f6f3e4;
  font-weight: 400;
  margin: 0 auto 24px auto;
  font-style: italic;
  width: 80%;
  text-align: center;
  animation: zoomInFade 1.2s ease-out both;
}

@keyframes zoomInFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #ffd84d 0%, #c9a23d 80%);
  color: #1b1605;
  font-weight: 600;
  font-size: 18px;
  padding: 10px 22px;
  border: 2px solid #a87b00;
  border-radius: 8px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 3px 6px rgba(0, 0, 0, 0.4);
  transition: all 0.1s ease-in-out;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(180deg, #ffeb83 0%, #e0b93f 85%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 12px rgba(0, 0, 0, 0.5);
}

.btn:active {
  transform: translateY(0px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.4);
}

/* === CARDS === */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: #1f1f1f;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  padding: 18px 16px;
  min-height: 220px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.card ul {
  margin: 10px 0 0 18px;
  color: #f5d470;
}

.card li {
  margin: 8px 0;
  color: #e9e4cf;
  font-size: 14px;
}

/* === STORY SECTION === */
.story {
  background: #202020;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  padding: 20px 22px;
  max-width: 100%;
}

.story-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.story-text {
  flex: 1;
}

.story-image img {
  max-width: 300px;
  min-width: 250px;
  border-radius: 12px;
  display: block;
}

/* === SECTION1 SPECIFIC === */
#section1 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

#section1 h2 {
  display: flex;
  align-items: center;
  color: var(--gold-2);
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1.2;
}

#section1 h2 img.icon {
  height: 35px;
  width: 35px;
  margin-right: 10px;
  vertical-align: middle;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}

#section1 .story-text {
  line-height: 1.65;
  color: var(--muted);
  max-width: 1100px;
  margin: 0 auto;
}

#section1 .story-text img {
  float: right;
  width: 330px;
  max-width: 45%;
  height: auto;
  margin: 0 0 14px 30px;
  border-radius: 8px;
  object-fit: cover;
}

p.section1 {
  position: relative;
  top: -8px;
}

/* === FEATURE PREVIEW SECTION === */
#feature-preview {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 4vw;
  text-align: center;
}

#feature-preview h2 {
  color: var(--gold-2);
  margin: 0 0 12px 0;
  text-align: center;
}

#feature-preview p {
  color: #e9e4cf;
  max-width: 1100px;
  margin: 0 auto 22px auto;
  line-height: 1.6;
  text-align: center;
}

#featuresExpandWrap {
  display: none;
  margin-top: 28px;
  text-align: left;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

#featuresExpandWrap h3 {
  color: var(--gold-2);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 700px;
  margin: 0 auto;
  text-align: left;
}

#featuresExpandWrap ul {
  color: #e9e4cf;
  font-size: 14px;
  line-height: 1.55;
  margin: 10px auto 0 auto;
  width: 700px;
  text-align: left;
  list-style-position: inside;
}

#featuresExpandWrap .collapse-wrap {
  text-align: center;
  margin-top: 24px;
}

.readmore-text ul {
  padding-left: 0;
  margin-left: 0;
  list-style-position: inside;
}

/* === FEATURES GRID === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  justify-content: center;
  align-items: stretch;
  margin-top: 26px;
  width: 100%;
}

.feature {
  background: #1f1f1f;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

#features ul {
  text-align: left;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--gold-2);
  display: flex;
  align-items: center;
}

.feature ul {
  margin: 8px 0 0 20px;
  color: #f5d470;
}

.feature li {
  margin: 8px 0;
  color: #e9e4cf;
  font-size: 14px;
  line-height: 1.45;
}

/* === COLLAPSIBLE LISTS === */
.collapsible-list {
  list-style: disc;
  padding-left: 22px;
  margin-top: 8px;
}

.collapsible-list li {
  margin-bottom: 0.5em;
  line-height: 1.55;
}

.toggle {
  cursor: pointer;
  color: var(--gold-2);
  user-select: none;
  display: block;
  margin: 10px 0 0 0;
  font-weight: 500;
  text-align: left;
}

.toggle::after {
  content: "Read more�";
}

.toggle.open::after {
  content: "Collapse ▲";
}

.nested-list {
  display: none;
  margin: 0.6rem 0 0 22px;
}

.toggle.open + .nested-list {
  display: block;
}

/* === GOLD DIVIDERS === */
.divider-w80,
.divider-w60,
.divider-w80-lower-margin {
  display: block;
  max-width: 600px;
  height: 3px;
  margin: 40px auto;
  border: none;
  background: url('../images/gold-bar.png') no-repeat center;
  background-size: 100% 100%;
}
.divider-w80 {
  width: 80%;
}
.divider-w60 {
  width: 60%;
}
.divider-w80-lower-margin {
  width: 80%;
  margin: 20px auto;
}

.divider-w80-10px-top-bottom-margins {
  display: block;
  width: 80%;
  max-width: 600px;
  height: 3px;
  margin: 10px auto;
  border: none;
  background: url('../images/gold-bar.png') no-repeat center;
  background-size: 100% 100%;
}

/* === FOOTER === */
footer {
  background-color: var(--ink-2);
  color: #ccc;
  border-top: 1px solid #555;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: visible;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 10px;
  text-align: center;
}

.footer-left,
.footer-right {
  flex: 1 1 420px;
  background: #1f1f1f;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  text-align: center;  /* ADD THIS LINE */
}

.footer-left h2,
.footer-right h2 {
  color: var(--gold-2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;  /* ADD THIS LINE */
  font-size: 20px;
}

p.footer-content {
  text-align: center;
}

.footer-bottom {
  background: #1b1b1b;
  text-align: center;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 60px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.footer-copy {
  font-size: 18px;
  color: #d8d8d8;
  letter-spacing: 0.5px;
  margin: 0;
}

.footer-slogan {
  color: var(--gold-2);
  font-style: italic;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin: 0;
}

/* === SHARE BUTTONS === */
.bottom-center-share-buttons {
  position: fixed;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.bottom-center-share-buttons .a2a_kit {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 10px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.bottom-center-share-buttons .a2a_kit a {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.bottom-center-share-buttons .a2a_kit a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* === UTILITIES === */
.excel-inline {
  height: 22px;
  vertical-align: middle;
  margin: 0 6px;
}

.centered-div {
  width: 100%;  /* Change from 50% to 100% */
  margin: 0 auto;
  text-align: center;  /* Add this line */
}

/* === OLD CARD UNIVERSAL UL/LI RULES (HAD TO REMOVE DUE TO MENU FIX) === */
/*ul, ol {
  margin-top: 6px;
  margin-bottom: 10px;
  padding-left: 18px;
  list-style-position: inside;
} 
*/ 

/* === NEW CARD UL/LI RULES  === */
/* === CONTENT LISTS (for survivor-roadmap and similar pages) === */
.content-list {
  margin-top: 6px;
  margin-bottom: 10px;
  padding-left: 22px;
  list-style: disc;
  list-style-position: inside;
}

.content-list li {
  margin: 8px 0;
  color: #e9e4cf;
  font-size: 14px;
  line-height: 1.55;
}

/* Nested lists within content */
.content-list .content-list {
  margin-top: 6px;
  padding-left: 22px;
}

/* === PURE CSS LIGHTBOX === */
.lightbox-link {
  cursor: pointer;
}

.lightbox-overlay-css {
  width: 0;
  height: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 9999;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lightbox-overlay-css:target {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

/* Full-screen clickable backdrop */
.lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

/* Make image clickable to close */
.lightbox-image-link {
  position: relative;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay-css img {
  max-width: 90vw !important;     /* Force viewport width */
  max-height: 90vh !important;    /* Force viewport height */
  width: auto !important;
  height: auto !important;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s;
}

.lightbox-overlay-css:target img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close-css {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s, color 0.3s;
}

.lightbox-overlay-css:target .lightbox-close-css {
  opacity: 1;
}

.lightbox-close-css:hover {
  color: #ccc;
}  

/* Make lightbox-linked images clickable above sticky header */
.lightbox-link {
  position: relative;
  z-index: 500;
}

.lightbox-link img {
  position: relative;
  z-index: 500;
}
/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (min-width: 881px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 255px;
    padding: 0 40px;
    background-position: left center;
    box-sizing: border-box;
  }

  header .logo {
    height: 240px;
    width: auto;
    margin: 0 0 5px 0;
  }
  
  /* Make tagline link grow and center its content */
  header a[aria-label*="Beta Testing"] {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  br.mobile-break {
    display: none;
  }

  header.shrunk {
    height: 154px !important;
    min-height: 154px !important;
    padding: 0 20px !important;
  }

  header.shrunk .logo-desktop {
    height: 115px;
    width: auto;
  }

  header.shrunk .tagline-image {
    max-width: 336px;
  }
}

/* === TABLET/MOBILE (880px and below) === */
@media (max-width: 880px) {
  body, p, .sub, li, ul, ol {
    font-size: 18px;
    line-height: 1.7;
  }

  h1 { font-size: 26px; line-height: 1.3; }
  h2 { font-size: 22px; line-height: 1.35; }
  h3 { font-size: 19px; line-height: 1.4; }

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px 12px !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible;
  }

  header .logo-desktop {
    display: none !important;
  }
  
header .logo-mobile {
  display: block !important;
  width: 95%;
  min-width: 280px;
  max-width: 500px;  /* Changed from 400px to 450px */
  height: auto;
  margin: 0 auto;
}
  .logo {
    width: 250px;
  }

  .tagline-image {
    display: none;
  }

  #mainHeader .tagline {
    margin: 6px auto 5px auto;
    text-align: center;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero .sub {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    width: 100%;
    padding: 0 5vw;
    text-align: left;
  }
  
  .hero .sub {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    width: 100%;
    padding: 0 5vw;
    text-align: left;
  }

  #feature-bar {
    position: static;
    background: transparent;
    border-top: none;
    border-bottom: none;
    backdrop-filter: none;
    gap: 10px;
    padding: 6px 8px;
  }

  #feature-bar a {
    font-size: 17px;
    display: block;
    text-align: center;
    margin: 2px 0;
  }

  section.section {
    padding: 28px 16px;
    margin: 0 auto;
  }

  section h2 {
    font-size: 20px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
  }

  section h2 img.icon {
    width: 36px;
    height: auto;
    margin-right: 6px;
    flex-shrink: 0;
  }
  
  h2.section-header-centered img.icon,
  h2.section-header-left img.icon {
    width: 36px;
    height: auto;
    margin-right: 6px;
    flex-shrink: 0;
  }

  h2.center-mobile {
    text-align: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  #section1 {
    padding: 0 5px;
  }

  #section1 .story-text img {
    float: none;
    display: block;
    margin: 16px auto;
    width: 100%;
    max-width: 92%;
  }

  .story-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .story-text h2 {
    text-align: center;
  }

  .story-image {
    order: -1;
    margin-bottom: 16px;
  }

  .story-image img {
    max-width: 85%;
  }

  .story-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .story-text img,
  .story-text .responsive-image,
  img.responsive-image {
    float: none;
    display: block;
    margin: 8px auto;
    max-width: 100%;
    height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #featuresExpandWrap h3,
  #featuresExpandWrap ul {
    width: 90%;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .footer-left h2,
  .footer-right h2 {
    justify-content: center;
  }

  .footer-bottom-inner {
    gap: 50px;
  }

  .footer-slogan {
    font-size: 26px;
  }

  footer#footer {
    padding: 18px 0;
    font-size: 14px;
    opacity: 0.85;
  }
}

/* === FORCE PROPER IMAGE SCALING (1100px and below) === */
@media (max-width: 1100px) {
  section .story-text img,
  section .story-text .lightbox-link img,
  section img:not(.icon):not(.excel-inline):not(.logo):not(.tagline-image) {
    display: block !important;
    float: none !important;
    margin: 14px auto 20px auto !important;
    width: 100% !important;
    max-width: 330px !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: cover;
  }
  
  section .story-text .lightbox-link {
    display: block !important;
    float: none !important;
    margin: 14px auto 20px auto !important;
    width: 100% !important;
    max-width: 330px !important;
  }
}

/* === EXTRA SMALL DEVICES (480px and below) === */
@media (max-width: 480px) {
  body, p, .sub, li, ul, ol {
    font-size: 20px;
    line-height: 1.75;
  }
  
  /* Make lightbox work great on phones */
  .lightbox-overlay-css img {
    max-width: 95% !important;
    max-height: 85vh !important;
  }
  
  .lightbox-close-css {
    font-size: 50px !important;
    top: 10px !important;
    right: 15px !important;
  }
} 

  /* Beta Testing Page Image Styles */
@media (min-width: 768px) {
  .beta-img-150 {
    width: 150px !important;
    height: 100px !important;
    object-fit: cover !important;
  }
}

@media (max-width: 767px) {
  .beta-img-150 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 0 20px 0 !important;
    display: block !important;
  }
}


  /* CSS for beta-testing.html responsive table switching */
@media (min-width: 768px) {
  .desktop-comparison-table {
    display: block !important;
  }
  .mobile-comparison-table {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .desktop-comparison-table {
    display: none !important;
  }
  .mobile-comparison-table {
    display: block !important;
  }
  
  #spotlight-top {
    margin-top: -15px !important;
  }
  
  .section.content-block {
    padding-top: 5px !important;  /* Reduces space at top of all content sections */
  }
  
  /* Or target specific intro sections */
  section[id^="section-intro"] {
    padding-top: 5px !important;
  }
} 

/* === GOLD EXTERNAL LINKS === */
a.gold-link {
  color: #ffcc66;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.gold-link:hover {
  color: #ffd84d;
  text-decoration: underline;
}
 
/* Lightbox Overlay - dark background */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9998;
}

/* Lightbox Container */
.lightbox-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1100px;
  height: 90vh;
  background: #1a1a1a;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: -15px;
  right: -15px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #ffd84d;
}	

/* === GOLD BACK TO TOP BUTTON (for ID myBtn) === */
#myBtn {
  display: none;
  position: fixed !important;
  bottom: 40px !important;
  right: 10px !important;
  z-index: 2147483647 !important;
  padding: 10px 20px !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  background: linear-gradient(180deg, #ffd84d 0%, #c9a23d 80%) !important;
  border: 2px solid #a87b00 !important;
  border-radius: 25px !important;
  text-shadow: 0 1px 1px rgba(255,255,255,0.4) !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5),
              inset 0 1px 0 rgba(255,255,255,0.4) !important;
  cursor: pointer !important;
  transition: opacity 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

#myBtn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.6),
              inset 0 1px 0 rgba(255,255,255,0.5) !important;
  background: linear-gradient(180deg, #ffeb83 0%, #e0b93f 85%) !important;
} 

/* Feature list specific styles */
.feature-category {
  margin-bottom: 40px;
  background: rgba(0,0,0,0.2);
  padding: 25px;
  border-radius: 8px;
}

.feature-category h3 {
  color: var(--gold-2);
  margin-bottom: 15px;
  font-size: 24px;
  border-bottom: 2px solid var(--gold-2);
  padding-bottom: 8px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 215, 64, 0.2);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list a {
  color: var(--gold-2);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-block;
}

.feature-list a:hover {
  color: #ffe27a;
}

.category-intro {
  color: #d4d4d4;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
}