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

:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subheadline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  animation: slideUp 0.8s ease-out 0.3s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn.primary {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #1a1a2e;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 172, 254, 0.4);
}

.btn.primary:active {
  transform: translateY(0);
}

.btn.primary:focus-visible {
  outline: 3px solid rgba(79, 172, 254, 0.5);
  outline-offset: 4px;
}

.external-icon {
  flex-shrink: 0;
}

.note {
  margin-top: 16px;
  font-size: 0.95rem;
}

.muted {
  color: rgba(255, 255, 255, 0.8);
}

.how-it-works {
  padding: 80px 0;
  background: linear-gradient(180deg, #764ba2 0%, #667eea 100%);
}

.how-it-works h2,
.whats-inside h2,
.legal h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.step h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.step p {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.whats-inside {
  padding: 80px 0;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.features {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 0;
}

.features li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
}

.check-icon {
  flex-shrink: 0;
  color: #4facfe;
}

.update-note {
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 32px;
}

.legal {
  padding: 80px 0;
  background: linear-gradient(180deg, #764ba2 0%, #667eea 100%);
}

.legal-statement {
  text-align: center;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 24px;
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-link {
  color: #4facfe;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #00f2fe;
  text-decoration: underline;
}

.legal-link:focus-visible {
  outline: 2px solid #4facfe;
  outline-offset: 4px;
  border-radius: 4px;
}

.separator {
  color: rgba(255, 255, 255, 0.5);
}

footer {
  padding: 48px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.address {
  font-weight: 500;
}

.made-with {
  font-size: 1rem;
  margin: 16px 0;
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 8px auto;
}

.download-confirm-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
}

.download-confirm {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #1a1a2e;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.4);
  margin: 24px auto;
  max-width: 90%;
  width: max-content;
  animation: slideInDown 0.4s ease-out, slideOutUp 0.4s ease-in 7.6s forwards;
  pointer-events: auto;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

@media (max-width: 768px) {
  .headline {
    font-size: 2rem;
  }

  .subheadline {
    font-size: 1.1rem;
  }

  .btn {
    padding: 16px 32px;
    font-size: 1rem;
  }

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

  .how-it-works,
  .whats-inside,
  .legal {
    padding: 60px 0;
  }

  footer {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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