:root {
  --primary-color: #FFC107;
  --primary-dark: #FFA000;
  --text-color: #333;
  --light-bg: #f9f9f9;
  --white: #fff;
  --grey: #666;
}

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

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

header {
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.brand-name {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary-dark);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

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

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

.nav-button {
  background: var(--primary-color);
  color: #000 !important;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.nav-button:hover {
  background: var(--primary-dark);
}

.lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 2px 8px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Compact language select that matches header styling */
.lang-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--white);
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  min-width: 120px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lang-select:focus {
  outline: 2px solid rgba(255, 193, 7, 0.25);
}

@media (max-width: 480px) {
  .lang-select {
    min-width: 100px;
    font-size: 0.85rem;
  }
}

.lang-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.hero {
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #fff 100%);
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  color: var(--grey);
}

.hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 220px;
  background: #000;
  color: #fff;
  padding: 0 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #000;
  transition: all 0.2s;
}

.cta-button:hover {
  transform: scale(1.05);
}

.web-app-btn {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.web-app-btn:hover {
  background: #000;
  color: #fff;
}

.download-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 2rem 5%;
  flex-wrap: wrap;
}

.download-section a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.download-section img {
  display: block;
}

.section-title {
  text-align: center;
  padding: 3rem 0 1rem;
  font-size: 2rem;
}

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

.feature-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--light-bg);
  text-align: center;
  transition: transform 0.3s;
}

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

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.screenshots-container {
  padding: 2rem 5%;
  display: flex;
  overflow-x: auto;
  gap: 12px;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
}

.screenshots-container img {
  height: 500px;
  margin: 0 6px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  display: inline-block;
}

footer {
  padding: 3rem 5%;
  background: #333;
  color: #fff;
  text-align: center;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }

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

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 5%;
}

.content-page {
  padding: 4rem 0;
}

.content-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
  text-align: center;
}

.content-page h2,
.content-page strong {
  display: block;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.content-page p {
  margin-bottom: 1.2rem;
  color: var(--text-color);
  line-height: 1.8;
}

.content-page ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-page li {
  margin-bottom: 0.5rem;
}

.content-page hr {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* Changelog accordion */
.changelog {
  margin: 1rem 0 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.changelog-item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
}

.changelog-header {
  display: block;
  width: 100%;
  text-align: center;
  background: #fafafa;
  padding: 12px 16px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary-dark);
}

.changelog-header:focus {
  outline: 2px solid var(--primary-color);
}

.changelog-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: #fff;
  padding: 0 16px;
}

.changelog-body.expanded {
  padding: 12px 16px 16px 16px;
  max-height: 400px;
}

.changelog-body ul {
  padding-left: 1.2rem;
  margin: 0 auto;
  max-width: 640px;
}


/* Support section */
#support .support-content {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  max-width: 720px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

#support h1 {
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

#support .support-content a {
  color: var(--primary-dark);
  font-weight: 600;
}

.changelog-body li {
  margin-bottom: 0.6rem;
  color: var(--text-color);
}