/* Trading Landing Page Styles */
.trading-landing {
  font-family: 'Inter', -apple-system, 'Roboto', 'Helvetica', sans-serif;
  background: #070B0A;
  color: #EAF9EE;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

/* Mobile optimization */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  display: inline-flex;
  padding: 148px 24px 96px 24px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 631px;
  position: relative;
  background: #070B0A;
  overflow: hidden;
}

.hero-gradient-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: radial-gradient(145.49% 76.4% at 50% -10%, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.00) 35%, #070B0A 70%), 
              linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.00) 74.61%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-overlay {
  width: 640px;
  height: 641px;
  position: absolute;
  border-radius: 320px;
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.00);
  box-shadow: 0 0 140px 48px rgba(0, 255, 140, 0.10) inset, 0 0 0 1px rgba(0, 255, 140, 0.16) inset;
}

.hero-glow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: radial-gradient(141.42% 70.71% at 50% 0%, rgba(0, 255, 140, 0.08) 0%, rgba(0, 255, 140, 0.00) 45%), 
              linear-gradient(90deg, rgba(0, 255, 140, 0.00) 0%, rgba(0, 255, 140, 0.06) 50%, rgba(0, 255, 140, 0.00) 100%);
  mix-blend-mode: screen;
}

.hero-content {
  display: flex;
  width: 960px;
  max-width: 960px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #BFF6D0;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 55.12px;
  letter-spacing: -1.04px;
  color: #EAF9EE;
  text-align: center;
  margin: 0;
}

.hero-description {
  font-size: 16px;
  font-weight: 400;
  color: #7EA88C;
  text-align: center;
  max-width: 876px;
  margin: 0;
}

.hero-buttons {
  display: flex;
  padding-top: 12px;
  justify-content: center;
  align-items: flex-start;
  gap: 12.01px;
  width: 100%;
}

.primary-btn {
  display: flex;
  padding: 12px 18px;
  background: #2FF17A;
  color: #041205;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05) inset, 0 12px 36px 0 rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s;
}

.primary-btn:hover {
  background: #36E06C;
}

.secondary-btn {
  display: flex;
  padding: 12px 18px;
  background: #0E1E18;
  color: #BFF6D0;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 0 0 1px #12301C inset;
  transition: background-color 0.2s;
}

.secondary-btn:hover {
  background: #12301C;
}

/* Hero Form Styles */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  background: #0B1410;
  border: 1px solid #12301C;
  border-radius: 12px;
  color: #EAF9EE;
  font-size: 15px;
  font-weight: 400;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #7EA88C;
}

.form-input:focus {
  border-color: #2FF17A;
  box-shadow: 0 0 0 3px rgba(47, 241, 122, 0.1);
}

.form-submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: #2FF17A;
  color: #041205;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05) inset, 0 12px 36px 0 rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.form-submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.form-submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.form-submit-btn:hover {
  background: #36E06C;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 255, 140, 0.3);
}

.hero-features {
  display: flex;
  padding-top: 12px;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
  opacity: 0.9;
}

.feature-badge {
  display: flex;
  width: 170px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 48px;
  background: #0E1411;
  box-shadow: 0 1px 0 0 #12301C inset;
  font-size: 12px;
  font-weight: 400;
  color: #E8F9EE;
  text-align: center;
  white-space: nowrap;
  min-width: 170px;
}

.hero-stats {
  display: flex;
  padding-top: 12px;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.stat-card {
  display: flex;
  width: 231px;
  padding: 12px;
  align-items: center;
  gap: 10px;
  border-radius: 24px;
  background: #0E1411;
  box-shadow: 0 1px 0 0 #12301C inset;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 18px;
  font-weight: 700;
  color: #EAF9EE;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: #7EA88C;
}

/* Courses Section */
.courses-section {
  display: flex;
  width: 100%;
  padding: 72px 40px 96px 40px;
  flex-direction: column;
  align-items: flex-start;
  background: #070B0A;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 48, 28, 0.00) 0%, #12301C 50%, rgba(18, 48, 28, 0.00) 100%);
  margin-bottom: 24px;
}

.section-content {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.28px;
  color: #EAF9EE;
  margin: 0 0 8px 0;
}

.section-title.green {
  color: #BFF6D0;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #7EA88C;
  margin: 0;
}

.section-subtitle.green {
  color: #BFF6D0;
  opacity: 0.8;
}

.section-badge {
  display: flex;
  padding: 6px 8px 6px 14px;
  align-items: center;
  border-radius: 48px;
  background: #0E1411;
  box-shadow: 0 0 0 1px #12301C inset;
  font-size: 12px;
  font-weight: 400;
  color: #E8F9EE;
}

/* Why Section */
.why-section {
  display: flex;
  width: 100%;
  padding: 72px 40px;
  flex-direction: column;
  align-items: flex-start;
  background: #0E1E18;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.feature-card {
  width: 363px;
  height: 147px;
  border-radius: 24px;
  background: #0E1E18;
  box-shadow: 0 0 0 1px #12301C inset;
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-gradient {
  width: 218px;
  height: 258px;
  transform: rotate(25deg);
  opacity: 0.6;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 255, 140, 0.12) 0%, rgba(0, 255, 140, 0.00) 100%);
  position: absolute;
  top: -60px;
  right: -45px;
  pointer-events: none;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #BFF6D0;
  margin: 0;
  z-index: 1;
  position: relative;
}

