/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #5b4cdb;
  --primary-dark: #4339b5;
  --secondary-color: #00d9a5;
  --accent-color: #ff6b6b;
  --text-dark: #1a202c;
  --text-light: #64748b;
  --background: #f7fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --gradient-primary: linear-gradient(135deg, #5b4cdb 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(135deg, #f7fafc 0%, #eef2ff 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background);
}

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

/* Header and Navigation */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

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

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 4rem 0;
  background: var(--gradient-hero);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
  text-align: left;
}

/* Sparkle Text Effect */
.sparkle-text {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #5b4cdb 0%, #7c3aed 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(91, 76, 219, 0.3);
  text-stroke: 1px rgba(91, 76, 219, 0.3);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  animation: sparkleText 2s ease-in-out infinite alternate;
}

.sparkle-text::before {
  content: "✨";
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  animation: sparkle1 1.5s ease-in-out infinite;
}

.sparkle-text::after {
  content: "✨";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  animation: sparkle2 1.8s ease-in-out infinite;
}

@keyframes sparkleText {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

@keyframes sparkle1 {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }
}

@keyframes sparkle2 {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(-50%) scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.3) rotate(180deg);
  }
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

.hero-buttons {
  margin-bottom: 0;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.btn {
  display: inline-block;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  transition: none;
  cursor: pointer;
  border: none;
  background: none;
}

.btn-primary {
  background: transparent;
  color: var(--white);
  border: none;
  outline: none;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  background: transparent;
  transform: scale(1.05);
  box-shadow: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.app-store-badge {
  height: 80px;
  vertical-align: middle;
  border: none;
  outline: none;
}

.btn-primary img {
  border: none;
  outline: none;
  box-shadow: none;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--white);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

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

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card ul {
  list-style: none;
  text-align: left;
}

.feature-card li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

.feature-card li:before {
  content: "✓ ";
  color: var(--secondary-color);
  font-weight: bold;
}

/* App Showcase Section */
.app-showcase {
  padding: 5rem 0;
  background: var(--background);
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.showcase-item.reverse {
  flex-direction: row-reverse;
}

.showcase-image {
  flex: 1;
  text-align: center;
}

.showcase-image img {
  max-width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: contain;
  width: 100%;
}

.showcase-content {
  flex: 1;
}

.showcase-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.showcase-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background: var(--background);
}

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

.benefit-item {
  text-align: center;
  padding: 2rem;
}

.benefit-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.benefit-item p {
  color: var(--text-light);
}

/* Get Started Section */
.get-started {
  padding: 5rem 0;
  background: var(--background);
  text-align: center;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.step h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.step p {
  color: var(--text-light);
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background: var(--background);
}

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

.faq-item {
  background: var(--white);
  padding: 2rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.faq-question {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.8;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: var(--gradient-primary);
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  margin: 0 1rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

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

  .hero-text {
    text-align: center;
  }

  .hero-image {
    text-align: center;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .showcase-item,
  .showcase-item.reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .showcase-content h3 {
    font-size: 1.5rem;
  }

  .showcase-content p {
    font-size: 1rem;
  }

  .sparkle-text {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .sparkle-text::before {
    left: -30px;
    font-size: 1.2rem;
  }

  .sparkle-text::after {
    right: -30px;
    font-size: 1.2rem;
  }
}
