:root {
  --bg-color: #ffffff;
  --text-color: #111827;
  --text-muted: #6b7280;
  --primary-color: #000000;
  --primary-text: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.8);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #ffffff;
    --primary-text: #000000;
    --nav-bg: rgba(15, 23, 42, 0.8);
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-container {
  max-width: 1600px;
  width: 96%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.brand-name {
  color: #737373;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

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

/* Language Selector */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--text-color);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: var(--bg-color);
  min-width: 120px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  border: 1px solid var(--text-muted);
  z-index: 1;
  overflow: hidden;
}

.lang-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease;
}

.lang-dropdown a {
  color: var(--text-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.lang-dropdown a:hover {
  background-color: rgba(128, 128, 128, 0.1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 2% 0; /* Offset for nav */
}

.hero-content {
  max-width: 1600px;
  width: 96%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 90%;
}

.download-badge {
  display: inline-block;
  width: fit-content;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.download-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.download-badge img {
  height: 100px;
  width: auto;
  display: block;
}

.user-rating-container {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  margin-bottom: 0.5rem;
  padding: 8px 24px 8px 12px;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 9999px;
  background-color: var(--bg-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 2px solid var(--bg-color);
  object-fit: cover;
  margin-left: -20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.avatar-group img:first-child {
  margin-left: 0;
}

.rating-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.rating-text strong {
  font-weight: 700;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 20px;
  /* Optional shadow for floating effect */
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
}

/* Reviews Section */
.reviews {
  padding: 100px 2%;
  max-width: 1600px;
  margin: 0 auto;
  width: 96%;
}

.reviews-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 4rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.review-card {
  background: #f4f5f8;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .review-card {
    background: #1e293b;
  }
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

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

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  .review-avatar {
    border-color: #334155;
  }
}

.review-name {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.1rem;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.review-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-color);
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Coming Soon Page Styles */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 96px); /* minus nav */
  padding: 0 20px;
}

.coming-soon h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.coming-soon p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .hero-text {
    align-items: center;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-image img {
    max-height: 50vh;
  }

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