:root {
  --primary: #0a2540;
  --secondary: #00c896;

  --gold: #f5b700;
  --premium-gold: #ffc857;

  --dark: #081120;
  --bg-dark: #050a16;

  --white: #ffffff;
  --success: #00d084;
  --profit-green: #00ff88;
  --danger: #ff4d4d;
  --card-bg: #0e1726;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --text-muted: rgba(255, 255, 255, 0.55);
  --glow-green: rgba(0, 200, 150, 0.3);
  --glow-gold: rgba(245, 183, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #00c896, #00ff88);
  --gradient-gold: linear-gradient(135deg, #f5b700, #ffc857);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.35);
  --shadow-green: 0 0 30px rgba(0, 200, 150, 0.2);
}

/* ====================================
RESET
==================================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;

  background:
    radial-gradient(
      circle at top right,
      rgba(0, 200, 150, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(245, 183, 0, 0.05),
      transparent 25%
    ),
    var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 6rem);
}

.container {
  width: min(1400px, 100%);
  margin: auto;
}

/* ====================================
TYPOGRAPHY
==================================== */

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

/* ====================================
NAVBAR
==================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 5rem);
  background: rgba(5, 10, 22, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  transition: 0.3s;
}

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

.nav-social {
  display: flex;
  gap: 0.8rem;
}

.nav-social a {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  transition: 0.3s;
}

.nav-social a:hover {
  background: var(--gradient-primary);
  color: var(--dark);
  transform: translateY(-4px);
}

/* ====================================
HAMBURGER
==================================== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 10px;
}

/* ====================================
MOBILE MENU
==================================== */

/* Mobile Menu Close Button */
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: var(--gradient-primary);
  color: var(--dark);
  transform: rotate(90deg);
  border-color: transparent;
}

/* Mobile Menu Links Container */
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mobile-menu-links a {
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: 0.3s;
}

.mobile-menu-links a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
  border-bottom-color: var(--gold);
}

/* Update mobile-menu padding to accommodate close button */
.mobile-menu {
  position: fixed;
  right: -100%;
  top: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: rgba(5, 10, 22, 0.98);
  backdrop-filter: blur(25px);
  z-index: 2000;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ====================================
HERO
==================================== */

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(5, 10, 22, 0.75), rgba(5, 10, 22, 0.95)),
    url("../images/forexbg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.hero p {
  max-width: 700px;
  margin: 1.5rem auto 2.5rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ====================================
BUTTONS
==================================== */

.btn-primary {
  padding: 1rem 2rem;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: var(--bg-dark);
  font-weight: 700;
  transition: 0.3s;
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: var(-shadow-green);
  transform: translateY(-4px);
}

.btn-secondary {
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--premium-gold);
  color: var(--premium-gold);
  transition: 0.3s;
}

.btn-secondary:hover {
  background: var(--gradient-gold);
  color: var(--bg-dark);
}

/* ====================================
GLOWS
==================================== */

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: var(--glow-green);
  top: 10%;
  left: -150px;
}

.glow-2 {
  width: 350px;
  height: 350px;
  background: var(--glow-gold);
  top: 15%;
  right: -120px;
}

.glow-3 {
  width: 250px;
  height: 250px;
  background: rgba(0, 255, 136, 0.15);
  bottom: 10%;
  left: 45%;
}

/* GLASS CARD SYSTEM*/

.stat-card,
.service-card,
.why-card,
.dashboard-card,
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  transition: 0.4s;
}

.stat-card:hover,
.service-card:hover,
.why-card:hover,
.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
}

/* ====================================
STATS
==================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.stat-card {
  padding: 2rem;
  text-align: center;
}

.stat-card h2 {
  color: var(--profit-green);
}

/* ====================================
SERVICES
==================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
}

.service-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*WHY US */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.why-card {
  padding: 2rem;
  text-align: center;
}

.why-card i {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ====================================
DASHBOARD
==================================== */

.dashboard-card {
  padding: 2rem;
  background: linear-gradient(135deg, #0e1726, #121f35);
}

.dashboard-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.dashboard-top h2 {
  color: var(--profit-green);
}

/* ====================================
TESTIMONIALS
==================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
}

/* ====================================
CTA
==================================== */

.cta {
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(0, 200, 150, 0.1),
    rgba(245, 183, 0, 0.08)
  );
}

.cta p {
  margin: 1rem auto 2rem;
}

/*FOOTER */

.footer {
  background: #030813;
  border-top: 1px solid var(--border);
  padding: 4rem clamp(1rem, 5vw, 4rem) 1.5rem;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  margin-top: 1rem;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: 0.3s ease;
}

.footer-links span {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--premium-gold);
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: var(--bg-dark);
  transform: translateY(-5px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.footer-disclaimer {
  max-width: 650px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ====================================
RESPONSIVE
==================================== */

@media (max-width: 992px) {
  .nav-links,
  .nav-social {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 4rem 1rem;
  }

  .hero-badge {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer {
    text-align: center;
    max-width: 100%;
  }
}

/* ==========================
LIVE MARKET TICKER
========================== */

.ticker {
  width: 100%;
  overflow: hidden;
  background: #091321;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: relative;
}

.ticker-wrapper {
  display: flex;
  width: max-content;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
  animation: scrollTicker 25s linear infinite;
}

.ticker-track span {
  font-weight: 600;
  color: var(--profit-green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@keyframes scrollTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
.ticker-track .fa-arrow-trend-up {
  color: var(--profit-green);
}

.ticker-track .fa-arrow-trend-down,
.danger {
  color: var(--danger);
}
.metric-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
}

.metric-card span {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.metric-card h2 {
  color: var(--profit-green);
}
