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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #f59e0b;
  --background: #ffffff;
  --surface: #f9fafb;
  --text: #1f2937;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

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

.download-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.download-btn:hover {
  background: var(--primary-dark);
}

.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--surface) 0%, #eef2ff 100%);
}

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

.hero-text .badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-features span {
  color: var(--primary);
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-primary.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.btn-primary.download-link {
  display: inline-block;
  text-decoration: none;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--surface);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.phone-mockup {
  background: white;
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  margin: 0 auto;
}

.phone-screen {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  color: white;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.app-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.phone-screen h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.phone-screen p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.finger-indicator {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.finger {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.finger:nth-child(2) {
  animation-delay: 0.5s;
}

.finger:nth-child(3) {
  animation-delay: 1s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.features {
  padding: 5rem 0;
  background: white;
}

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

.subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

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

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 1rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-light);
}

.preview {
  padding: 5rem 0;
  background: var(--surface);
}

.preview h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.preview-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.preview-card img {
  width: 100%;
  height: auto;
  display: block;
}

.game-modes {
  padding: 5rem 0;
  background: var(--surface);
}

.game-modes h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

.game-mode-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.game-mode-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.game-mode-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.game-mode-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.game-mode-card p {
  color: var(--text-light);
}

.themes {
  padding: 5rem 0;
  background: white;
}

.themes h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.themes-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.theme-card {
  height: 200px;
  border-radius: 1rem;
  transition: transform 0.2s;
}

.theme-card:hover {
  transform: scale(1.05);
}

.theme-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.theme-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.theme-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.theme-orange {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.pricing {
  padding: 5rem 0;
  background: var(--surface);
}

.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-subtitle {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.price-period {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.features-list li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

.reviews {
  padding: 5rem 0;
  background: white;
}

.reviews h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

.review-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 1rem;
}

.review-content {
  margin-bottom: 1.5rem;
}

.review-content p {
  color: var(--text-light);
  font-style: italic;
}

.review-author {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.avatar {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.review-author h4 {
  font-size: 1rem;
  font-weight: 700;
}

.review-author p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-qr {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.qr-code {
  text-align: center;
}

.qr-code img {
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.qr-code p {
  font-size: 0.875rem;
  opacity: 0.9;
}

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

.final-cta .btn-primary:hover {
  background: var(--surface);
}

.footer {
  background: #111827;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #9ca3af;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #374151;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
}

.store-btn img {
  width: 24px;
  height: 24px;
}

.store-btn:hover {
  background: #4b5563;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .themes-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: none;
  }

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

  .download-qr {
    flex-direction: column;
    gap: 2rem;
  }

  .qr-code img {
    width: 120px;
    height: 120px;
  }
}
