/* Professional Trading Platform Styles - White & Blue Theme */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  /* Заменил неоновые цвета на профессиональную бело-синюю палитру */
  --primary-blue: #003366;
  --sky-blue: #0099cc;
  --light-blue: #e6f3ff;
  --white: #ffffff;
  --light-gray: #f0f4f8;
  --dark-gray: #333333;
  --border-gray: #e0e0e0;
  --text-primary: #003366;
  --text-secondary: #666666;
  --success-green: #28a745;
  --danger-red: #dc3545;
  --warning-orange: #ffc107;
}

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

body {
  font-family: "DM Sans", sans-serif;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Убрал анимированный фон, заменил на чистый белый */
.animated-bg {
  display: none;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 51, 102, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

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

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

.nav-link:hover {
  color: var(--sky-blue);
}

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

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

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.btn-primary:hover {
  background: var(--sky-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 153, 204, 0.3);
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
}

/* Добавил фоновое изображение трейдинга */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/placeholder.svg?height=800&width=1200");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
  padding: 5rem 2rem;
  background: var(--light-gray);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.05);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--sky-blue);
  box-shadow: 0 8px 25px rgba(0, 153, 204, 0.15);
}

.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sky-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Features Section */
.features-section {
  padding: 5rem 2rem;
  background: var(--white);
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-blue);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--sky-blue);
  box-shadow: 0 8px 25px rgba(0, 153, 204, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--light-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.feature-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 5rem 2rem;
  background: var(--primary-blue);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--light-gray);
  padding: 3rem 2rem 1rem;
  border-top: 1px solid var(--border-gray);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--sky-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-gray);
  color: var(--text-secondary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-blue);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--sky-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}
