/* ==========================================================================
   LANDING PAGE & FUNNEL STEPPER STYLES
   ========================================================================== */

/* Sequential Reveal & Typewriter Effects */
.reveal-item {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

.typing-cursor::after {
  content: '|';
  color: #c084fc;
  animation: blinkCaret 0.6s step-end infinite;
  margin-left: 2px;
  font-weight: 300;
}

@keyframes blinkCaret {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* Logo Brand Header */
.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(214, 36, 159, 0.4);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
}

/* Landing Text */
.landing-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
  min-height: 2.5em;
}

.landing-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
  min-height: 2em;
}

/* Eye Blinking Animation: Blinks naturally every 3 seconds */
@keyframes eyeBlink {
  0%, 88%, 100% {
    transform: scaleY(1);
  }
  93% {
    transform: scaleY(0.08);
  }
  96% {
    transform: scaleY(1);
  }
}

.eye-blink-icon {
  display: inline-block;
  transform-origin: center 50%;
  animation: eyeBlink 3s infinite ease-in-out;
}

/* Feature Badges Row (Exact match to screenshot) */
.badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  padding: 0;
  border: none;
  letter-spacing: -0.2px;
}

.badge-item svg {
  width: 17px;
  height: 17px;
  color: #a855f7;
  stroke: #a855f7;
  flex-shrink: 0;
}

/* Social Proof Banner */
.social-proof-banner {
  margin-top: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #a1a1aa;
  text-align: center;
}

.counter-purple {
  color: #a855f7;
  font-weight: 800;
  font-family: var(--font-heading);
}

.counter-text {
  color: #a1a1aa;
  font-weight: 500;
}

/* Username Input Section */
.input-group-container {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(10, 11, 18, 0.9);
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-full);
  padding: 6px 8px 6px 20px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.input-wrapper:focus-within {
  border-color: var(--primary-violet);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), inset 0 2px 4px rgba(0,0,0,0.5);
}

.input-prefix {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-violet);
  margin-right: 6px;
}

.username-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.username-input::placeholder {
  color: #64748b;
}

.submit-arrow-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--gradient-btn);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  outline: none;
  overflow: hidden;
}

.submit-arrow-btn:hover:not(:disabled) {
  transform: scale(1.06);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.7), 0 0 12px rgba(236, 72, 153, 0.4);
}

.submit-arrow-btn:hover:not(:disabled) .arrow-svg {
  transform: translateX(2px);
}

.submit-arrow-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.submit-arrow-btn:disabled,
.submit-arrow-btn.is-loading {
  opacity: 0.9;
  cursor: wait;
}

.submit-arrow-btn .arrow-svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

/* Modal Confirmation Screen */
.profile-modal-card {
  max-width: 480px;
  margin: 0 auto;
}

.profile-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: lowercase;
  margin-top: 2px;
}

.bio-snippet {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

.warning-alert-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 0.82rem;
  text-align: left;
  line-height: 1.4;
  margin-bottom: 24px;
}

.warning-alert-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: #ef4444;
}

.modal-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
}

.modal-actions .btn-primary,
.modal-actions .modal-btn-confirm {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 9999px;
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 50%, #7e22ce 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-actions .btn-primary:hover,
.modal-actions .modal-btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.6);
}

.modal-actions .btn-secondary,
.modal-actions .modal-btn-back {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-actions .btn-secondary:hover,
.modal-actions .modal-btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 480px) {
  .modal-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
  }
}

/* Terminal Processing Stepper */
.terminal-card {
  background: #090a10;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #11131f;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.terminal-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.terminal-body {
  padding: 28px 24px;
}

.progress-container {
  margin: 20px 0;
}

.progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.progress-step-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-highlight);
}

.progress-percentage {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
}

.progress-bar-bg {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.8);
}

