/*! ------------------------------------------------
 * Custom Color Overrides for TradeLyser
 * Primary: #ECA317 (Orange)
 * Secondary: #4046ba (Blue)
 * ------------------------------------------------ */

/* Primary Brand Colors */
:root {
  --primary-orange: #ECA317;      /* New primary color (was #fc466b) */
  --primary-blue: #4046ba;        /* New secondary color (was #00dbde) */
  --background-dark: #061125;     /* Keep existing background */
  --text-white: #ffffff;          /* Keep existing text color */
  --text-muted: rgba(255, 255, 255, 0.7); /* Keep existing muted text */
}

/* ============================================
   BUTTON COLORS
   ============================================ */

/* Notify Me Button Gradient */
.btn-l .btn-hover {
  background: -webkit-gradient(linear, left top, right top, from(#ECA317), to(#4046ba));
  background: -moz-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: -o-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: linear-gradient(to right, #ECA317 0%, #4046ba 100%);
}

/* Outline Button Hover Gradient */
.no-touch .btn-outline:hover .btn-hover {
  background: -webkit-gradient(linear, left top, right top, from(#ECA317), to(#4046ba));
  background: -moz-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: -o-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: linear-gradient(to right, #ECA317 0%, #4046ba 100%);
}

/* ============================================
   TEXT GRADIENTS
   ============================================ */

/* Main Headline Gradient Text */
h1 span.gradient-text {
  color: #ECA317;
  background: -webkit-linear-gradient(0deg, #ECA317 0%, #4046ba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Active Link Gradient */
.navigation__item.active-link .link {
  color: #ffffff;
  background: -webkit-linear-gradient(0deg, #ECA317 0%, #4046ba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.no-touch .navigation__item.active-link:hover .link {
  overflow: visible;
  color: #ffffff;
  background: -webkit-linear-gradient(0deg, #ECA317 0%, #4046ba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   HEADER & LOGO
   ============================================ */

/* Header Logo - Transparent Background */
.header__logo {
  background: transparent;
}

/* Mobile Logo Specific Styling */
@media only screen and (max-width: 1199px) {
  .header__logo {
    width: 60px;
    height: 60px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
  }
  
  .header__logo img {
    width: 85%;
    height: auto;
  }
}

@media only screen and (max-width: 767px) {
  .header__logo {
    width: 50px;
    height: 50px;
    top: 8px;
    left: 8px;
  }
  
  .header__logo img {
    width: 80%;
  }
}

/* ============================================
   SCROLLBAR & SELECTION
   ============================================ */

/* Scrollbar Gradient */
::-webkit-scrollbar-thumb {
  background: -webkit-gradient(linear, left top, left bottom, from(#ECA317), to(#4046ba));
  background: linear-gradient(to bottom, #ECA317 0%, #4046ba 100%);
}

/* Text Selection Colors */
::selection {
  background-color: #4046ba;
  color: #212121;
  text-shadow: none;
}

::-moz-selection {
  background-color: #4046ba;
  color: #212121;
  text-shadow: none;
}

/* ============================================
   FORMS
   ============================================ */

/* Form Input Focus */
.form-light input:focus,
.form-light textarea:focus {
  border-bottom: 2px solid #ECA317;
}

/* ============================================
   REPLY GROUPS & ICONS
   ============================================ */

/* Reply Group Icon Gradient */
.reply-group__icon::before {
  background: -webkit-linear-gradient(-45deg, #ECA317 0%, #4046ba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reply Group Icon Color */
.reply-group__icon {
  color: #ECA317;
}

/* ============================================
   TYPED CURSOR
   ============================================ */

/* Typed Cursor Gradient */
.typed-cursor::before {
  background: -webkit-gradient(linear, left top, right top, from(#ECA317), to(#4046ba));
  background: -moz-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: -o-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: linear-gradient(to right, #ECA317 0%, #4046ba 100%);
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

/* Copyright Links Hover */
.no-touch .media__copyright a:hover,
.no-touch .side-copyright a:hover {
  color: #4046ba;
}

/* Social Links Hover */
.no-touch .socials ul li:hover a {
  color: #4046ba;
}

/* Contact Data Hover */
.no-touch .contact-data__item p a:hover {
  color: #4046ba;
}

.no-touch .contact-data__item ul li:hover a {
  color: #4046ba;
}

.contact-data-item p a:hover {
  color: #4046ba;
}

/* ============================================
   SWIPER SLIDER
   ============================================ */

/* Swiper Background */
.swiper {
  background-color: #4046ba;
}

.swiper-slide {
  background-color: #4046ba;
}

/* Swiper Pagination Active */
.swiper-pagination.main-pagination .swiper-pagination-bullet-active {
  background: -webkit-gradient(linear, left top, right top, from(#ECA317), to(#4046ba));
  background: -moz-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: -o-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: linear-gradient(to right, #ECA317 0%, #4046ba 100%);
}

/* ============================================
   SKILL BARS
   ============================================ */

/* Skill Bar Progress */
.skill-bar-progress {
  background: -webkit-gradient(linear, left top, right top, from(#ECA317), to(#4046ba));
  background: -moz-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: -o-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: linear-gradient(to right, #ECA317 0%, #4046ba 100%);
}

/* ============================================
   ZOOM CONTROLS
   ============================================ */

/* Zoom Button Hover */
#zoom-in .btn-hover, #zoom-out .btn-hover {
  background: -webkit-gradient(linear, left top, right top, from(#ECA317), to(#4046ba));
  background: -moz-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: -o-linear-gradient(left, #ECA317 0%, #4046ba 100%);
  background: linear-gradient(to right, #ECA317 0%, #4046ba 100%);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

/* Contact Media Gradient */
.contact-media {
  background: linear-gradient(135deg, #ECA317 0%, #4046ba 100%);
  color: #ffffff;
  text-align: center;
}

/* ============================================
   MOBILE BUTTON OVERLAY
   ============================================ */

/* Mobile Button Overlay - Always on top */
.mobile-btn-overlay {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  width: 90%;
  max-width: 300px;
  pointer-events: auto;
}

.mobile-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: rgba(236, 163, 23, 0.3);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto;
  position: relative;
  z-index: 100000;
}

.mobile-btn-1 {
  background: linear-gradient(135deg, #ECA317 0%, #4046ba 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(236, 163, 23, 0.3);
}

.mobile-btn-2, .mobile-btn-3 {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.mobile-btn:hover, .mobile-btn:active {
  transform: scale(0.95);
  opacity: 0.9;
}

.mobile-btn:active {
  transform: scale(0.9);
}

/* Show mobile buttons only on mobile */
@media only screen and (max-width: 767px) {
  .mobile-btn-overlay {
    display: block !important;
  }
  
  .headline__btnholder {
    display: none !important;
  }
}

/* Hide mobile buttons on desktop */
@media only screen and (min-width: 768px) {
  .mobile-btn-overlay {
    display: none !important;
  }
  
  .headline__btnholder {
    display: block !important;
  }
}

/* ============================================
   MOBILE BUTTON FIXES
   ============================================ */

/* Mobile Button Touch Fixes */
@media only screen and (max-width: 767px) {
  /* Force button clickability */
  .btn, .btn-l {
    -webkit-tap-highlight-color: rgba(236, 163, 23, 0.3) !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
    position: relative !important;
    display: inline-block !important;
    text-decoration: none !important;
  }
  
  .btn-l {
    min-height: 48px !important;
    min-width: 120px !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0.5rem 0 !important;
  }
  
  /* Disable pointer events on all child elements */
  .btn-l * {
    pointer-events: none !important;
  }
  
  /* Re-enable for the main button */
  .btn-l {
    pointer-events: auto !important;
  }
  
  /* Ensure buttons are clickable on mobile */
  .headline__btnholder {
    z-index: 10000 !important;
    position: relative !important;
    pointer-events: auto !important;
  }
  
  .headline__btnholder .btn {
    margin: 0.5rem 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 280px !important;
    pointer-events: auto !important;
  }
  
  /* Fix for touch events */
  .btn:active,
  .btn:focus,
  .btn:hover {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: auto !important;
  }
  
  /* Touch feedback */
  .btn-touch {
    transform: scale(0.95) !important;
    opacity: 0.8 !important;
  }
  
  /* Ensure no overlapping elements */
  .main .headline__btnholder {
    position: relative !important;
    z-index: 10000 !important;
  }
  
  /* Fix for any potential overlay issues */
  .main::before,
  .main::after {
    pointer-events: none !important;
  }
}

/* ============================================
   FEATURES LIST
   ============================================ */

/* Features List Container */
.features-list {
  margin-top: 3rem;
  padding: 2rem 0;
}

/* Features Column */
.features-column {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-column li {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  font: normal 400 1.4rem/1.6 "Roboto", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.features-column li:last-child {
  border-bottom: none;
}

.features-column li:hover {
  color: #ECA317;
  padding-left: 1rem;
}

/* Feature Icons */
.features-column li i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.4rem;
  color: #ECA317;
  background: linear-gradient(135deg, #ECA317 0%, #4046ba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

/* Responsive Design */
@media only screen and (max-width: 767px) {
  .features-list {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }
  
  .features-column li {
    padding: 0.8rem 0;
    font-size: 1.3rem;
  }
  
  .features-column li i {
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
    margin-right: 1rem;
  }
}

@media only screen and (min-width: 768px) {
  .features-list {
    margin-top: 3.5rem;
  }
  
  .features-column li {
    padding: 1.2rem 0;
    font-size: 1.5rem;
  }
  
  .features-column li i {
    width: 26px;
    height: 26px;
    font-size: 1.5rem;
    margin-right: 1.8rem;
  }
}

/* ============================================
   FEATURES NOTE
   ============================================ */
.features-note {
  margin-top: 1.6rem;
}

.features-note small {
  font: normal 400 1.2rem/1.6 "Roboto", sans-serif;
  color: rgba(255, 255, 255, 0.7);
}

.features-note a {
  color: #ECA317;
  text-decoration: underline;
}

.no-touch .features-note a:hover {
  color: #4046ba;
}
