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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 44px;
}

/* ========== Countdown Bar ========== */

.countdown-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #e0a0ff, #ff6fb7);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  z-index: 100;
  letter-spacing: 0.02em;
}

.countdown-bar strong {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

/* ========== Container ========== */

.container {
  max-width: 480px;
  width: 100%;
  padding: 20px;
}

/* ========== Teaser Image ========== */

.teaser {
  margin-bottom: 24px;
}

.teaser-img {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a2e;
}

.teaser-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.1);
}

.teaser-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(90deg, #e0a0ff, #ff6fb7);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== Hero ========== */

.hero {
  text-align: center;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #e0a0ff, #ff6fb7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.05rem;
  color: #b0b0c0;
  line-height: 1.5;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  color: #c0c0d0;
}

.proof-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ========== Benefits ========== */

.benefits {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2px;
}

.benefit-item p {
  font-size: 0.78rem;
  color: #9090a0;
  line-height: 1.3;
}

/* ========== Form Card ========== */

.form-card,
.success-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.form-card h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.3rem;
  color: #ffffff;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #c0c0d0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #e0a0ff;
}

.form-group select option {
  background: #1a1a2e;
  color: #fff;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-group.half {
  flex: 1;
}

.consent {
  margin-top: 8px;
}

.consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #a0a0b0;
  line-height: 1.4;
  cursor: pointer;
}

.consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #e0a0ff;
  min-width: 16px;
}

button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #e0a0ff, #ff6fb7);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  margin-top: 8px;
}

button[type="submit"]:hover {
  opacity: 0.9;
}

button[type="submit"]:active {
  transform: scale(0.98);
}

button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.message {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
}

.message.error {
  background: rgba(255, 80, 80, 0.15);
  color: #ff8080;
  border: 1px solid rgba(255, 80, 80, 0.3);
}

.hidden {
  display: none !important;
}

/* ========== Success Card ========== */

.success-card {
  text-align: center;
  padding: 48px 32px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(90deg, #e0a0ff, #ff6fb7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: #fff;
}

.success-card h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.success-card p {
  color: #b0b0c0;
  line-height: 1.5;
}

footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: #606070;
}

/* ========== Scroll Animations ========== */

.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

.benefits .benefit-item {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.anim-visible .benefit-item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.anim-visible .benefit-item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.anim-visible .benefit-item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.anim-visible .benefit-item:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

/* ========== Exit-Intent Popup ========== */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
  backdrop-filter: blur(4px);
  animation: fade-in 0.3s ease;
}

.popup-card {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: popup-in 0.3s ease;
}

@keyframes popup-in {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #808090;
  font-size: 1.5rem;
  cursor: pointer;
}

.popup-close:hover {
  color: #fff;
}

.popup-card h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.popup-card p {
  color: #b0b0c0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.popup-cta {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #e0a0ff, #ff6fb7);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.popup-cta:hover {
  opacity: 0.9;
}

/* ========== Activity Toast (bottom-right notification) ========== */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e1e30;
  border: 1px solid rgba(224, 160, 255, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #e0e0e0;
  z-index: 150;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(224, 160, 255, 0.1);
  max-width: 320px;
}

.toast.toast-show {
  animation: toast-slide-in 0.5s ease forwards;
}

.toast.toast-hide {
  animation: toast-slide-out 0.4s ease forwards;
}

.toast.hidden {
  display: none !important;
}

@keyframes toast-slide-in {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-slide-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100px); }
}

.toast-dot {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ========== Responsive ========== */

@media (max-width: 520px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .form-card {
    padding: 24px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .teaser-img {
    height: 160px;
  }

  .toast {
    right: 12px;
    left: auto;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}
