/* ==============================
   GLOBAL RESET & BASE THEME
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "SF Pro Display", "Poppins", sans-serif;
}

html, body {
  height: 100%;
  background: radial-gradient(circle at top left, #1b1f3b, #0b0f1a);
  color: rgba(255,255,255,0.85);
  overflow-x: hidden;
}

/* ==============================
   FUTURISTIC BACKGROUND SHAPES
================================ */
.bg-orb {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  z-index: -1;
}

.orb-1 {
  background: #b388ff;
  top: -100px;
  left: -100px;
}

.orb-2 {
  background: #6ee7f9;
  bottom: -150px;
  right: -150px;
}

.orb-3 {
  background: #ffb3d9;
  top: 40%;
  left: 60%;
}

/* ==============================
   GLASS CONTAINER BASE
================================ */
.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    inset 0 1px 1px rgba(255,255,255,0.25);
  padding: 20px;
  transition: all 0.3s ease;
}

.glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* ==============================
   FLOATING CARDS
================================ */
.card {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.16),
    rgba(255,255,255,0.03)
  );
  backdrop-filter: blur(30px);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 22px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  position: relative;
}

/* Inner highlight */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.15),
    transparent
  );
  pointer-events: none;
}

/* ==============================
   BUTTONS & TABS
================================ */
.btn-glass {
  padding: 12px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.2);
  transition: all 0.25s ease;
}

.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  box-shadow: 0 0 18px rgba(173,216,255,0.4);
  transform: translateY(-2px);
}

/* ==============================
   NAVIGATION ICON CONTAINERS
================================ */
.nav-glass {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ==============================
   CREDIT CARD WIDGET
================================ */
.credit-card {
  background: linear-gradient(
    135deg,
    rgba(179,136,255,0.25),
    rgba(110,231,249,0.15),
    rgba(255,179,217,0.18)
  );
  backdrop-filter: blur(30px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  color: white;
}

/* ==============================
   ANALYTICS GLASS PANEL
================================ */
.analytics-panel {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(26px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ==============================
   TYPOGRAPHY
================================ */
h1, h2, h3 {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  letter-spacing: -0.5px;
}

p, span, small {
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* ==============================
   INPUTS (GLASS FORM)
================================ */
.input-glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 12px 16px;
  color: white;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

/* ==============================
   FLOATING PARTICLES
================================ */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  filter: blur(2px);
  animation: float 10s linear infinite;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-800px); }
}

/* ==============================
   DARK MODE VARIANT
================================ */
.dark-mode {
  background: radial-gradient(circle at bottom, #05070f, #02040a);
}

.dark-mode .glass,
.dark-mode .card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.dark-mode .btn-glass {
  box-shadow: 0 0 22px rgba(0,255,255,0.35);
}

/* ==============================
   MOBILE APP LAYOUT UTILITY
================================ */
.container {
  padding: 18px;
  display: grid;
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ==============================
   GLOW ACCENTS
================================ */
.glow {
  box-shadow: 0 0 30px rgba(173,216,255,0.45);
}

.glow-purple {
  box-shadow: 0 0 35px rgba(179,136,255,0.55);
}
