:root {
  --primary-color: #fbb248;
  --primary-hover: #e5a138;
  --dark-bg: #241736;
  --dark-secondary: #3a2a5b;
  --light-bg: #ffffff;
  --light-text: #ffffff;
  --dark-text: #333333;
  --box-bg-dark: rgba(58, 42, 91, 0.8);
  --box-bg-light: rgba(255, 255, 255, 0.9);
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--dark-text);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
  overflow-x: hidden;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.highlight {
  color: var(--primary-color);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary-custom {
  background-color: #fbb248 !important;
  color: #ffffff !important;
}

.btn-primary-custom:hover {
  background-color: #e5a138 !important;
  color: #ffffff !important;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 178, 72, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(251, 178, 72, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(251, 178, 72, 0);
  }
}

/* Hero Section - Responsive with sliding subtitles */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/banner.jpg") no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(36, 23, 54, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  line-height: 1.2;
  animation: fadeInDown 1s ease-out;
}

.subtitles-container {
  position: relative;
  height: 100px;
  margin: 1rem auto 2rem;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
}

.subtitles-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}

@keyframes subtitleAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  15% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.hero-subtitle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  box-sizing: border-box;
}

.hero-subtitle.active {
  animation: subtitleAnimation 5s ease-in-out forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-content {
    padding: 2rem 1.5rem;
  }

  .subtitles-container {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    margin-top: 80px;
  }

  .subtitles-container {
    height: 150px;
    margin: 0.5rem auto 1.5rem;
  }

  .hero-subtitle {
    padding: 0 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    margin-top: 60px;
    font-size: 2.2rem;
  }

  .subtitles-container {
    height: 180px;
  }

  .hero-cta {
    margin-top: 1.5rem;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Download App Section */
.download-app-section {
  padding: 5rem 2rem;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.light-mode .download-app-section {
  background-color: var(--light-bg);
  color: var(--dark-text);
}

.download-app-section .row {
  align-items: center;
}

.download-app-section .section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.light-mode .download-app-section .section-title {
  color: var(--dark-text);
}

.download-app-section .section-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.light-mode .download-app-section .section-description {
  color: rgba(0, 0, 0, 0.7);
}

.app-features {
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.feature-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.light-mode .feature-content p {
  color: rgba(0, 0, 0, 0.7);
}

.app-image-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.app-image-container img {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(-15px 0 10px rgba(0, 0, 0, 0.3));
}

.app-heading {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(251, 178, 72, 0.3);
  text-transform: uppercase;
  letter-spacing: 5px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  margin-left: -1rem;
}

.light-mode .app-heading {
  color: rgba(251, 178, 72, 0.5);
}

/* Live Currency Ticker */
/* TradingView Widget Container */
.currency-ticker-container {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
  padding: 1rem 0;
  position: relative;
  border-top: 2px solid rgba(251, 178, 72, 0.2);
  border-bottom: 2px solid rgba(251, 178, 72, 0.2);
}

/* TradingView Ticker Tape Widget Styling */
tv-ticker-tape {
  --tv-color-primary: #fbb248 !important;
  --tv-color-primary-hover: #e5a138 !important;
  --tv-color-text: #ffffff !important;
  --tv-color-text-secondary: rgba(255, 255, 255, 0.7) !important;
  --tv-color-bg: #241736 !important;
  --tv-color-bg-secondary: #3a2a5b !important;
  --tv-color-border: rgba(251, 178, 72, 0.2) !important;
  --tv-color-positive: #2ed573 !important;
  --tv-color-negative: #ff4757 !important;
  --tv-logo-display: none !important;
  --tv-branding-display: none !important;
}

/* Hide only TradingView branding/attribution text (not symbol logos) */
.tradingview-widget-attribution {
  display: none !important;
}

/* Fallback styles for custom ticker if needed */
.currency-ticker {
  display: flex;
  width: 100%;
  justify-content: center;
}

.currency-pair {
  display: flex;
  align-items: center;
  padding: 0 2rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pair-name {
  font-weight: 600;
  margin-right: 0.5rem;
  color: var(--light-text);
}

.pair-price {
  font-weight: 700;
  margin-right: 0.5rem;
  color: #fbb248;
}

.pair-change {
  font-size: 0.9rem;
}

.positive {
  color: #2ed573;
}

.negative {
  color: #ff4757;
}

/* Dark mode adjustments for TradingView */
body.dark-mode tv-ticker-tape {
  --tv-color-bg: #241736 !important;
  --tv-color-text: #ffffff !important;
}

/* Light mode adjustments for TradingView */
body.light-mode tv-ticker-tape {
  --tv-color-bg: #f0edf7 !important;
  --tv-color-text: #241736 !important;
  --tv-color-text-secondary: rgba(26, 15, 46, 0.7) !important;
}

/* Features Section - Responsive Carousel */
.features-section {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--dark-bg) 0%,
    var(--dark-secondary) 100%
  );
  position: relative;
  overflow: hidden;
}

.light-mode .features-section {
  background: var(--light-bg);
  color: var(--dark-text);
}

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

.light-mode .section-title {
  color: var(--dark-text);
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

.light-mode .features-section .section-subtitle {
  color: rgba(0, 0, 0, 0.7);
}

.features-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

.features-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  gap: 20px;
  scrollbar-width: none;
}

.features-carousel::-webkit-scrollbar {
  display: none;
}

/* 2 cards on desktop, 1 on mobile */
.feature-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: rgba(58, 42, 91, 0.5);
  border-radius: 16px;
  padding: 2.5rem;
  width: calc(50% - 30px);
  margin: 0 10px;
  border: 1px solid rgba(251, 178, 72, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-mode .feature-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .feature-card {
    width: calc(100% - 30px);
  }
}

.feature-card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-text);
  position: relative;
}

.light-mode .feature-card h3 {
  color: var(--dark-text);
}

.feature-card h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.light-mode .feature-card p {
  color: rgba(0, 0, 0, 0.7);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(251, 178, 72, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
}

.light-mode .carousel-nav {
  background: rgba(247, 152, 9, 0.2);
}

.carousel-nav:hover {
  background: rgba(251, 178, 72, 0.5);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.light-mode .carousel-dot {
  background: rgba(0, 0, 0, 0.3);
}

.carousel-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* account section */
.accounts-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--dark-bg) 0%, rgba(58, 42, 91, 0.3) 100%);
  position: relative;
}

