:root {
  --primary-gradient-start: #6e48aa;
  --primary-gradient-end: #9d50bb;
  --secondary-gradient-start: #1a2a6c;
  --secondary-gradient-end: #b21f1f;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f9fa;
  --background-dark: #121212;
  --accent-color: #ff7e5f;
  --success-color: #64dd17;
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --animation-duration: 0.6s;
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

.dark-mode {
  background: var(--background-dark);
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  background: linear-gradient(to bottom right, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--text-light);
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(110, 72, 170, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--text-light);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 60px auto 0;
  padding-top: 80px;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-top: 40px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--secondary-gradient-start), var(--secondary-gradient-end));
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform var(--animation-duration), box-shadow var(--animation-duration);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.app-screenshots {
  position: relative;
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  perspective: 1000px;
}

.screenshot {
  height: 480px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transform: rotateY(10deg);
  transition: transform var(--animation-duration);
}

.screenshot:hover {
  transform: rotateY(0) scale(1.05);
}

section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--animation-duration);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-dark);
  opacity: 0.8;
}

.dark-mode .feature-description {
  color: var(--text-light);
}

.testimonials {
  background: linear-gradient(135deg, var(--secondary-gradient-start), var(--secondary-gradient-end));
  color: var(--text-light);
  padding: 6rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  position: relative;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.8rem;
  opacity: 0.8;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--animation-duration);
  aspect-ratio: 9/19.5;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--animation-duration);
}

.gallery-item:hover img {
  filter: brightness(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--text-light);
  transform: translateY(100%);
  transition: transform var(--animation-duration);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.description-section {
  background: #f9f9f9;
  padding: 6rem 0;
}

.dark-mode .description-section {
  background: #1e1e1e;
}

.app-description {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.description-block {
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.dark-mode .description-block {
  background: #252525;
}

.block-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-gradient-start);
}

.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.dark-mode .privacy-policy {
  background: #252525;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.dark-mode .contact-form {
  background: #252525;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.dark-mode .form-input,
.dark-mode .form-textarea {
  background: #333;
  border-color: #555;
  color: white;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-gradient-start);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

footer {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn var(--animation-duration) ease forwards;
}

/* Responsive styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .app-screenshots {
    flex-direction: column;
    align-items: center;
  }
  
  .screenshot {
    height: auto;
    width: 80%;
    transform: none;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links {
    display: none;
  }
}

/* Dark mode toggle */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* Scroll animations */
.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary-gradient-start), var(--primary-gradient-end));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--primary-gradient-end), var(--primary-gradient-start));
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-left: 1rem;
}

.language-btn {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(110, 72, 170, 0.2);
  border: 1px solid rgba(110, 72, 170, 0.3);
  border-radius: var(--border-radius);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

/* Stil special pentru selectorul de limbă din header care are fundal întunecat */
header .language-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
}

.dark-mode .language-btn {
  background: rgba(110, 72, 170, 0.3);
  border: 1px solid rgba(110, 72, 170, 0.4);
  color: var(--text-light);
}

.language-btn svg {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.language-btn:hover {
  background: rgba(110, 72, 170, 0.3);
}

header .language-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dark-mode .language-btn:hover {
  background: rgba(110, 72, 170, 0.4);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dark-mode .language-dropdown {
  background: #252525;
  border: 1px solid #333;
}

.language-option {
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  color: var(--text-dark);
}

.dark-mode .language-option {
  color: var(--text-light);
}

.language-option:first-child {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.language-option:last-child {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.language-option:hover {
  background: rgba(110, 72, 170, 0.1);
}

.dark-mode .language-option:hover {
  background: rgba(110, 72, 170, 0.2);
}

/* App Information Badges */
.app-info {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.app-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.app-badge.free {
  background-color: var(--success-color);
  color: var(--text-light);
}

.app-badge.version {
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--text-light);
}

.app-badge.compatibility {
  background-color: #333;
  color: var(--text-light);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.dark-mode .faq-section {
  background-color: var(--background-dark);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background-color: white;
  transition: all 0.3s ease;
}

.dark-mode .faq-item {
  background-color: #1e1e1e;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--text-light);
}

.faq-question h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.toggle-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
  overflow-y: auto;
}

/* Developer Information */
.developer-info {
  margin: 20px 0;
  padding: 15px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.1);
}

.developer-info h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-gradient-end);
}

.dark-mode .developer-info h4 {
  color: var(--primary-gradient-start);
}

.developer-info p {
  margin: 5px 0;
  font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .app-info {
    flex-wrap: wrap;
    justify-content: center;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}

/* Mantra Block Styles */
.mantra-block {
  background-color: rgba(110, 72, 170, 0.1);
  border-left: 4px solid var(--primary-gradient-start);
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.dark-mode .mantra-block {
  background-color: rgba(157, 80, 187, 0.2);
}

.mantra-phrase {
  margin: 10px 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}

.mantra-list {
  background-color: rgba(110, 72, 170, 0.1);
  border-radius: var(--border-radius);
  padding: 15px 25px;
  margin: 15px 0;
}

.dark-mode .mantra-list {
  background-color: rgba(157, 80, 187, 0.2);
}

.mantra-list p {
  margin: 10px 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
}

.mantra-list p::before {
  content: "•";
  position: absolute;
  left: -15px;
  color: var(--primary-gradient-end);
}

.faq-answer ol {
  margin-left: 20px;
  padding-left: 0;
}

.faq-answer ol li {
  margin-bottom: 10px;
}

/* Email Protection Styles */
.email-image {
  display: inline-block;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  height: 20px;
}

.email-container {
  display: inline-flex;
  align-items: center;
  background-color: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
  margin: 0 2px;
}

.dark-mode .email-container {
  background-color: #333;
} 