/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #1a1b26;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1;
}

/* Header */
.header {
  background: rgba(26, 27, 38, 0.95);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header h2 {
  font-size: 2.5rem;
  margin: 0;
  text-align: center;
}

.logo-link {
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  position: relative;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-link:hover .logo-icon {
  transform: rotate(360deg);
}

.logo-icon {
  width: 35px;
  height: 35px;
  margin-right: 12px;
  background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(107, 70, 193, 0.3);
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #2d3748 0%, #1a1b26 100%);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(107, 70, 193, 0.15) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero h1 span {
  background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.5rem;
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineExpand 0.8s ease-out 0.5s forwards;
}

@keyframes underlineExpand {
  to { transform: scaleX(1); }
}

.hero p {
  font-size: 1.6rem;
  color: #a0aec0;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Download buttons */
.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.store-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.store-button i {
  font-size: 2rem;
}

.button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.button-text .small-text {
  font-size: 0.7rem;
  opacity: 0.8;
}

.button-text .large-text {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Features section */
.features-section {
  background: #1a1b26;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(107, 70, 193, 0.1) 0%, transparent 70%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.feature-card {
  background: rgba(44, 46, 64, 0.5);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(107, 70, 193, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 70, 193, 0.4);
  box-shadow: 0 8px 30px rgba(107, 70, 193, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Roadmap section */
.roadmap-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1b26 0%, #2d3748 100%);
  position: relative;
}

.roadmap-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: white;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(107, 70, 193, 0.3);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
  width: 100%;
}

.timeline-content {
  background: rgba(44, 46, 64, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(107, 70, 193, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  width: calc(50% - 30px);
  margin-left: auto;
  transition: transform 0.3s ease;
}

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

.timeline-content::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #6b46c1;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

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

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

.timeline-content:hover {
  transform: translateY(-5px);
}

.timeline-content h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #a0aec0;
  font-size: 0.9rem;
}

.status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.completed .status {
  background: rgba(72, 187, 120, 0.2);
  color: #48bb78;
}

.current .status {
  background: rgba(236, 201, 75, 0.2);
  color: #ecc94b;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 0;
  }
  
  .timeline-content {
    width: calc(100% - 30px);
    margin-left: 30px !important;
  }
  
  .timeline-content::before {
    left: -40px !important;
  }
}

/* Footer */
.footer {
  background: rgba(26, 27, 38, 0.95);
  color: white;
  padding: 4rem 0;
  margin-top: auto;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 70, 193, 0.3), transparent);
}

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

.footer h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: white;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #6b46c1;
  transition: width 0.3s ease;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  padding: 0.3rem 0;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #6b46c1;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #6b46c1;
  transform: translateX(5px);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(107, 70, 193, 0.2);
  font-size: 0.9rem;
  color: #a0aec0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 1rem 0;
  }

  .header h2 {
    font-size: 2rem;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .app-icon {
    width: 50px;
    height: 50px;
  }
  
  .app-store-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .app-store-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 1rem 2rem;
  }

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

  .feature-card {
    padding: 1.5rem;
  }

  .footer {
    padding: 3rem 0;
  }

  .footer-content {
    gap: 2rem;
  }
}