:root {
  --primary: #ec4899;
  --primary-hover: #db2777;
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #334155;
  --font-main: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
}

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

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

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

.github-link {
  background: var(--card-bg);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.github-link:hover {
  border-color: var(--primary);
  background: var(--bg);
}

.btn {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  transition: background 0.2s;
  display: inline-block;
}

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

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.store-badge-link img {
  height: 58px;
  transition: transform 0.2s;
}

.store-badge-link:hover img {
  transform: translateY(-2px);
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

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

.feature-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
}

/* Installation Section */
.installation {
  text-align: center;
  max-width: 1000px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.installation h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.installation h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--primary);
}

.installation ol {
  text-align: left;
  max-width: 600px;
  margin: 0 auto 2rem;
  padding-left: 1.5rem;
}

.installation li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.installation code {
  background: var(--card-bg);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

/* Preview Section */
.preview {
  text-align: center;
  max-width: 1000px;
  margin: 6rem auto;
  padding: 0 2rem;
}

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

.description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.full-screenshot {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.heart {
  color: var(--primary);
}

footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
  }

  .logo {
    width: 100%;
    justify-content: center;
    font-size: 1.5rem;
  }

  .logo img {
    height: 40px;
    width: 40px;
  }

  .links {
    width: 100%;
    justify-content: center;
    gap: 1.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

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

/* New styles for added media */
.hero-video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  display: block;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, border-color 0.2s;
}

.screenshot-grid img:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  nav {
    padding: 0.75rem 1rem;
  }

  .logo img {
    height: 36px;
    width: 36px;
  }

  .logo {
    font-size: 1.25rem;
    gap: 0.5rem;
  }

  .links {
    gap: 1rem;
  }

  .hero {
    padding: 0 1rem;
    gap: 2rem;
    margin: 2rem auto;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .store-badge-link img {
    height: 50px;
  }

  .features {
    gap: 1.5rem;
    padding: 0 1rem;
    margin: 4rem auto;
  }

  .preview {
    padding: 0 1rem;
    margin: 4rem auto;
  }

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

  .description {
    font-size: 1rem;
  }

  footer {
    padding: 2rem 1rem;
    margin-top: 2rem;
  }

  .screenshot-grid {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .github-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}
