:root {
  --bg: #0a0e17;
  --bg-card: #12182a;
  --bg-card-hover: #1a2238;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --text-muted: #8b95a8;
  --accent: #00c853;
  --accent-dark: #00a844;
  --accent-glow: rgba(0, 200, 83, 0.25);
  --gold: #ffc107;
  --whatsapp: #25d366;
  --facebook: #1877f2;
  --warning-bg: rgba(255, 193, 7, 0.1);
  --warning-border: rgba(255, 193, 7, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 200, 83, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 100, 200, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background: linear-gradient(135deg, var(--accent), #00e676);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 200, 83, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 200, 83, 0.25);
}

/* Hero */
.hero {
  padding: 48px 0 32px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #a8b4c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
}

/* Benefits */
.benefits {
  padding: 32px 0 48px;
}

.benefits h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.benefits-grid {
  display: grid;
  gap: 16px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.benefit-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 200, 83, 0.2);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.benefit-card strong {
  color: var(--accent);
}

/* Share Section */
.share-section {
  padding-bottom: 48px;
}

.share-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.share-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.share-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.progress-block {
  margin-bottom: 28px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.progress-labels span:last-child {
  color: var(--accent);
}

.progress-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 10px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px var(--accent-glow);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
  min-width: 140px;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-1px);
}

.btn-facebook {
  background: var(--facebook);
  color: #fff;
}

.btn-facebook:hover {
  background: #1464d8;
  transform: translateY(-1px);
}

.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.share-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Steps Section */
.steps-section {
  padding-bottom: 48px;
}

.steps-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.steps-unlock-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
  animation: slideDown 0.5s ease;
}

.unlock-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.steps-unlock-banner p {
  font-size: 14px;
  font-weight: 500;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  opacity: 0.5;
  pointer-events: none;
}

.step-card.active {
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(0, 200, 83, 0.35);
  box-shadow: 0 0 24px var(--accent-glow);
}

.step-card.completed {
  opacity: 0.7;
  pointer-events: none;
  border-color: rgba(0, 200, 83, 0.15);
}

.step-card.completed .btn-done {
  background: rgba(0, 200, 83, 0.2);
  color: var(--accent);
  cursor: default;
}

.step-card.completed .btn-done::after {
  content: ' ✓';
}

.step-card.locked {
  opacity: 0.35;
}

.step-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.step-content p:last-child {
  margin-bottom: 0;
}

.promo-code {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(255, 193, 7, 0.1);
  border: 2px dashed rgba(255, 193, 7, 0.4);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
  letter-spacing: 0.15em;
}

.step-note,
.step-warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
  margin-top: 16px;
}

.step-warning {
  background: rgba(255, 87, 34, 0.1);
  border-color: rgba(255, 87, 34, 0.3);
}

.btn-done {
  margin-top: 20px;
  width: 100%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #000;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius-sm);
}

.btn-done:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-done:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-final {
  background: linear-gradient(135deg, #ff6b35, #ffc107);
}

/* Completion */
.completion-message {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: var(--radius);
  padding: 40px 24px;
  margin-top: 24px;
  animation: slideDown 0.5s ease;
}

.completion-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.completion-message h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.completion-message p {
  color: var(--text-muted);
  font-size: 15px;
}

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

.footer p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  z-index: 1000;
  animation: toastIn 0.3s ease;
}

/* Utilities */
.hidden {
  display: none !important;
}

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

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive */
@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-card {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .share-card {
    padding: 24px 20px;
  }

  .share-buttons {
    flex-direction: column;
  }

  .btn {
    min-width: 100%;
  }
}
