/* ==========================================================================
   MARKET X - PREMIUM LIGHT THEME & FULLY MOBILE RESPONSIVE STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Color Tokens - White / Light Theme */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  
  --accent-green: #059669;
  --accent-green-bright: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-green-light: rgba(16, 185, 129, 0.08);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --border-card: #e2e8f0;
  --border-green: rgba(16, 185, 129, 0.35);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  --shadow-glow: 0 8px 25px rgba(16, 185, 129, 0.25);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* Reset & Mobile Prevention of Horizontal Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Background Glowing Elements */
.bg-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.bg-glow-right {
  position: absolute;
  top: 40%;
  right: 0;
  width: 100%;
  max-width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

/* Top Ticker Bar */
.ticker-bar {
  background: #0f172a;
  color: #f8fafc;
  padding: 7px 0;
  font-size: 0.82rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 101;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
}

.ticker-track {
  display: inline-flex;
  gap: 36px;
  animation: tickerScroll 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.ticker-symbol {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.ticker-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
}

.ticker-up {
  color: #34d399;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}

.ticker-down {
  color: #f87171;
  font-weight: 700;
  background: rgba(248, 113, 113, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  width: 100%;
}

.nav-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-links-wrapper {
  background: rgba(241, 245, 249, 0.7);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.nav-link.active {
  color: var(--accent-green);
  background: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-outline {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: var(--accent-green);
  color: var(--accent-green);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-size: 1.25rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* Mobile Nav Drawer Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-card);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.mobile-nav-item {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background: #f1f5f9;
  color: var(--accent-green);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
}

.btn-full {
  width: 100%;
}

/* MOBILE STICKY BOTTOM BAR SYSTEM */
.mobile-sticky-bar {
  display: none; /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 990;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
}

.mobile-sticky-container {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.mobile-sticky-btn-login {
  flex: 1;
  padding: 12px;
  font-size: 0.92rem;
  border-radius: 10px;
}

.mobile-sticky-btn-register {
  flex: 1.3;
  padding: 12px;
  font-size: 0.92rem;
  border-radius: 10px;
}

/* FLOATING 24/7 LIVE SUPPORT WIDGET SYSTEM */
.support-widget-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 995;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-widget-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.5);
}

.support-online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 1.5s infinite;
}

/* Support Chat Drawer Popup Card */
.support-chat-card {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 996;
  width: 360px;
  background: #ffffff;
  border: 1px solid var(--border-green);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-chat-card.active {
  display: flex;
}

.support-chat-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 20px;
  position: relative;
}

.support-chat-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
}

.support-chat-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.support-chat-status {
  font-size: 0.8rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 6px;
}

.support-chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.support-option-btn:hover {
  background: var(--accent-green-light);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.support-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-green);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 60px 24px 50px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--accent-green-light);
  border: 1px solid var(--border-green);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  max-width: 100%;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ANIMATED HERO HEADLINE STYLING */
.hero-title {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-main);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-line {
  display: inline-block;
  max-width: 100%;
}

/* Shimmering Animated Gradient Accent Line */
.shimmer-gradient-text {
  background: linear-gradient(120deg, #059669 0%, #10b981 40%, #047857 70%, #059669 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientShift 3.5s ease infinite;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  max-width: 100%;
}

.shimmer-gradient-text.text-flip-out {
  opacity: 0;
  transform: translateY(-12px) scale(0.96);
}

.shimmer-gradient-text.text-flip-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes textGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-markets-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  width: 100%;
}

.market-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.market-chip:hover {
  border-color: var(--accent-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}

.market-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--accent-green);
  flex-shrink: 0;
}

.market-chip-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 10px;
}

.hero-trust {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dashboard Mockup Section */
.hero-mockup-wrapper {
  margin-top: 40px;
  position: relative;
  padding: 12px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-green);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.mockup-header {
  height: 36px;
  background: #f1f5f9;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-content {
  background: #ffffff;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
  border-top: 1px solid var(--border-card);
}

.mockup-real-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Platform Showcase Section */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  width: 100%;
}

.showcase-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.showcase-tab-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.showcase-tab-btn.active {
  background: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow);
}

.showcase-frame-container {
  background: #ffffff;
  border: 1px solid var(--border-green);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.showcase-frame {
  display: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-card);
}

.showcase-frame.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.showcase-img {
  width: 100%;
  height auto;
  display: block;
  border-radius: 8px;
}

/* Sections Global */
.section {
  padding: 90px 24px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
  width: 100%;
}

