/* --- Mexican Design Theme (Blue & White) - adapted for 1150px Full Width --- */ 
:root { 
  --primary: #0154c5; 
  --primary-dark: #0143a0; 
  --secondary: #181818; 
  --white: #ffffff; 
  --header-height: auto; 
  --header-bg: rgba(255, 255, 255, 0.98); 
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.08); 
  --transition: 0.3s ease; 
  --border-radius: 0.5rem; 
} 

/* --- MODERN CUSTOM SCROLLBARS --- */
/* Global Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid #f8fafc;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
::-webkit-scrollbar-thumb:active {
  background: var(--primary);
}

/* Firefox Support */
html {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

/* Country List Dropdown Scrollbar */
.iti__country-list::-webkit-scrollbar {
  width: 6px;
}
.iti__country-list::-webkit-scrollbar-track {
  background: #ffffff;
}
.iti__country-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.iti__country-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

body { 
  background-color: #f0f2f5; 
  margin: 0; 
  padding: 0; 
  overflow-x: hidden; 
} 

html { 
  scroll-behavior: smooth; 
} 

/* --- UNIFIED STICKY HEADER --- */ 
.site-header { 
  top: 0; 
  left: 0; 
  width: 100%; 
  background-color: var(--header-bg); 
  z-index: 1000; 
  box-shadow: var(--shadow); 
  position: sticky; 
  display: flex; 
  flex-direction: column; 
} 

.header-container { 
  max-width: 1150px; 
  width: 100%; 
  height: 75px; 
  margin: 0 auto; 
  padding: 0 1rem; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
} 

.logo-container { 
  display: flex; 
  align-items: center; 
} 

.main-nav { 
  display: none; 
} 
.nav-list { 
  display: flex; 
  gap: 2rem; 
} 
.nav-link { 
  color: var(--secondary); 
  font-size: 1rem; 
  font-weight: 600; 
  text-decoration: none; 
  padding: 0.5rem 0; 
  transition: color var(--transition); 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
} 
.nav-link:hover { 
  color: var(--primary); 
} 

.cta-container { 
  display: none; 
} 
.cta-button { 
  display: inline-block; 
  background-color: var(--primary); 
  color: var(--white); 
  font-weight: 600; 
  font-size: 0.95rem; 
  padding: 0.7rem 1.4rem; 
  border-radius: var(--border-radius); 
  text-decoration: none; 
  transition: background-color var(--transition), transform var(--transition); 
  cursor: pointer; 
  text-transform: uppercase; 
} 
.cta-button:hover { 
  background-color: var(--primary-dark); 
  transform: translateY(-2px); 
  color: white; 
} 

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  z-index: 2001;
}
.hamburger svg {
  width: 28px;
  height: 28px;
  stroke: var(--secondary);
}

.side-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  transition: right 0.3s ease;
}
.side-menu-overlay.active {
  right: 0;
}
.side-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
.side-menu-content a {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
}
.side-menu-content .menu-cta-btn {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  border: none;
  margin-top: 10px;
}

@media (min-width: 768px) { 
  .main-nav, 
  .cta-container { 
    display: block; 
  } 
} 
@media (max-width: 767px) {
  .hamburger {
    display: block;
  }
}

.ticker-wrapper { 
  width: 100%; 
  height: 46px; 
  background: #fff; 
  border-top: 1px solid #f0f0f0; 
} 

/* --- LAYOUT: Full Width Article --- */ 
.main-layout-container { 
  max-width: 1150px; 
  margin: 30px auto; 
  padding: 0 15px; 
  display: block; 
} 

.article-column { 
  width: 100%; 
} 

