:root {
  --aluna-navy: #001f54;
  --aluna-gold: #c5a059;
}
.ul-ticker-wrapper {
  background: var(--ul-primary);
  color: white;
  padding: 10px 0;
  font-size: 14px;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  width: 100%;
  border-bottom: 2px solid var(--ul-secondary);
}
.ul-ticker-content {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ul-ticker-item {
  margin-right: 40px;
  font-weight: 500;
  font-family: monospace;
  font-size: 16px;
  white-space: nowrap;
}
.ul-ticker-item .val {
  margin-left: 8px;
  font-weight: bold;
}
.ul-ticker-item .up {
  color: #4ade80;
}
.ul-ticker-item .down {
  color: #f87171;
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Logo */
.aluna-logo {
  font-size: 24px;
  font-weight: 800;
  color: #001f54;
  text-decoration: none !important;
  letter-spacing: -0.5px;
  line-height: 1;
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin-bottom: 0;
}
.aluna-logo span {
  color: #c5a059;
  margin-left: 6px;
}
.aluna-logo-white {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  text-decoration: none !important;
  letter-spacing: -0.5px;
  line-height: 1;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.aluna-logo-white span {
  color: #c5a059;
  margin-left: 6px;
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: transform 0.3s;
  text-decoration: none;
}
.floating-wa:hover {
  transform: scale(1.1);
  color: white;
}

/* Modal Alignments */
.aluna-modal-banner {
  background: linear-gradient(135deg, var(--aluna-navy) 0%, #00308a 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.aluna-modal-banner::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(197, 160, 89, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.aluna-logo-plate {
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 180px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.aluna-logo-plate:hover {
  transform: translateY(-5px);
}

.aluna-logo-plate img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section removed natively. Custom styles will be mapped via theme */

/* Market Note Section */
.aluna-market-section {
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f8f9fa;
}
.aluna-market-title {
  color: var(--aluna-navy);
  margin: 0;
  font-weight: bold;
}
.aluna-market-icon {
  color: var(--aluna-gold);
}
.aluna-market-text {
  margin: 0;
  font-size: 16px;
  color: #4b5563;
  font-style: italic;
  border-left: 3px solid var(--aluna-gold);
  padding-left: 15px;
}

/* Services Section handled natively by ul-offers */

/* Modern Chart Section */
.aluna-chart-section-modern {
  background: radial-gradient(circle at 0% 0%, #00112c 0%, #001f54 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 !important;
}

.aluna-chart-section-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    rgba(197, 160, 89, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  pointer-events: none;
}

.aluna-chart-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.aluna-chart-wrapper-modern {
  height: 480px;
  width: 100%;
}

.aluna-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.aluna-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  transition: all 0.3s ease;
}

.aluna-stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--aluna-gold);
  transform: translateY(-5px);
}

.aluna-stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: block;
}

.aluna-stat-value {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: block;
}

.aluna-stat-growth {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.aluna-stat-growth.gold {
  color: var(--aluna-gold);
}
.aluna-stat-growth.up {
  color: #4ade80;
}

.aluna-chart-disclaimer-modern {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  margin-top: 25px;
  font-style: italic;
}

@media (max-width: 991px) {
  .aluna-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Academy Packages Modernization */
.ul-account-types {
  background: #fff !important;
  position: relative;
  overflow: hidden;
}

.ul-account-types table {
  border: none !important;
  box-shadow: 0 10px 40px rgba(0, 31, 84, 0.05);
  border-radius: 20px !important;
  overflow: hidden;
}

.ul-account-types th {
  background: var(--aluna-navy) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  text-align: center !important;
  padding: 30px 20px !important;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.ul-account-types th:first-child {
  background: #fff !important;
  border: none !important;
}

.ul-account-types td {
  background: #fff !important;
  border: 1px solid #f0f0f0 !important;
  padding: 18px 25px !important;
  text-align: center !important;
  color: var(--aluna-navy) !important;
  font-size: 15px;
}

.ul-account-types td:first-child {
  text-align: left !important;
  font-weight: 600;
  color: #333 !important;
  background: #fcfcfc !important;
  border-left: none !important;
}

/* Custom Icons */
.aluna-check-icon {
  color: var(--aluna-gold);
  font-size: 20px;
}

.aluna-cross-icon {
  color: #d1d5db;
  font-size: 18px;
  opacity: 0.6;
}

/* Popular Highlight */
.ul-account-types th.popular {
  background: linear-gradient(135deg, #001f54 0%, #00308a 100%) !important;
  position: relative;
  padding-top: 40px !important; /* Space for the badge */
}

.aluna-badge-popular {
  background: var(--aluna-gold) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 4px 12px !important;
  border-radius: 50px !important;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.ul-account-types tr:hover td {
  background-color: #f8fbff !important;
}

.ul-account-types tr:last-child td {
  background: #1a1a1a !important;
  padding: 25px !important;
}

.ul-account-types tr:last-child td:first-child {
  background: #fff !important;
}

/* Pricing Buttons */
.aluna-pkg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  border: none;
  gap: 8px;
}

.aluna-pkg-btn-navy {
  background: #333;
  color: #fff;
}

.aluna-pkg-btn-gold {
  background: var(--aluna-gold);
  color: #fff;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.aluna-pkg-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* Generic layout helpers for full pages */
.aluna-page-header {
  background: var(--aluna-navy);
  padding: 100px 0 50px;
  text-align: center;
  color: white;
}
.aluna-page-header h1 {
  color: #fff;
  margin-bottom: 10px;
}
.aluna-page-header p {
  color: var(--aluna-gold);
  font-size: 16px;
}
.aluna-page-content {
  padding: 80px 0;
  min-height: 50vh;
}

.ul-btn:hover {
  background-color: var(--ul-primary) !important;
  border-color: var(--ul-primary) !important;
  color: var(--white) !important;
}

.ul-breadcrumb::before {
  background: linear-gradient(
    90deg,
    rgba(0, 31, 84, 0) 34.88%,
    rgba(0, 31, 84, 0.95) 85%
  ) !important;
}

.ul-sidebar {
  z-index: 99999 !important;
}

.ul-form-modal-bg {
  z-index: 99998 !important;
}

/* Footer CTA Chic Design */
.ul-footer-cta-wrapper {
  background: var(--aluna-navy);
  padding: 50px 0;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 2px solid var(--aluna-gold);
}

.ul-footer-cta {
  background-color: transparent !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 30px;
}

.ul-footer-logo-wrapper {
  background-color: transparent !important;
  padding: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

.ul-footer-cta-descr {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
}

.ul-footer-cta-form-wrapper {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  text-align: right !important;
}

.ul-footer-cta-form {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 6px 6px 6px 20px !important;
  width: clamp(300px, 30vw, 420px) !important;
  transition: all 0.3s ease;
}

.ul-footer-cta-form:focus-within {
  border-color: var(--aluna-gold) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

.ul-footer-cta-form-input {
  background: transparent !important;
  color: white !important;
  border: none !important;
  font-size: 16px !important;
  padding-left: 0 !important;
}

.ul-footer-cta-form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.ul-footer-cta-form-btn {
  background-color: var(--aluna-gold) !important;
  border: none !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

.ul-footer-cta-form-btn:hover {
  background-color: #d4ac5e !important;
  transform: rotate(45deg);
}

/* Market Section Background Revision */
.ul-market-txt::before,
.ul-market-txt::after {
  background: linear-gradient(
    135deg,
    rgba(0, 31, 84, 0.05) 0%,
    rgba(197, 160, 89, 0.05) 100%
  ) !important;
  clip-path: none !important; /* Removing the reddish shape */
}

.ul-2-about-point {
  box-shadow: 0px 4px 40px rgba(0, 31, 84, 0.08) !important;
}

.ul-history .ul-section-heading .left .ul-2-section-title {
  color: var(--aluna-gold) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.ul-history-slider-nav button {
  background-color: rgba(197, 160, 89, 0.1) !important;
  color: var(--aluna-gold) !important;
  border: 1px solid rgba(197, 160, 89, 0.2) !important;
}

.ul-history-slider-nav button:hover {
  background-color: var(--aluna-gold) !important;
  color: #fff !important;
}

.ul-breadcrumb::after {
  background: linear-gradient(
    180deg,
    rgba(0, 31, 84, 0.4) 0%,
    rgba(0, 31, 84, 0.8) 100%
  ) !important;
}

.ul-2-stats-item {
  background-color: rgba(
    0,
    31,
    84,
    0.02
  ) !important; /* Replacing #fff3f3 with light Navy tint */
  box-shadow: 0 10px 40px rgba(0, 31, 84, 0.05) !important;
}

.ul-2-stats-item .number {
  color: var(--aluna-navy) !important;
}

.ul-2-stats-item .txt {
  color: #666 !important;
}

.ul-2-stats-item.active,
.ul-2-stats-item:hover {
  background-color: var(--aluna-gold) !important;
}

.ul-2-faq::before {
  background: linear-gradient(
    90deg,
    rgba(0, 31, 84, 0.04) 25%,
    rgba(0, 31, 84, 0) 100%
  ) !important;
}

[class*="ul-2-"] {
  --red-shadow: rgba(255, 0, 0, 0.1);
}
.ul-header-submenu {
  transition: 0.25s ease !important;
  transform: translateY(2px) !important;
  padding-top: 15px !important;
}

.ul-header-submenu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
  z-index: 10;
}

.ul-header-nav .has-sub-menu:hover .ul-header-submenu {
  transform: translateY(0) !important;
}

.ul-2-header-bottom-right
  .ul-header-nav
  .has-sub-menu:hover
  .ul-header-submenu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: all !important;
}

.ul-2-testimony {
  box-shadow: 0px 4px 50px rgba(0, 31, 84, 0.05) !important;
}

.ul-2-banner-content::before {
  background: linear-gradient(
    90deg,
    rgba(0, 31, 84, 0.9) 15%,
    rgba(0, 31, 84, 0) 65.12%
  ) !important;
}

@media screen and (max-width: 767px) {
  .ul-2-banner-content::before {
    background: linear-gradient(
      90deg,
      rgba(0, 31, 84, 0.9) 15%,
      rgba(0, 31, 84, 0) 95.12%
    ) !important;
  }
}

.ul-banner-layer-bg-inner {
  background: linear-gradient(
    180deg,
    rgba(0, 31, 84, 0) 34.88%,
    rgba(197, 160, 89, 0.1) 85%
  ) !important;
}

.ul-header-top-info-icon {
  background-color: var(--aluna-gold) !important;
  color: var(--aluna-navy) !important;
}

.ul-2-about-video-btn-wrapper {
  box-shadow: 0px 0px 100px rgba(197, 160, 89, 0.2) !important;
}

.ul-2-about-video-btn {
  background-color: var(--aluna-gold) !important;
  color: #fff !important;
}

.ul-history-slider-nav button {
  background-color: rgba(197, 160, 89, 0.1) !important;
}

.ul-history-slider-nav button:hover {
  background-color: var(--aluna-gold) !important;
}

.ul-2-section-sub-title::before,
.ul-2-section-sub-title::after {
  background-color: var(--aluna-gold) !important;
}

/* CONTACT PAGE RED REMOVAL */
.ul-contact-infos-top {
  background: linear-gradient(135deg, var(--aluna-navy) 0%, #002d7a 50%, var(--aluna-gold) 100%) !important;
  color: #fff !important;
}

.ul-contact-info-icon {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(197, 160, 89, 0.4) !important;
  color: var(--aluna-gold) !important;
}

.ul-contact-info-title {
  color: var(--aluna-gold) !important;
}

.ul-contact-info-descr a {
  color: #fff !important;
  transition: 0.3s ease;
}

.ul-contact-info-descr a:hover {
  color: var(--aluna-gold) !important;
}

/* Contact Form Overrides */
.ul-contact-form .form-group input,
.ul-contact-form .form-group textarea {
  border: 1px solid rgba(0, 31, 84, 0.1) !important;
}

.ul-contact-form .form-group input:focus,
.ul-contact-form .form-group textarea:focus {
  border-color: var(--aluna-gold) !important;
}

.ul-contact-form .ul-btn {
  background-color: var(--aluna-navy) !important;
  color: #fff !important;
}

.ul-contact-form .ul-btn:hover {
  background-color: var(--aluna-gold) !important;
}
