:root {
  color-scheme: light;
  font-family: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: #f5f7fb;
  --primary: #1f57ff;
  --primary-dark: #0e2aa0;
  --text-main: #0f1523;
  --text-secondary: #475569;
  --card-bg: #ffffff;
  --badge-bg: #e5eeff;
  --feature-bg: #1f57ff;
  --feature-text: #ffffff;
  --footer-text: #8b9bb4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #f7fbff 0%, #f1f5ff 45%, #e5f0ff 100%);
  position: relative;
  color: var(--text-main);
}

.background-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(31, 87, 255, 0.12) 0,
      transparent 45%
    ),
    radial-gradient(circle at 80% 15%, rgba(31, 87, 255, 0.1) 0, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(14, 42, 160, 0.12) 0, transparent 55%);
  background-size: 100% 100%;
  z-index: 0;
}

.page-container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.hero-section {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 32px 36px 48px;
  box-shadow: 0 24px 55px rgba(15, 21, 35, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: var(--badge-bg);
  padding: 8px 16px;
  border-radius: 999px;
}

.badge::before {
  content: '•';
  font-size: 16px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.language-select {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(31, 87, 255, 0.08);
  border-radius: 999px;
  padding: 6px 42px 6px 44px;
  box-shadow: inset 0 0 0 1px rgba(31, 87, 255, 0.25);
}

.language-select select {
  appearance: none;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--text-main);
  padding: 0;
  width: 120px;
  cursor: pointer;
}

.language-select select:focus-visible {
  outline: none;
}

.language-flag {
  position: absolute;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  font-size: 18px;
  filter: drop-shadow(0 4px 10px rgba(15, 21, 35, 0.12));
}

.language-caret {
  position: absolute;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(15, 21, 35, 0.55);
}

.hero-content {
  margin-top: 32px;
  max-width: 620px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 700;
}

.hero-description {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.stars {
  font-size: 20px;
  letter-spacing: 4px;
  color: #ffc02e;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 26px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  min-width: 220px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  /* background: rgba(255, 255, 255, 0.2); */
  backdrop-filter: blur(4px);
}

.store-icon svg {
  display: block;
}

.store-button.android {
  background: linear-gradient(120deg, #0fa85f, #0c7a49);
  box-shadow: 0 12px 24px rgba(15, 168, 95, 0.35);
}

.store-button.ios {
  background: linear-gradient(120deg, #101010, #2d3748);
  box-shadow: 0 12px 24px rgba(16, 16, 16, 0.35);
}

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

.hero-flag {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 56px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 21, 35, 0.18);
}

.feature-card {
  margin-top: 36px;
  background: var(--feature-bg);
  color: var(--feature-text);
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 30px 60px rgba(31, 87, 255, 0.35);
}

.feature-title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
}

.feature-description {
  margin: 0;
  line-height: 1.8;
  font-size: 17px;
}

.page-footer {
  margin-top: 48px;
  text-align: center;
  color: var(--footer-text);
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 24px;
  }

  .hero-top {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .download-buttons {
    width: 100%;
  }

  .store-button {
    flex: 1 1 100%;
    text-align: center;
  }

  .feature-card {
    padding: 28px;
  }
}

