/* =====================================================
   HOMEPAGE PREMIUM STYLES
   ===================================================== */

/* =================== HERO SECTION =================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 140px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(30, 58, 138, 0.8) 50%, rgba(49, 46, 129, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(30, 58, 138, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
  min-width: 200px;
  transition: var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-glow-gold);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: 'Roboto Mono', monospace;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* =================== TRADINGVIEW SECTION =================== */
.tradingview-section {
  background: var(--navy-deep);
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-muted);
}

.crypto-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.crypto-tab {
  padding: 0.75rem 1.5rem;
  background: rgba(30, 58, 138, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  color: var(--gray-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.crypto-tab:hover {
  background: rgba(30, 58, 138, 0.5);
  border-color: rgba(59, 130, 246, 0.5);
}

.crypto-tab.active {
  background: var(--gradient-gold);
  color: var(--navy-deep);
  border-color: transparent;
}

.tradingview-widget-container {
  margin-bottom: 3rem;
  padding: 0;
  overflow: hidden;
}

#tradingview_chart {
  height: 600px;
  width: 100%;
}

/* Price Cards */
.price-cards {
  margin-top: 3rem;
}

.price-card {
  text-align: center;
  padding: 1.5rem;
}

.price-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.price-symbol {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white-pure);
}

.price-change {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.price-change.positive {
  background: rgba(16, 185, 129, 0.2);
  color: var(--green-success);
}

.price-change.negative {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red-danger);
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white-pure);
  font-family: 'Roboto Mono', monospace;
  margin-bottom: 0.5rem;
}

.price-label {
  font-size: 0.875rem;
  color: var(--gray-muted);
  margin-bottom: 1rem;
}

.mini-chart {
  height: 60px;
  margin-top: 1rem;
}

/* =================== HOW IT WORKS SECTION =================== */
.how-it-works-section {
  background: var(--navy-midnight);
  padding: 5rem 0;
}

.steps-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  color: var(--navy-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}

.step-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--gray-muted);
}

.step-arrow {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-top: 1.5rem;
}

.step-card:last-child .step-arrow {
  display: none;
}

/* =================== VIDEOS SECTION =================== */
.videos-section {
  padding: 5rem 0;
}

.videos-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  cursor: pointer;
  transition: var(--transition-normal);
}

.video-card:hover {
  transform: scale(1.02);
}

.video-thumbnail {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}

.video-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--navy-deep);
  box-shadow: var(--shadow-glow-gold);
  transition: var(--transition-normal);
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.video-card p {
  font-size: 0.875rem;
  color: var(--gray-muted);
}

/* =================== FEATURES SECTION =================== */
.features-section {
  background: var(--navy-deep);
  padding: 5rem 0;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: var(--gradient-blue);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-muted);
  line-height: 1.8;
}

/* =================== TESTIMONIALS SECTION =================== */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 2.5rem;
}

.testimonial-stars {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gold-primary);
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--gray-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  color: var(--navy-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.author-name {
  font-weight: 700;
  color: var(--white-pure);
  font-size: 1.125rem;
}

.author-title {
  font-size: 0.875rem;
  color: var(--gray-muted);
}

/* =================== CTA SECTION =================== */
.cta-section {
  background: var(--navy-midnight);
  padding: 5rem 0;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 3rem;
}

.cta-card h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =================== FOOTER =================== */
.footer {
  background: var(--navy-darker);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-grid {
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--gold-primary);
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--gray-muted);
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--gradient-gold);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-muted);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.75rem;
  color: var(--gray-muted);
  font-size: 0.875rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

/* =================== VIDEO MODAL =================== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
}

.video-modal-content {
  position: relative;
  max-width: 1200px;
  width: 90%;
  z-index: 10001;
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  color: var(--navy-deep);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition-normal);
}

.video-modal-close:hover {
  transform: rotate(90deg);
}

.video-modal-player {
  width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-xl);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 120px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-item {
    min-width: auto;
  }

  #tradingview_chart {
    height: 400px;
  }

  .crypto-tabs {
    flex-direction: column;
  }

  .crypto-tab {
    width: 100%;
  }

  .cta-card {
    padding: 3rem 2rem;
  }

  .cta-card h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
