:root {
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --secondary: #EC4899;
  --accent-yellow: #FBBF24;
  --accent-green: #34D399;
  --accent-blue: #60A5FA;
  --accent-orange: #FB923C;
  --background: #FEFCE8;
  --foreground: #1F2937;
  --muted: #F3F4F6;
  --card-bg: #FFFFFF;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Decorative background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

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

/* Header */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(254, 252, 232, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 2px solid rgba(139, 92, 246, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

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

.github-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--foreground);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.github-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
  color: var(--foreground);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

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

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

/* Google Play Button */
.btn-google-play {
  background: #000;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-google-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.google-play-icon {
  width: 24px;
  height: 24px;
}

/* App Preview */
.app-preview {
  margin-top: 60px;
  position: relative;
}

.phone-mockup {
  max-width: 320px;
  margin: 0 auto;
  background: white;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 25px 50px rgba(139, 92, 246, 0.2),
    0 0 0 8px rgba(139, 92, 246, 0.1);
}

.phone-screen {
  background: linear-gradient(180deg, #FEFCE8 0%, #FEF3C7 100%);
  border-radius: 28px;
  padding: 24px;
  min-height: 500px;
}

.mock-header {
  text-align: center;
  margin-bottom: 20px;
}

.mock-header h3 {
  font-size: 1.25rem;
  color: var(--primary);
}

.mock-activity {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mock-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.mock-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mock-icon.yellow { background: #FEF3C7; }
.mock-icon.green { background: #D1FAE5; }
.mock-icon.blue { background: #DBEAFE; }
.mock-icon.pink { background: #FCE7F3; }

.mock-checkbox {
  width: 28px;
  height: 28px;
  border: 3px solid var(--accent-green);
  border-radius: 8px;
  margin-left: auto;
}

.mock-checkbox.checked {
  background: var(--accent-green);
  position: relative;
}

.mock-checkbox.checked::after {
  content: '✓';
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: #6B7280;
  max-width: 500px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #DBEAFE, #93C5FD); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #D1FAE5, #6EE7B7); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, #FCE7F3, #F9A8D4); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, #E9D5FF, #C4B5FD); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, #FFEDD5, #FDBA74); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--foreground);
}

.feature-card p {
  color: #6B7280;
  line-height: 1.7;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05));
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--foreground);
}

.benefits-text p {
  font-size: 1.1rem;
  color: #6B7280;
  margin-bottom: 32px;
}

.benefit-list {
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.benefit-check {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-green), #10B981);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.benefits-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-card {
  background: white;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.benefit-emoji {
  font-size: 48px;
  margin-bottom: 12px;
}

.benefit-card h4 {
  font-size: 1rem;
  color: var(--foreground);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 60px 40px;
  border-radius: 32px;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: shimmer 8s infinite linear;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-card h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
  position: relative;
}

.cta-card .btn {
  background: white;
  color: var(--primary);
  position: relative;
}

.cta-card .btn:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Privacy policy page */
.policy {
  padding: 60px 0 100px;
}

.policy-content {
  max-width: 700px;
}

.policy-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.policy-updated {
  color: #6B7280;
  margin-bottom: 32px;
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 32px 0 12px;
}

.policy-content p {
  margin-bottom: 12px;
}

.policy-content a {
  color: var(--primary);
}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
  border-top: 2px solid rgba(139, 92, 246, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: #6B7280;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  color: #9CA3AF;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

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

  .mobile-menu-btn {
    display: block;
  }

  .github-link span {
    display: none;
  }

  .hero {
    padding: 40px 0 60px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    padding: 0 20px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .benefits-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits-visual {
    order: -1;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-card h2 {
    font-size: 1.75rem;
  }

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