:root {
  --primary-color: #0066ff;
  --secondary-color: #1a1a1a;
  --text-color: #ffffff;
  --text-muted: #a0a0a0;
  --background-dark: #000000;
  --card-background: #1a1a1a;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-dark);
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transform: none !important; /* Prevent header from moving */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero h1 {
  animation: fadeInUp 0.8s ease-out forwards;
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.store-button {
  transition: var(--transition);
  display: inline-block;
}

.store-button img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.store-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hero-image {
  animation: fadeIn 1s ease-out 0.6s forwards;
  opacity: 0;
  position: relative;
  text-align: center;
}

.device-mockup {
  max-width: 300px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.cta-button.primary {
  background-color: var(--primary-color);
  color: white;
}

.cta-button.secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

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

.feature-card {
  background-color: var(--card-background);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.6s;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* Analytics Section */
.analytics {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

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

.analytics-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.analytics-list {
  list-style: none;
}

.analytics-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.analytics-list li::before {
  content: "✓";
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.analytics-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(
    to bottom,
    var(--background-dark),
    var(--secondary-color)
  );
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    order: 1;
  }

  .hero-image {
    order: 2;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .store-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .store-button img {
    height: 40px;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
