/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg-primary: #0a0e1a;
  --color-bg-secondary: #111827;
  --color-bg-card: #1a1f35;
  --color-text-primary: #e5e7eb;
  --color-text-secondary: #9ca3af;
  --color-accent: #06b6d4;
  --color-accent-bright: #22d3ee;
  --color-accent-dim: #0891b2;
  --color-border: #1e293b;
  --color-grid: rgba(6, 182, 212, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Effects */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

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

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-accent-bright);
  box-shadow:
    100px 200px var(--color-accent),
    300px 100px var(--color-text-secondary),
    500px 300px var(--color-accent-bright),
    700px 150px var(--color-text-secondary),
    900px 400px var(--color-accent),
    1100px 250px var(--color-accent-bright),
    200px 500px var(--color-text-secondary),
    400px 600px var(--color-accent),
    800px 550px var(--color-accent-bright),
    1000px 700px var(--color-text-secondary);
  animation: twinkle 3s infinite;
}

.stars::after {
  animation-delay: 1.5s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-bracket {
  color: var(--color-accent);
  font-weight: 300;
}

.logo-text {
  color: var(--color-text-primary);
}

.logo-highlight {
  color: var(--color-accent-bright);
}

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

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

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

.nav-link:hover {
  color: var(--color-accent-bright);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 120px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-accent-dim);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-accent-bright);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-bright);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero-title-highlight {
  color: var(--color-accent-bright);
  display: block;
}

.hero-description {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  max-width: 500px;
}

/* Added auto-scrolling banner styles */
.banner-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--color-border);
  background: var(--color-bg-card);
  position: relative;
}

.banner-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.banner-item {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
}

.banner-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.banner-placeholder p {
  font-size: 14px;
  font-weight: 500;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / var(--banner-count)));
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg-primary);
}

.btn-primary:hover {
  background: var(--color-accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

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

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-bg-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Image Placeholders */
.image-placeholder {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all 0.3s;
}

.image-placeholder:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
}

.image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.image-placeholder.small svg {
  width: 50px;
  height: 50px;
}

.image-placeholder p {
  font-size: 14px;
  font-weight: 500;
}

.placeholder-content {
  text-align: center;
}

/* Sections */
.section {
  padding: 100px 20px;
  position: relative;
  z-index: 2;
}

.section-dark {
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Video Section */
.video-container {
  max-width: 900px;
  margin: 0 auto 50px;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--color-border);
  background: var(--color-bg-card);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
}

.video-icon {
  width: 80px;
  height: 80px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.video-hint {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 10px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Roadmap Section */
.roadmap-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.roadmap-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.roadmap-item:last-child {
  margin-bottom: 0;
}

.roadmap-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.roadmap-dot {
  width: 20px;
  height: 20px;
  background: var(--color-bg-card);
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.roadmap-dot-highlight {
  background: var(--color-accent);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
  }
  50% {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.9);
  }
}

.roadmap-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-border) 100%);
  margin-top: 10px;
  min-height: 80px;
}

.roadmap-item:last-child .roadmap-line {
  display: none;
}

.roadmap-content {
  flex: 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s;
}

.roadmap-content:hover {
  border-color: var(--color-accent);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(6, 182, 212, 0.2);
}

.roadmap-content-highlight {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.roadmap-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-bright);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.roadmap-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 15px;
}

.roadmap-features {
  list-style: none;
  padding: 0;
}

.roadmap-features li {
  font-size: 15px;
  color: var(--color-text-secondary);
  padding: 6px 0;
  padding-left: 25px;
  position: relative;
}

.roadmap-features li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 18px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.cta-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cta-description {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 50px;
  line-height: 1.7;
}

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

/* Social Links */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--color-accent);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

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

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

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

/* Responsive Design */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .nav-links {
    gap: 20px;
  }

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

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

  /* Added responsive roadmap styles */
  .roadmap-item {
    gap: 20px;
  }

  .roadmap-title {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .nav-content {
    flex-direction: column;
    gap: 20px;
  }

  .hero {
    padding-top: 150px;
  }

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

  .hero-description {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

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

  .social-links {
    flex-direction: column;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }

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

  /* Added mobile responsive roadmap styles */
  .roadmap-item {
    gap: 15px;
  }

  .roadmap-content {
    padding: 20px;
  }

  .roadmap-title {
    font-size: 18px;
  }

  .roadmap-features li {
    font-size: 14px;
  }
}
