/* ============================================================
   landing.css  �  DataVix   |  Extended Styles
   ============================================================ */

/* ���� Modal �������������������������������������������������������������������������������������������������������� */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(16px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }

.modal-box {
  background: linear-gradient(145deg, #0f172a, #020617);
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 460px;
  position: relative;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform:translateY(40px); opacity:0 } to { transform:translateY(0); opacity:1 } }

.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: transparent; border: none;
  color: #64748b; font-size: 20px; cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: white; }

.modal-header { margin-bottom: 24px; }
.modal-header h2 { font-size: 22px; margin-bottom: 4px; }
.modal-header p { color: #94a3b8; font-size: 13px; }

.form-group {
  margin-bottom: 16px;
  position: relative;
}
.form-group label {
  display: block; font-size: 12px;
  color: #94a3b8; margin-bottom: 6px; font-weight: 500;
}
.form-group input {
  width: 100%; padding: 11px 14px;
  background: #0f172a; border: 1px solid #1e293b;
  border-radius: 8px; color: white; font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s;
}
.form-group input:focus {
  outline: none; border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.1);
}
.form-group input.error { border-color: #ef4444; }
.field-error { font-size: 11px; color: #ef4444; margin-top: 4px; display: block; }

.pwd-group input { padding-right: 42px; }
.pwd-toggle {
  position: absolute; right: 12px; top: 32px;
  background: none; border: none; cursor: pointer; font-size: 16px;
}

.form-error {
  background: rgba(239,68,68,0.1); border: 1px solid #ef4444;
  border-radius: 8px; padding: 10px 14px;
  color: #fca5a5; font-size: 13px; margin-bottom: 14px;
}

.modal-submit-btn {
  width: 100%;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
  border: none; padding: 13px; border-radius: 10px;
  color: white; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
  font-family: 'Poppins', sans-serif;
}
.modal-submit-btn:hover { opacity: 0.9; }
.modal-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.modal-footer-note {
  text-align: center; font-size: 12px;
  color: #64748b; margin-top: 14px;
}
.modal-footer-note a { color: #38bdf8; text-decoration: none; }

/* ���� Navbar Logo as link ������������������������������������������������������������������������������ */
.navbar .logo {
  text-decoration: none;
  color: #60a5fa;
  font-size: 20px;
  font-weight: 600;
}

/* ���� Footer ������������������������������������������������������������������������������������������������������ */
.footer {
  background: rgba(15,23,42,0.8);
  border-top: 1px solid #1e293b;
  padding: 60px 20px 20px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1100px; margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand h3 { color: #60a5fa; margin-bottom: 10px; }
.footer-brand p { color: #64748b; font-size: 13px; line-height: 1.6; }
.footer-links h4 { color: white; margin-bottom: 14px; font-size: 13px; }
.footer-links a, .footer-enroll {
  display: block; color: #64748b; font-size: 13px;
  text-decoration: none; margin-bottom: 8px;
  background: none; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; padding: 0;
  text-align: left;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-enroll:hover { color: #38bdf8; }
.footer-bottom {
  max-width: 1100px; margin: 40px auto 0;
  padding-top: 20px; border-top: 1px solid #1e293b;
  text-align: center; color: #334155; font-size: 12px;
}
@media(max-width:768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media(max-width:480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ���� Certificate Preview ������������������������������������������������������������������������������ */
.cert-preview {
  background: linear-gradient(135deg, #0f172a, #020617);
  border: 2px solid #38bdf8;
  border-radius: 16px;
  max-width: 700px; margin: 30px auto 0;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(56,189,248,0.15);
}
.cert-preview::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 10px; pointer-events: none;
}
.cert-label {
  font-size: 11px; letter-spacing: 3px;
  color: #38bdf8; margin-bottom: 20px;
}
.cert-issued { color: #64748b; font-size: 14px; margin-bottom: 6px; }
.cert-name {
  font-size: clamp(24px,4vw,36px); font-weight: 700;
  background: linear-gradient(90deg,#38bdf8,#a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.cert-course { color: #94a3b8; font-size: 13px; margin-bottom: 6px; }
.cert-title-text { font-size: 18px; color: white; margin-bottom: 24px; }
.cert-sig { font-size: 12px; color: #38bdf8; letter-spacing: 1px; }

/* ���� Review cards extra ������������������������������������������������������������������������������ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.review-card {
  background: rgba(15,23,42,0.6);
  border: 1px solid #1e293b;
  border-radius: 16px; padding: 24px;
  transition: 0.3s;
}
.review-card:hover { border-color: #38bdf8; transform: translateY(-4px); }
.review-card .stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; }
.review-card p { color: #94a3b8; font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.review-card .user { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(90deg,#38bdf8,#a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.review-card .user-info h4 { font-size: 13px; margin-bottom: 2px; }
.review-card .user-info span { font-size: 11px; color: #38bdf8; }
