/* Landing Page Styles - Modern & Clean Design */

:root {
  /* Color Palette - Clean & Professional */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --secondary: #10b981;
  --background: #ffffff;
  --surface: #f9fafb;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px;
  --card-radius: 16px;
  --button-radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 16px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--button-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Hero Section */
.hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-cta .google-play-badge {
  margin-top: 8px;
}

.hero-cta-secondary {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-cta-secondary a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.hero-cta-secondary a:hover {
  text-decoration: underline;
}

.hero-visual {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-app-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-icon {
  width: 200px;
  height: 200px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.app-icon:hover {
  transform: scale(1.05);
}

.google-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4285f4;
  color: white;
  padding: 16px 32px;
  border-radius: var(--button-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.google-play-btn:hover {
  background: #357abd;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.google-play-badge {
  display: inline-block;
  margin-top: 16px;
  transition: transform 0.2s ease;
}

.google-play-badge:hover {
  transform: scale(1.05);
}

.google-play-badge img {
  height: 60px;
  width: auto;
}

.hero-card {
  perspective: 1000px;
}

.card-demo {
  width: 400px;
  height: 250px;
  position: relative;
  transform-style: preserve-3d;
  animation: cardFlip 6s ease-in-out infinite;
}

@keyframes cardFlip {
  0%, 40% { transform: rotateY(0deg); }
  50%, 90% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--card-radius);
  background: white;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.card-back {
  transform: rotateY(180deg);
}

.card-content {
  text-align: center;
  width: 100%;
}

.card-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.card-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Section Styles */
section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

/* Features Section */
.features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* How It Works Section */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
  background: var(--surface);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.screenshot-item {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.screenshot-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 0 24px 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: white;
  text-align: center;
}

.final-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.final-cta-subtitle {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.final-cta .btn-primary {
  background: white;
  color: var(--primary);
}

.final-cta .btn-primary:hover {
  background: var(--surface);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 48px 0;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: white;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-play-badge {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.google-play-badge-footer {
  display: inline-block;
  transition: transform 0.2s ease;
}

.google-play-badge-footer:hover {
  transform: scale(1.05);
}

.google-play-badge-footer img {
  height: 50px;
  width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .card-demo {
    width: 300px;
    height: 200px;
  }
  
  .card-text {
    font-size: 24px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .features-grid,
  .steps,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
  
  .final-cta-title {
    font-size: 32px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }
  
  .card-demo {
    width: 100%;
    max-width: 280px;
  }
}

