:root {
  --primary-color: #7B2CBF;
  --secondary-color: #3A0CA3;
  --accent-color: #4CC9F0;
  --accent-green: #06D6A0;
  --text-color: #2D3436;
  --background-color: #F8F9FD;
  --gradient-1: linear-gradient(135deg, #7B2CBF, #3A0CA3);
  --glass: rgba(255, 255, 255, 0.8);
  --box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  --border-radius: 20px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Hiệu ứng nền Aura */
.bg-glow {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(123, 44, 191, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(76, 201, 240, 0.05) 0%, transparent 40%);
  z-index: -1;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 40px;
  text-align: center;
}
.main-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.gradient-text {
  background: var(--gradient-1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description {
  font-size: 1.2rem;
  color: #636e72;
}

/* Form Card - Creative Upgrade */
.crawl-form { padding-bottom: 100px; }
.form-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}
.form-card:hover {
  box-shadow: 0 30px 60px rgba(123, 44, 191, 0.15);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Input Fields */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}
input {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid transparent;
  background: #fff;
  border-radius: 15px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  transition: var(--transition);
}
input:focus {
  outline: none;
  border-color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Button Magic */
.submit-button {
  width: 100%;
  padding: 1.2rem;
  border: none;
  border-radius: 15px;
  background: var(--gradient-1);
  color: white;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(58, 12, 163, 0.2);
}
.submit-button:hover {
  letter-spacing: 2px;
  filter: brightness(1.1);
}

/* Floating Elements */
.floating-particle {
  position: fixed;
  z-index: -1;
  opacity: 0.2;
  font-size: 1.5rem;
  animation: floatAnim 10s infinite linear;
}

@keyframes floatAnim {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* Loading Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  .main-title { font-size: 2.5rem; }
  .form-card { padding: 2rem 1.5rem; }
}