:root {
  --primary: #0a1f44;
  --primary-light: #123063;
  --secondary: #418E38;
  --secondary-light: #52AB47;
  --bg-color: #F8F9FA;
  --text-dark: #333333;
  --text-light: #F0F0F0;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow: 0 8px 32px rgba(7, 36, 75, 0.1);
  --font-main: 'Outfit', 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(190, 57, 57, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(190, 57, 57, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 65px;
}

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

.nav-links li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  color: var(--primary);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  min-width: 220px;
  padding: 8px 0;
  z-index: 100;
  border: 1px solid var(--border);
}

.nav-links > li:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--bg-color);
  color: var(--secondary);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -8px;
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Sections */
section {
  padding: 80px 0;
}

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.9rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--white);
}

.divider {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

.top-bar-center {
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  background: rgba(255, 255, 255, 0.1);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.social-icons a:hover {
  background: var(--secondary);
}

/* Features Ticker / Sub Bar */
.features-bar {
  background: linear-gradient(90deg, var(--secondary) 0%, #0F172A 50%, var(--primary) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
}

.features-inner {
  display: inline-block;
  animation: features-scroll 60s linear infinite;
  padding-left: 0;
}

.feat-item {
  display: inline-block;
  padding: 0 40px;
}

@keyframes features-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #60a5fa;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

/* Hero Section Split - Ultra Premium Dark */
.hero-split {
  display: flex;
  min-height: calc(100vh - 100px);
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(2,6,23,0.95) 100%), url('../images/bann.jpeg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.hero-split::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%; width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-split::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%; width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-left {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 5% 0 8%;
  position: relative;
  z-index: 5;
}

.hero-text-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-left h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #ffffff;
  letter-spacing: -1px;
}

.hero-left p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 550px;
  line-height: 1.6;
}

.round-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(190, 57, 57, 0.4);
  position: relative;
}

.round-arrow-btn::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid var(--secondary);
  border-radius: 50%;
}

.round-arrow-btn:hover {
  background: var(--primary);
  box-shadow: 0 6px 20px rgba(7, 36, 75, 0.4);
}

.round-arrow-btn:hover::before {
  border-color: var(--primary);
}

.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 5;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(139,92,246,0.3));
  padding: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 80px rgba(59,130,246,0.2);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

/* Floating Dashboard Simulation */
.floating-dashboard {
  position: absolute;
  bottom: -30px;
  left: -50px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  width: 280px;
  z-index: 10;
  animation: float1 5s ease-in-out infinite;
}

.dash-header {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

.dash-tabs {
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);

  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
}

.dash-tabs .active {
    color: #ffffff !important;
  position: relative;
}

.dash-tabs .active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
}

.dash-chart {
  height: 60px;
  margin-bottom: 15px;
}

.mini-chart {
  width: 100%;
  height: 100%;
}

.dash-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--secondary);
}

.service-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(190, 57, 57, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-card i {
  font-size: 1rem;
  color: var(--secondary);
}

/* Split Section */
.split-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-text,
.split-visual {
  flex: 1;
}

.feature-list {
  margin-top: 30px;
}

.feature-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(10px);
}

.feature-list i {
  color: var(--secondary);
  font-size: 1.5rem;
  background: rgba(190, 57, 57, 0.1);
  padding: 10px;
  border-radius: 50%;
}

.feature-content h4 {
  margin-bottom: 5px;
  color: var(--primary);
}

.feature-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

/* Metrics Section (Dark) */
.metrics-section {
  background: var(--primary);
  color: var(--white);
  position: relative;
}

