/* About Page Styles */
.about-intro {
  padding: 5rem 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  padding-right: 2rem;
}

.about-image {
  width: fit-content;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
  width: auto ;
  height: 560px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -15px;
  background: var(--gold-1);
  color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.experience-badge .label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.section-subtitle {
  display: inline-block;
  color: var(--gold-1);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold-1);
  margin: 1.5rem 0;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-1);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-1);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.stat-label {
  font-size: 0.9rem;
  color: var(--text-2);
}

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

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-1);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gold-1);
  color: #fff;
  transform: rotateY(180deg);
}

.feature-card h3 {
  margin: 0 0 1rem 0;
  color: var(--text-1);
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-2);
  margin-top: 1rem;
  line-height: 1.7;
}

.bg-light {
  background-color: var(--bg-2);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-content {
    padding-right: 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    text-align: left;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .feature-icon {
    margin: 0;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .feature-card h3 {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
  }
}

/* App Store Buttons */
.app-badges {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.app-badge {
  height: 50px; /* Fixed height for both buttons */
  width: auto;
  max-width: 180px; /* Maximum width to maintain aspect ratio */
  border-radius: 8px;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.app-badge:hover {
  transform: translateY(-3px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none; /* Hidden by default, shown in media query */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.nav-toggle .bar {
  display: block;
  width: 28px; /* A good width for a 44px button */
  height: 3px;
  background: var(--gold-1);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: absolute;
  left: 50%;
  margin-left: -14px; /* Half of the new width */
}

.nav-toggle .bar:nth-of-type(1) {
  top: 13px; /* Position top bar */
}

.nav-toggle .bar:nth-of-type(2) {
  top: 20px; /* Position middle bar */
}

.nav-toggle .bar:nth-of-type(3) {
  top: 27px; /* Position bottom bar */
}

/* Animate to 'X' when menu is open */
.nav-toggle.active .bar:nth-of-type(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-of-type(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* RGL Base Styles */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

:root {
  --gold-1: #D4AF37;
  --gold-2: #FFD700;
  --gold-3: #B8860B;
  --bg-dark: #1A1A1A;
  --bg-light: #FAFAFA;
  --bg-2: #f8f9fa;
  --text-1: #2C2C2C;
  --text-2: #666;
  --text-dark: #1a1a1a;
  --green: #28A745;
  --blue: #004B87;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .1);
  --transition: all 0.3s ease;
}

/* Products Page Styles */
.bg-products {
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/gold-bars-coins-jewelry-red-bg.jpeg') center/cover no-repeat;
  color: white;
}

.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card.featured {
  border: 2px solid var(--gold-1);
  position: relative;
  overflow: hidden;
}

.card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gold-1);
  color: var(--text-dark);
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold-1);
  font-size: 1.5rem;
}

.card h3 {
  color: var(--text-1);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.8rem;
  color: var(--text-1);
}

.feature-list li::before {
  content: '✓';
  color: var(--gold-1);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.checklist li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.8rem;
}

.checklist li::before {
  content: '✓';
  color: var(--gold-1);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  counter-reset: step;
}

.steps li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  counter-increment: step;
}

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

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--gold-1);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-dark {
  background: var(--text-dark);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  text-align: center;
}

.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .card.featured::after {
    font-size: 0.7rem;
    right: -35px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

[data-reveal]:nth-child(2) { animation-delay: 0.1s; }
[data-reveal]:nth-child(3) { animation-delay: 0.2s; }
[data-reveal]:nth-child(4) { animation-delay: 0.3s; }
:root {
  --gold-1: #D4AF37;
  --gold-2: #FFD700;
  --gold-3: #B8860B;
  --bg-dark: #1A1A1A;
  --bg-light: #FAFAFA;
  --text-1: #2C2C2C;
  --text-2: #666;
  --green: #28A745;
  --blue: #004B87;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-1);
  background: #fff
}

body.theme-dark {
  background: var(--bg-dark);
  color: #eaeaea
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto
}

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

@media (max-width:900px) {
  .grid-3 {
    grid-template-columns: 1fr
  }
}

.skip-link {
  position: absolute;
  left: -9999px
}

/* Default header styles for all pages */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* Transparent header for home page */
.home .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

/* Scrolled state for home page */
.home .site-header.scrolled {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

/* Ensure content doesn't hide behind fixed header */
main {
  padding-top: 80px; /* Match header height */
  min-height: calc(100vh - 280px); /* Ensure content fills the viewport */
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 800
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #1a1a1a;
  font-weight: 900
}

.logo-type {
  color: #fff;
  letter-spacing: .5px
}

.main-nav .menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0
}

.main-nav {
  position: relative
}

.main-nav .menu {
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

/* Ensure horizontal desktop nav and hide mega by default */
.main-nav .menu>li {
  position: relative;
  flex: 0 0 auto;
}

.main-nav .menu>li {
  display: inline-flex;
  align-items: center;
}

.main-nav .menu>li>a {
  display: inline-block;
  padding: .5rem .75rem;
}

.main-nav .menu .mega {
  display: none;
  position: absolute;
  /* left: 0; */
  right: 0;
  top: 100%;
  background: #111;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, .25);
  box-shadow: var(--shadow);
  min-width: 640px;
  z-index: 1001;
}

.main-nav .menu>li.has-mega:hover .mega,
.main-nav .menu>li.has-mega:focus-within .mega {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.main-nav .menu .mega h4 {
  color: var(--gold-2);
  margin: 0 0 .5rem;
  font-weight: 700;
}

.main-nav .menu .mega a {
  color: #fff;
  opacity: .9;
  display: block;
  padding: .25rem 0;
}

/* Explicit desktop enforcement */
@media (min-width: 901px) {
  .nav-toggle {
    display: none !important;
  }

  .main-nav .menu {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .main-nav .menu.open {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
  }

  /* Mega stays hidden unless hover/focus on desktop */
  .main-nav .menu.open .mega {
    display: none !important;
    position: absolute !important;
  }
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  opacity: .9;
  position: relative;
  transition: opacity 0.3s ease;
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-1);
  transition: width 0.3s ease;
}

.main-nav a:hover:not(.btn),
.main-nav a.active:not(.btn) {
  opacity: 1;
}

.main-nav a:hover:not(.btn)::after,
.main-nav a.active:not(.btn)::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
    z-index: 1001;
  }

  .main-nav .menu {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .main-nav .menu.open {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    left: 0;
    right: 0;
    top: 80px; /* Height of the header */
    bottom: 0;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
  }

  /* Mega behaves inline in mobile menu */
  .main-nav .menu.open .mega {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0.5rem 0 0 1rem;
    opacity: 0.9;
  }

  .main-nav .menu.open a {
    padding: 0.75rem 0;
    font-size: 1.1rem;
  }

  .nav-cta {
    margin: 1rem 0 0;
    display: block;
    text-align: center;
  }
}

a {
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2));
  color: #1a1a1a;
  font-weight: 700;
  box-shadow: var(--shadow)
}

/* Add padding to the top of the main content to account for fixed header */
main {
  padding-top: 80px; /* Height of the header */
  min-height: calc(100vh - 280px); /* Ensure content fills the viewport */
}

/* Ensure page headers have proper spacing */
.page-header {
  padding: 120px 0 60px;
  background: #1a1a1a;
  color: #fff;
  position: relative;
  z-index: 1;
}

/* Hero section styles */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 0; /* Account for fixed header */
  color: #fff;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(212, 175, 55, .15), transparent), 
              linear-gradient(180deg, #0f0f0f, #1a1a1a);
  margin-top: -80px; /* Pull up to account for fixed header */
}

/* Page hero styles for non-home pages */
.page-hero, .banner {
  position: relative;
  padding: 120px 0 80px;
  margin-top: -80px; /* Pull up to account for fixed header */
  background-color: #1a1a1a;
  color: #fff;
  z-index: 0;
}

/* Ensure content is properly spaced below the header */
.hero-content, .page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px; /* Add space for fixed header */
}

.bg-hero {
  background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .65)), url('/assets/images/rgl-gold-bars-coins-jewelry.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat
}

.bg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 15% 15%, rgba(212, 175, 55, .12), transparent)
}

