/* ==========================================================================
   Marie Freeman - Savvy Trader Full System & Fallback Utilities
   ========================================================================== */
/* st-hero-title */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --st-header-bg: #093859;
  --st-header-btn: #0c4d7b;
  --st-hero-bg: #eef6f5;
  --st-hero-dot: #b8ccca;
  --st-title-color: #0f172a;
  --st-text-muted: #475569;
  --st-text-subtle: #64748b;
  --st-btn-dark: #093859;
  --st-btn-light: #dce5e4;
  --st-card-bg: #ffffff;
  --st-coral-accent: #f97316;
  --st-cyan-accent: #00bcd4;
  --st-icon-bg: #dbeafe;
  --st-icon-color: #1d4ed8;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
  scroll-behavior: smooth;
}

body {
  background-color: #eef6f5 !important;
  color: #0f172a !important;
  font-family: var(--font-heading) !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  max-width: 100% !important;
  height: auto;
}

section, main, header, footer, .st-hero, .st-section-white, .st-section-muted, .st-metrics-bar {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Scroll Animation Engine (Multi-Directional AOS Support) */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.75s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-aos="fade-up"] { transform: translateY(35px); }
[data-aos="fade-down"] { transform: translateY(-35px); }
[data-aos="fade-left"] { transform: translateX(35px); }
[data-aos="fade-right"] { transform: translateX(-35px); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos="zoom-out"] { transform: scale(1.08); }

[data-aos].aos-animate, [data-aos].st-visible, [data-aos].st-in-view, .st-visible, .aos-animate {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Staggered Delays for data-aos-delay */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }
[data-aos-delay="600"] { transition-delay: 0.6s; }

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.035em !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-top: 0;
}

p {
  color: #475569 !important;
  line-height: 1.65;
  margin-top: 0;
}

.font-mono {
  font-family: var(--font-mono) !important;
}

ul, ol {
  padding-left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  list-style: none !important;
}

li {
  list-style: none !important;
}

/* Grid & Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
}

.row > * {
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box !important;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }

@media (max-width: 1024px) {
  .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-10 { flex: 0 0 100% !important; max-width: 100% !important; }
  .st-header-actions .st-btn-header-cta, .st-btn-header-cta, .st-header-actions .st-icon-circle, .st-icon-circle { display: none !important; }
}
/* st-btn-dark */

@media (max-width: 567px) {
  .col-md-3, .col-md-4, .col-md-6, .col-6 { flex: 0 0 100% !important; max-width: 100% !important; }
  .st-hero-title { font-size: 1.65rem !important; line-height: 1.22 !important; margin-top: 10px !important; margin-bottom: 12px !important; }
  .st-btn-dark, .st-btn-light { width: 100% !important; max-width: 320px !important; padding: 11px 20px !important; font-size: 0.88rem !important; margin-left: auto !important; margin-right: auto !important; }
  .st-btn-card-cta { padding: 10px 16px !important; font-size: 0.85rem !important; }
}

@media (max-width: 480px) {
  .st-hero-title { font-size: 1.52rem !important; line-height: 1.25 !important; }
  .st-btn-dark, .st-btn-light { font-size: 0.84rem !important; padding: 10px 16px !important; }
}