.feature-description {
  font-size: 13px;
  font-weight: 400;
  color: #BFF6D0;
  opacity: 0.92;
  margin: 8px 0;
  z-index: 1;
  position: relative;
  line-height: 1.4;
}

.feature-tags {
  display: flex;
  gap: 6px;
  z-index: 1;
  position: relative;
}

.feature-tag {
  padding: 6px 14px;
  border-radius: 48px;
  background: #0E1411;
  box-shadow: 0 0 0 1px #12301C inset;
  font-size: 12px;
  font-weight: 400;
  color: #E8F9EE;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.course-card {
  width: 363px;
  height: 147px;
  border-radius: 24px;
  background: #0E1411;
  box-shadow: 0 1px 0 0 #12301C inset, 0 16px 48px 0 rgba(0, 0, 0, 0.35);
  position: relative;
  padding: 16px;
}

.course-gradient {
  width: 365px;
  height: 149px;
  border-radius: 24px;
  position: absolute;
  top: -1px;
  left: -1px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(0, 255, 140, 0.10) 0%, rgba(0, 255, 140, 0.00) 100%);
  opacity: 0.5;
  pointer-events: none;
}

.course-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(103deg, rgba(0, 255, 140, 0.10) 0%, rgba(0, 255, 140, 0.00) 40%);
  opacity: 0.4;
}

.course-title {
  font-size: 18px;
  font-weight: 700;
  color: #E8F9EE;
  margin: 0 0 8px 0;
}

.course-description {
  font-size: 14px;
  font-weight: 400;
  color: #7EA88C;
  margin: 0;
  line-height: 1.4;
}

.course-level {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 48px;
  background: #0E1E18;
  box-shadow: 0 0 0 1px #12301C inset;
  font-size: 11px;
  font-weight: 400;
  color: #BFF6D0;
}

.course-level.popular {
  background: #0E1E18;
}

.course-level.hot {
  background: #0E1E18;
}

.learning-path {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.path-step {
  display: flex;
  width: 271px;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
  background: #0E1E18;
  box-shadow: 0 0 0 1px #12301C inset;
  position: relative;
}

.path-title {
  font-size: 16px;
  font-weight: 700;
  color: #BFF6D0;
  margin: 0 0 4px 0;
}

.path-description {
  font-size: 14px;
  font-weight: 400;
  color: #7EA88C;
  margin: 0;
}

.path-number {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 48px;
  background: #0E1411;
  box-shadow: 0 0 0 1px #12301C inset;
  font-size: 12px;
  font-weight: 400;
  color: #E8F9EE;
}

/* Footer */
.footer {
  display: flex;
  width: 100%;
  padding: 37px 40px 56px 40px;
  flex-direction: column;
  align-items: flex-start;
  background: #070B0A;
  border-top: 1px solid #12301C;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 48, 28, 0.00) 0%, #12301C 50%, rgba(18, 48, 28, 0.00) 100%);
  margin-bottom: 24px;
}

.footer-content {
  display: flex;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 12px;
  font-weight: 400;
  color: #7EA88C;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link {
  font-size: 14px;
  font-weight: 400;
  color: #7EA88C;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #BFF6D0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-link {
  padding: 8px 12px;
  border-radius: 12px;
  background: #0E1E18;
  box-shadow: 0 0 0 1px #12301C inset;
  font-size: 14px;
  font-weight: 400;
  color: #BFF6D0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.footer-legal-link:hover {
  background: #12301C;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Apply animations */
.hero-badge {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-description {
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-features {
  animation: fadeInUp 0.8s ease-out 1s backwards;
}

.hero-stats {
  animation: fadeInUp 0.8s ease-out 1.2s backwards;
}

.hero-overlay {
  animation: glow 3s ease-in-out infinite;
}

.hero-glow {
  animation: shimmer 8s linear infinite;
  background-size: 1000px 100%;
}

/* Card hover effects */
.course-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 255, 140, 0.1);
}

.course-card:hover .course-gradient {
  opacity: 0.3;
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 255, 140, 0.1);
}

/* Button hover effects */
.primary-btn, .secondary-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-btn::before, .secondary-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.primary-btn:hover::before, .secondary-btn:hover::before {
  width: 300px;
  height: 300px;
}

.primary-btn:hover, .secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 255, 140, 0.2);
}