.page-hero {
  position: relative;
  min-height: 46vh;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 4rem 0
}

.page-hero .container {
  position: relative;
  z-index: 1
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .65))
}

.bg-about {
  background: url('/assets/images/rgl-couple-consultation-indoors.jpeg') center/cover no-repeat
}

.bg-products {
  background: url('/assets/images/rgl-gold-bars-coins-jewelry.jpeg') center/cover no-repeat
}

.bg-contact {
  background: url('/assets/images/rgl-couple-consultation-cityscape.jpeg') center/cover no-repeat
}

.hero .headline {
  font-family: Montserrat, 'IBM Plex Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  background: linear-gradient(90deg, #f5d76e, #f7ca18, #f5d76e);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .sub {
  max-width: 680px;
  opacity: .85
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem
}

.trust-badges .badge {
  border: 1px solid rgba(212, 175, 55, .5);
  padding: .4rem .7rem;
  border-radius: 999px;
  color: #f7f7f7;
  font-size: .85rem
}

.section {
  padding: 4rem 0
}

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

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr
  }
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius);
  padding: 1.2rem;
  color: var(--text-1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06)
}

.section-dark {
  background: #111;
  color: #eaeaea
}

.section-dark .card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(212, 175, 55, .2);
  color: #eaeaea;
  box-shadow: none
}

