/* Top-Tier UI Design System */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary-color: #4f46e5; /* Indigo 600 */
  --primary-hover: #4338ca;
  --secondary-color: #10b981; /* Emerald 500 */
  --dark-color: #111827;
  --light-bg: #f3f4f6;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --text-muted: #6b7280;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-color);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

.text-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

/* Landing Page */
.landing-wrapper {
  overflow-x: hidden;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: -1;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: #e0e7ff;
  animation: moveBlob1 20s infinite alternate;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: #fce7f3;
  animation: moveBlob2 25s infinite alternate;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 400px;
  height: 400px;
  background: #d1fae5;
  animation: moveBlob3 22s infinite alternate;
}

@keyframes moveBlob1 {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(50px, 50px);
  }
}
@keyframes moveBlob2 {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-50px, -50px);
  }
}
@keyframes moveBlob3 {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(30px, -30px);
  }
}

/* Glass Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-anim {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--dark-color);
  font-weight: 600;
}

.btn-white:hover {
  background: #f9fafb;
  color: var(--primary-color);
}

.hover-lift {
  transition: transform 0.2s, box-shadow 0.2s;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg) !important;
}

.hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.2s;
}

/* Login Split Layout */
.login-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.icon-xl {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-floating > .form-control {
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.form-floating > .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Dashboard */
.dashboard-layout {
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  z-index: 100;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background-color: #eef2ff;
}

.nav-link i {
  font-size: 1.25rem;
}

.bg-soft-primary {
  background-color: #eef2ff;
}

.bg-success-subtle {
  background-color: #ecfdf5 !important;
  color: #065f46 !important;
}

.bg-danger-subtle {
  background-color: #fef2f2 !important;
  color: #991b1b !important;
}

/* Cards */
.card {
  transition: all 0.3s ease;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utilities */
.shadow-2xl {
  box-shadow: var(--shadow-2xl);
}

.rounded-4 {
  border-radius: 1rem !important;
}

.rounded-5 {
  border-radius: 1.5rem !important;
}

.blur-xl {
  filter: blur(40px);
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-bg-primary-subtle:hover {
  background-color: #eef2ff !important;
}

/* Mobile Optimizations */
@media (max-width: 992px) {
  .hero-section {
    text-align: center;
    padding-top: 100px;
  }

  .hero-image-container {
    margin-top: 40px;
  }
}
