/* ================= PRODUCT SHOWCASE (STICKY SCROLL) ================= */
.features-scroll {
  background: #0d0d0d;
  padding: 120px 40px;
}

.features-scroll-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.features-sticky-col {
  position: sticky;
  top: 100px;
}

.features-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffbd59;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.features-main-heading {
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 40px;
  text-align: left;
}

.features-nav {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.feat-track {
  width: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
  margin-right: 16px;
}

.feat-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0%;
  background: #ffbd59;
  border-radius: 2px;
  transition: height 0.15s linear;
}

.feat-nav-items {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.feat-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 14px 12px;
  border-radius: 8px;
  transition: background 0.3s ease;
  font-family: inherit;
  flex: 1;
}

.feat-nav-btn:hover {
  background: rgba(255,255,255,0.04);
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.feat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s ease;
  letter-spacing: 0.2px;
}

.feat-nav-btn.active .feat-dot {
  background: #ffbd59;
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(255,189,89,0.6);
}

.feat-nav-btn.active .feat-label {
  color: #ffbd59;
}

.features-scroll-col {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-bottom: 60px;
}

.feature-panel {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.feature-panel.in-view {
  opacity: 1;
  transform: translateY(0);
}

.feature-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 36px;
}

.feature-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.8s ease;
}

.feature-panel.in-view .feature-img-wrap img {
  transform: scale(1.03);
}

.feature-img-num {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  letter-spacing: -4px;
  pointer-events: none;
}

.feature-text {
  padding: 0 4px;
}

.feature-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ffbd59, #ffa500);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255,189,89,0.35);
}

.feature-icon i {
  font-size: 20px;
  color: #111;
}

.feature-text h3 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0;
}

.feature-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
}

/* ---- Tablet ---- */
@media (max-width: 900px) {
  .features-scroll { padding: 80px 32px; }

  .features-scroll-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-sticky-col { position: relative; top: 0; }

  .feat-track { display: none; }

  .features-nav { flex-direction: column; }

  .feat-nav-items {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .feat-nav-btn {
    flex: unset;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    
  }

  .feat-nav-btn.active {
    background: #00000038;;
    
    border-color: #ffffff;;
  }

  

  .feat-dot { display: none; }
  .feat-label { font-size: 12px; }
  .features-scroll-col { gap: 72px; }
  .feature-img-num { font-size: 60px; }
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .features-scroll { padding: 60px 20px; }
  .features-main-heading { font-size: 26px; }
  .feat-nav-btn { padding: 7px 12px; }
  .feat-label { font-size: 11px; }
  .features-scroll-col { gap: 56px; }

  .feature-img-wrap {
    border-radius: 14px;
    margin-bottom: 24px;
  }

  .feature-img-num { font-size: 48px; bottom: 12px; right: 16px; }
  .feature-icon { width: 40px; height: 40px; }
  .feature-icon i { font-size: 17px; }
  .feature-text h3 { font-size: 22px; }
  .feature-text p { font-size: 15px; line-height: 1.75; }
}

/* ================= CITATIONS SECTION ================= */

.citations-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid #e5e7eb;
}

.citations-container {
  max-width: 1000px;
  margin-left: 30px;
  text-align: left;
}

.citations-container h3 {
  font-size: 18px;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.citations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content:left;
  align-items:start;
  gap: 15px;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
}

.citation-item {
  display: inline-block;
}

.citation-item em {
  color: #667eea;
  font-style: normal;
  font-weight: 500;
}

.citation-divider {
  color: #667eea;
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 768px) {
  .citations-list {
    flex-direction: column;
    gap: 10px;
  }
  
  .citation-divider {
    display: none;
  }
}

/* ================= SPLIT SECTIONS ================= */

.split-section {
  padding: 140px 20px;
  background: white;
  color: #a84242a8;
}


.split-section.alt {
  background: #f7f7f7;
}

.split-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.split-section.alt .split-inner {
  flex-direction: row-reverse;
}

.split-image img {
  max-width: 500px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}

.split-image img:hover {
  transform: scale(1.04);
}

