
:root {
  --primary-color: #6c5ce7;
  --secondary-color: #a29bfe;
  --text-color: #2d3436;
  --background-color: #f9f9f9;
  --card-bg: #ffffff;
  --accent-color: #fd79a8;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-color);
}

/* Header & Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: var(--card-bg);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

nav a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

nav a:hover:after {
  width: 100%;
}

.language-selector {
  position: relative;
}

#current-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid #ddd;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s;
}

#current-lang:hover {
  background-color: #f0f0f0;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 180px;
  display: none;
  z-index: 10;
}

.language-dropdown.show {
  display: block;
}

.language {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.language:hover {
  background-color: #f0f0f0;
}

.language img {
  width: 20px;
  height: auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.download-btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: var(--primary-color);
}

/* About Section */
.about {
  padding: 4rem 5%;
}

.about h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  font-size: 2rem;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

#about-intro {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-color);
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.feature {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

h3 {
  margin: 2.5rem 0 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Color Themes */
.color-themes {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.color-theme {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.color-theme:hover {
  transform: scale(1.2);
}

/* Languages Grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--card-bg);
  padding: 0.8rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.language-item img {
  width: 24px;
  height: auto;
}

/* Footer */
footer {
  background-color: #2d3436;
  color: white;
  padding: 3rem 5%;
}

.contact {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.contact p {
  margin-bottom: 0.7rem;
}

.contact a {
  color: var(--secondary-color);
}

.social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social a {
  font-size: 1.8rem;
  color: white;
  transition: color 0.3s;
}

.social a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 900px) {
  nav ul {
    gap: 1rem;
  }
  
  .features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 0.7rem;
    font-size: 0.9rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .about h2 {
    font-size: 1.6rem;
  }
  
  .languages-grid {
    grid-template-columns: 1fr 1fr;
  }
}
