/* Shared styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #7b46f5 0%, #5e35b1 100%);
    color: white;
}

.btn-secondary {
    background: white;
    color: #7b46f5;
    border: 2px solid #7b46f5;
}

.feature-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.vanta-bg {
    z-index: 0;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
    }
}

/* === Auth pages (login/register) — add to style.css === */
.glass {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(17,24,39,.15);
}

.auth-input {
  width: 100%;
  border: 1px solid #e5e7eb; /* gray-200 */
  background: #ffffff;
  border-radius: 0.75rem;     /* rounded-xl */
  padding: 0.75rem 1rem;      /* py-3 px-4 */
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.auth-input:focus {
  border-color: #7b46f5;
  box-shadow: 0 0 0 3px rgba(123,70,245,.2); /* focus:ring-purple-500 */
}

.auth-card-title { color: #111827; /* gray-900 */ }
.auth-card-sub   { color: #4b5563; /* gray-600 */ }

.auth-link {
  color: #7b46f5;
  font-weight: 600;
  text-decoration: none;
}
.auth-link:hover { text-decoration: underline; }

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  color: #333;
  transition: color 0.3s;
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

.custom-checkbox .checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid #333;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
  transform-style: preserve-3d;
}

.custom-checkbox .checkmark::before {
  content: "\2713";
  font-size: 16px;
  color: transparent;
  transition: color 0.3s, transform 0.3s;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #333;
  border-color: #333;
  transform: scale(1.1) rotateZ(360deg) rotateY(360deg);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark::before {
  color: #fff;
}

.custom-checkbox:hover {
  color: #666;
}

.custom-checkbox:hover .checkmark {
  border-color: #666;
  background-color: #f0f0f0;
  transform: scale(1.05);
}

.custom-checkbox input[type="checkbox"]:focus + .checkmark {
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.2);
  outline: none;
}

.custom-checkbox .checkmark,
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  transition: background-color 1.3s, border-color 1.3s, color 1.3s, transform 0.3s;
}
