/* Custom styles for Futures Trading Academy */
:root {
  --primary-blue: #2563eb;
  --primary-dark: #1e40af;
  --secondary-gold: #fbbf24;
  --accent-green: #10b981;
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--dark-bg);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,100 Q300,150 600,100 T1200,100 L1200,600 L0,600 Z" fill="%232563eb" opacity="0.05"/></svg>') no-repeat center;
  background-size: cover;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cards */
.card {
  background: var(--dark-card);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--secondary-gold);
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--secondary-gold);
  color: var(--dark-bg);
  padding: 5px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: white;
}

.btn-gold {
  background: linear-gradient(135deg, var(--secondary-gold) 0%, #f59e0b 100%);
  color: var(--dark-bg);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

/* Navigation */
.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Stats Section */
.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-gold);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-blue), var(--secondary-gold));
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-blue);
  border: 3px solid var(--dark-bg);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-blue);
}

.badge-gold {
  background: rgba(251, 191, 36, 0.2);
  color: var(--secondary-gold);
}

.badge-green {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}

/* Form Elements */
input, textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: var(--dark-card);
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Accordion */
.accordion-button {
  background: var(--dark-card);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-button:hover {
  background: rgba(37, 99, 235, 0.1);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 500px;
}

/* Feature Icons */
.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(251, 191, 36, 0.2) 100%);
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stat-number {
    font-size: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Success Message */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

.alert-error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #ef4444;
}