.card .card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: .8rem;
  display: block
}

.section-title {
  font-family: Montserrat, 'IBM Plex Sans', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #b8860b, #ffd700 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #b8860b;
}

.timeline {
  position: relative;
  padding: 1.25rem
}

.timeline-line line {
  stroke: rgba(212, 175, 55, .4);
  stroke-width: 6;
  stroke-linecap: round
}

.timeline .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem
}

.timeline .step {
  position: relative;
  text-align: center
}

.timeline .step .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-2);
  margin-inline: auto;
  margin-bottom: .5rem;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .25)
}

@media (max-width: 900px) {
  .timeline .steps {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* Testimonials Section */
#testimonials {
  position: relative;
  overflow: hidden;
}

.testi {
  position: relative;
  overflow: hidden;
  min-height: 300px; /* Ensure minimum height */
}

.testi-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.testi-item {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  min-height: 200px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.5s ease;
}

.testi-item.active {
  position: relative;
  opacity: 1;
}

.testi-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testi-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.testi-item .stars {
  color: var(--gold-2);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testi-item p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 0.5rem;
  color: #e0e0e0;
}

.testi-item small {
  color: #aaa;
  font-size: 0.9rem;
  font-style: italic;
}

.testi-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0 0;
  margin-top: 1rem;
}

.testi-controls .btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-2);
  border: 1px solid var(--gold-2);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.testi-controls .btn:hover {
  background: var(--gold-2);
  color: #1a1a1a;
  transform: translateY(-2px);
}

/* Ensure at least one testimonial is always visible */
.testi:not(:has(.active)) .testi-item:first-child {
  opacity: 1;
  position: relative;
}

.app-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: center
}

@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: 1fr
  }
}

.phone-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9/19;
  border-radius: 32px;
  border: 2px solid rgba(212, 175, 55, .35);
  margin-inline: auto;
  background: linear-gradient(180deg, #0f0f0f, #181818);
  display: grid;
  place-items: center;
  overflow: hidden
}

.phone-frame img {
  width: 80%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .4))
}

.store-buttons {
  display: flex;
  gap: .75rem;
  margin: 1rem 0
}

.qr {
  display: flex;
  align-items: center;
  gap: .75rem
}

.qr .qr-box {
  width: 72px;
  height: 72px;
  border: 1px dashed rgba(212, 175, 55, .5);
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #aaa
}

.accordion {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.accordion .category {
  margin-bottom: 3rem;
}

.accordion .category:last-child {
  margin-bottom: 1.5rem;
}

.accordion .category-title {
  color: var(--gold-1);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-weight: 600;
}

.accordion .category .acc-item {
  margin-bottom: 1rem;
}

.acc-item {
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03)
}

.acc-head {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.2rem;
  cursor: pointer
}

.acc-head span {
  font-weight: 600
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 1.2rem
}

.acc-item.open .acc-panel {
  max-height: 240px;
  padding: 0 1.2rem 1rem
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 4rem 0 0;
  position: relative;
  border-top: 5px solid var(--gold-2);
  font-size: 1rem;
  line-height: 1.7;
}

.site-footer .accordion {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.accordion .category {
  margin-bottom: 3rem;
}

.accordion .category:last-child {
  margin-bottom: 0;
}

.accordion .category-title {
  color: var(--gold-1);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-weight: 600;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Footer Sections */
.footer-section {
  padding: 0 1rem;
}

.footer-section h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--gold-2);
}

/* About Section */
.footer-section p {
  color: #bbb;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.5rem 0;
}

