@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #6366f1;
  --brand-dark: #4338ca;
  --brand-light: #a5b4fc;
  --surface: rgba(255, 255, 255, 0.82);
  --shadow: 0 25px 60px -30px rgba(99, 102, 241, 0.55);
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(120% 120% at 100% 0%, rgba(99,102,241,0.2) 0%, rgba(255,255,255,0) 50%),
              radial-gradient(140% 150% at 0% 100%, rgba(99,102,241,0.25) 0%, rgba(255,255,255,0) 55%),
              #f8fafc;
  color: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(99,102,241,0.12), rgba(56,189,248,0.08));
  z-index: 0;
  pointer-events: none;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

.navbar {
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  margin-top: 1.5rem;
  box-shadow: 0 15px 45px -30px rgba(15, 23, 42, 0.35);
}

.navbar .navbar-brand img {
  filter: drop-shadow(0 10px 14px rgba(99,102,241,0.25));
}

.navbar .nav-link {
  font-weight: 500;
  color: #334155 !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--brand) !important;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #14b8a6);
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  box-shadow: 0 15px 30px -15px rgba(20, 184, 166, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 45px -18px rgba(99, 102, 241, 0.6);
}

.btn-outline-primary {
  border-radius: 999px;
  border-width: 2px;
  font-weight: 600;
  color: var(--brand);
  border-color: var(--brand-light);
  transition: all 0.2s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(99,102,241,0.12);
  border-color: var(--brand);
}

.btn-outline-secondary {
  border-radius: 999px;
  border-width: 2px;
  transition: all 0.2s ease;
}

.glass-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -40px rgba(15, 23, 42, 0.65);
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-img {
  border-radius: 28px;
  box-shadow: 0 45px 100px -60px rgba(15, 23, 42, 0.55);
  animation: float 6s ease-in-out infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-weight: 500;
  color: #1f2937;
  box-shadow: 0 10px 30px -20px rgba(99, 102, 241, 0.6);
}

.card-header {
  border: none;
  background: transparent;
  font-weight: 600;
}

.card {
  border-radius: var(--radius-xl);
  border: none;
}

.list-group-item {
  border: none;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.alert {
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow);
}

.form-control,
.form-select,
textarea.form-control {
  border-radius: var(--radius-xl);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.15);
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.upload-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.65);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.upload-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -40px rgba(99, 102, 241, 0.55);
}

.upload-card .file-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--brand), #22d3ee);
  margin-bottom: 0.75rem;
  box-shadow: 0 12px 30px -18px rgba(34, 211, 238, 0.6);
}

.upload-card .file-name {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
  word-break: break-word;
}

.upload-card .file-meta {
  color: #64748b;
  font-size: 0.85rem;
}

.upload-card .btn {
  margin-top: 0.75rem;
}

.upload-card.missing {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(254, 242, 242, 0.85);
}

.upload-card.missing .file-icon {
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 12px 30px -18px rgba(239, 68, 68, 0.6);
}

.dropzone {
  position: relative;
  border: 2px dashed rgba(99,102,241,0.35);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  text-align: center;
  background: rgba(255,255,255,0.85);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone:hover,
.dropzone:focus-within {
  border-color: var(--brand);
  background: rgba(255,255,255,0.95);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone .icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(56,189,248,0.25));
}

.dropzone strong {
  color: var(--brand);
}

.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75rem;
}

.table-modern tbody tr {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 40px -35px rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  overflow: hidden;
}

.table-modern tbody tr td,
.table-modern thead tr th {
  padding: 1rem 1.5rem;
  border: none;
}

.table-modern thead tr th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #475569;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(99,102,241,0.15);
  color: var(--brand);
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(99,102,241,0));
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.05rem;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(99,102,241,0.18);
}

.footer {
  position: relative;
  margin-top: 4rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(145deg, #0f172a 0%, #312e81 45%, #0ea5e9 100%);
  color: rgba(226, 232, 240, 0.92);
  overflow: hidden;
}

.footer::before,
.footer::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.footer::before {
  top: -90px;
  right: -60px;
  background: rgba(14, 165, 233, 0.75);
}

.footer::after {
  bottom: -120px;
  left: -80px;
  background: rgba(139, 92, 246, 0.65);
}

.footer a {
  color: #e0f2fe;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #fff;
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.15s;
}

.fade-up.delay-2 {
  animation-delay: 0.3s;
}

.fade-up.delay-3 {
  animation-delay: 0.45s;
}

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

@keyframes fadeUp {
  0% {
    transform: translateY(18px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .navbar {
    margin-top: 0.5rem;
    border-radius: 16px;
  }

  .hero-img {
    margin-top: 2rem;
  }

  .upload-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  filter: drop-shadow(0 12px 22px rgba(14, 116, 144, 0.45));
}

.footer-text {
  font-size: 0.925rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.82);
  margin: 0;
}

.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 0.95);
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.925rem;
  color: rgba(226, 232, 240, 0.82);
}

.footer-contact li + li {
  margin-top: 0.7rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.payment-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #fff;
  box-shadow: 0 18px 35px -25px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.payment-card.visa {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.payment-card.mastercard {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.payment-card.paypal {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.payment-card.amex {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.payment-card.discover {
  background: linear-gradient(135deg, #facc15, #f97316);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

@media (max-width: 575px) {
  .payment-card {
    min-width: 100%;
    justify-content: flex-start;
  }
}
