:root{

  --bg:#fff;
  --card:#12192b;

  --border:rgba(255,255,255,.08);

  --text:#ffffff;
  --muted:#98a3bd;

  --accent:#ff7a3d;
  --accent2:#7b61ff;

  --blue:#3b82f6;

  --transition:.35s ease;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{

  background:#fff;

  color:var(--text);

  font-family:'DM Sans',sans-serif;

  overflow-x:hidden;
}

/* SIDEBAR */
/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(160deg, #141428 0%, #1c1c35 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: transform var(--transition);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-icon {
  font-size: 24px;
  color: var(--accent);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.5px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #8a9bc0;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-nav li a i {
  width: 18px;
  text-align: center;
  font-size: 15px;
}

.sidebar-nav li a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  transform: translateX(4px);
}

.sidebar-nav li a:active {
  transform: translateX(2px) scale(0.98);
}

.sidebar-nav li.active a {
  background: linear-gradient(90deg, rgba(235,104,53,0.2) 0%, rgba(235,104,53,0.05) 100%);
  color: var(--accent);
  border-left: 3px solid var(--accent);
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 16px;
}

.sidebar-footer a {
  color: #6a7a94;
  font-size: 16px;
  transition: color var(--transition);
}

.sidebar-footer a:hover {
  color: var(--accent);
}

/* Sidebar backdrop (mobile) */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  backdrop-filter: blur(2px);
}

.sidebar-backdrop.visible {
  display: block;
}
/* NAVBAR */

.navbar{

  position:fixed;

  top:0;
  left:240px;
  right:0;

  height:82px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 30px;

  background:
    rgba(5,8,22,.82);

  backdrop-filter:blur(18px);

  border-bottom:
    1px solid var(--border);

  z-index:999;
}

.search-bar{

  width:420px;

  display:flex;
  align-items:center;

  gap:12px;

  padding:14px 18px;

  border-radius:999px;

  background:
    rgba(255,255,255,.05);

  border:
    1px solid var(--border);
}

.search-bar input{

  width:100%;

  border:none;
  outline:none;

  background:none;

  color:white;
}

.nav-actions{

  display:flex;
  gap:14px;
}

.outline-btn,
.primary-btn{

  border:none;

  padding:14px 20px;

  border-radius:18px;

  cursor:pointer;

  font-weight:700;
}

.outline-btn{

  background:
    rgba(255,255,255,.06);

  color:white;
}

.primary-btn{

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  color:white;
}

/* MAIN */

.main-home{

  margin-left:240px;

  padding:120px 40px 60px;
}

/* HERO */

.hero-section{

  text-align:center;

  margin-bottom:70px;
}

.hero-badge{

  display:inline-flex;

  padding:12px 18px;

  border-radius:999px;

  background:
    rgba(255,255,255,.06);

  border:
    1px solid var(--border);

  margin-bottom:24px;
}

.hero-section h1{

  font-size:
    clamp(58px,8vw,110px);

  line-height:1;

  margin-bottom:20px;

  font-family:'Syne',sans-serif;
}

.hero-section h1 span{

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  -webkit-background-clip:text;

  -webkit-text-fill-color:transparent;
}

.hero-section p{

  color:var(--muted);

  max-width:760px;

  margin:auto;

  line-height:1.8;

  font-size:18px;
}

/* GRID */

.popover-grid{

  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

  gap:28px;
}

/* CARD */

.popover-card{

  background:
    linear-gradient(
      145deg,
      #12192b,
      #172038
    );

  border:
    1px solid var(--border);

  border-radius:32px;

  padding:30px;

  transition:var(--transition);
}

.popover-card:hover{

  transform:translateY(-8px);
}

.card-top{

  display:flex;
  justify-content:space-between;
  align-items:center;

  margin-bottom:26px;
}

.card-label{

  padding:10px 16px;

  border-radius:999px;

  background:
    rgba(255,255,255,.06);

  font-size:12px;

  color:#d8def7;
}

.card-icon{

  width:64px;
  height:64px;

  border-radius:20px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:24px;
}