.badge {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.badge i {
  color: var(--gold-2);
  font-size: 0.9em;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}

.social-links a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gold-2);
  transform: translateY(-3px);
}

/* Contact Info */
.contact-info p {
  color: #bbb;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.contact-info i {
  color: var(--gold-2);
  margin-top: 4px;
  min-width: 20px;
  text-align: center;
}

.contact-info .address {
  align-items: flex-start;
}

.contact-info .address span {
  display: inline-block;
  margin-top: 3px;
}

/* Quick Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 10px;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -5px;
  color: var(--gold-2);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-2);
  transform: translateX(8px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -12px;
}

/* Copyright */
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright p {
  margin: 0;
  color: #888;
  font-size: 0.9rem;
}

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

.copyright a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.copyright a:hover {
  color: var(--gold-2);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .footer-section:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-section {
    text-align: center;
    padding: 0;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .badges, 
  .social-links {
    justify-content: center;
  }
  
  .contact-info p {
    justify-content: center;
  }
  
  .footer-section:last-child {
    max-width: 100%;
  }
  
  .copyright {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .copyright nav {
    margin-top: 0.5rem;
    justify-content: center;
  }
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/gold-texture-bg.jpg') center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 1.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
  border-radius: 3px;
}

.site-footer a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.site-footer a:hover {
  color: var(--gold-2);
  transform: translateX(5px);
}

.site-footer .grid-3 {
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* About Section */
.site-footer > div:first-child p {
  color: #bbb;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.badge {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

/* Quick Links */
.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-unstyled li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.list-unstyled li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-2);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.list-unstyled li:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Newsletter */
.newsletter {
  position: relative;
}

.newsletter p {
  color: #bbb;
  margin-bottom: 1.5rem;
}

.newsletter input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 15, 15, 0.9);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.newsletter input:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.newsletter input::placeholder {
  color: #777;
}

.newsletter button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-2), #d4af37);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.newsletter button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-1), #e6c45f);
  transition: all 0.4s ease;
  z-index: -1;
}

.newsletter button:hover::before {
  width: 100%;
}

.newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  transform: none;
}

.social-links a:hover {
  background: var(--gold-2);
  color: #1a1a1a;
  transform: translateY(-3px) scale(1.1);
}

/* Copyright */
.copyright {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #777;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright a {
  color: #999;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
}

.copyright a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-2);
  transition: width 0.3s ease;
}

.copyright a:hover {
  color: var(--gold-2);
  transform: none;
}

.copyright a:hover::after {
  width: 100%;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gold-2);
  color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold-1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .site-footer .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .site-footer > div:first-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  
  .site-footer h4 {
    margin-left: auto;
    margin-right: auto;
  }
  
  .badges {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin-left: auto; /* Push to the right */
  }
  
  .main-nav {
    position: relative;
  }
  
  .main-nav .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 998;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    margin: 0;
    list-style: none;
    display: flex !important; /* Ensure menu is always flex when visible */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .main-nav .menu.active {
    right: 0;
    visibility: visible;
  }
  
  .main-nav .menu li {
    width: 100%;
    margin: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .main-nav .menu.active li {
    opacity: 1;
    transform: translateX(0);
  }
  
  .main-nav .menu li:nth-child(1) { transition-delay: 0.1s; }
  .main-nav .menu li:nth-child(2) { transition-delay: 0.15s; }
  .main-nav .menu li:nth-child(3) { transition-delay: 0.2s; }
  .main-nav .menu li:nth-child(4) { transition-delay: 0.25s; }
  .main-nav .menu li:nth-child(5) { transition-delay: 0.3s; }
  
  .main-nav .menu li a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  
  .main-nav .menu li a:hover {
    color: var(--gold-2);
  }
  
  .app-badge {
    max-width: 150px;
    height: 45px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 4rem 0 0;
  }
  
  .app-badges {
    justify-content: center;
  }
  
  .app-badge {
    max-width: 140px;
    height: 42px;
  }
  
  .site-footer .grid-3 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .site-footer > div:first-child {
    max-width: 100%;
  }
  
  .copyright {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .copyright a {
    margin: 0 0.75rem;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Homepage intro two-column layout */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 2.5rem;
}

.intro-text {
  padding-right: 1.5rem;
}

.intro-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width:900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-text {
    padding-right: 0;
    margin-bottom: 1.5rem;
  }

  .intro-img {
    justify-content: flex-start;
  }
}

/* Features Section */
#features .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

#features .card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

#features .card h3 {
  color: var(--gold-1);
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
}

