:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #eef2ff;
  --secondary: #ff6b6b;
  --dark: #1e293b;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --lighter-bg: #f8fafc;
  --white: #ffffff;
  --success: #10b981;
  --shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 16px;
  --border-radius-sm: 12px;
}

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

html, body {
  height: 100%;
  font-family: 'Inter', 'Poppins', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.page {
  display: flex;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.left {
  width: 45%;
  padding: 48px 64px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
}

/* .left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
} */

.right {
  width: 55%;
  background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.right::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: pulse 15s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
  50% { transform: translate(0%, 0%) rotate(5deg); }
}

.illustration {
  width: 80%;
  max-width: 580px;
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.illustration img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.top-side {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.brand {
  /* font-size: 28px; */
  /* font-weight: 800; */
  /* background: var(--primary); */
  /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px; */
  position: relative;
}

.brand::after {
  /* content: '●';
  font-size: 12px;
  color: var(--secondary); */
  margin-left: 4px;
  /* -webkit-text-fill-color: var(--secondary); */
}

.device-btn {
  position: relative;
}

.device-btn a {
  text-decoration: none;
}

.device-btn .btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.device-btn .btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(67, 97, 238, 0.3);
}

h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
  letter-spacing: -1px;
}

h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

p.lead {
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.form {
  width: 100%;
  max-width: 400px;
}

.field {
  margin-bottom: 20px;
  position: relative;
}

.field .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin-bottom: 6px;
  display: block;
}

.input-field {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: all 0.3s ease;
  background: var(--lighter-bg);
  color: var(--dark);
  font-weight: 500;
}

.input-field:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.input-field::placeholder {
  color: #a0aec0;
  font-weight: 400;
  font-size: 15px;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  font-size: 14px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  cursor: pointer;
}

.options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--light-gray);
  cursor: pointer;
  accent-color: var(--primary);
}

.options a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.options a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.btn {
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  flex: 1;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(67, 97, 238, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(67, 97, 238, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--primary-light);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-outline:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer {
  margin-top: auto;
  padding-top: 60px;
  display: flex;
  justify-content: center;
}

.copyright {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray);
  font-weight: 500;
  font-size: 14px;
}

.copyright .circ {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #e0e7ff);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.copyright:hover .circ {
  transform: rotate(360deg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.alert {
  background: #fee2e2;
  color: #dc2626;
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  /* border-left: 4px solid #dc2626; */
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .left {
    padding: 40px;
  }
  
  h1 {
    font-size: 36px;
  }
}

@media (max-width: 850px) {
  .page {
    flex-direction: column;
  }
  
  .left, .right {
    width: 100%;
  }
  
  .right {
    min-height: 300px;
    display: flex;
  }
  
  .left {
    padding: 40px 24px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  .buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
  }
  
  .brand {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  .left {
    padding: 30px 20px;
  }
}