/* Article internal styles - Defaults for Desktop */ 
.sectionContainer.articleContent { 
  font-family: 'Inter', sans-serif; 
  color: #333; 
  background-color: #fff; 
  padding: 50px 60px; 
  border-radius: 12px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); 
} 
.sectionContainer.articleContent p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 25px;
}
.sectionContainer.articleContent ul {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

@media (max-width: 768px) { 
  .sectionContainer.articleContent { 
    padding: 30px 20px; 
  } 
} 

.features-grid-3 { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 25px; 
  margin-top: 20px; 
  width: 100%; 
} 
.feature-card { 
  background: #fff; 
  border: 1px solid #e0e0e0; 
  border-radius: 10px; 
  overflow: hidden; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
  display: flex; 
  flex-direction: column; 
  min-width: 0; 
} 
.feature-card video { 
  width: 100%; 
  max-width: 100%; 
  height: auto; 
  display: block; 
  border-bottom: 1px solid #eee; 
  object-fit: cover; 
} 
.feature-card-content { 
  padding: 20px; 
} 
.feature-card-content h4 { 
  font-size: 1.15rem; 
  margin-top: 0; 
  margin-bottom: 10px; 
  color: #0154c5; 
  font-weight: bold; 
  line-height: 1.2; 
} 
.feature-card-content p { 
  font-size: 1rem; 
  color: #555; 
  margin-bottom: 0; 
  line-height: 1.5; 
} 

@media (max-width: 768px) { 
  .features-grid-3 { 
    grid-template-columns: 1fr; 
  } 
} 

/* --- Modern HTML Table / Timeline Box --- */ 
.timeline-container { 
  display: flex; 
  gap: 25px; 
  margin-bottom: 35px; 
  align-items: stretch; 
} 

.timeline-image-wrapper { 
  flex: 1 1 50%; 
  min-width: 300px; 
  display: flex; 
} 

.timeline-image-wrapper img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 8px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.06); 
} 

.timeline-box { 
  flex: 1 1 50%; 
  min-width: 300px; 
  background: #ffffff; 
  border: 1px solid #e2e8f0; 
  border-radius: 8px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); 
  display: flex; 
  flex-direction: column; 
  overflow: hidden; 
} 

.timeline-header { 
  background: #f8fafc; 
  padding: 16px 20px; 
  border-bottom: 1px solid #e2e8f0; 
  font-family: 'Montserrat', sans-serif; 
  font-weight: 800; 
  font-size: 16px; 
  color: #1e293b; 
  letter-spacing: 0.5px; 
} 

.timeline-content { 
  padding: 0 20px; 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
  flex: 1; 
} 

.timeline-row { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 18px 0; 
  border-bottom: 1px solid #f1f5f9; 
} 
.timeline-row:last-child { 
  border-bottom: none; 
} 

.tl-left, .tl-right { display: flex; flex-direction: column; } 
.tl-right { text-align: right; } 

.tl-week { font-size: 11px; color: #64748b; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.5px; } 
.tl-action { font-size: 14px; color: #0f172a; font-weight: 700; } 
.tl-profit { font-size: 14px; color: #16a34a; font-weight: 700; margin-bottom: 2px;} 
.tl-balance { font-size: 13px; color: #0154c5; font-weight: 900; } 

@media (max-width: 900px) { 
  .timeline-container { 
    flex-direction: column; 
  } 
} 

/* Hide Image next to table on Mobile */
@media (max-width: 768px) {
  .mobile-hide-img {
    display: none !important;
  }
}

/* Form Style */ 
.main-bottom-form { 
  background: #fff; 
  border: 1px solid #e2e8f0; 
  padding: 45px 60px;  
  margin: 40px 0; 
  border-radius: 8px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.06); 
} 

/* Modern Comments (Mexican Bubble Style) */ 
.comments-section { 
  background: #ffffff; 
  padding: 40px 55px; 
  border-radius: 12px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); 
  margin-top: 40px; 
} 
@media (max-width: 768px) { 
  .comments-section { 
    padding: 30px 20px; 
  } 
} 
.comments-title { 
  font-family: 'Montserrat', sans-serif; 
  font-size: 20px; 
  font-weight: 800; 
  margin-bottom: 25px; 
  color: #111827; 
} 
.comment-input-box { 
  background-color: #f8fafc; 
  border: 1px solid #e2e8f0; 
  border-radius: 8px; 
  padding: 20px; 
  margin-bottom: 35px; 
} 
.comment-item { 
  display: flex; 
  gap: 12px; 
  margin-bottom: 24px; 
  font-family: 'Inter', sans-serif; 
} 
.c-avatar { 
  width: 42px; 
  height: 42px; 
  border-radius: 50%; 
  color: white; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 700; 
  font-size: 15px; 
  flex-shrink: 0; 
} 
.c-main { 
  flex: 1; 
} 
.c-bubble { 
  background-color: #f0f2f5; 
  padding: 12px 16px; 
  border-radius: 18px; 
  display: inline-block; 
  max-width: 100%; 
} 
.c-name { 
  font-weight: 700; 
  font-size: 14px; 
  color: #050505; 
  margin-bottom: 2px; 
} 
.c-text { 
  font-size: 15px; 
  color: #1c1e21; 
  line-height: 1.4; 
} 
.c-actions { 
  font-size: 13px; 
  font-weight: 600; 
  color: #65676b; 
  margin-top: 6px; 
  margin-left: 12px; 
} 
.c-actions span { 
  cursor: pointer; 
} 
.c-actions span:hover { 
  text-decoration: underline; 
  color: var(--primary); 
} 
.c-time { 
  font-weight: 400; 
} 

/* Popup Styles */ 
@keyframes popIn { 
  0% { transform: scale(0.9); opacity: 0; } 
  100% { transform: scale(1); opacity: 1; } 
} 
.custom-popup { 
  display: none; 
  position: fixed; 
  top: 0; left: 0; width: 100%; height: 100%; 
  background: rgba(0,0,0,0.6); 
  z-index: 9999; 
  align-items: center; 
  justify-content: center; 
  backdrop-filter: blur(3px); 
} 
.custom-popup-content { 
  background: #fff; 
  width: 90%; 
  max-width: 450px; 
  border-radius: 12px; 
  box-shadow: 0 10px 35px rgba(0,0,0,0.2); 
  overflow: hidden; 
  font-family: 'Inter', sans-serif; 
  animation: popIn 0.3s ease-out; 
} 
.popup-header { 
  background: var(--primary); 
  padding: 15px 20px; 
  color: white; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
} 

/* Footer */ 
#footer { 
  background-color: #0b0d10; 
  color: #888; 
  padding: 60px 20px 40px; 
  font-size: 13px; 
  border-top: 1px solid #1f2228; 
  width: 100%; 
  box-sizing: border-box; 
} 
#footer a { 
  color: #ffffff; 
  text-decoration: none; 
  font-weight: 500; 
  transition: 0.3s; 
} 
#footer a:hover { 
  opacity: 0.7; 
} 

