/*==================== VARIABLES & BASE ====================*/
:root {
  --bg-color: #0d1117;
  --card-color: #161b22;
  --border-color: #30363d;
  --text-color: #c9d1d9;
  --text-color-secondary: #8b949e;
  --accent-gradient: linear-gradient(90deg, #8a2be2, #4b0082, #00ced1);
  --font-family: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* For Scroll Animations */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hidden.visible {
  opacity: 1;
  transform: translateY(0);
}

/*==================== HEADER ====================*/
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}
.header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}
.nav-contact-button {
  background: var(--card-color);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s;
}
.nav-contact-button:hover {
  background-color: var(--border-color);
}

/*==================== LANGUAGE SWITCHER ====================*/
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-color-secondary);
}

.language-switcher .fa-globe {
  margin-right: 8px;
}

#language-select {
  background-color: transparent;
  color: var(--text-color-secondary);
  border: none;
  font-size: 1rem;
  font-family: var(--font-family);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 15px;
}

#language-select:focus {
  outline: none;
}

#language-select option {
  background-color: var(--card-color);
  color: var(--text-color);
}

/*==================== HERO SECTION ====================*/
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: 80vh;
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-color-secondary);
  margin-bottom: 2rem;
  max-width: 550px;
}
.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.store-button {
  background: #fff;
  color: #000;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease-in-out;
}
.store-button:hover {
  transform: scale(1.05);
}
.store-button i {
  font-size: 1.5rem;
}
.hero-image {
  text-align: center;
}
.hero-image img {
  max-width: 350px;
  width: 100%;
  filter: drop-shadow(0 0 2rem rgba(138, 43, 226, 0.3));
}

/*==================== FEATURES SECTION ====================*/
.features-section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-card {
  background-color: var(--card-color);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-color-secondary);
}

/*==================== FOUNDERS SECTION ====================*/
.founders-section {
  background-color: var(--card-color);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}
.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 600px;
  margin: 0 auto;
}
.founder-card {
  text-align: center;
}
.founder-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid var(--border-color);
}
.founder-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.founder-title {
  color: var(--text-color-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}
.founder-quote {
  font-style: italic;
  color: var(--text-color-secondary);
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}
.founder-socials a {
  color: var(--text-color-secondary);
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s;
}
.founder-socials a:hover {
  color: #8a2be2;
}

/*==================== FAQ SECTION ====================*/
.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background-color: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}
.faq-question i {
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer p {
  padding: 0 20px 20px 20px;
  color: var(--text-color-secondary);
  line-height: 1.6;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust as needed */
  opacity: 1;
}

/*==================== PRIVACY POLICY SECTION ====================*/
.privacy-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}
.privacy-section .last-updated {
  text-align: center;
  color: var(--text-color-secondary);
  margin-top: -2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color-secondary);
  line-height: 1.7;
}
.privacy-content h3 {
  color: var(--text-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.privacy-content p {
  margin-bottom: 1rem;
}

/*==================== NEW FOOTER ====================*/
.footer-new {
  background-color: var(--bg-color); /* Matches the main background */
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
}

.footer-top-section {
  text-align: center;
  padding: 60px 40px;
  margin: 0 auto 60px auto;
  border-radius: 12px;
  background: var(--accent-gradient);
}
.footer-top-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
}
.footer-top-section .store-buttons {
  justify-content: center;
}

.footer-bottom-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--text-color-secondary);
  padding-bottom: 40px;
}

.footer-legal {
  text-align: left;
}
.footer-legal .footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
}

.footer-legal p {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.footer-legal .separator {
  margin: 0 10px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.footer-nav a {
  color: var(--text-color-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: var(--text-color);
}
.footer-copyright {
  text-align: right;
}
.footer-copyright p {
  font-size: 0.9rem;
}

/*==================== RESPONSIVE DESIGN ====================*/
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image {
    grid-row: 1;
    margin-bottom: 2rem;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .store-buttons {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .footer-bottom-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-legal,
  .footer-copyright {
    text-align: center;
  }
  .footer-nav {
    margin: 20px 0;
  }
  .footer-top-section h2 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .nav-menu {
    gap: 1rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
  .section-title,
  .footer-top-section h2 {
    font-size: 2rem;
  }
}
