/* -----------------------------------------------------------------
   🌈 GLOBAL VARIABLES & BASE STYLES
----------------------------------------------------------------- */
:root {
  --primary: #a747eb;
  --background-light: #f7f7f8;
  --background-dark: #ffffff;
  --text-light: #475569;
  --text-dark: #1e293b;
  --card-light: #ffffff;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--background-light);
  color: var(--text-light);
}

.full {
  margin-top: 50px !important;
}

.btnn {
  color: #a747eb !important;
}
.btnn:hover {
  color: #fff !important;
}

.new-btn {
  background-color: #e2d0ee !important;
  color: #a747eb !important;
}
.new-btn:hover {
  background-color: #dabcef !important;
  color: #a747eb !important;
}

.glow-on-hover {
  box-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary), 0 0 15px var(--primary);
  transition: box-shadow 0.3s ease-in-out;
}
.glow-on-hover:hover {
  box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary),
              0 0 30px var(--primary), 0 0 40px var(--primary);
}

.bg-background-dark {
  background-color: var(--background-dark);
}

.bg-card-light {
  background-color: var(--card-light);
}

.text-primary-custom {
  color: var(--primary);
}
.bg-primary-custom {
  background-color: var(--primary);
}
.border-primary-custom {
  border-color: var(--primary) !important;
}

.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}
.btn-primary-custom:hover {
  background-color: #6b21a8;
  border-color: #6b21a8;
  color: white;
}

