html,
body {
  height: 100%;
  margin: 0;
}

.app-wrapper {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.font-heading {
  font-family: 'Cormorant Garamond', serif;
}

.font-body {
  font-family: 'Montserrat', sans-serif;
}

.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  transition: transform 0.45s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

@media (max-width: 768px) {
  .flip-card-inner {
    transition: transform 0.3s ease;
  }
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

.flip-card-front,
.flip-card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.gold-btn {
  background: linear-gradient(135deg, #C9A84C, #E8D48B, #C9A84C);
  color: #1a1a1a;
  font-weight: 600;
  transition: all 0.3s;
}

.gold-btn:hover {
  background: linear-gradient(135deg, #E8D48B, #C9A84C, #E8D48B);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.hero-bg {
  background:
    linear-gradient(
      135deg,
      rgba(26, 26, 26, 0.85),
      rgba(40, 40, 40, 0.9)
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"...');
  background-size: cover;
  background-position: center;
}

/* =========================================
   LANDING PAGE DOWNSell SECTION
========================================= */

.landing-page-wrapper {
  max-width: 64rem;
  margin: 0 auto 4rem auto;
  padding: 0 1rem;
}

.landing-page-card {
  background: linear-gradient(
    135deg,
    #2a2a2a 0%,
    #1f1f1f 100%
  );

  border: 1px solid rgba(201, 168, 76, 0.25);

  border-radius: 1.5rem;

  padding: 4rem 2rem;

  text-align: center;

  position: relative;

  overflow: hidden;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    0 0 40px rgba(201,168,76,0.04);
}

/* subtle luxury glow */
.landing-page-card::before {
  content: "";

  position: absolute;

  top: -100px;
  right: -100px;

  width: 250px;
  height: 250px;

  background: rgba(201, 168, 76, 0.05);

  border-radius: 9999px;

  filter: blur(60px);

  pointer-events: none;
}

.landing-badge {
  display: inline-block;

  margin-bottom: 1.5rem;

  padding: 0.75rem 1.25rem;

  border-radius: 9999px;

  border: 1px solid rgba(201,168,76,0.25);

  background: rgba(201,168,76,0.08);

  color: #C9A84C;

  font-size: 0.75rem;

  text-transform: uppercase;

  letter-spacing: 0.25em;

  font-weight: 600;
}

.landing-title {
  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(2.5rem, 5vw, 4rem);

  font-weight: 700;

  color: white;

  margin-bottom: 1rem;

  line-height: 1.1;
}

.landing-price {
  font-family: 'Cormorant Garamond', serif;

  font-size: 3rem;

  font-weight: 700;

  color: #C9A84C;

  margin-bottom: 1.5rem;
}

.landing-description {
  max-width: 42rem;

  margin: 0 auto 3rem auto;

  color: #9ca3af;

  font-size: 1rem;

  line-height: 1.8;
}

.landing-features {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 1rem;

  max-width: 50rem;

  margin: 0 auto 3rem auto;
}

.landing-feature {
  display: flex;

  align-items: flex-start;

  gap: 0.75rem;

  background: #1a1a1a;

  border: 1px solid rgba(201,168,76,0.15);

  border-radius: 1rem;

  padding: 1.25rem;

  text-align: left;

  transition: all 0.3s ease;
}

.landing-feature:hover {
  transform: translateY(-4px);

  border-color: rgba(201,168,76,0.35);

  background: #202020;
}

.landing-feature p {
  color: #d1d5db;

  font-size: 0.9rem;

  line-height: 1.6;
}

.landing-star {
  color: #C9A84C;

  font-size: 1rem;

  margin-top: 2px;

  flex-shrink: 0;
}

.landing-timeline {
  color: #9ca3af;

  font-size: 0.95rem;

  margin-bottom: 2.5rem;
}

.landing-timeline span {
  color: #C9A84C;

  font-weight: 600;
}

.landing-btn {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .landing-page-card {
    padding: 3rem 1.5rem;
  }

  .landing-features {
    grid-template-columns: 1fr;
  }

  .landing-title {
    font-size: 2.5rem;
  }

  .landing-price {
    font-size: 2.5rem;
  }

}
/* Mobile Services Carousel */
@media (max-width: 768px) {
  #services .grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
  }

  #services .service-card {
    min-width: 85%;
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  #services .grid::-webkit-scrollbar {
    height: 6px;
  }

  #services .grid::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 999px;
  }

  #services .grid::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 999px;
  }

  .flip-card {
    height: 420px;
  }
}
.mobile-swipe-note {
  display: none;
}

@media (max-width: 768px) {
  .mobile-swipe-note {
    display: block;
    color: #C9A84C;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.5rem;
  }
}

/* =========================================
   MOBILE LANDING PAGE COMPRESSION
========================================= */

@media (max-width: 768px) {
  .landing-page-wrapper {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .landing-page-card {
    padding: 2.25rem 1.25rem;
    border-radius: 1.25rem;
  }

  .landing-badge {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    padding: 0.6rem 0.9rem;
    margin-bottom: 1rem;
  }

  .landing-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .landing-price {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .landing-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .landing-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .landing-feature {
    padding: 0.9rem 1rem;
  }

  .landing-feature p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .landing-timeline {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
  }

  .landing-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding: 0.95rem 1.25rem;
    font-size: 0.75rem;
  }
}

/* =========================================
   MOBILE PROCESS CAROUSEL
========================================= */

.process-swipe-note {
  display: none;
}

@media (max-width: 768px) {
  .process-swipe-note {
    display: block;
    color: #C9A84C;
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
  }

  #process .grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
  }

  #process .grid > div {
    min-width: 82%;
    flex: 0 0 82%;
    scroll-snap-align: center;
    background: #1f1f1f;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 1.25rem;
    padding: 2rem 1.25rem;
  }

  #process .grid::-webkit-scrollbar {
    height: 6px;
  }

  #process .grid::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 999px;
  }

  #process .grid::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 999px;
  }
}
/* =========================================
   FEATURED RESOURCES SECTION
========================================= */

.featured-resources-section {
  padding: 6rem 1.5rem;
  background: #222222;
  overflow: hidden;
}

.featured-resources-header {
  max-width: 52rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-kicker {
  color: #C9A84C;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.featured-resources-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.featured-resources-header p {
  color: #9ca3af;
  line-height: 1.8;
}

.resources-carousel {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
}
.resource-card {
  width: 300px;
  flex: 0 0 300px;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-cover {
  width: 280px;
  height: 360px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  margin-bottom: 0.5rem;
}

.resource-card h3,
.resource-card p {
  width: 280px;
  text-align: left;
}

.resource-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.2;
  min-height: 58px; 
  margin-bottom: 0.75rem;
  text-align: center;
}

.resource-card p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 60px;
}

.resource-card:hover .resource-cover {
  transform: translateY(-5px);
  transition: transform .3s ease;
}

/*.resource-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: linear-gradient(135deg, #1f1f1f, #181818);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 1.5rem;
  padding: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.55);
}

.resource-cover {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  margin-bottom: 1.25rem;
}

.resource-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.resource-card p {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.6;
}*/

.resources-home-cta {
  text-align: center;
  margin-top: 2rem;
}

.resources-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .featured-resources-section {
    padding: 4rem 1rem;
  }

  .resource-card {
    flex: 0 0 78%;
  }

  .resource-cover {
    height: 320px;
  }

  .resources-btn {
    width: 100%;
    max-width: 280px;
    white-space: normal;
    text-align: center;
  }
   .resources-carousel {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
  }
}