#features .card p {
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}

#features .card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

#features .btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--gold-2);
  color: #1a1a1a;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

#features .btn:hover {
  background: var(--gold-1);
  color: #fff;
  transform: translateY(-2px);
}

/* Calculator Styles */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.calculator-card {
  padding: 2rem;
}

.calculator-info {
  padding: 2rem;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.calculator-info h3 {
  color: var(--gold-2);
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

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

.input-with-unit input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-with-unit input[type="number"]:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
  outline: none;
}

.input-with-unit span {
  position: absolute;
  right: 1rem;
  color: #666;
  pointer-events: none;
}

input[type="range"] {
  width: 100%;
  margin-top: 0.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--gold-2);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.purity-options {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.purity-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}

.purity-option:hover {
  border-color: var(--gold-2);
  background: rgba(212, 175, 55, 0.05);
}

.purity-option input[type="radio"] {
  accent-color: var(--gold-2);
}

.loan-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.loan-detail.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #f0f0f0;
  font-weight: 600;
  color: #333;
}

.loan-detail .highlight {
  font-size: 1.25rem;
  color: var(--gold-2);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-2);
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
}

.whatsapp-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2325D366"><path d="M17.5 14.4l-2-1c-.3-.2-.7-.1-.9.2l-1.1 1.4c-.1.1-.3.2-.5.2-2.7-.9-4.4-2.7-5.2-5.2 0-.2 0-.4.2-.5l1.4-1.1c.3-.2.4-.6.2-.9l-1-2c-.2-.3-.6-.4-.9-.2l-1.7.9c-.2.1-.4.3-.4.6-.3 2.7.7 5.5 2.8 7.6 2.6 2.6 6.5 3.5 9.9 2.1.3-.1.5-.3.6-.6l.8-1.7c.2-.4.1-.8-.2-1z"/><path d="M12 0C5.4 0 0 5.4 0 12c0 2.1.6 4.1 1.6 5.8L0 24l6.5-1.6c1.7 1 3.7 1.6 5.8 1.6 6.6 0 12-5.4 12-12S18.6 0 12 0zm0 21.8c-1.8 0-3.5-.5-5-1.4l-.4-.2-3.5.9.9-3.4-.2-.4c-.9-1.5-1.4-3.2-1.4-5C3.2 6.5 7.1 2.2 12 2.2c2.7 0 5.2 1 7.1 2.9 1.9 1.9 2.9 4.4 2.9 7.1-.1 5-4.3 8.6-10 8.6z"/></svg>') no-repeat center;
  background-size: contain;
}

.error-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

.btn-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-loader:after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Gold vs Business Loan Section */
.section-light {
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* Mobile App Section */
#app {
  background: #f9f9f9;
  padding: 4rem 0;
}

.app-card {
  max-width: 100%;
  max-height: 690px;
  margin: 0 auto;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.app-image {
  position: relative;
  overflow: hidden;
}

.app-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.app-card:hover .app-image img {
  transform: scale(1.03);
}

.app-details {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-details h3 {
  font-size: 1.8rem;
  color: var(--gold-1);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.app-details p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.feature i {
  display: block;
  font-size: 1.5rem;
  color: var(--gold-1);
  margin-bottom: 0.5rem;
}

.feature span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.store-buttons .btn {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold-2);
  color: #1a1a1a;
  border: none;
}

.store-buttons .btn i {
  font-size: 1.2em;
}

.store-buttons .btn:hover {
  background: var(--gold-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.coming-soon {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-style: italic;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .app-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .app-card {
    max-width: 600px;
  }
  
  .app-image {
    height: 250px;
  }
  
  .app-details {
    padding: 2rem;
  }
  
  .app-details h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .app-features {
    grid-template-columns: 1fr;
  }
  
  .store-buttons {
    flex-direction: column;
  }
  
  .store-buttons .btn {
    width: 100%;
  }
  
  .app-details {
    padding: 1.5rem;
  }
  
  .app-details h3 {
    font-size: 1.4rem;
  }
}

/* ... */

@keyframes goldShimmer {
  0% {
    background-position: -200% center
  }

  100% {
    background-position: 200% center
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.shimmer {
  background-image: linear-gradient(120deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .6), rgba(255, 255, 255, .1));
  background-size: 200% auto;
  animation: goldShimmer 1.8s linear infinite
}