.btn-outline-primary-custom {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary-custom:hover {
  background-color: var(--primary);
  color: white;
}

.text-text-dark {
  color: var(--text-dark);
}
.text-text-light {
  color: var(--text-light);
}

/* -----------------------------------------------------------------
   🔶 GENERAL LAYOUT
----------------------------------------------------------------- */
.rounded-custom {
  border-radius: 0.75rem;
}
.rounded-lg-custom {
  border-radius: 1rem;
}
.rounded-xl-custom {
  border-radius: 1.5rem;
}

.feature-card {
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.step-card {
  position: relative;
  padding-top: 3rem;
}
.step-icon {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -----------------------------------------------------------------
   🟣 SECTION 1: TITLE + NUMBER + IMAGE ANIMATIONS
----------------------------------------------------------------- */

/* Title (Heading Line Animation) */
.heading-line {
  display: inline-block;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
  margin-right: 5px;
}
.heading-line.show {
  opacity: 1;
  transform: scale(1);
}

/* Counter (Numbers) */
.counter {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}
.counter.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Image Animation */
.hero-image-container {
  overflow: hidden;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}
.hero-image-container.show {
  opacity: 1;
  transform: translateX(0);
}
.hero-image-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 1.5s ease;
}
.hero-image-container.show img:hover {
  transform: scale(1.05);
}

/* -----------------------------------------------------------------
   🟢 SECTIONS 2, 3, 6 (Why Choose, Features, etc.)
----------------------------------------------------------------- */

/* Box Animations */
.animate-box {
  opacity: 0;
  transition: all 0.8s ease;
}
.left-box {
  transform: translateX(-80px);
}
.right-box {
  transform: translateX(80px);
}
.bottom-box {
  transform: translateY(80px);
}
.animate-box.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Section Fade */
.animate-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}
.animate-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------------------------
   🔵 SECURITY SECTION (Left / Right)
----------------------------------------------------------------- */
.animate-left, .animate-right {
  opacity: 0;
  transition: all 0.8s ease;
}
.animate-left {
  transform: translateX(-60px);
}
.animate-right {
  transform: translateX(60px);
}
.animate-left.show, .animate-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* -----------------------------------------------------------------
   🟡 FAQ SECTION
----------------------------------------------------------------- */
.animate-col {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.animate-col.show {
  opacity: 1;
  transform: translateY(0);
}

.faq-details {
  transition: all 0.3s ease;
}
.faq-details[open] summary ~ * {
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* -----------------------------------------------------------------
   🟠 SECURITY ICON + BG EFFECTS
----------------------------------------------------------------- */
.security-icon {
  font-size: 200px;
  color: var(--primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.security-bg {
  position: absolute;
  inset: 0;
  background-color: rgba(124, 58, 237, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

/* -----------------------------------------------------------------
   🟤 CTA SECTION
----------------------------------------------------------------- */
.cta-section {
  background-color: #f3f4f6;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-color: rgba(124, 58, 237, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  opacity: 0.5;
}

/* -----------------------------------------------------------------
   ⚫ HEADER & NAV
----------------------------------------------------------------- */
header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

/* -----------------------------------------------------------------
   ⚪ HERO IMAGES & RESPONSIVE
----------------------------------------------------------------- */
.hero-image-container {
  position: relative;
  height: 20rem;
}
@media (min-width: 768px) {
  .hero-image-container {
    height: auto;
    aspect-ratio: 4/3;
  }
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  opacity: 0.2;
}
.hero-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}
@media (min-width: 768px) {
  .hero-main-image {
    padding: 2rem;
  }
}

/* -----------------------------------------------------------------
   🧮 STATS & TESTIMONIALS
----------------------------------------------------------------- */
.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}


/* === FAQ Accordion Purple Theme Fix === */

/* Active question background + text */
.accordion-button:not(.collapsed) {
  background-color: #f2e6fb !important; /* light purple background */
  color: #a747eb !important; /* purple text */
  box-shadow: none !important;
}

/* Arrow icon (Bootstrap uses a pseudo-element) */
.accordion-button::after {
  filter: invert(37%) sepia(91%) saturate(7438%) hue-rotate(262deg) brightness(92%) contrast(92%);
  transition: transform 0.2s ease;
}

/* Active arrow rotation fix (keeps the purple color) */
.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
  filter: invert(37%) sepia(91%) saturate(7438%) hue-rotate(262deg) brightness(92%) contrast(92%);
}

/* Accordion border fix */
.accordion-item {
  border: 1px solid #a747eb33 !important;
}

/* Hover effect (optional) */
.accordion-button:hover {
  background-color: #e9d4f7 !important;
  color: #a747eb !important;
}




.table thead th {
  background-color: #a747eb;
  color: #fff;
  border: none;
}
.table tbody tr:hover {
  background-color: #f5ebff;
}
.buy-sell-tab button {
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 10px;
  padding: 8px 20px;
  border-radius: 5px;
  transition: 0.3s;
}
.buy-sell-tab button.active {
  background-color: #a747eb;
  color: #fff;
}
.buy-sell-tab button:hover {
  color: #a747eb;
}


.buy-sell-tab {
  display: flex;
  gap: 10px;
}

.buy-sell-btn {
  border: none;
  background-color: #fff;
  color: #000;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 30px;
  transition: all 0.25s ease;
  cursor: pointer;
  outline: none;
}

.buy-sell-btn:hover {
  background-color: #f5f5f5;
}

.buy-sell-btn.active {
  background-color: #6f42c1; /* Purple */
  color: #fff !important;
}

.buy-sell-btn:focus,
.buy-sell-btn:active,
.buy-sell-btn:hover {
  outline: none !important;
  box-shadow: none !important;
  color: #fff !important;
}



.buy-sell-btn {
    border: none;
    background: transparent;
    color: #000;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.2s ease-in-out;
}

.buy-sell-btn.active {
    background-color: #6f42c1; /* purple */
    color: #fff !important;
    border-radius: 30px;
}

.buy-sell-btn:not(.active):hover {
    background-color: #f2e8ff;
    color: #6f42c1;
}



#live-offers-section table {
    border-radius: 15px;
    overflow: hidden;
}
#live-offers-section .table th {
    background: var(--primary-custom);
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
}
#live-offers-section .badge {
    font-size: 0.8rem;
    padding: 0.4em 0.6em;
}












