/* Receivi Landing Page - Apple-Inspired Design */

:root {
  --purple-primary: #7C3AED;
  --purple-dark: #5B21B6;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-900: #111827;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: white;
}

/* Layout */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.app-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.2);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.hero .tagline {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-500);
  margin-bottom: 40px;
}

/* App Store Button */
.app-store-btn {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-btn:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.app-store-btn img {
  height: 54px;
}

/* Features Section */
.features {
  padding: 60px 24px;
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--purple-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Privacy Callout */
.privacy-callout {
  padding: 80px 24px;
  text-align: center;
}

.privacy-callout h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.privacy-callout p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 500px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--gray-500);
  text-decoration: none;
  margin: 0 16px;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Policy Pages */
.policy-page {
  padding: 60px 24px 80px;
}

.policy-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.policy-page .last-updated {
  font-size: 0.9375rem;
  color: var(--gray-400);
  margin-bottom: 48px;
}

.policy-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.policy-page h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.policy-page p {
  margin-bottom: 16px;
  color: var(--gray-600);
}

.policy-page ul,
.policy-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--gray-600);
}

.policy-page li {
  margin-bottom: 8px;
}

.policy-page a {
  color: var(--purple-primary);
  text-decoration: none;
}

.policy-page a:hover {
  text-decoration: underline;
}

.policy-page strong {
  color: var(--gray-900);
}

/* Back to home link */
.back-link {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--purple-primary);
  text-decoration: none;
  font-size: 0.9375rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding: 60px 24px 40px;
  }

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

  .hero .tagline {
    font-size: 1.25rem;
  }

  .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .privacy-callout h2 {
    font-size: 1.5rem;
  }

  .policy-page h1 {
    font-size: 2rem;
  }
}