.metrics-section .section-header h2,
.metrics-section .section-header p {
  color: var(--white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-top: 40px;
}

.metrics-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.detail-cards-grid {
  display: grid;
  gap: 25px;
}

.detail-card {
  background: var(--white);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 20px;
}

.detail-card i {
  font-size: 2.5rem;
  color: var(--secondary);
}

.detail-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.testi-author {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 15px;
}

.testi-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: rgba(190, 57, 57, 0.1);
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about img {
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Inner Pages Header */
.page-header {
  background: linear-gradient(135deg, rgba(7, 36, 75, 0.85) 0%, rgba(26, 60, 107, 0.9) 100%), url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.breadcrumb a {
  color: var(--white);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb .separator {
  margin: 0 10px;
  font-size: 0.7rem;
  opacity: 0.6;
}

.breadcrumb .current {
  color: var(--secondary);
  font-weight: 600;
}

/* Accordion FAQs */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

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

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: #555;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--secondary);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
}

.section-header p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Animations Class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.1, 0.5, 0.1, 1), transform 0.8s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .split-section {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-split {
    flex-direction: column;
  }

  .hero-left {
    padding: 60px 5%;
  }

  .hero-left h1 {
    font-size: 3rem;
  }

  .hero-right {
    min-height: 400px;
  }

  .features-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 768px) {

  body,
  html {
    overflow-x: hidden;
  }

  .navbar {
    position: static;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -350px;
    width: 300px;
    max-width: 80vw;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Show dropdowns naturally expanded on mobile */
  .nav-links .dropdown-menu {
    position: relative;
    top: auto;
    left: auto;
    display: block !important;
    box-shadow: none;
    background: transparent;
    border-left: 2px solid var(--primary);
    padding-left: 15px;
    margin: 0 0 15px 15px;
    min-width: 100%;
  }

  .dropdown-menu li {
    border-bottom: none;
  }

  .dropdown-menu li a {
    font-size: 1rem;
    color: #555;
    display: block;
    padding: 10px 20px;
    min-width: 100%;
  }

  .dropdown-submenu > .dropdown-menu {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    border-left: 2px solid var(--secondary);
    margin-left: 10px;
    padding-left: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: none !important;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .hamburger {
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 1001;
    /* Stay above the sliding drawer */
  }

  .demo-btn {
    display: none;
  }

  /* Hide demo btn on small mobile */
  .hero-left h1 {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-center,
  .top-bar-left {
    display: none;
    /* Simplify top bar on mobile */
  }

  .top-bar-inner {
    justify-content: center;
  }

  .hero-right {
    min-height: 300px;
  }

  .floating-dashboard {
    display: none;
    /* Hide complex dash on very small screens */
  }
}

/* Empower Pro Vector Section */
.empower-pro-section {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.vector-wrapper {
  background: rgba(7, 36, 75, 0.02);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.02);
}

.finance-vector {
  width: 100%;
  height: auto;
  display: block;
}

.pro-badge {
  display: inline-block;
  background: rgba(190, 57, 57, 0.1);
  color: var(--secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.pro-heading {
  color: var(--primary);
  margin-top: 0;
}

.pro-paragraph {
  line-height: 1.7;
}

.pro-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.pro-feature-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.pro-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.pro-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pro-feature-text h4 {
  margin: 0 0 5px 0;
  font-size: 1.15rem;
  color: var(--primary);
}

.pro-feature-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.pro-btn {
  border-radius: 30px;
  padding: 16px 35px;
  font-size: 1.05rem;
}

@media (max-width: 992px) {
  .empower-pro-section .split-text {
    padding-left: 0 !important;
    margin-top: 50px;
  }
}

/* Market Listings Section */
.market-listings-section {
  position: relative;
  overflow: hidden;

}

.market-listings-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/shape-12.png');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* Dark primary color overlay to match template */
  z-index: 0;
}

.market-listings-section .container {
  position: relative;
  z-index: 1;
}

.market-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.market-card {
  background: #111A2C;
  /* Dark blue/black */
  border-radius: 16px;
  padding: 30px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(17, 26, 44, 0.3);
}

.mc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mc-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.mc-arrow {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #3B82F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
}

.mc-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.mc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.mc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.mc-row:last-child {
  margin-bottom: 0;
}

.mc-label {
  color: #9CA3AF;
}

.mc-val {
  font-weight: 500;
}

@media (max-width: 992px) {
  .market-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .market-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ & Calculator Responsive Styles (Mobile View Optimization)
   ========================================================================== */

/* Tablet and below (max-width: 768px) */
@media (max-width: 768px) {
  /* FAQ Section */
  .faq-section {
    padding: 40px 0 !important;
  }
  
  .faq-header-text h2 {
    font-size: 1.8rem !important;
  }
  
  .faq-header-text p {
    font-size: 0.95rem !important;
    padding: 0 15px;
  }
  
  .faq-tabs {
    gap: 8px !important;
    margin-bottom: 25px !important;
  }
  
  .faq-tab {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
  
  .faq-question {
    padding: 16px 20px !important;
    font-size: 1rem !important;
  }
  
  .faq-question i {
    width: 30px !important;
    height: 30px !important;
    font-size: 1rem !important;
  }
  
  .faq-answer-content {
    padding: 0 20px 20px 20px !important;
    font-size: 0.95rem !important;
  }

  /* Calculators Section */
  .calculator-page {
    padding: 40px 0 !important;
  }
  
  .calc-container {
    border-radius: 12px !important;
  }
  
  .calc-header {
    padding: 25px 20px !important;
  }
  
  .calc-header h2 {
    font-size: 1.6rem !important;
  }
  
  .calc-body {
    padding: 25px 15px !important;
  }
  
  .calc-section {
    gap: 25px !important;
    flex-direction: column !important;
  }
  
  .calc-form,
  .calc-result {
    min-width: 100% !important;
    width: 100% !important;
    flex: none !important;
  }
  
  .calc-result {
    padding: 20px 15px !important;
  }
  
  .result-value {
    font-size: 1.6rem !important;
  }
  
  .result-value.highlight {
    font-size: 1.9rem !important;
  }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
  .faq-question span {
    max-width: 85%;
  }
  
  .calc-header h2 {
    font-size: 1.4rem !important;
  }
  
  .input-wrapper input {
    font-size: 0.95rem !important;
    padding: 10px 12px 10px 40px !important;
  }
  
  .result-value {
    font-size: 1.4rem !important;
  }
  
  .result-value.highlight {
    font-size: 1.6rem !important;
  }
  
  /* Stack inline flex inputs in STP or Age calculators on very small screens */
  .calc-form div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 0 !important;
  }
}