/* Floating animation for badges */
.section-badge {
  animation: float 3s ease-in-out infinite;
}

/* Stats counter animation */
.stat-number {
  display: inline-block;
  animation: countUp 1.5s ease-out;
}

/* Scroll animations - will be activated by IntersectionObserver */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Parallax effect base styles */
.parallax-slow {
  transition: transform 0.5s ease-out;
}

.parallax-medium {
  transition: transform 0.3s ease-out;
}

.parallax-fast {
  transition: transform 0.2s ease-out;
}

/* Mobile Responsive Design */
@media (max-width: 1200px) {
  .hero-section,
  .courses-section,
  .why-section,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  
  .courses-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .course-card,
  .feature-card {
    width: 100%;
    max-width: 363px;
  }
}

@media (max-width: 768px) {
  /* Hero Section Mobile */
  .hero-section {
    padding: 60px 20px 50px 20px;
    height: auto;
    min-height: 500px;
  }
  
  .hero-content {
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }
  
  .hero-title {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.5px;
    margin: 0;
    text-align: center;
  }
  
  .hero-description {
    font-size: 14px;
    max-width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    align-items: center;
  }
  
  .primary-btn,
  .secondary-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    align-items: center;
  }
  
  .feature-badge {
    width: 100%;
    min-width: auto;
    max-width: 280px;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    align-items: center;
  }
  
  .stat-card {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Sections Mobile */
  .courses-section,
  .why-section {
    padding: 50px 20px;
  }
  
  .section-content {
    max-width: 100%;
    padding: 0;
  }
  
  .courses-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }
  
  .course-card,
  .feature-card {
    width: 100%;
    max-width: 350px;
  }
  
  .course-card {
    height: auto;
    min-height: 160px;
    padding: 20px;
  }
  
  .section-header {
    text-align: center;
    gap: 16px;
    margin-bottom: 32px;
  }
  
  .section-title {
    font-size: 24px;
    line-height: 28px;
    margin: 0;
  }
  
  .section-subtitle {
    font-size: 14px;
    margin: 0;
  }
  
  .learning-path {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .path-step {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .footer {
    padding: 30px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
  }
  
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .footer-legal-link {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .hero-section {
    padding: 40px 16px 30px 16px;
    min-height: 450px;
  }
  
  .hero-content {
    gap: 20px;
  }
  
  .hero-title {
    font-size: 24px;
    line-height: 28px;
  }
  
  .hero-description {
    font-size: 13px;
  }
  
  .hero-buttons {
    max-width: 280px;
  }
  
  .primary-btn,
  .secondary-btn {
    max-width: 260px;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .hero-features {
    max-width: 280px;
  }
  
  .feature-badge {
    max-width: 260px;
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .hero-stats {
    max-width: 280px;
  }
  
  .stat-card {
    max-width: 260px;
    padding: 10px;
  }
  
  .stat-number {
    font-size: 16px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .courses-section,
  .why-section {
    padding: 40px 16px;
  }
  
  .section-title {
    font-size: 20px;
    line-height: 24px;
  }
  
  .section-subtitle {
    font-size: 13px;
  }
  
  .course-card,
  .feature-card {
    max-width: 300px;
  }
  
  .course-card {
    padding: 16px;
    min-height: 140px;
  }
  
  .course-title,
  .feature-title {
    font-size: 16px;
  }
  
  .course-description,
  .feature-description {
    font-size: 12px;
  }
  
  .footer {
    padding: 24px 16px;
  }
  
  .footer-legal-link {
    font-size: 11px;
    padding: 5px 8px;
  }
  
  /* Form Mobile Styles */
  .hero-form {
    max-width: 280px;
  }
  
  .form-input {
    font-size: 14px;
    padding: 12px 16px;
  }
  
  .form-submit-btn {
    font-size: 15px;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .hero-form {
    max-width: 260px;
  }
  
  .form-input {
    font-size: 13px;
    padding: 10px 14px;
  }
  
  .form-submit-btn {
    font-size: 14px;
    padding: 12px 16px;
  }
}