.section-tag {
  color: var(--accent-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
  word-break: break-word;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Asset Classes Grid */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  width: 100%;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.market-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.12);
}

.market-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-green);
}

.market-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.market-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.market-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.market-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.feature-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--accent-green-light);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Calculator Section */
.calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-green);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.calc-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.calc-value-display {
  font-family: var(--font-heading);
  color: var(--accent-green);
  font-size: 1.5rem;
  font-weight: 700;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  accent-color: var(--accent-green);
  cursor: pointer;
}

.calc-results {
  background: var(--accent-green-light);
  border: 1px solid var(--border-green);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-card);
}

.res-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.res-label {
  color: var(--text-muted);
  font-size: 1rem;
}

.res-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.res-highlight {
  color: var(--accent-green);
  font-size: 1.8rem;
}

/* Comparison Table */
.comparison-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.comparison-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-card);
}

.comparison-table th {
  background: #f8fafc;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.comparison-table th.brand-col {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-green);
  border-top: 3px solid var(--accent-green);
}

.comparison-table td.brand-col {
  background: rgba(16, 185, 129, 0.04);
  font-weight: 700;
}

.check-icon {
  color: var(--accent-green);
  font-size: 1.2rem;
}

.cross-icon {
  color: #dc2626;
  font-size: 1.2rem;
}

/* Stats Counter */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  width: 100%;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  width: 100%;
}

.faq-item.open {
  border-color: var(--border-green);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  user-select: none;
  color: var(--text-main);
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--accent-green);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-card);
  padding: 80px 24px 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
  width: 100%;
}

.footer-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-title {
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-disclaimer {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border-card);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: justify;
}

/* ==========================================================================
   STRICT MOBILE & TABLET RESPONSIVE BREAKPOINTS (PREVENT OVERFLOW)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title { font-size: 3.25rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  /* Body bottom padding for sticky bar */
  body {
    padding-bottom: 68px;
    overflow-x: hidden !important;
  }

  /* Display Mobile Sticky Bar */
  .mobile-sticky-bar {
    display: block;
  }

  /* Reposition Floating Support Button above sticky bottom bar */
  .support-widget-btn {
    bottom: 78px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .support-chat-card {
    bottom: 135px;
    right: 16px;
    width: calc(100vw - 32px);
    max-width: 340px;
  }

  /* Navigation Bar Adjustments */
  .nav-links-wrapper, .desktop-only-btn { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .nav-container { padding: 10px 16px; }
  .brand-logo { height: 30px; }

  /* Hero Section Mobile */
  .hero { padding: 36px 14px 28px; }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
  
  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  
  .hero-markets-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
  
  .market-chip {
    padding: 8px 10px;
    justify-content: center;
  }
  
  .market-chip-name { font-size: 0.8rem; }

  .hero-actions { width: 100%; flex-direction: column; gap: 12px; }
  .btn-lg { width: 100%; padding: 14px 20px; font-size: 0.98rem; }
  .hero-trust { font-size: 0.78rem; padding: 0 4px; }
  
  .hero-mockup-wrapper { margin-top: 24px; padding: 6px; border-radius: 12px; }
  .mockup-title-text { display: none; }

  /* Sections Mobile */
  .section { padding: 50px 14px; }
  .section-header { margin-bottom: 30px; }
  .section-title { font-size: 1.85rem; line-height: 1.25; }
  .section-desc { font-size: 0.92rem; }

  /* Showcase Tabs Mobile Scrollable */
  .showcase-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }
  .showcase-tabs::-webkit-scrollbar { display: none; }
  .showcase-tab-btn {
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  /* Markets & Features Grids */
  .markets-grid { grid-template-columns: 1fr; gap: 14px; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 20px 16px; }
  .feature-card-title { font-size: 1.2rem; }

  /* Calculator Mobile */
  .calculator-card { padding: 20px 14px; border-radius: 16px; gap: 20px; }
  .calc-results { padding: 18px 14px; gap: 16px; }
  .calc-value-display { font-size: 1.2rem; }
  .res-label { font-size: 0.88rem; }
  .res-value { font-size: 1.1rem; }
  .res-highlight { font-size: 1.35rem; }

  /* Table & Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-box { padding: 16px 10px; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.78rem; }

  /* FAQ Accordion */
  .faq-question { padding: 14px 16px; font-size: 0.95rem; }
  
  /* Footer Mobile */
  .footer { padding: 40px 14px 24px; }
  .footer-container { grid-template-columns: 1fr; gap: 28px; margin-bottom: 30px; }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.8rem; }
  .hero-markets-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 0.78rem; }
}
