@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600;700&display=swap");

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

:root {
  --primary-dark: #0a0e27;
  --secondary-dark: #151a3a;
  --accent-blue: #0066ff;
  --accent-light-blue: #00a6ff;
  --accent-red: #ff0048;
  --text-light: #ffffff;
  --text-gray: #a0a9c9;
  --gradient-blue: linear-gradient(135deg, #0066ff 0%, #00a6ff 100%);
  --gradient-dark: linear-gradient(180deg, #0a0e27 0%, #151a3a 100%);
  --gradient-red: linear-gradient(135deg, #ff0048 0%, #ff3366 100%);
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  overflow-x: hidden;
  position: relative;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: var(--primary-dark);
  overflow: hidden;
}

.bg-animation::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(0, 102, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 0, 72, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(0, 166, 255, 0.08) 0%,
      transparent 50%
    );
  animation: bgPulse 20s ease-in-out infinite;
}

@keyframes bgPulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
}

/* Floating particles */
.particles {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: "Orbitron", monospace;
  font-size: 28px;
  font-weight: 900;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 28px;
  cursor: pointer;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-light-blue);
  text-shadow: 0 0 10px rgba(0, 166, 255, 0.5);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-blue);
  transition: width 0.3s ease;
}

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

.cta-button {
  background: var(--gradient-red);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 0, 72, 0.3);
  position: relative;
  overflow: hidden;
  align-self: center; /* center on card */
  margin-top: auto; /* push button to bottom */
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 0, 72, 0.5);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 50px 80px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.hero-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--accent-light-blue) 50%,
    var(--accent-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s ease-in-out infinite;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@keyframes titleGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-gray);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 5s ease forwards 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.stat-box:nth-child(1) {
  animation-delay: 0.7s;
}
.stat-box:nth-child(2) {
  animation-delay: 0.9s;
}
.stat-box:nth-child(3) {
  animation-delay: 1.1s;
}

.stat-number {
  font-family: "Orbitron", monospace;
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-label {
  color: var(--text-gray);
  font-size: 16px;
  margin-top: 5px;
}

/* Services Section */
.services {
  padding: 100px 50px;
  background: var(--secondary-dark);
  position: relative;
}

.section-title {
  font-family: "Orbitron", monospace;
  font-size: 48px;
  text-align: center;
  margin-bottom: 60px;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 166, 255, 0.5);
  position: relative;
}

.emoji-title .emoji {
  -webkit-text-fill-color: initial;
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  text-shadow: none;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 10px auto 0;
  background: var(--gradient-red);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(255, 0, 72, 0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch; /* ensure equal height cards */
}

.service-card {
  background: rgba(21, 26, 58, 0.5);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%; /* make all cards equal height */
}

/* Clickable pricing cards */
.pricing-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: flex;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-light);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-blue);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
}

.service-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.service-title {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 30px;
}