/* Sticky Mobile Button Defaults */
#mobile-sticky-cta {
  display: none;
}

/* Desktop fallback for title */
.main-article-title {
  font-family: 'Montserrat', sans-serif; 
  font-size: 2.5rem; 
  font-weight: 900; 
  line-height: 1.25; 
  color: #111; 
  margin-bottom: 25px; 
  letter-spacing: -0.5px;
}

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {
  /* 1. Header non-sticky */
  .site-header {
    position: relative !important;
  }

  /* 2. STRICT TYPOGRAPHY HIERARCHY FOR MOBILE */
  /* H1 - Main Title */
  .main-article-title {
    font-size: 26px !important; 
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }
  
  /* H2 - Form Title */
  .form-header-title {
    font-size: 22px !important; 
    margin-bottom: 20px !important;
  }
  
  /* H3 - Subtitles */
  .sectionContainer.articleContent h3 {
    font-size: 20px !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
    padding-left: 14px !important;
  }
  
  /* Paragraphs & Lists - Body text explicitly constrained */
  .sectionContainer.articleContent p,
  .sectionContainer.articleContent ul,
  .sectionContainer.articleContent li {
    font-size: 17px !important; /* The 45+ Sweet Spot */
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }

  /* The Dropcap "D" explicitly shrunk for mobile */
  .dropcap-letter {
    font-size: 3.5rem !important;
    padding-top: 4px !important;
    padding-right: 10px !important;
    line-height: 0.8 !important;
  }

  /* Author Meta Text */
  .articleInfo span {
    font-size: 14px !important;
  }

  /* The Yellow Warning Box */
  .warning-box {
    padding: 16px 18px !important;
    margin-bottom: 25px !important;
    font-size: 15px !important; 
  }
  .warning-box-title {
    font-size: 15px !important; 
    margin-bottom: 6px !important;
  }

  /* 3. Form Usability tweaks - Maximize space */
  .main-bottom-form {
    padding: 25px 15px !important; 
    margin: 30px 0 !important;
    border-radius: 8px !important;
  }
  
  .main-bottom-form input {
    font-size: 16px !important; /* Prevents iPhone Safari Auto-Zoom */
    padding: 15px !important;
  }

  /* 4. Fine Print - Checkbox & Security Info */
  .f1t-field--checkbox span {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  .form-secure-text-container {
    margin-top: 15px !important;
    padding-top: 15px !important;
  }
  .form-secure-title {
    font-size: 13px !important;
  }
  .form-secure-desc {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  /* 5. Sticky Button with Transform Animation */
  #mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    transform: translateY(100%); /* Hidden initially */
    transition: transform 0.3s ease-in-out; /* Smooth slide up */
  }
  #mobile-sticky-cta.show {
    transform: translateY(0); /* Shown class */
  }
}