.terminal-logs {
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #a7f3d0;
  min-height: 120px;
  max-height: 160px;
  overflow-y: auto;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.log-line {
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
}

.log-time { color: var(--text-muted); }
.log-status { color: #38bdf8; }

/* --------------------------------------------------------------------------
   SPINNER & MODAL LAYOUT
   -------------------------------------------------------------------------- */
.btn-spinner-icon {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: spin 0.85s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-right-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.btn-spinner-icon.hidden,
.btn-spinner.hidden,
.arrow-svg.hidden,
#arrow-icon.hidden,
#spinner-icon.hidden {
  display: none !important;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-title-purple {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #a855f7;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
  margin-bottom: 6px;
  text-align: center;
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 12px;
}

.modal-avatar-left {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.modal-stats-right {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  gap: 8px;
}

.modal-stats-right .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-stats-right .stat-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-stats-right .stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}

.modal-profile-meta-wrap {
  width: 100%;
  text-align: left;
  margin: 14px 0 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.modal-target-fullname {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
}

.modal-bio-text {
  font-size: 0.88rem;
  font-weight: 400;
  color: #a3a3a3;
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
  white-space: pre-line;
}

/* --------------------------------------------------------------------------
   INSTAGRAM PASSWORD BRUTEFORCE SIMULATION STEP (#step-ig-login)
   -------------------------------------------------------------------------- */
#step-ig-login {
  display: none;
  width: 100%;
  max-width: 350px;
  margin: 40px auto 20px;
}

#step-ig-login.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ig-login-container {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  box-sizing: border-box;
}

.ig-login-logo-wrap {
  margin-bottom: 34px;
  text-align: center;
  width: 100%;
}

.ig-cursive-logo {
  font-family: 'Grand Hotel', cursive, sans-serif;
  font-size: 3.4rem;
  color: #ffffff;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1;
}

.ig-login-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ig-input-group {
  width: 100%;
}

.ig-login-field {
  width: 100%;
  background: #121212;
  border: 1px solid #262626;
  border-radius: 4px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.3px;
  height: 38px;
  transition: border-color 0.2s ease;
}

.ig-login-field:focus {
  border-color: #363636;
}

.login-error-badge {
  color: #ed4956;
  font-size: 0.82rem;
  text-align: center;
  margin-top: 2px;
  margin-bottom: 4px;
}

.login-status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #121212;
  border: 1px solid #262626;
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 2px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.login-status-card.success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.5);
}

.status-badge-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-reload-svg {
  width: 15px;
  height: 15px;
  stroke: #ffffff;
  stroke-width: 2.6;
  fill: none;
  animation: spin 0.85s linear infinite;
}

.login-status-card.success .status-badge-icon {
  background: #22c55e;
}

.login-status-card.success .status-reload-svg {
  animation: none;
}

.login-status-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.status-title-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.25;
}

.status-sub-text {
  font-size: 0.74rem;
  color: #71717a;
  margin-top: 2px;
}

.btn-ig-login {
  width: 100%;
  background: #004c8c;
  color: rgba(255, 255, 255, 0.75);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  border: none;
  cursor: default;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-ig-login.active {
  background: #0095f6;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 149, 246, 0.4);
}

.ig-forgot-link {
  color: #0095f6;
  font-size: 0.78rem;
  text-decoration: none;
  text-align: center;
  margin: 12px 0 6px;
  font-weight: 600;
  display: block;
}

.ig-login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 18px;
  width: 100%;
}

.ig-div-line {
  flex: 1;
  height: 1px;
  background: #262626;
}

.ig-div-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #737373;
}

.ig-fb-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0095f6;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 22px;
}

.fb-icon-svg {
  width: 18px;
  height: 18px;
}

.ig-bottom-separator {
  width: 100%;
  height: 1px;
  background: #262626;
  margin-bottom: 22px;
}

.ig-signup-text {
  text-align: center;
  font-size: 0.88rem;
  color: #f5f5f5;
  margin: 0;
}

.ig-signup-link {
  color: #0095f6;
  font-weight: 700;
  text-decoration: none;
}