.service-price {
  font-family: "Orbitron", monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-light-blue);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.service-features li {
  padding: 10px 0;
  color: var(--text-gray);
  position: relative;
  padding-left: 30px;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

/* Testimonials */
.testimonials {
  padding: 100px 50px;
  background: var(--primary-dark);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.testimonial-card {
  background: rgba(21, 26, 58, 0.5);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 80px;
  color: var(--accent-blue);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}

.author-info h4 {
  color: var(--text-light);
  margin-bottom: 5px;
}

.author-info p {
  color: var(--text-gray);
  font-size: 14px;
}

/* Results Section */
.results {
  padding: 100px 50px;
  background: var(--secondary-dark);
  position: relative;
  overflow: hidden;
}

.results-showcase {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.result-card {
  background: rgba(10, 14, 39, 0.8);
  border: 2px solid var(--accent-blue);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.result-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-blue);
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.result-card:hover::after {
  opacity: 1;
}

.result-card:hover {
  transform: scale(1.05);
}

.result-percentage {
  font-family: "Orbitron", monospace;
  font-size: 48px;
  font-weight: 900;
  color: #00ff88;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.result-label {
  color: var(--text-gray);
  margin-top: 10px;
  font-size: 18px;
}

/* Premium signal example styling */
.premium-signal-card {
  border-color: gold;
}

.signal-example {
  background: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
}

.signal-type {
  color: gold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.signal-example p {
  margin: 5px 0;
}

.signal-telegram-icon {
  width: 20px;
  height: 20px;
}

/* Call to Action */
.final-cta {
  padding: 120px 50px;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--secondary-dark) 100%
  );
  text-align: center;
  position: relative;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 0, 72, 0.1) 0%,
    transparent 70%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: "Orbitron", monospace;
  font-size: 56px;
  margin-bottom: 30px;
  background: linear-gradient(
    135deg,
    var(--accent-red) 0%,
    var(--accent-light-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-subtitle {
  font-size: 24px;
  color: var(--text-gray);
  margin-bottom: 50px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.mega-button {
  background: var(--gradient-red);
  color: white;
  padding: 20px 60px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(255, 0, 72, 0.4);
  position: relative;
  overflow: hidden;
  animation: pulseShadow 2s ease-in-out infinite;
}

@keyframes pulseShadow {
  0%,
  100% {
    box-shadow: 0 10px 40px rgba(255, 0, 72, 0.4);
  }
  50% {
    box-shadow: 0 15px 60px rgba(255, 0, 72, 0.6);
  }
}

.mega-button:hover {
  transform: translateY(-5px) scale(1.05);
}

.secondary-button {
  background: transparent;
  color: var(--accent-light-blue);
  padding: 20px 60px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  border: 2px solid var(--accent-light-blue);
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: var(--accent-light-blue);
  color: var(--primary-dark);
  box-shadow: 0 10px 40px rgba(0, 166, 255, 0.4);
}

/* Footer */
footer {
  padding: 50px;
  background: var(--primary-dark);
  text-align: center;
  border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 30px;
}

.social-links a {
  color: var(--text-gray);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--accent-light-blue);
  transform: translateY(-5px);
}

.footer-text {
  color: var(--text-gray);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: var(--secondary-dark);
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    align-items: flex-start;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: 48px;
  }

  .services,
  .testimonials,
  .results {
    padding: 60px 20px;
  }

  .services-grid,
  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 36px;
  }

  .mega-button,
  .secondary-button {
    padding: 15px 40px;
    font-size: 18px;
  }
}

/* Loading Animation - CORRIGÉ */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  font-family: "Orbitron", monospace;
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 1.5s ease-in-out infinite;
  margin-bottom: 20px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 2px;
  margin: 20px auto;
  overflow: hidden;
}

.loader-progress {
  width: 0;
  height: 100%;
  background: var(--gradient-blue);
  animation: load 2s ease-in-out infinite;
}

@keyframes load {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

/* Performance Section */
.performance {
  padding: 100px 50px;
  background: var(--primary-dark);
}
.performance canvas {
  max-width: 100%;
}
/* Bonus Note */
.bonus-note {
  background: var(--secondary-dark);
  padding: 15px;
  border-left: 4px solid var(--accent-blue);
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  font-size: 16px;
}
.bonus-note a {
  color: var(--accent-light-blue);
  font-weight: 600;
  text-decoration: none;
}
.bonus-note a:hover {
  text-decoration: underline;
}

/* Recent winning trades list */
.recent-trades {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trade-item {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 15px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

/* Premium CTA section */
.premium-cta {
  padding: 80px 50px;
  text-align: center;
  background: var(--secondary-dark);
}

.premium-cta-text {
  margin: 20px auto;
  max-width: 600px;
  color: var(--text-gray);
}

/* Comparison table */
.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 15px;
  text-align: left;
}

.comparison-table th {
  background: var(--secondary-dark);
}

.comparison-table td {
  background: rgba(0, 0, 0, 0.3);
}

/* Badge helpers */
.badge-container {
  position: relative;
  overflow: visible;
}

.badge {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}
