:root {
  --bg-dark: #070709;
  --text-main: #f4f4f6;
  --text-muted: #9ca3af;
  --crimson: #ff1e42;
  --crimson-hover: #ff385c;
  --crimson-glow: rgba(255, 30, 66, 0.45);
  --glass-bg: rgba(14, 15, 20, 0.72);
  --glass-border: rgba(255, 255, 255, 0.09);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  height: 100%;
  background: var(--bg-dark);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/bad-russian-hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.92;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}

.hero:hover .hero__bg {
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(7, 7, 9, 0.1) 0%, rgba(7, 7, 9, 0.75) 65%, #070709 100%),
              linear-gradient(to right, #070709 0%, rgba(7, 7, 9, 0.95) 45%, rgba(7, 7, 9, 0.3) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding: 40px 20px 40px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 30, 66, 0.12);
  border: 1px solid rgba(255, 30, 66, 0.35);
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffa1b0;
  backdrop-filter: blur(12px);
  width: fit-content;
  box-shadow: 0 0 20px rgba(255, 30, 66, 0.15);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 10px var(--crimson);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px var(--crimson); }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--crimson); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px var(--crimson); }
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #34d399;
  backdrop-filter: blur(12px);
  width: fit-content;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
}

.live-status-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px #10b981; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 14px #10b981; }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px #10b981; }
}

.live-status-text {
  display: inline-block;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.live-status-text.fade-out {
  opacity: 0;
  transform: translateY(-4px);
}


h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ff4b68 50%, var(--crimson) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(255, 30, 66, 0.4));
}

.hero__lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--crimson) 0%, #b8071e 100%);
  color: #ffffff;
  box-shadow: 0 8px 28px var(--crimson-glow), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(255, 30, 66, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  background: linear-gradient(135deg, var(--crimson-hover) 0%, var(--crimson) 100%);
}

.btn--secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #e5e7eb;
  backdrop-filter: blur(16px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 580px;
  margin-bottom: 22px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(18, 19, 26, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__note {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* Modal Popup Styles */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: #111218;
  border: 1px solid rgba(255, 30, 66, 0.35);
  border-radius: 20px;
  padding: 36px 30px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 30, 66, 0.18);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-backdrop.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #a1a1aa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.modal-close:hover {
  background: rgba(255, 30, 66, 0.25);
  color: #ffffff;
}

.modal-icon-wrap, .success-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(255, 30, 66, 0.12);
  border: 1px solid rgba(255, 30, 66, 0.35);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.success-icon-wrap {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.modal-icon, .success-icon {
  font-size: 26px;
}

.modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
}

.modal-subtitle {
  color: #a1a1aa;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.modal-form {
  text-align: left;
}

.honey-trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #d4d4d8;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(255, 30, 66, 0.25);
  background: rgba(0, 0, 0, 0.7);
}

.form-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.form-alert--error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  text-align: left;
}

.modal-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--crimson) 0%, #b8071e 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 15px;
  font-size: 15.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--crimson-glow);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-submit-btn:hover {
  background: linear-gradient(135deg, var(--crimson-hover) 0%, var(--crimson) 100%);
  box-shadow: 0 10px 28px rgba(255, 30, 66, 0.65);
  transform: translateY(-1px);
}

.modal-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-footnote {
  color: #71717a;
  font-size: 12px;
  line-height: 1.4;
  margin: 18px 0 0;
  text-align: center;
}

.modal-success-box {
  animation: fadeIn 0.3s ease;
}

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

.success-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #ffffff;
}

.success-lead {
  color: #d4d4d8;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.success-email-badge {
  display: inline-block;
  background: rgba(255, 30, 66, 0.12);
  border: 1px solid rgba(255, 30, 66, 0.35);
  color: #ffa1b0;
  padding: 6px 16px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 14px;
  margin-bottom: 18px;
}

.success-tips {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 1024px) {
  .hero {
    justify-content: center;
    text-align: center;
  }
  .hero__overlay {
    background: radial-gradient(circle at center, rgba(7, 7, 9, 0.78) 0%, #070709 90%);
  }
  .hero__content {
    padding: 60px 24px;
    align-items: center;
    max-width: 620px;
  }
  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 46px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}