.purple{
  background:linear-gradient(135deg,#7b61ff,#b794ff);
}

.orange{
  background:linear-gradient(135deg,#ff7a3d,#ffb86b);
}

.blue{
  background:linear-gradient(135deg,#3b82f6,#38bdf8);
}

.popover-card h2{

  font-size:38px;

  margin-bottom:18px;

  font-family:'Syne',sans-serif;
}

.popover-card p{

  color:var(--muted);

  line-height:1.8;

  margin-bottom:28px;
}

/* DEMO */

.popover-demo{

  position:relative;

  display:flex;
  justify-content:center;
  align-items:center;

  min-height:260px;
}

.popover-btn{

  border:none;

  padding:18px 26px;

  border-radius:18px;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  color:white;

  font-weight:700;

  cursor:pointer;
}

/* POPOVER */

.popover-box{

  position:absolute;

  top:90px;

  width:280px;

  background:
    rgba(18,25,43,.95);

  backdrop-filter:blur(18px);

  border:
    1px solid rgba(255,255,255,.08);

  border-radius:28px;

  padding:24px;

  text-align:center;

  opacity:0;
  visibility:hidden;

  transform:
    translateY(10px)
    scale(.95);

  transition:var(--transition);
}

.popover-demo:hover .popover-box{

  opacity:1;
  visibility:visible;

  transform:
    translateY(0)
    scale(1);
}

/* PROFILE */

.popover-box img{

  width:90px;
  height:90px;

  border-radius:50%;

  margin-bottom:18px;
}

.popover-box h3{

  font-size:28px;

  margin-bottom:8px;

  font-family:'Syne',sans-serif;
}

.popover-box span{

  color:var(--muted);
}

.popover-actions{

  display:flex;

  gap:12px;

  margin-top:24px;
}

.popover-actions button{

  flex:1;

  border:none;

  padding:14px;

  border-radius:16px;

  cursor:pointer;

  font-weight:700;
}

.popover-actions button:first-child{

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  color:white;
}

.popover-actions button:last-child{

  background:
    rgba(255,255,255,.06);

  color:white;
}

/* ACTIONS */

.action-box{

  text-align:left;
}

.action-item{

  display:flex;
  align-items:center;

  gap:14px;

  padding:16px;

  border-radius:18px;

  transition:var(--transition);

  cursor:pointer;
}

.action-item:hover{

  background:
    rgba(255,255,255,.05);
}

/* NOTIFICATIONS */

.notification-box{

  text-align:left;
}

.notification-item{

  display:flex;

  gap:14px;

  padding:14px;

  border-radius:18px;

  margin-bottom:14px;

  background:
    rgba(255,255,255,.03);
}

.notify-dot{

  width:12px;
  height:12px;

  border-radius:50%;

  background:#ff7a3d;

  margin-top:6px;
}

.purple-dot{
  background:#7b61ff;
}

.notification-item span{

  display:block;

  margin-top:6px;

  font-size:13px;
}
/* =========================================================
NEW ICON COLORS
========================================================= */

.cyan{
  background:linear-gradient(135deg,#06b6d4,#3b82f6);
}

.pink{
  background:linear-gradient(135deg,#ec4899,#f43f5e);
}

.green{
  background:linear-gradient(135deg,#22c55e,#16a34a);
}

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

/* =========================================================
TOOLTIP
========================================================= */

.tooltip-demo{
  position:relative;
}

.tooltip-box{
  position:absolute;
  bottom:70px;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  width:220px;

  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(16px);

  border:1px solid rgba(255,255,255,0.4);

  border-radius:20px;

  padding:18px;

  opacity:0;
  visibility:hidden;

  transition:0.35s ease;

  box-shadow:
  0 20px 40px rgba(0,0,0,0.08);
}

.tooltip-demo:hover .tooltip-box{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

.tooltip-box strong{
  display:block;
  color:#111827;
  margin-bottom:6px;
}

.tooltip-box span{
  color:#6b7280;
  font-size:14px;
}

/* =========================================================
TEAM BOX
========================================================= */

.team-box{
  width:300px;
}

.team-user{
  display:flex;
  align-items:center;
  gap:14px;

  padding:12px 0;
}

.team-user img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
}

.team-user strong{
  display:block;
  color:#111827;
}

.team-user span{
  font-size:13px;
  color:#6b7280;
}

.online-dot{
  margin-left:auto;

  width:12px;
  height:12px;

  border-radius:50%;

  background:#22c55e;

  box-shadow:
  0 0 0 4px rgba(34,197,94,0.15);
}

.green{
  background:#10b981;
}

/* =========================================================
STATS BOX
========================================================= */

.stats-box{
  width:280px;
}

.stat-row{
  display:flex;
  justify-content:space-between;
  align-items:center;

  margin-bottom:14px;
}

.stat-row span{
  color:#6b7280;
}

.stat-row strong{
  color:#111827;
}

.green-text{
  color:#22c55e;
}

.progress-line{
  width:100%;
  height:10px;

  background:#e5e7eb;

  border-radius:999px;

  overflow:hidden;

  margin-bottom:20px;
}

.progress-fill{
  width:72%;
  height:100%;

  background:linear-gradient(
    90deg,
    #8b5cf6,
    #3b82f6
  );

  border-radius:999px;
}

/* =========================================================
MUSIC PLAYER
========================================================= */

.music-box{
  width:280px;
}

.music-box img{
  width:100%;
  height:140px;

  object-fit:cover;

  border-radius:18px;

  margin-bottom:16px;
}

.music-info{
  margin-bottom:18px;
}

.music-info strong{
  display:block;
  color:#111827;
  margin-bottom:6px;
}

.music-info span{
  color:#6b7280;
  font-size:14px;
}

.music-controls{
  display:flex;
  justify-content:center;
  gap:24px;

  font-size:18px;
  color:#111827;
}

.music-controls i{
  width:44px;
  height:44px;

  border-radius:50%;

  background:#f3f4f6;

  display:flex;
  justify-content:center;
  align-items:center;

  cursor:pointer;

  transition:0.3s;
}

.music-controls i:hover{
  transform:translateY(-4px);
  background:#8b5cf6;
  color:white;
}
/* RESPONSIVE */

@media(max-width:900px){

  .sidebar{
    display:none;
  }

  .navbar,
  .main-home{

    margin-left:0;

    left:0;
  }

}

@media(max-width:768px){

  .navbar{

    flex-direction:column;

    height:auto;

    padding:18px;

    gap:16px;
  }

  .search-bar{
    width:100%;
  }

  .main-home{
    padding:160px 20px 40px;
  }

  .popover-grid{
    grid-template-columns:1fr;
  }

}

.footer {
  background: var(--bg2);
  padding: 20px 0;
  margin-left: 250px; /* offset for sidebar */
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  padding: 56px 48px 40px;
  max-width: 100%;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
/* =====================================================
ROOT

:root {
  --bg: #070b14;
  --bg-light: #0f1727;
  --card: rgba(15, 23, 39, 0.78);
  --border: rgba(255, 255, 255, 0.08);

  --white: #ffffff;
  --text: #c9d2e3;
  --muted: #93a0b8;

  --purple: #8b5cf6;
  --purple-light: #b693ff;

  --orange: #ff8c42;
  --blue: #4da3ff;
  --green: #22c55e;

  --shadow:
    0 20px 60px rgba(0, 0, 0, 0.45);

  --radius: 24px;
}

/* =====================================================
BASE

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left,
      rgba(139, 92, 246, 0.18),
      transparent 30%),
    radial-gradient(circle at bottom right,
      rgba(77, 163, 255, 0.14),
      transparent 30%),
    var(--bg);

  color: var(--white);

  font-family: "DM Sans", sans-serif;

  min-height: 100vh;

  display: flex;

  overflow-x: hidden;
}

/* =====================================================
SCROLLBAR

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0d1320;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--purple),
    var(--blue)
  );

  border-radius: 20px;
}

/* =====================================================
SIDEBAR

.sidebar {
  width: 280px;
  height: 100vh;

  position: fixed;
  left: 0;
  top: 0;

  background:
    rgba(10, 15, 25, 0.92);

  backdrop-filter: blur(18px);

  border-right: 1px solid var(--border);

  padding: 26px 18px;

  z-index: 1000;

  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 40px;
}

.brand-icon {
  width: 44px;
  height: 44px;

  border-radius: 14px;

  display: grid;
  place-items: center;

  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--blue)
    );

  font-size: 1.2rem;

  box-shadow:
    0 10px 25px rgba(139, 92, 246, 0.4);
}

.brand-text {
  font-size: 1.5rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.sidebar-nav ul {
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  position: relative;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--accent);  
  transform: translateX(6px);
}

.footer-col ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 10px;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

/* Social icons fix */
.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 16px;
  text-decoration: none;
  transition: all var(--transition);
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: #d45c28;
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 20px 48px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}
.sidebar-nav a {
  text-decoration: none;
  color: var(--text);

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 16px;

  border-radius: 16px;

  transition: 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav .active a {
  background:
    linear-gradient(
      90deg,
      rgba(139, 92, 246, 0.18),
      rgba(77, 163, 255, 0.12)
    );

  color: var(--white);

  transform: translateX(5px);
}

.sidebar-nav i {
  width: 18px;
}

.sidebar-footer {
  margin-top: 40px;
}

.footer-card {
  padding: 22px;

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03)
    );

  border: 1px solid var(--border);
}

.footer-card h4 {
  margin: 10px 0;
}

.footer-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-card button {
  margin-top: 18px;

  width: 100%;

  border: none;
  outline: none;

  padding: 12px;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--blue)
    );

  color: white;
  font-weight: 700;

  cursor: pointer;
}

.mini-badge {
  display: inline-flex;

  background:
    rgba(139, 92, 246, 0.18);

  color: var(--purple-light);

  padding: 6px 10px;

  border-radius: 999px;

  font-size: 0.75rem;
  font-weight: 700;
}

/* =====================================================
MOBILE

.mobile-toggle {
  position: fixed;
  top: 18px;
  left: 18px;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.08);

  color: white;

  backdrop-filter: blur(10px);

  z-index: 1400;

  display: none;

  cursor: pointer;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;

  background:
    rgba(0, 0, 0, 0.6);

  backdrop-filter: blur(3px);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;

  z-index: 900;
}

.sidebar-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* =====================================================
MAIN

.main-home {
  margin-left: 280px;

  width: calc(100% - 280px);

  min-height: 100vh;

  padding: 32px;

  position: relative;
}

/* =====================================================
NAVBAR

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  margin-bottom: 60px;
}

.search-bar {
  flex: 1;
  max-width: 520px;

  height: 58px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 0 18px;

  background:
    rgba(255, 255, 255, 0.05);

  border: 1px solid var(--border);

  border-radius: 18px;

  backdrop-filter: blur(10px);
}

.search-bar i {
  color: var(--muted);
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;

  color: white;

  width: 100%;
  height: 100%;

  font-size: 1rem;
}

.search-bar input::placeholder {
  color: var(--muted);
}

.nav-actions {
  display: flex;
  gap: 14px;
}

.primary-btn,
.outline-btn,
.ghost-btn {
  border: none;
  outline: none;

  cursor: pointer;

  padding: 14px 20px;

  border-radius: 16px;

  font-weight: 700;

  transition: 0.3s ease;
}

.primary-btn {
  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--blue)
    );

  color: white;

  box-shadow:
    0 12px 28px rgba(139, 92, 246, 0.35);
}

.primary-btn:hover {
  transform: translateY(-2px);
}

.outline-btn {
  background: transparent;

  border: 1px solid var(--border);

  color: white;
}

.outline-btn:hover {
  background:
    rgba(255, 255, 255, 0.08);
}

.ghost-btn {
  background:
    rgba(255, 255, 255, 0.05);

  color: white;
}

/* =====================================================
HERO

.hero-section {
  position: relative;
  z-index: 2;

  max-width: 900px;

  margin-bottom: 70px;
}

.hero-badge {
  display: inline-flex;

  padding: 10px 18px;

  border-radius: 999px;

  background:
    rgba(139, 92, 246, 0.16);

  color: var(--purple-light);

  font-weight: 700;

  margin-bottom: 24px;
}

.hero-section h1 {
  font-family: "Syne", sans-serif;

  font-size: clamp(3rem, 8vw, 5.5rem);

  line-height: 1.05;

  margin-bottom: 24px;
}

.hero-section h1 span {
  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--blue)
    );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section p {
  max-width: 700px;

  color: var(--text);

  line-height: 1.8;

  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;

  margin-top: 36px;
}

.large-btn {
  padding: 16px 24px;
}

.hero-stats {
  display: flex;
  gap: 20px;

  margin-top: 50px;

  flex-wrap: wrap;
}

.stat-box {
  min-width: 180px;

  padding: 24px;

  border-radius: 22px;

  background:
    rgba(255, 255, 255, 0.05);

  border: 1px solid var(--border);

  backdrop-filter: blur(14px);
}

.stat-box strong {
  display: block;

  font-size: 1.8rem;

  margin-bottom: 8px;
}

/* =====================================================
GRID

.popover-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

  gap: 30px;

  position: relative;
  z-index: 2;
}

/* =====================================================
CARD

.popover-card {
  position: relative;

  overflow: hidden;

  padding: 30px;

  border-radius: var(--radius);

  background: var(--card);

  border: 1px solid var(--border);

  backdrop-filter: blur(18px);

  box-shadow: var(--shadow);

  transition: 0.35s ease;
}

.popover-card:hover {
  transform:
    translateY(-10px);
}

.card-glow {
  position: absolute;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  top: -60px;
  right: -60px;

  filter: blur(60px);

  opacity: 0.25;
}

.purple-glow {
  background: var(--purple);
}

.orange-glow {
  background: var(--orange);
}

.blue-glow {
  background: var(--blue);
}

.green-glow {
  background: var(--green);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 24px;
}

.card-label {
  font-size: 0.82rem;
  font-weight: 700;

  color: var(--muted);

  letter-spacing: 1px;
}

.card-icon {
  width: 52px;
  height: 52px;

  border-radius: 18px;

  display: grid;
  place-items: center;

  font-size: 1.2rem;

  color: white;
}

.card-icon.purple {
  background:
    linear-gradient(
      135deg,
      #8b5cf6,
      #6d28d9
    );
}

.card-icon.orange {
  background:
    linear-gradient(
      135deg,
      #ff8c42,
      #ff5e00
    );
}

.card-icon.blue {
  background:
    linear-gradient(
      135deg,
      #4da3ff,
      #2563eb
    );
}

.card-icon.green {
  background:
    linear-gradient(
      135deg,
      #22c55e,
      #15803d
    );
}

.popover-card h2 {
  font-size: 1.6rem;

  margin-bottom: 14px;
}

.popover-card p {
  color: var(--text);

  line-height: 1.7;

  margin-bottom: 32px;
}

/* =====================================================
POPOVER

.popover-demo {
  position: relative;
}

.popover-btn {
  width: 100%;

  border: none;
  outline: none;

  cursor: pointer;

  padding: 16px;

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.08);

  color: white;

  font-weight: 700;

  transition: 0.3s ease;
}

.popover-btn:hover {
  background:
    rgba(255, 255, 255, 0.12);
}

.popover-box {
  position: absolute;

  left: 50%;
  top: calc(100% + 18px);

  transform:
    translateX(-50%)
    translateY(10px);

  width: 280px;

  padding: 24px;

  border-radius: 24px;

  background:
    rgba(12, 18, 30, 0.95);

  border: 1px solid var(--border);

  backdrop-filter: blur(22px);

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5);

  opacity: 0;
  visibility: hidden;

  transition: 0.35s ease;

  z-index: 20;
}

.popover-demo:hover .popover-box {
  opacity: 1;
  visibility: visible;

  transform:
    translateX(-50%)
    translateY(0);
}

/* =====================================================
PROFILE BOX

.popover-box img {
  width: 90px;
  height: 90px;

  border-radius: 50%;

  object-fit: cover;

  border: 3px solid rgba(255, 255, 255, 0.08);

  margin-bottom: 18px;
}

.online-dot {
  position: absolute;

  right: 26px;
  top: 26px;

  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 14px var(--green);
}

.popover-box h3 {
  margin-bottom: 6px;
}

.popover-box span {
  color: var(--muted);
}

.popover-tags {
  display: flex;
  gap: 10px;

  flex-wrap: wrap;

  margin: 18px 0 20px;
}

.popover-tags span {
  padding: 8px 12px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.06);

  font-size: 0.82rem;
}

.popover-actions {
  display: flex;
  gap: 12px;

  margin-top: 10px;
}

.popover-actions button {
  flex: 1;

  border: none;

  padding: 12px;

  border-radius: 14px;

  cursor: pointer;

  font-weight: 700;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--blue)
    );
}

/* =====================================================
ACTIONS

.action-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px;

  border-radius: 16px;

  transition: 0.3s ease;

  cursor: pointer;
}

.action-item:hover {
  background:
    rgba(255, 255, 255, 0.06);
}

.action-icon {
  width: 42px;
  height: 42px;

  border-radius: 14px;

  display: grid;
  place-items: center;

  background:
    rgba(255, 255, 255, 0.06);
}

/* =====================================================
NOTIFICATIONS

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 20px;
}

.notification-header span {
  color: var(--purple-light);
  font-size: 0.85rem;
}

.notification-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notification-item {
  display: flex;
  gap: 14px;
}

.notify-dot {
  width: 12px;
  height: 12px;

  border-radius: 50%;

  background: var(--blue);

  margin-top: 6px;
}

.purple-dot {
  background: var(--purple);
}

.green-dot {
  background: var(--green);
}

.notification-item strong {
  display: block;

  margin-bottom: 4px;
}

/* =====================================================
ANALYTICS

.analytics-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 22px;
}

.growth {
  color: var(--green);
  font-weight: 700;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;

  height: 120px;

  margin-bottom: 24px;
}

.chart-bars span {
  flex: 1;

  border-radius: 18px 18px 8px 8px;

  background:
    linear-gradient(
      180deg,
      var(--green),
      rgba(34, 197, 94, 0.2)
    );

  animation:
    bars 2s infinite alternate;
}

.chart-bars span:nth-child(1) {
  height: 50%;
}

.chart-bars span:nth-child(2) {
  height: 90%;
}

.chart-bars span:nth-child(3) {
  height: 65%;
}

.chart-bars span:nth-child(4) {
  height: 100%;
}

.chart-bars span:nth-child(5) {
  height: 78%;
}

.analytics-stats {
  display: flex;
  justify-content: space-between;
}

.analytics-stats strong {
  display: block;

  margin-bottom: 4px;
}

/* =====================================================
BACKGROUND ORBS

.bg-orb {
  position: absolute;

  border-radius: 50%;

  filter: blur(100px);

  opacity: 0.16;

  pointer-events: none;
}

.orb-1 {
  width: 320px;
  height: 320px;

  background: var(--purple);

  top: 100px;
  right: 10%;
}

.orb-2 {
  width: 280px;
  height: 280px;

  background: var(--blue);

  bottom: 100px;
  left: 10%;
}

/* =====================================================
ANIMATION

@keyframes bars {
  from {
    transform: scaleY(0.92);
  }

  to {
    transform: scaleY(1);
  }
}

/* =====================================================
RESPONSIVE

@media (max-width: 1100px) {

  .sidebar {
    transform: translateX(-100%);
    transition: 0.35s ease;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: block;
  }

  .main-home {
    margin-left: 0;
    width: 100%;
    padding-top: 90px;
  }

  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {

  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
  }

  .popover-box {
    width: 100%;
    left: 0;

    transform:
      translateX(0)
      translateY(10px);
  }

  .popover-demo:hover .popover-box {
    transform:
      translateX(0)
      translateY(0);
  }
}
