/* CSS Reset & Variables */
:root {
  --bg-primary: #061523;
  --bg-secondary: #0d2843;
  --color-text-primary: #ffffff;
  --color-text-secondary: #94a3b8;
  --color-accent: #f59e0b; /* Yellow/Gold from Logo */
  --color-accent-light: #fef08a;
  --color-green-whatsapp: #25d366;
  --color-green-whatsapp-hover: #20ba5a;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-family);
  background: radial-gradient(circle at top, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  color: var(--color-text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow-x: hidden;
  padding: 2rem 1rem;
  line-height: 1.5;
}

/* Container */
.container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Header & Logo */
header {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.logo-wrapper {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  animation: float 4s ease-in-out infinite;
}

.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: var(--transition-smooth);
}

.instagram-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.instagram-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Main Card */
main {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* Typography */
h1 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 60%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 span {
  color: var(--color-accent);
  -webkit-text-fill-color: initial; /* Fallback */
}

.subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Urgency Elements */
.urgency-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.urgency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.urgency-title {
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.urgency-count {
  background: var(--color-accent);
  color: var(--bg-primary);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 800;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #fbbf24);
  width: 92%;
  border-radius: 9999px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: shimmer 1.5s infinite;
}

/* Call To Action Button */
.cta-wrapper {
  margin-bottom: 1.5rem;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: linear-gradient(135deg, var(--color-green-whatsapp) 0%, var(--color-green-whatsapp-hover) 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  animation: pulse-glow 2s infinite;
  text-transform: uppercase;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-cta:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-cta svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.cta-subtext {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.cta-subtext svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Social Proof (Avatar Stack) */
.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.avatar-stack {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  border: 2px solid var(--bg-secondary);
  background: var(--bg-primary);
  margin-right: -8px;
  object-fit: cover;
}

.avatar-count {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--color-accent);
  color: var(--bg-primary);
  border: 2px solid var(--bg-secondary);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  padding-left: 1px;
}

.social-proof-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.social-proof-text strong {
  color: #ffffff;
}

/* Benefits Grid */
.benefits {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
  background: rgba(37, 211, 102, 0.1);
  color: var(--color-green-whatsapp);
  border-radius: 50%;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.benefit-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.benefit-text p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Footer */
footer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition-smooth);
}

footer a:hover {
  color: var(--color-accent);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.5);
  }
  70% {
    transform: scale(1.015);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0);
  }
}

@keyframes shimmer {
  100% {
    left: 125%;
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  main {
    padding: 2rem 1.25rem;
  }
  h1 {
    font-size: 1.625rem;
  }
  .btn-cta {
    font-size: 1.125rem;
    padding: 1.15rem 1.25rem;
  }
}