.accounts-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 178, 72, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.accounts-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 178, 72, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.light-mode .accounts-section {
  background: var(--light-bg);
  color: var(--dark-text);
}

.light-mode .section-subtitle {
  color: rgba(0, 0, 0, 0.7);
}

.account-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(251, 178, 72, 0.2);
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.light-mode .account-tabs {
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.account-tab {
  padding: 0.8rem 2rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  transition: all 0.3s ease;
}

.light-mode .account-tab {
  color: rgba(0, 0, 0, 0.7);
}

.account-tab.active {
  color: var(--primary-color);
}

.account-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1.1rem;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
}

.account-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 2rem 1rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.light-mode .account-cards {
  background: transparent;
  border: none;
}

.account-cards::-webkit-scrollbar {
  height: 8px;
}

.account-cards::-webkit-scrollbar-track {
  background: rgba(251, 178, 72, 0.1);
  border-radius: 10px;
}

.account-cards::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.account-card {
  width: 320px;
  min-height: auto;
  max-height: none;
  background: linear-gradient(135deg, rgba(36, 23, 54, 0.5) 0%, rgba(58, 42, 91, 0.35) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  flex: 0 0 auto;
  scroll-snap-align: unset;
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem 2rem 2rem;
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.3),
    inset 0 0 32px rgba(255, 255, 255, 0.1),
    0 0 60px rgba(251, 178, 72, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.4);
}

.account-card::before {
  content: "";
  position: absolute;
  top: 5%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 53, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.light-mode .account-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(240, 245, 255, 0.45) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.2),
    inset 0 0 32px rgba(0, 0, 0, 0.05),
    0 0 60px rgba(251, 178, 72, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.2);
}

.light-mode .account-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(251, 178, 72, 0.08) 100%);
  border-color: rgba(251, 178, 72, 0.5);
  box-shadow: 
    0 15px 50px 0 rgba(31, 38, 135, 0.3),
    inset 0 0 32px rgba(0, 0, 0, 0.08),
    0 0 80px rgba(251, 178, 72, 0.15),
    0 30px 80px rgba(0, 0, 0, 0.25);
}

.account-card:hover {
  transform: translateY(-15px) scale(1.04);
  background: linear-gradient(135deg, rgba(36, 23, 54, 0.7) 0%, rgba(58, 42, 91, 0.55) 100%);
  border-color: rgba(251, 178, 72, 0.5);
  box-shadow: 
    0 15px 50px 0 rgba(31, 38, 135, 0.4),
    inset 0 0 40px rgba(255, 255, 255, 0.15),
    0 0 80px rgba(251, 178, 72, 0.2),
    0 30px 80px rgba(0, 0, 0, 0.5);
}

.account-image {
  display: none;
}

.account-card:hover .account-image {
  display: none;
}

.account-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
  opacity: 1;
  transition: all 0.3s ease;
  transform: translateY(0);
  height: auto;
  overflow-y: visible;
}

.account-header {
  text-align: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  padding-bottom: 1rem;
  position: relative;
}