.split-text h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.split-text p {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
}

/* ================= COMMUNITY ================= */

.community {
  background: #ffffff;
  margin-bottom: 50px;

  color: white;
  text-align: center;
}

.button-group {
  gap: 15px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.community h2 {
  font-size: 36px;
  margin-bottom: 80px;
  color: #1a1a1a;
}

.reviews {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.review {
  max-width: 300px;
  padding: 40px;
  background: rgb(95, 95, 95);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  
}

.review p {
  font-style: italic;
  margin-bottom: 15px;
  color: #fff;
}

.review span {
  font-size: 14px;
  color: #fff;
  
}

.logos {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.logos img {
  max-height: 60px;
  
    opacity: 1;

  transition: 0.3s ease;
}

.logos img:hover {
  opacity: 0.5;
}

/* ================= SCROLL REVEAL ================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .product-intro-inner,
  .split-inner {
    flex-direction: column;
    text-align: center;
  }

  .split-section.alt .split-inner {
    flex-direction: column;
  }

   .button-group a {
    width: 100%;
    text-align: center;
  }
}


/* ================= GLOBAL ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #222;
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
}

h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 32px;
}


/* ================= NAVIGATION ================= */
header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin-left: 30px;
    padding: 20px;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: left;
    gap: 60px;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover {
    opacity: 0.6;
}

.menu .active {
    font-weight: 700;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    list-style: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: #fff;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    min-width: 180px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.menu-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 5px;
}

.hero-icon {
  width: 240px;
  max-width: 40vw;
  margin: 1.5rem auto 1.2rem;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
  animation: introRotate 1s ease-in-out;
}

.hero-icon:hover {
   transform: rotate(-15deg);
  transition: transform 0.3s ease;
}

@keyframes introRotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.dropdown-content li {
    padding: 10px 20px;
}

.dropdown-content li a {
    display: block;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ================= HERO VIDEO ================= */
.hero-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px 20px 20px;
    
    
}

.hero-video {
    width: 66%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;

}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}



/* ================= FOUNDERS ================= */
.founders {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.founder {
    text-align: center;
    max-width: 250px;
}

.founder img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.founder img:hover {
    transform: scale(1.05);
}

.founder h3 {
    margin-bottom: 8px;
}

.founder p {
    color: #666;
    font-size: 14px;
}


/* ================= VALUES ================= */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-card {
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.4s ease;

    opacity: 0;
    transform: translateY(40px);
}

.value-card.show {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.value-card h4 {
    margin-bottom: 16px;
    font-size: 20px;
}

.verse {
    font-style: italic;
    margin-bottom: 14px;
    color: #555;
}


/* ================= FOOTER (RESTORED) ================= */
footer {
    background: #474747;
    padding: 60px 20px;
    color: rgba(255,255,255,0.9);
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
    color: #fff;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}


/* ================= HERO SECTION ================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
  
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
  
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}


.secondary-btn {
display: inline-block;
  color: white;
  padding: 0.85rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.primary-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff3131, #db2020);
  color: white;
  padding: 0.85rem 1.6rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(246, 59, 59, 0.4);
}

.primary-btn2 {
  display: inline-block;
  background: linear-gradient(135deg, #ffbd59, #ffbd59);
  color: white;
  padding: 0.85rem 1.9rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.primary-btn2:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(246, 202, 59, 0.4);
}

.primary-btn3 {
  display: inline-block;
  background: linear-gradient(135deg, #00ca68, #00ca68);
  color: white;
  padding: 0.85rem 1.6rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.primary-btn3:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(59, 246, 90, 0.4);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.links {
  margin-top: 30px;
}

.links a {
  color: #667eea;
  text-decoration: underline;
  transition: 0.3s;
}

.links a:hover {
  color: #5568d3;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }

  .button-group a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .primary-btn {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
  .primary-btn2 {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
  .primary-btn3 {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
.secondary-btn {
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}
}



/* ================= FEATURED VERSE ================= */
.featured-verse {
    padding: 1px 20px;
    background: #ffbd59; /* subtle contrast */
    text-align: center;
    border-bottom-width: 5px;
    border-color: #000;
}

.featured-verse {
    padding-top: 35px;
    
    padding-bottom: 35px;
    background: #ffffff65; /* subtle contrast */
    text-align: center;
}

.verse-container {
    max-width: 800px;
    margin: auto;
}

.verse-text {
    font-size: 26px;
    font-style: italic;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.verse-reference {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777;
}
@media (max-width: 768px) {
  .verse-text {
    font-size: 18px;
  }
}


/* ================= ANCHOR CARDS CONTAINER ================= */

.anchor-cards-container {
  padding: 80px 20px 100px 20px;
  background: #f9fafb;
}

.anchor-cards-inner {
  max-width: 90%;
  margin: 0 auto;
}


/* ================= TESTAMENT TOGGLE BUTTONS ================= */

.testament-toggle {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.5);
  padding: 5px;
  border-radius: 10px;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background: rgba(255,255,255,0.7);
}

.toggle-btn.active {
  background: white;
  color: #667eea;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.toggle-btn i {
  font-size: 16px;
}

@media (max-width: 768px) {
  .testament-toggle {
    flex-direction: column;
    width: 100%;
  }
  
  .toggle-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ================= CARD GRID (SINGLE UNIFIED VIEW) ================= */

:root {
  --card-size: 120px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
  min-height: 300px;
}

/* ================= CARD STYLING WITH FLIP EFFECT ================= */

.card {
  width: var(--card-size);
  height: calc(var(--card-size) * 1.4);
  cursor: grab;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  position: relative;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* Flip the card when it has the 'flipped' class */
.card.flipped .card-inner {
  transform: rotateY(180deg);
}

/* When hidden mode is active, flip all cards to show backs */
.card.hidden .card-inner {
  transform: rotateY(180deg);
}

/* When flipped in normal mode OR revealed in hidden mode */
.card.flipped .card-inner,
.card.hidden.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.card-front {
  background: white;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.card-back {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.card-back-verse,
.card-back-anchor,
.card-back-image {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

/* Verse has padding */
.card-back-verse {
  padding: 15px;
  opacity: 1;
}

/* Anchor icon has padding */
.card-back-anchor {
  padding: 15px;
  opacity: 0;
  pointer-events: none;
}

/* Image fills entire space with NO padding */
.card-back-image {
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

/* Normal mode: show verse on back */
.card.hidden .card-back-verse {
  opacity: 0;
  pointer-events: none;
}

.card.hidden .card-back-anchor {
  opacity: 1;
  pointer-events: auto;
}

/* Hide mode + Flipped: show card image */
.card.hidden.flipped .card-back-anchor {
  opacity: 0;
  pointer-events: none;
}

.card.hidden.flipped .card-back-image {
  opacity: 1;
  pointer-events: auto;
}

.card-back .verse-text {
  font-size: calc(var(--card-size) * 0.1);
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-back .verse-reference {
  font-size: calc(var(--card-size) * 0.08);
  font-weight: 600;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.anchor-back-icon {
  width: 60%;
  max-width: calc(var(--card-size) * 0.7);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  opacity: 0.9;
}

.card-image-back {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.card-front-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.card.dragging {
  opacity: 0.5;
  transform: rotate(5deg) scale(1.05);
}

.card:hover {
  transform: translateY(-5px) rotate(-2deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card:active {
  cursor: grabbing;
}

/* Drag over animations (IMPROVED) */
.card.drag-over {
  transform: scale(1.05);
  transition: all 0.2s ease;
}

/* Insert indicator - left side (ENHANCED) */
.card.drag-over-left::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 5%;
  bottom: 5%;
  width: 6px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.8);
  animation: pulseInsertIndicator 0.5s ease-in-out infinite;
  z-index: 10;
}

/* Insert indicator - right side (ENHANCED) */
.card.drag-over-right::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 5%;
  bottom: 5%;
  width: 6px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.8);
  animation: pulseInsertIndicator 0.5s ease-in-out infinite;
  z-index: 10;
}

@keyframes pulseInsertIndicator {
  0%, 100% {
    opacity: 0.7;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}

/* ================= CHECK ORDER STATES ================= */

.card.correct-order {
  border: 6px solid #10b981;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
  animation: correctPulse 1s ease;
}

.card.wrong-order {
  border: 6px solid #ef4444;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
  animation: wrongShake 0.5s ease;
}

.card.close-order {
  border: 6px solid #f97316;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.6);
  animation: closeBounce 0.6s ease;
}

/* Remove border when card is flipped in hide mode showing image */
.card.hidden.flipped.correct-order,
.card.hidden.flipped.wrong-order,
.card.hidden.flipped.close-order {
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

@keyframes correctPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes wrongShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes closeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ================= GAME MESSAGES ================= */

.game-message {
  max-width: 100%;
  margin: 0 0 30px 0;
  padding: 20px 28px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.game-message.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.game-message.warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.game-message.info {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

/* ================= MOBILE RESPONSIVENESS ================= */

@media (max-width: 600px) {
  .game-controls {
    flex-direction: column;
    gap: 15px;
  }

  .game-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

.card-controls {
  max-width: 100%;
  margin: 0 20px 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.card-controls label {
  font-size: 14px;
  font-weight: 500;
}

.card-controls input[type="range"] {
  width: 180px;
}


/* ================= IMPROVED MENU BAR (LEFT-CENTER ALIGNED) ================= */

.anchor-menu-bar {
  width: 100%;
  border-bottom: 2px solid #ffbd599d;
  padding: 15px 20px;
  border-radius: 12px 12px 0 0;
  margin-bottom: 20px;
}

.menu-inner {
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: left;
  gap: 25px;
  flex-wrap: wrap;
}

/* TITLE + DESCRIPTION (LEFT-CENTER aligned) */

.menu-title-group {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}

.menu-title {
  font-weight: 700;
  font-size: 30px;
  color: #2c3e50;
}

.menu-description {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

/* BUTTONS */

.menu-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.menu-btn.primary {
  background: #2563eb;
  color: white;
}

.menu-btn.secondary {
  background: #f59e0b;
  color: white;
}

.menu-btn.danger {
  background: #ef4444;
  color: white;
}

.menu-btn.info {
  background: #8b5cf6;
  color: white;
}

.menu-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.menu-btn:active {
  transform: translateY(0);
}

/* SLIDER */

.menu-size {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #495057;
}

.menu-size input[type="range"] {
  width: 120px;
  height: 6px;
  cursor: pointer;
  accent-color: #667eea;
}

/* LEGEND */

.menu-legend {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #495057;
  align-items: center;
}

.menu-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dot.green { background: #10b981; }
.dot.yellow { background: #f97316; }
.dot.red { background: #ef4444; }

/* MOBILE */

@media (max-width: 900px) {
  .menu-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .menu-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .menu-legend {
    width: 100%;
    justify-content: flex-start;
  }
}


/* ================= PROGRESS BAR & STATS ================= */

.progress-container {
  margin: 20px 0 30px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  flex-wrap: wrap;
  gap: 10px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #dee2e6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}


/* ================= CONFETTI PARTICLES ================= */

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 9999;
  animation: confettiFall linear forwards;
  pointer-events: none;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotateZ(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotateZ(720deg);
    opacity: 0;
  }
}

/* ================= BOOKLET SECTION ================= */
.booklet-section {
  padding: 100px 20px;
  background: #474747;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booklet-container {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

.booklet-title {
  font-size: 48px;
  color: #ffbd59;
  margin-bottom: 16px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(255, 189, 89, 0.3);
}

.booklet-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 60px;
}

.booklet-viewer {
  position: relative;
  display: inline-block;
}

.book-container {
  position: relative;
  width: 900px;
  height: 636px;
  margin: 0 auto;
  perspective: 2500px;
}

.book {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Book spine in the middle */
.book-spine {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, #3a2a1a 0%, #2a1a0a 50%, #3a2a1a 100%);
  box-shadow: 
    inset 0 0 5px rgba(0,0,0,0.8),
    0 0 10px rgba(0,0,0,0.5);
  z-index: 100;
  pointer-events: none;
}

/* Individual page styling */
.page-wrapper {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  transform-style: preserve-3d;
  transition: transform 0.8s ease-in-out;
  cursor: pointer;
  right: 0;
  transform-origin: left center;
}

.page-content {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.page-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Front and back of pages */
.page-front {
  transform: rotateY(0deg) translateZ(1px);
}

.page-back {
  transform: rotateY(180deg) translateZ(1px);
}

/* Flip states */
.page-wrapper.flipped {
  transform: rotateY(-180deg);
}



/* Controls */
.booklet-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.booklet-nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffbd59, #ff9a3c);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 189, 89, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.booklet-nav-btn:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 189, 89, 0.5);
}

.booklet-nav-btn:active:not(:disabled) {
  transform: scale(1.05);
}

.booklet-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-info {
  color: #ffbd59;
  font-size: 22px;
  font-weight: 600;
  min-width: 100px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1000px) {
  .book-container {
    width: 700px;
    height: 495px;
  }
}

@media (max-width: 750px) {
  .book-container {
    width: 90vw;
    height: calc(90vw * 0.707);
  }
  
  .booklet-title {
    font-size: 36px;
  }
  
  .book-spine {
    width: 6px;
  }
}




/* ================= SOCIAL PROOF ================= */

.social-proof {
  padding: 12px 2px;
  background: #ffffff;
  text-align: center;
}

.social-inner {
  max-width: 1200px;
  margin: auto;
}

.social-proof h2 {
  font-size: clamp(28px, 3vw, 44px);
  color: #111;
  padding-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;

}

.social-proof p {
  max-width: 700px;
  margin: 0 auto 60px auto;
  color: #555;
  line-height: 1.7;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.instagram-grid iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}



.model-viewer-section {
  padding: 100px 20px;
  position: relative;
  background: transparent;
}

.model-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: transparent;
}

.model-container h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.model-subtitle {
  color: #888;
  margin-bottom: 40px;
  font-size: 1rem;
}

#canvas-container {
  width: 100%;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}/* ================= MODEL VIEWER SECTION ================= */
.model-viewer-section-new {
  padding: 120px 40px;
  background: #fff;
  position: relative;
}

.model-container-new {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-new {
  text-align: left;
  margin-bottom: 60px;
}

.section-header-new h2 {
  font-size: clamp(28px, 3vw, 44px);
  color: #111;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.section-subtitle-new {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  line-height: 1.7;
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.model-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid #e8e8e8;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: #d0d0d0;
}

.card-header {
  margin-bottom: 24px;
  text-align: left;
}

.card-header h3 {
  font-size: 20px;
  color: #111;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.card-header p {
  font-size: 14px;
  color: #888;
  line-height: 1.5;
}

.model-frame {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  margin-bottom: 0;
}

.model-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ================= TV CONTAINER ================= */
.tv-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-bottom: 0;
}

.tv-frame {
  position: relative;
  width: 100%;
}

.tv-screen {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 10px #1a1a1a,
    0 0 0 11px #2a2a2a,
    0 24px 48px rgba(0,0,0,0.2);
}

.tv-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.04) 0%,
    transparent 50%,
    rgba(0,0,0,0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.tv-screen video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -1px;
}

.tv-stand-neck {
  width: 60px;
  height: 32px;
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  border-radius: 0 0 6px 6px;
}

.tv-stand-base {
  width: 160px;
  height: 12px;
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  border-radius: 6px;
  margin-top: -1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ================= PLAY BUTTON ================= */
.card-footer {
  text-align: center;
  margin-top: 28px;
}

.play-button {
  position: relative;
  padding: 16px 44px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff4747 0%, #ff4040 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: inherit;
  letter-spacing: 0.3px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow:
    0 4px 16px rgba(180, 0, 0, 0.4),
    0 1px 0 rgba(255,255,255,0.1) inset;
}

.play-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.play-button:hover:not(:disabled)::before {
  left: 140%;
}

.play-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow:
    0 8px 28px rgba(180, 0, 0, 0.55),
    0 1px 0 rgba(255,255,255,0.1) inset;
}

.play-button:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(180, 0, 0, 0.4);
}

.play-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.play-button:not(:disabled)::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  border: 1.5px solid rgba(220, 0, 0, 0.4);
  animation: btnRingPulse 2.5s ease-in-out infinite;
}

@keyframes btnRingPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0;   transform: scale(1.06); }
}

.play-button i {
  font-size: 14px;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

.video-status {
  font-size: 13px;
  color: #aaa;
  min-height: 20px;
}

.card-footer a {
  color: #ffbd59;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.card-footer a:hover {
  color: #e6a800;
}

/* ---- Tablet ---- */
@media (max-width: 1000px) {
  .model-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .model-viewer-section-new {
    padding: 80px 24px;
  }

  .model-card {
    padding: 28px 20px;
  }

  .tv-stand-base {
    width: 120px;
  }

  .play-button {
    padding: 14px 36px;
    font-size: 14px;
  }
}

@media (max-width: 500px) {
  .model-viewer-section-new {
    padding: 60px 20px;
  }

  .card-header h3 {
    font-size: 18px;
  }

  .model-card {
    padding: 24px 16px;
  }

  .play-button {
    padding: 13px 28px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}

/* ================================================== */
/* PRODUCT SHOWCASE - COLOR CUSTOMIZATION SYSTEM */
/* ADD THIS TO YOUR SubPages_style.css FILE */
/* ================================================== */

/* ========== IRBs THEME (RED) ========== */
.features-scroll[data-theme="irb"] .feat-track-fill {
  background: #d35959 !important;
}

.features-scroll[data-theme="irb"] .feat-nav-btn.active .feat-dot {
  background: #d35959;
  box-shadow: 0 0 8px rgba(255, 49, 49, 0.6);
}

.features-scroll[data-theme="irb"] .feat-nav-btn.active .feat-label {
  color: #fff;
}

.features-scroll[data-theme="irb"] .feature-icon {
  background: linear-gradient(135deg, #d35959, #d35959);
  box-shadow: 0 4px 16px rgba(255, 49, 49, 0.35);
}

.features-scroll[data-theme="irb"] .feature-text h3 {
  color: #d35959;
}


/* ========== ANCHOR THEME (GOLD/YELLOW) ========== */
.features-scroll[data-theme="anchor"] .feat-track-fill {
  background: #a8a642 !important;
}

.features-scroll[data-theme="anchor"] .feat-nav-btn.active .feat-dot {
  background: #a8a642;
  box-shadow: 0 0 8px rgba(168, 166, 66, 0.6);
}

.features-scroll[data-theme="anchor"] .feat-nav-btn.active .feat-label {
  color: #a8a642;
}

.features-scroll[data-theme="anchor"] .feature-icon {
  background: linear-gradient(135deg, #a8a642, #8a8435);
  box-shadow: 0 4px 16px rgba(168, 166, 66, 0.35);
}

.features-scroll[data-theme="anchor"] .feature-text h3 {
  color: #a8a642;
}


/* ========== PULSE THEME (GREEN #48e080) ========== */
.features-scroll[data-theme="pulse"] .feat-track-fill {
  background: #48e080 !important;
}

.features-scroll[data-theme="pulse"] .feat-nav-btn.active .feat-dot {
  background: #48e080;
  box-shadow: 0 0 8px rgba(72, 224, 128, 0.6);
}

.features-scroll[data-theme="pulse"] .feat-nav-btn.active .feat-label {
  color: #fff;
}

.features-scroll[data-theme="pulse"] .feature-icon {
  background: linear-gradient(135deg, #48e080, #2ebd62);
  box-shadow: 0 4px 16px rgba(72, 224, 128, 0.35);
}

.features-scroll[data-theme="pulse"] .feature-img-wrap {
  background: none;
}

.features-scroll[data-theme="pulse"] .feature-img-wrap img {
  object-fit: cover;
  padding: 0;
}

.features-scroll[data-theme="pulse"] .features-eyebrow {
  color: #48e080;
}

.features-scroll[data-theme="pulse"] .feature-text h3 {
  color: #48e080;
}

/* ========== PULSE GITHUB SECTION ========== */
.pulse-github {
  background: #080f0b;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.pulse-github::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(72, 224, 128, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.github-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.github-text-col .section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: #48e080;
  margin-bottom: 16px;
}

.github-text-col h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: left;
}

.github-text-col p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 32px;
}

.github-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.github-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.github-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: #48e080;
  line-height: 1;
}

.github-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #48e080;
  color: #080f0b;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(72, 224, 128, 0.3);
}

.github-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(72, 224, 128, 0.45);
  background: #65e893;
}

.github-btn i {
  font-size: 18px;
}

.github-card-col {
  perspective: 1000px;
}

.github-repo-card {
  background: #0e1f15;
  border: 1px solid rgba(72, 224, 128, 0.2);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.github-repo-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(72, 224, 128, 0.3);
}

.github-repo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #48e080, transparent);
}

.repo-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.repo-icon {
  width: 44px;
  height: 44px;
  background: rgba(72, 224, 128, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.repo-icon i {
  font-size: 20px;
  color: #48e080;
}

.repo-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.repo-owner {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.repo-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.repo-tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(72, 224, 128, 0.1);
  color: #48e080;
  border: 1px solid rgba(72, 224, 128, 0.2);
  font-weight: 600;
}

.repo-meta {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.repo-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.repo-meta-item i {
  font-size: 12px;
  color: #48e080;
}

/* ========== PULSE TUTORIAL SECTION ========== */
.pulse-tutorial {
  background: #060e09;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.pulse-tutorial::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(72, 224, 128, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.tutorial-inner {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.tutorial-header {
  text-align: center;
  margin-bottom: 64px;
}

.tutorial-header .section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: #48e080;
  margin-bottom: 14px;
}

.tutorial-header h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.tutorial-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.tutorial-video-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(72, 224, 128, 0.15);
  aspect-ratio: 16 / 9;
  background: #0d1f14;
}

.tutorial-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tutorial-video-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #48e080, transparent);
  pointer-events: none;
}

.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tutorial-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tutorial-step:last-child {
  border-bottom: none;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(72, 224, 128, 0.1);
  border: 1px solid rgba(72, 224, 128, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #48e080;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

.tutorial-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #48e080;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(72, 224, 128, 0.3);
  padding: 12px 22px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tutorial-cta:hover {
  background: rgba(72, 224, 128, 0.1);
  transform: translateX(3px);
}

/* ========== PULSE GITHUB + TUTORIAL RESPONSIVE ========== */
@media (max-width: 860px) {
  .github-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tutorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .github-text-col h2 {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .pulse-github,
  .pulse-tutorial {
    padding: 70px 18px;
  }

  .github-stats {
    gap: 20px;
  }

  .github-stat-value {
    font-size: 22px;
  }

  .tutorial-header h2 {
    font-size: 24px;
  }
}


/* ================================================== */
/* OPTIONAL: ADD MORE CUSTOM THEMES */
/* ================================================== */

/* Example: Purple theme */
.features-scroll[data-theme="purple"] .feat-track-fill {
  background: #8b5cf6 !important;
}

.features-scroll[data-theme="purple"] .feat-nav-btn.active .feat-dot {
  background: #8b5cf6;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

.features-scroll[data-theme="purple"] .feat-nav-btn.active .feat-label {
  color: #8b5cf6;
}

.features-scroll[data-theme="purple"] .feature-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.features-scroll[data-theme="purple"] .feature-text h3 {
  color: #8b5cf6;
}

/* ================= SIMPLE PLAY ICON FOR INSTAGRAM VIDEOS ================= */
/* ADD THIS TO YOUR SubPages_style.css FILE */

/* Wrapper for each video */
.instagram-video-wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
}

/* Keep original iframe styling and make sure it's clickable */
.instagram-video-wrapper iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2; /* Make sure iframe is above the play icon */
}

/* Simple play icon overlay */
.simple-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* This allows clicks to pass through */
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1;
}

.simple-play-icon i {
  font-size: 20px;
  color: #333;
  margin-left: 3px; /* Slight offset to center the triangle */
}

/* Hide play icon on hover */
.instagram-video-wrapper:hover .simple-play-icon {
  opacity: 0;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .simple-play-icon {
    width: 50px;
    height: 50px;
  }
  
  .simple-play-icon i {
    font-size: 18px;
  }
}

/* ================= BIBLE VERSE BLOCK ================= */
.bible-verse-block {
  margin-top: 40px;
  padding: 20px 22px;
  border-left: 3px solid #ff3131;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 8px 8px 0;
  transition: background 0.3s ease;
}

.bible-verse-block:hover {
  background: rgba(255, 255, 255, 0.07);
}

.bible-verse-text {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 10px 0;

}

.bible-verse-ref {
  display: block;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ff3131;
  font-weight: 700;
}







.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: #141414;
  border: 1px solid rgba(255, 189, 89, 0.25);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.modal-box2 {
  background: #141414;
  border: 1px solid #ff3131;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}
.modal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 32px 32px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.modal-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 20px;
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.modal-body {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 55vh;
  overflow-y: auto;
}

.modal-body2 {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 55vh;
  overflow-y: auto;
}
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255,189,89,0.3); border-radius: 4px; }
.modal-body p {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
}

.modal-body2::-webkit-scrollbar { width: 4px; }
.modal-body2::-webkit-scrollbar-thumb { background: rgba(255,189,89,0.3); border-radius: 4px; }
.modal-body2 p {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
}
.modal-body strong {
  color: #ffbd59;
  font-weight: 700;
}

.modal-body2 strong {
  color: #ff3131;
  font-weight: 700;
}
.modal-footer {
  padding: 20px 32px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.modal-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #111;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.modal-download-btn:hover {
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .modal-header { padding: 28px 20px 16px; }
  .modal-header h2 { font-size: 1.15rem; }
  .modal-body { padding: 18px 20px; max-height: 50vh; }
  .modal-footer { padding: 16px 20px 22px; }
}


@media (max-width: 768px) {
    nav {
        margin-left: 0;
        padding: 22px 5px;
        font-size: 14px;
    }

    .menu {
        gap: 24px;          /* tighter gap on phones */
        justify-content: center;
    }

    /* Hide dropdown text labels if still too cramped */
    .dropdown-content {
        left: 50%;
        transform: translateX(-50%);  /* centre dropdown under trigger */
    }
}

@media (max-width: 1160px) {
  .primary-btn {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
  .primary-btn2 {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
  .primary-btn3 {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
.secondary-btn {
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}

}

.chruch-logo-small-text{
    font-size: 1.5rem;
    font-weight: 600;
    color: #272727;
}

  @media (max-width: 600px) {
    .chruch-logo-small-text {
      font-size: 1.0rem; /* smaller on phones */
    }
  }

  /* ── Pulse hero icon: heartbeat animation ── */
#pulseHeroIcon {
  animation: pulseHeartbeat 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#pulseHeroIcon:hover {
  transform: none; /* override the generic tilt hover */
  animation: pulseHeartbeat 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pulseHeartbeat {
  0%   { transform: scale(0.72); opacity: 0; filter: drop-shadow(0 0px 0px rgba(72,224,128,0)); }
  18%  { transform: scale(1.18); opacity: 1; filter: drop-shadow(0 0 40px rgba(72,224,128,0.85)); }
  34%  { transform: scale(0.94); opacity: 1; filter: drop-shadow(0 0 14px rgba(72,224,128,0.35)); }
  50%  { transform: scale(1.10); opacity: 1; filter: drop-shadow(0 0 30px rgba(72,224,128,0.65)); }
  68%  { transform: scale(0.98); opacity: 1; filter: drop-shadow(0 0 10px rgba(72,224,128,0.2)); }
  100% { transform: scale(1.0);  opacity: 1; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6)); }
}