/* Main Styles */
:root {
  /* Violet color palette */
  --violet-50: #F5F3FF;
  --violet-100: #EDE9FE;
  --violet-200: #DDD6FE;
  --violet-300: #C4B5FD;
  --violet-400: #A78BFA;
  --violet-500: #8B5CF6;
  --violet-600: #7C3AED;
  --violet-700: #6D28D9;
  --violet-800: #5B21B6;
  --violet-900: #4C1D95;
  
  /* Neutral colors */
  --neutral-50: #FAFAFA;
  --neutral-100: #F4F4F5;
  --neutral-200: #E4E4E7;
  --neutral-300: #D4D4D8;
  --neutral-400: #A1A1AA;
  --neutral-500: #71717A;
  --neutral-600: #52525B;
  --neutral-700: #3F3F46;
  --neutral-800: #27272A;
  --neutral-900: #18181B;
  
  /* Supporting colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Spacing system */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
}

/* General Styles */
body {
  background-color: var(--neutral-50);
  color: var(--neutral-800);
  font-size: 16px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--space-5);
}

h3 {
  font-size: 1.25rem;
}

section {
  padding: var(--space-6) 0;
}

p {
  margin-bottom: var(--space-3);
}

img {
  border-radius: 8px;
}

/* Buttons */
.cta-button,
.download-button {
  display: inline-block;
  background-color: var(--violet-600);
  color: white;
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: 30px;
  border: 1px solid white;
  transition: all 0.3s ease;
}

.cta-button:hover,
.download-button:hover {
  background-color: var(--violet-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.5);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--violet-700);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: var(--space-3);
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--violet-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--neutral-700);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--violet-700) 0%, var(--violet-500) 100%);
  color: white;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text {
  margin-bottom: var(--space-5);
}

.tagline {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
  color: var(--violet-100);
}

.description {
  margin-bottom: var(--space-4);
  max-width: 600px;
}

.app-screenshot {
  border-radius: 70px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  border: 8px solid white;
  max-width: 280px;
  margin: 0 auto;
  transition: transform 0.5s ease;
}

.app-screenshot:hover {
  transform: translateY(-10px);
}

/* App Description */
.app-description {
  background-color: white;
}

.description-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Features Section */
.features {
  background-color: var(--violet-50);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.feature-card {
  background-color: white;
  padding: var(--space-4);
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-2);
}

/* Screenshots Section */
.screenshots {
  background-color: white;
}

.screenshots-slider {
  position: relative;
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto;
}

.screenshots-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.screenshot {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-4);
}

.prev-btn,
.next-btn {
  background-color: var(--violet-600);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 var(--space-2);
  transition: background-color 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--violet-700);
}

.slider-dots {
  display: flex;
  gap: var(--space-2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--neutral-300);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--violet-600);
}

/* Reviews Section */
.reviews {
  background-color: var(--violet-50);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.review-card {
  background-color: white;
  padding: var(--space-4);
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-3);
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: var(--space-3);
  object-fit: cover;
}

.rating {
  color: var(--warning);
  margin-top: var(--space-1);
}

.review-text {
  font-style: italic;
  color: var(--neutral-700);
}

/* FAQ Section */
.faq {
  background-color: white;
}

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

.faq-item {
  margin-bottom: var(--space-3);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--neutral-100);
  padding: var(--space-3);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-toggle {
  font-size: 1.5rem;
  color: var(--violet-600);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: var(--space-3);
  max-height: 500px;
}

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

/* Download Section */
.download {
  background: linear-gradient(135deg, var(--violet-700) 0%, var(--violet-500) 100%);
  color: white;
  text-align: center;
}

.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.store-button {
  transition: transform 0.3s ease;
}

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

/* Footer */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-200);
  padding: var(--space-6) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: var(--space-4);
}

.footer-logo h3 {
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-column h4 {
  color: white;
  margin-bottom: var(--space-3);
}

.footer-column ul li {
  margin-bottom: var(--space-2);
}

.footer-column ul li a {
  color: var(--neutral-400);
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}