/* Unified Master Stylesheet for Sohaib Forex */
:root {
  --dark: #070709;
  --d2: #0f0f14;
  --d3: #16161e;
  --d4: #20202b;
  --gold: #D4AF37;
  --gold-l: #F3E5AB;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --white: #ffffff;
  --gray: #94a3b8;
  --light: #cbd5e1;
  --wa-green: #25D366;
  --wa-green-hover: #20ba5a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

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

/* NAVBAR DESIGN */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 7, 9, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  height: 72px;
}

.navbar.scrolled {
  background: rgba(5, 5, 7, 0.98);
  border-bottom-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

/* Nav Links Container */
.nav-links {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 50%;
}

/* WhatsApp CTA Button */
.nav-cta {
  padding: 8px 18px !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  margin-left: 6px;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
}

.nav-cta i {
  font-size: 1rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
  background: linear-gradient(135deg, #28e16e 0%, #149c8c 100%) !important;
  color: #ffffff !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navbar Breakdown */
@media (max-width: 1180px) {
  .nav-links a {
    padding: 6px 9px;
    font-size: 0.82rem;
  }
  .nav-cta {
    padding: 7px 14px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 1020px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    align-items: stretch;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
  }
}
