/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
  z-index: 1001;
}

.logo:hover {
  color: #3498db;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #3498db;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #3498db;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 0.75rem 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  opacity: 0;
}

.dropdown:hover .dropdown-content,
.dropdown-content.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f8f9fa;
  padding-left: 2rem;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
  background: transparent;
  border: none;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #2c3e50;
  transition: all 0.3s ease;
  transform-origin: 1px center;
}

.menu-toggle.active span:first-child {
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.active span:last-child {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  margin-top: 60px;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.2) 0%, rgba(44, 62, 80, 0.2) 100%);
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

section {
  background: white;
  padding: 3rem;
  margin-bottom: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 30px rgba(0,0,0,0.1);
}

h2 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #3498db, #2c3e50);
  border-radius: 2px;
}

/* Currency Pairs */
.pairs-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pairs-list li {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #3498db;
  transition: all 0.3s ease;
  font-weight: 500;
}

.pairs-list li:hover {
  transform: translateX(5px);
  background: #387e8e;;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  color:black;
  font-style: italic;
  font-size: 0.95rem;
}

/* Trading Example */
.example-box {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.example-box h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.scenario {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.scenario:hover {
  transform: translateX(5px);
}

.profit {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
}

.loss {
  background: #ffebee;
  border-left: 4px solid #f44336;
}

.scenario h4 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.scenario p {
  color:white
}

/* Benefits and Risks Lists */
.benefits-list,
.risks-list {
  list-style: none;
}

.benefits-list li,
.risks-list li {
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.benefits-list li:hover,
.risks-list li:hover {
  transform: translateX(5px);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.benefits-list li::before {
  content: "✓";
  color: #4caf50;
  margin-right: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.risks-list li::before {
  content: "!";
  color: #f44336;
  margin-right: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  padding: 4rem 2rem;
  margin-top: 6rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #3498db, #2c3e50);
}

.footer-links {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
  opacity: 0.9;
  padding: 0 1rem;
}

.disclaimer p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  main {
      padding: 0 1.5rem;
  }

  section {
      padding: 2rem;
  }

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

  .nav-container {
      padding: 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
      display: flex;
  }

  .nav-container {
      padding: 0.75rem 1rem;
  }

  .nav-menu {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.98);
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2rem;
      padding: 2rem;
      transition: all 0.3s ease-in-out;
      opacity: 0;
  }

  .nav-menu.active {
      right: 0;
      opacity: 1;
  }

  .nav-menu a {
      font-size: 1.2rem;
      text-align: center;
  }

  .dropdown-content {
      position: static;
      box-shadow: none;
      background-color: transparent;
      padding: 1rem 0;
      margin-top: 1rem;
      transform: none;
      opacity: 1;
      display: none;
  }

  .dropdown-content.show {
      display: block;
  }

  .dropdown-content a {
      padding: 0.5rem 0;
      text-align: center;
      font-size: 1.1rem;
  }

  .dropdown-content a:hover {
      background-color: transparent;
      padding-left: 0;
      color: #3498db;
  }

  .hero {
      margin-top: 60px;
      padding: 3rem 1rem;
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  section {
      padding: 1.5rem;
      margin-bottom: 2rem;
  }

  h2 {
      font-size: 1.8rem;
  }

  .pairs-list {
      grid-template-columns: 1fr;
  }

  .footer-links {
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
      padding: 0.5rem 1rem;
  }

  .logo {
      font-size: 1.5rem;
  }

  .hero h1 {
      font-size: 2rem;
  }

  section {
      padding: 1.25rem;
  }

  h2 {
      font-size: 1.5rem;
  }

  .example-box {
      padding: 1rem;
  }

  .scenario {
      padding: 1rem;
  }

  .benefits-list li,
  .risks-list li {
      padding: 0.75rem 1rem;
  }

  .nav-menu {
      padding: 1.5rem;
  }

  .nav-menu a {
      font-size: 1.1rem;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body {
      background-color: #1a1a1a;
      color: #f5f5f5;
  }

  .navbar {
      background-color: rgba(26, 26, 26, 0.95);
  }

  .logo,
  .nav-menu a {
      color: #f5f5f5;
  }

  .menu-toggle span {
      background-color: #f5f5f5;
  }

  .nav-menu {
      background-color: rgba(26, 26, 26, 0.98);
  }

  section {
      background: #242424;
      box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  }

  h2 {
      color: #f5f5f5;
  }

  .pairs-list li,
  .benefits-list li,
  .risks-list li,
  .example-box {
      background: #2a2a2a;
  }

  .dropdown-content {
      background-color: #242424;
  }

  .dropdown-content a:hover {
      background-color: #2a2a2a;
  }
}