.account-header h3 {
  font-size: 1.5rem;
  color: var(--light-text);
  margin-bottom: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: none;
}

.light-mode .account-header h3 {
  color: var(--dark-text);
}

.account-type {
  display: block;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  border: none;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.light-mode .account-type {
  background: transparent;
  color: rgba(0, 0, 0, 0.7);
  border-color: transparent;
}

.account-price {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0 0.3rem 0;
  text-shadow: none;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: center;
  line-height: 1;
}

.account-header p {
  color: rgba(255, 255, 255, 0.65);
  margin: 0.5rem 0 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.light-mode .account-header p {
  color: rgba(0, 0, 0, 0.65);
}

.account-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  flex-grow: 0;
  overflow-y: visible;
}

.account-features li {
  padding: 0.6rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.account-features li:hover {
  color: rgba(255, 255, 255, 0.95);
  transform: none;
}

.light-mode .account-features li {
  color: rgba(0, 0, 0, 0.8);
  border-bottom: none;
}

.light-mode .account-features li:hover {
  color: rgba(0, 0, 0, 0.95);
}
}

.account-features i {
  color: #1e90ff;
  font-size: 1.2rem;
  flex-shrink: 0;
  min-width: 16px;
}

.light-mode .account-features i {
  color: #0066ff;
}

.account-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(135deg, #7B35FF 0%, #6B2FD9 100%);
  color: #fff;
  padding: 1rem 2rem;
  transform: none;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 6px 20px rgba(123, 53, 255, 0.5);
  z-index: 5;
  border-radius: 30px 30px 0 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.account-card .btn {
  margin-top: 1.5rem;
  align-self: center;
  flex-shrink: 0;
  width: 100%;
  max-width: 200px;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, #1e90ff 0%, #0066ff 100%);
  border: none;
  color: #fff;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.account-card .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.account-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #0066ff 0%, #1e90ff 100%);
}

.account-card .btn:hover::before {
  left: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
  .account-tabs {
    flex-direction: column;
    align-items: center;
    border-bottom: none;
  }

  .account-tab {
    margin: 0.5rem 0;
    padding: 0.8rem 1rem;
  }

  .account-tab.active::after {
    display: none;
  }

  .account-cards {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
    overflow-y: visible;
    gap: 2rem;
    padding-bottom: 0;
  }

  .account-card {
    width: 100%;
    max-width: 340px;
    margin-bottom: 0;
  }
}

/* Custom scrollbar for account features */
.account-features::-webkit-scrollbar {
  width: 5px;
}

.account-features::-webkit-scrollbar-track {
  background: rgba(251, 178, 72, 0.1);
  border-radius: 10px;
}

.account-features::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* Payment Methods Section */
.payments-section {
  padding: var(--section-padding);
  background: var(--dark-secondary);
}

.light-mode .payments-section {
  background: var(--light-bg);
  color: var(--dark-text);
}

.payment-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.payment-carousel-track {
  display: flex;
  animation: scrollPayments 30s linear infinite;
  width: max-content;
  align-items: center;
}

.payment-method {
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

.payment-method img {
  height: 40px;
  width: auto;
  /* filter: brightness(0) invert(1); */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.payment-method:hover img {
  filter: brightness(1) invert(0);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scrollPayments {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Testimonials Section - Responsive */
.testimonials-section {
  padding: 5rem 1rem;
  background: var(--dark-bg);
  overflow: hidden;
}

.light-mode .testimonials-section {
  background: var(--light-bg);
  color: var(--dark-text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.light-mode .section-title {
  color: var(--dark-text);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
}

.light-mode .section-subtitle {
  color: rgba(0, 0, 0, 0.7);
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

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

.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.25rem 1.5rem;
  background: rgba(251, 178, 72, 0.08);
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid rgba(251, 178, 72, 0.2);
  gap: 1rem;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  flex-shrink: 0;
}

.user-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.user-info h4 {
  margin: 0;
  padding: 0;
  color: var(--light-text);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
}

.light-mode .user-info h4 {
  color: var(--dark-text);
}

.user-info p {
  margin: 2px 0 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  line-height: 1.4;
}

.light-mode .user-info p {
  color: rgba(0, 0, 0, 0.75);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background: var(--dark-secondary);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

/* .light-mode .testimonial-video {
  filter: brightness(0) invert(1);
} */

.testimonial-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(36, 23, 54, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.light-mode .video-overlay {
  background-color: rgba(55, 55, 55, 0.7);
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

.video-overlay h4 {
  color: var(--light-text);
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin: 0 1rem 1rem;
  text-align: center;
}

.light-mode .video-overlay h4 {
  color: var(--dark-text);
}

.play-button {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: none;
  color: white;
}

.light-mode .play-button {
  background-color: rgba(251, 178, 72, 0.8);
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button i {
  font-size: 1.2rem;
  margin-left: 3px;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(251, 178, 72, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.light-mode .testimonial-nav {
  background: rgba(247, 152, 9, 0.5);
}

.testimonial-nav:hover {
  background: var(--primary-color);
}

.testimonial-prev {
  left: -20px;
}

.testimonial-next {
  right: -20px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.light-mode .testimonial-dot {
  background: rgba(0, 0, 0, 0.2);
}

.testimonial-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 1rem;
  }

  .testimonial-nav {
    width: 35px;
    height: 35px;
  }

  .testimonial-prev {
    left: -15px;
  }

  .testimonial-next {
    right: -15px;
  }

  .user-avatar {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .testimonial-user {
    padding: 0.8rem;
  }

  .video-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .video-logo {
    width: 60px;
    margin-bottom: 0.8rem;
  }

  .play-button {
    width: 45px;
    height: 45px;
  }

  .testimonial-nav {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .testimonial-user {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .user-avatar {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .video-overlay h4 {
    font-size: 1rem;
    margin: 0 0.5rem 0.8rem;
  }
}

/* FAQ Section - Image left, FAQ right */
.faq-section {
  padding: var(--section-padding);
  background: var(--dark-secondary);
}

.light-mode .faq-section {
  background: var(--light-bg);
  color: var(--dark-text);
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

.faq-accordion {
  width: calc(50% - 1rem);
  padding-left: 2rem;
}

.faq-image-container {
  width: calc(50% - 1rem);
  padding-right: 2rem;
  position: relative;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
}

.faq-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.faq-image.active {
  opacity: 1;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.light-mode .accordion-item {
  background: var(--light-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--light-text);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.light-mode .accordion-header {
  color: var(--dark-text);
}

.accordion-header:hover {
  background: rgba(251, 178, 72, 0.1);
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.light-mode .accordion-content {
  background: rgba(255, 255, 255, 0.1);
}

.accordion-content.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.light-mode .accordion-content p {
  color: rgba(0, 0, 0, 0.8);
}

/* Modern Animations */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
  animation: float 6s ease-in-out infinite 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 1s forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .app-heading {
    font-size: 4rem;
  }
}

@media (max-width: 991.98px) {
  .app-image-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .app-heading {
    writing-mode: horizontal-tb;
    transform: none;
    margin-left: 0;
    margin-top: 1rem;
    font-size: 3rem;
  }

  .features-carousel-container {
    padding: 0 30px;
  }

  .faq-accordion,
  .faq-image-container {
    width: 100%;
    padding: 0;
  }

  .faq-image-container {
    order: -1;
    margin-bottom: 2rem;
    height: 300px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
    margin-top: 80px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    white-space: normal;
    /* Allow text to wrap on mobile */
    text-overflow: clip;
    animation: none;
    /* Disable typing animation on mobile */
    border-right: none;
    /* Remove cursor on mobile */
  }

  .subtitle-slide {
    white-space: normal;
    /* Allow text to wrap on mobile */
    text-overflow: clip;
    animation: none;
    /* Disable typing animation on mobile */
    border-right: none;
    /* Remove cursor on mobile */
  }

  .subtitle-slide.active {
    white-space: normal;
    /* Allow text to wrap on mobile */
    text-overflow: clip;
    animation: none;
    /* Disable typing animation on mobile */
    border-right: none;
    /* Remove cursor on mobile */
  }

  .download-app-section .section-title {
    font-size: 1.8rem;
  }

  .app-heading {
    font-size: 2.5rem;
  }

  .carousel-nav,
  .testimonial-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .account-tabs {
    flex-direction: column;
    align-items: center;
    border-bottom: none;
  }

  .account-tab {
    margin: 0.5rem 0;
    padding: 0.8rem 1rem;
  }

  .account-tab.active::after {
    display: none;
  }

  /* Testimonial video adjustments for mobile */
  .testimonial-user {
    padding: 1rem;
  }

  .user-avatar {
    width: 50px;
    height: 50px;
  }

  .user-info h4 {
    font-size: 1rem;
  }

  .user-info p {
    font-size: 0.8rem;
  }

  .video-overlay h4 {
    font-size: 1.2rem;
  }

  .video-overlay img {
    width: 80px;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 575.98px) {
  .feature-card-icon {
    width: 60px;
    height: 60px;
  }

  .features-carousel-container {
    padding: 0 20px;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .payment-method,
  .social-item {
    padding: 0 1rem;
    min-width: 120px;
  }

  .payment-method img {
    height: 30px;
  }

  .social-item i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
  }

  /* Hero section adjustments for very small screens */
  .hero-title {
    font-size: 2rem;
    margin-top: 60px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .subtitles-container {
    height: 80px;
  }
}