.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-baseline { align-items: baseline !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-column { flex-direction: column !important; }

.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mb-5 { margin-bottom: 48px !important; }
.text-center { text-align: center !important; }
.text-muted { color: #64748b !important; }
.text-dark { color: #0f172a !important; }
.text-white { color: #ffffff !important; }

/* HEADER NAVBAR */
.st-navbar {
  background-color: #093859 !important;
  padding: 14px 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.st-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.st-brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 1.45rem !important;
  letter-spacing: -0.03em !important;
}

.st-brand-icon {
  width: 32px;
  height: 32px;
  color: #00bcd4 !important;
}

.st-nav-link {
  color: #e2e8f0 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.st-nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.st-nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.st-badge-new {
  background-color: #f97316 !important;
  color: #ffffff !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 50px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.st-btn-header-cta {
  background-color: #0c4d7b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center !important;
  animation: stBounceCTA 2.5s infinite ease-in-out !important;
  will-change: transform !important;
}

.st-btn-header-cta:hover {
  background-color: #083758 !important;
  color: #ffffff !important;
  animation-play-state: paused !important;
  transform: translateY(-3px) scale(1.03) !important;
}

.st-icon-circle {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  cursor: pointer !important;
}

/* HERO SECTION */
.st-hero {
  background-color: #eef6f5 !important;
  background-image: radial-gradient(#b8ccca 1.2px, transparent 1.2px) !important;
  background-size: 22px 22px !important;
  padding: 75px 0 85px !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2 !important;
}

.st-hero-waves {
  position: absolute !important;
  inset: 0 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2300bcd4' fill-opacity='0.04' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,122.7C960,117,1056,171,1152,186.7C1248,203,1344,181,1392,170.7L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") top center no-repeat !important;
  background-size: cover !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0.5 !important;
}

.st-pill-badge {
  display: inline-block !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #475569 !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  padding: 6px 20px !important;
  border-radius: 50px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.st-hero-title {
  font-size: 2.6rem ;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  color: #0f172a !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.04em !important;
}

.st-hero-subtitle {
  font-size: 1.18rem !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  margin-bottom: 28px !important;
  max-width: 530px !important;
}
/* st-btn-light */

.st-btn-dark {
  background-color: #093859 !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 1.05rem ;
  padding: 16px 36px ;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(9, 56, 89, 0.3) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.st-btn-dark:hover {
  background-color: #072b45 !important;
  color: #ffffff !important;
}
/* st-btn-card-cta */
.st-btn-light {
  background-color: #dce5e4 !important;
  color: #1e293b !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 1.05rem ;
  padding: 16px 36px;
  border-radius: 50px !important;
  border: none !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.st-btn-light:hover {
  background-color: #cbd7d5 !important;
  color: #0f172a !important;
}

/* OWL SCROLLING CAROUSEL ENGINE */
.st-owl-carousel-wrap {
  position: relative !important;
  width: 100% !important;
  margin-bottom: 10px !important;
}

.st-owl-track {
  display: flex !important;
  gap: 24px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 10px 4px 20px 4px !important;
  scrollbar-width: none !important; /* Firefox */
}

.st-owl-track::-webkit-scrollbar {
  display: none !important; /* Chrome / Safari */
}

.st-owl-slide {
  flex: 0 0 calc(33.333% - 16px) !important;
  min-width: 320px !important;
  scroll-snap-align: start !important;
}

@media (max-width: 991px) {
  .st-owl-slide {
    flex: 0 0 calc(50% - 12px) !important;
    min-width: 290px !important;
  }
}

@media (max-width: 640px) {
  .st-owl-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
  }
}

.st-owl-nav-btn {
  position: absolute !important;
  top: 45% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  color: #093859 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 20px rgba(9, 56, 89, 0.12) !important;
  cursor: pointer !important;
  z-index: 20 !important;
  transition: all 0.2s ease !important;
}

.st-owl-nav-btn:hover {
  background: #093859 !important;
  color: #ffffff !important;
  border-color: #093859 !important;
}

.st-owl-nav-btn.st-prev {
  left: -20px !important;
}

.st-owl-nav-btn.st-next {
  right: -20px !important;
}

@media (max-width: 768px) {
  .st-owl-nav-btn.st-prev { left: 5px !important; }
  .st-owl-nav-btn.st-next { right: 5px !important; }
}

.st-owl-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 20px !important;
}

.st-owl-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #cbd5e1 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.st-owl-dot.active {
  width: 28px !important;
  border-radius: 10px !important;
  background: #093859 !important;
}

/* PORTFOLIO CARD */
.st-portfolio-card {
  background: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 32px !important;
  box-shadow: 0 10px 30px rgba(9, 56, 89, 0.06) !important;
  transition: all 0.2s ease !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.st-portfolio-card:hover {
  transform: translateY(-4px) !important;
  border-color: #093859 !important;
  box-shadow: 0 15px 40px rgba(9, 56, 89, 0.12) !important;
}

.st-cat-badge {
  background-color: #093859 !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 4px 14px !important;
  border-radius: 50px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  display: inline-block !important;
}

.st-return-badge {
  color: #10b981 !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  background-color: #ecfdf5 !important;
  padding: 4px 12px !important;
  border-radius: 50px !important;
  border: 1px solid #a7f3d0 !important;
  display: inline-block !important;
}

.st-port-title {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin-top: 14px !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.st-port-desc {
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
  display: block !important;
}

.st-alloc-box {
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 16px !important;
  margin-bottom: 24px !important;
}

.st-alloc-label {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 10px !important;
}

.st-tag-pill {
  display: inline-block !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  margin-right: 6px !important;
  margin-bottom: 6px !important;
}

.st-btn-card-cta {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background-color: #093859 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.95rem ;
  padding: 14px ;
  border-radius: 50px !important;
  text-decoration: none !important;
}

/* ==========================================================================
   FLOATING LIVE CHAT WIDGET (TELEGRAM & WHATSAPP ONLY)
   ========================================================================== */
.st-chat-widget-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-heading), sans-serif;
}

.st-chat-btn-trigger {
  background: #093859;
  color: #ffffff;
  border: 2px solid #00bcd4;
  border-radius: 50px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(9, 56, 89, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.st-chat-btn-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  background: #072b45;
  box-shadow: 0 14px 30px rgba(9, 56, 89, 0.45);
}

.st-online-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.st-chat-box {
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(9, 56, 89, 0.25);
  border: 2px solid #cbd5e1;
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: chatFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-chat-box.open {
  display: flex !important;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.st-chat-header {
  background: #093859;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.st-chat-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0;
  color: #ffffff !important;
}

.st-chat-sub {
  font-size: 0.75rem;
  color: #cbd5e1 !important;
  margin: 0;
}

.st-chat-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.st-chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.st-chat-body {
  padding: 20px;
  background: #f8fafc;
}

.st-chat-msg {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  font-size: 0.9rem;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.st-chat-channel-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none !important;
  color: #ffffff !important;
  font-weight: 800;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.st-chat-channel-btn:last-child {
  margin-bottom: 0;
}

.st-chat-channel-btn.telegram {
  background: #0088cc;
}

.st-chat-channel-btn.telegram:hover {
  background: #0077b5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.35);
}

.st-chat-channel-btn.whatsapp {
  background: #25d366;
}

.st-chat-channel-btn.whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.st-chat-btn-title {
  font-size: 0.95rem;
  margin: 0;
  color: #ffffff !important;
  line-height: 1.2;
}

.st-chat-btn-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 575px) {
  .st-chat-widget-wrap {
    bottom: 18px;
    right: 18px;
  }
  .st-chat-box {
    width: 290px;
    right: 0;
  }
}
