@font-face {
    font-family: "DM Sans";
    src: url("https://iopgokphqerqsnqfkogz.supabase.co/storage/v1/object/public/lighty/fonts/DMSans-Regular.ttf")
        format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  background: #f7f5f0;
  color: #1a1814;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.download-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.success-content {
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.checkmark-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
  border-radius: 50%;
  background: #e8a020;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(232, 160, 32, 0.25);
}

.checkmark {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark::after {
  content: "";
  width: 15px;
  height: 30px;
  border: 3px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  animation: checkFill 0.6s ease-out 0.3s backwards;
}

.success-header {
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.2s forwards;
}

.success-header h1 {
  font-family: "DM Serif Display", serif;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 12px;
  font-weight: 400;
}

.success-header p {
  color: #6b6760;
  font-size: 16px;
  line-height: 1.6;
}

.success-message {
  background: white;
  border-radius: 20px;
  padding: 30px 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(26, 24, 20, 0.06);
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.35s forwards;
}

.success-message p {
  color: #6b6760;
  font-size: 15px;
  line-height: 1.7;
}

.instructions {
  text-align: left;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.4s forwards;
}

.instructions ol {
  list-style: none;
  counter-reset: item;
  margin: 0;
  padding: 0;
}

.instructions li {
  counter-increment: item;
  margin-bottom: 16px;
  text-align: left;
  color: #6b6760;
  font-size: 15px;
  line-height: 1.6;
}

.instructions li::before {
  content: counter(item) ".";
  font-weight: 500;
  color: #e8a020;
  margin-right: 10px;
  min-width: 20px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.5s forwards;
}

.btn {
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: "DM Sans", sans-serif;
}

.btn-primary {
  background: #e8a020;
  color: white;
  box-shadow: 0 4px 20px rgba(232, 160, 32, 0.32);
}

.btn-primary:hover {
  background: #d08f10;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 160, 32, 0.42);
}

.btn-secondary {
  background: transparent;
  color: #6b6760;
  border: 1px solid rgba(26, 24, 20, 0.15);
}

.btn-secondary:hover {
  background: #eeeae2;
  border-color: rgba(26, 24, 20, 0.25);
  transform: translateY(-1px);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes checkFill {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@media (max-width: 640px) {
  .success-header h1 {
    font-size: 36px;
  }
  
  .checkmark-circle {
    width: 100px;
    height: 100px;
    margin-bottom: 32px;
  }
}
