/* ============================
   GLOBAL STYLES
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ============================
   NAVIGATION
============================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease;
}

nav.scrolled {
  background: rgba(15, 12, 41, 0.95);
  padding: 10px 0;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9ca24;
  animation: glowPulse 3s infinite;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  font-size: 1rem;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #f9ca24;
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* ============================
   HERO SECTION
============================ */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url("images/forex-bg.jpg") no-repeat center center/cover;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero h1 {
  font-size: 3rem;
  z-index: 1;
  animation: fadeInDown 1.5s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin: 20px 0;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 2s ease forwards 0.5s;
}

.hero .cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  z-index: 1;
}

.hero .btn {
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f9ca24, #f0932b);
  color: #000;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(249, 202, 36, 0.6);
}

/* ============================
   PRICING SECTION
============================ */
.pricing {
  padding: 100px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(135deg, #f9ca24, #f0932b, #6ab04c);
  opacity: 0.1;
  transform: rotate(25deg);
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.pricing-card .price {
  font-size: 2.5rem;
  color: #f9ca24;
  margin: 20px 0;
}

.pricing-card ul {
  margin-bottom: 20px;
}

.pricing-card ul li {
  margin: 10px 0;
}

.pricing-card .btn {
  background: linear-gradient(135deg, #6ab04c, #badc58);
  color: #000;
}

.pricing-card .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(106, 176, 76, 0.6);
}

/* ============================
   FOOTER
============================ */
footer {
  background: #0f0c29;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

footer p {
  margin-top: 10px;
}

/* ============================
   ANIMATIONS
============================ */
@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 10px #f9ca24, 0 0 20px #f0932b;
  }
  50% {
    text-shadow: 0 0 20px #f9ca24, 0 0 40px #f0932b;
  }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}



/* ============================
   FORM STYLES
============================ */
form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease forwards;
}

form h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #f9ca24;
  text-shadow: 0 0 10px #f9ca24;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

form input:focus {
  border-color: #f9ca24;
  box-shadow: 0 0 10px rgba(249, 202, 36, 0.6);
  outline: none;
}

form button.btn {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #f9ca24, #f0932b);
  color: #000;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(249, 202, 36, 0.5);
}

form button.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(249, 202, 36, 0.7);
}

form p {
  text-align: center;
  margin-top: 15px;
  color: #ccc;
}

form p a {
  color: #f9ca24;
  text-decoration: none;
  transition: all 0.3s ease;
}

form p a:hover {
  color: #fff;
  text-shadow: 0 0 8px #f9ca24;
}

/* Flash messages */
.flash {
  text-align: center;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 12px;
  font-weight: 600;
}

.flash.error {
  background: rgba(255, 0, 0, 0.3);
  color: #fff;
}

.flash.success {
  background: rgba(0, 255, 0, 0.3);
  color: #fff;
}

/* Responsive */
@media(max-width: 600px) {
  form {
    padding: 30px 20px;
  }
  form h2 {
    font-size: 1.8rem;
  }
}