/**
* == QuizFlow - Advanced Quiz Builder & Management System ==
*
* Contributors: FixBD
* Author URI: http://fixbd.com
* Source: https://github.com/fixbd/quizflow/blob/fixbd/assets/css/license-key.css
* @since 1.0.0
* @version: 1.0.0
* @last-update 1.0.0
*/

:root {
  --brand-primary: #6366f1;
  --bg-surface: #f8fafc;
  --text-dark: #1e293b;
}

/* body {
      background-color: var(--bg-surface);
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    } */

/* CARD CONTAINER */
.license-card {
  border: none;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  background: white;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
}

/* ANIMATED HEADER BACKGROUND */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.card-header-custom {
  /* 3-Color Gradient for depth */
  /* background: linear-gradient(-45deg, #8b5cf6, #ec4899, #06b6d4, #8b5cf6); */
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  padding: 3.5rem 2rem 0;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.card-header-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px); */
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
  opacity: 0.6;
}

.icon-pulse-wrapper {
  background: rgba(255, 255, 255, 0.15);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.icon-pulse-wrapper i {
  /* font-size: 2rem; */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.input-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1rem;
  color: #94a3b8;
  font-size: 1.2rem;
}

.custom-input {
  border: none;
  flex-grow: 1;
  padding: 1rem 1rem 1rem 0.8rem;
  font-size: 1.05rem;
  outline: none;
  color: var(--text-dark);
  font-family: monospace;
  /* Monospace for easy key reading */
  font-weight: 500;
}

/* BUTTON */
.btn-connect {
  border: none;
  background: #0f172a;
  color: white;
  font-weight: 600;
  padding: 0 2rem;
  transition: all 0.3s ease;
}

.btn-connect:hover {
  background: #334155;
}

/* FEATURES ANIMATION */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  transition: 0.2s;
  animation: slideInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Staggered delay for "AI Thinking" effect */
.feature-item:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
  animation-delay: 0.25s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-item:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateX(4px);
}

.check-badge {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
}

/* FOOTER */
.footer-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #4338ca;
}