/**
 * ICODROID - Home Page Styles
 * Version: 1.0.0
 * Description: Styles for homepage with advanced visual effects
 */

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  padding-top: 100px;
  z-index: 1;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  opacity: 1;
  filter: none;
  object-fit: cover;
}

/* Video overlay gradient - reduzido para mostrar mais o video */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.25) 0%,
    rgba(10, 14, 39, 0.1) 50%,
    rgba(5, 8, 22, 0.25) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--light-text) 50%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .glitch {
  display: inline-block;
}

.hero-tagline {
  font-size: 1.8rem;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-cta .btn {
  font-size: 1.1rem;
  padding: 1.25rem 3rem;
}

/* Stats Bar */
.stats-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  padding: 3rem;
  background: rgba(0, 212, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 212, 255, 0.3),
    transparent
  );
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--primary-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.features-list {
  list-style: none;
  margin-top: 2rem;
}

.features-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.05rem;
  color: var(--light-text);
}

.features-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* ========================================
   DRONE SHOWCASE
   ======================================== */

.drone-showcase {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  position: relative;
}

.showcase-container {
  display: block !important;
  width: 100% !important;
}

/* DISABLED - was causing layout issues
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
*/

.drone-3d-viewer {
  position: relative;
  width: 100%;
  height: 600px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.drone-3d-viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

.specs-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  margin-top: 2rem;
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.spec-card {
  background: rgba(0, 212, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.spec-card:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-5px);
}

.spec-card .icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.spec-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.spec-card p {
  font-size: 0.95rem;
  color: var(--gray-text);
}

/* ========================================
   TOKENOMICS SECTION
   ======================================== */

.tokenomics-section {
  padding: 100px 0;
  position: relative;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.token-chart {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.token-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.token-detail {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
}

.token-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.token-detail .value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.token-detail .label {
  font-size: 1rem;
  color: var(--gray-text);
}

/* ========================================
   ROADMAP SECTION
   ======================================== */

.roadmap-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--primary-color),
    var(--secondary-color),
    transparent
  );
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 0;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 2rem;
  background: rgba(0, 212, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 20px var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: -60px;
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.timeline-description {
  color: var(--gray-text);
  line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.cta-buttons .btn {
  background: var(--darker-bg);
  color: var(--light-text);
  font-size: 1.1rem;
  padding: 1.25rem 3rem;
}

.cta-buttons .btn:hover {
  background: var(--dark-bg);
  transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .about-grid,
  .showcase-container,
  .tokenomics-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-content {
    width: calc(100% - 40px);
    margin-left: 40px !important;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    right: auto;
  }

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

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

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .stat-item::after {
    width: 60%;
    height: 1px;
    bottom: 0;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .about-content h2,
  .cta-content h2 {
    font-size: 2rem;
  }
}
