/* =========================================
   VARIABLES
   ========================================= */

:root {

  --accent: #0878d1;
  --accent-dark: #0561ad;
  --accent-light: #38a9ff;

  --blue-50: #f0f8ff;
  --blue-100: #e5f3ff;
  --blue-200: #cce8ff;

  --bg: #f6f8fc;
  --card: #ffffff;

  --text: #101828;
  --text-light: #344054;
  --muted: #667085;

  --border: #e6ebf2;

  --sidebar-bg: #07111f;
  --sidebar-bg-2: #0d1b2e;

  --sidebar-text: #f8fafc;
  --sidebar-muted: #8291a8;

  --shadow-sm:
    0 4px 15px rgba(15, 23, 42, 0.04);

  --shadow-md:
    0 12px 35px rgba(15, 23, 42, 0.07);

  --shadow-lg:
    0 22px 55px rgba(15, 23, 42, 0.11);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}


/* =========================================
   RESET
   ========================================= */

* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  font-family:
    "Segoe UI",
    Inter,
    Roboto,
    Arial,
    sans-serif;

  background: var(--bg);

  color: var(--text);

  -webkit-font-smoothing: antialiased;
}


img {
  max-width: 100%;
}


a {
  color: inherit;
}


button,
input,
textarea,
select {
  font-family: inherit;
}


/* =========================================
   SIDEBAR
   ========================================= */

.sidebar {

  position: fixed;

  left: 0;
  top: 0;
  bottom: 0;

  width: 285px;

  padding: 24px 16px;

  display: flex;

  flex-direction: column;

  background:

    radial-gradient(
      circle at 15% 5%,
      rgba(11, 121, 208, 0.24),
      transparent 30%
    ),

    radial-gradient(
      circle at 90% 90%,
      rgba(50, 167, 255, 0.08),
      transparent 35%
    ),

    linear-gradient(
      155deg,
      var(--sidebar-bg),
      var(--sidebar-bg-2)
    );

  color: var(--sidebar-text);

  border-right:
    1px solid rgba(255, 255, 255, 0.06);

  box-shadow:
    10px 0 40px rgba(0, 0, 0, 0.07);

  overflow-y: auto;

  z-index: 100;
}


.sidebar::-webkit-scrollbar {
  width: 5px;
}


.sidebar::-webkit-scrollbar-track {
  background: transparent;
}


.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}


/* =========================================
   BRAND
   ========================================= */

.sidebar-brand {
  padding: 4px 4px 28px;
}


.brand-link {

  min-height: 82px;

  display: flex;

  align-items: center;

  gap: 13px;

  padding: 12px;

  color: white;

  text-decoration: none;

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.035)
    );

  border:
    1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}


.brand-link:hover {

  transform: translateY(-2px);

  background:
    rgba(255, 255, 255, 0.09);

  border-color:
    rgba(56, 169, 255, 0.3);
}


/* =========================================
   LOGO
   ========================================= */

.logo-wrapper {

  width: 52px;
  height: 52px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  background: white;

  border-radius: 14px;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15);
}


.logo-img {

  width: 43px;
  height: 43px;

  object-fit: contain;

  display: block;
}


/* =========================================
   BRAND TEXT
   ========================================= */

.brand-text {

  min-width: 0;

  display: flex;

  flex-direction: column;
}


.brand-text strong {

  display: block;

  color: white;

  font-size: 11px;

  font-weight: 750;

  line-height: 1.35;
}


.brand-text span {

  margin-top: 5px;

  color: #8c9bb0;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 0.8px;

  text-transform: uppercase;
}


/* =========================================
   SIDEBAR LABEL
   ========================================= */

.sidebar-section-label {

  padding: 0 10px;

  margin-bottom: 12px;

  color: #63738b;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1.6px;
}


/* =========================================
   MODULE NAVIGATION
   ========================================= */

.module-links {

  display: flex;

  flex-direction: column;

  gap: 6px;
}


.module-link {

  position: relative;

  min-height: 62px;

  display: flex;

  align-items: center;

  padding: 9px 10px;

  color: var(--sidebar-text);

  text-decoration: none;

  border:
    1px solid transparent;

  border-radius: 14px;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}


.module-link:hover {

  transform: translateX(3px);

  background:
    rgba(255, 255, 255, 0.055);

  border-color:
    rgba(255, 255, 255, 0.07);
}


/* ACTIVE */

.module-link.active {

  background:
    linear-gradient(
      135deg,
      rgba(11, 121, 208, 0.28),
      rgba(11, 121, 208, 0.07)
    );

  border-color:
    rgba(56, 169, 255, 0.18);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.12);
}


.module-link.active::before {

  content: "";

  position: absolute;

  left: 0;

  top: 50%;

  width: 3px;

  height: 27px;

  transform: translateY(-50%);

  border-radius: 0 5px 5px 0;

  background:
    linear-gradient(
      180deg,
      var(--accent-light),
      #76c9ff
    );

  box-shadow:
    0 0 12px rgba(50, 167, 255, 0.7);
}


/* =========================================
   MODULE ICON
   ========================================= */

.module-icon {

  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #9aacbf;

  background:
    rgba(255, 255, 255, 0.065);

  border-radius: 11px;

  font-size: 10px;

  font-weight: 800;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}


.module-link:hover .module-icon,
.module-link.active .module-icon {

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-light)
    );

  box-shadow:
    0 6px 16px rgba(11, 121, 208, 0.3);
}


/* =========================================
   MODULE INFO
   ========================================= */

.module-info {

  min-width: 0;

  margin-left: 11px;

  display: flex;

  flex-direction: column;
}


.module-info strong {

  overflow: hidden;

  color: #f8fafc;

  font-size: 12px;

  font-weight: 650;

  line-height: 1.3;

  white-space: nowrap;

  text-overflow: ellipsis;
}


.module-info small {

  margin-top: 4px;

  color: var(--sidebar-muted);

  font-size: 10px;

  white-space: nowrap;
}


.module-link.active .module-info small {
  color: #80b9e5;
}


/* =========================================
   ARROW
   ========================================= */

.module-arrow {

  margin-left: auto;

  color: #52647d;

  font-size: 20px;

  line-height: 1;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}


.module-link:hover .module-arrow,
.module-link.active .module-arrow {

  color: #71c4ff;

  transform: translateX(2px);
}


/* =========================================
   SIDEBAR FOOTER
   ========================================= */

.sidebar-spacer {
  flex: 1;

  min-height: 25px;
}


.sidebar-footer {

  padding: 16px;

  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.03)
    );

  border:
    1px solid rgba(255, 255, 255, 0.075);
}


.progress-header {

  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 10px;

  color: #9eacc0;

  font-size: 10px;
}


.progress-header strong {

  color: white;

  font-size: 11px;
}


.progress-track {

  height: 6px;

  overflow: hidden;

  background:
    rgba(255, 255, 255, 0.08);

  border-radius: 99px;
}


.progress-bar {

  width: 0%;

  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      var(--accent-light)
    );

  border-radius: inherit;

  box-shadow:
    0 0 12px rgba(50, 167, 255, 0.45);
}


.sidebar-footer p {

  margin: 10px 0 0;

  color: #687991;

  font-size: 9px;

  line-height: 1.5;
}


/* =========================================
   PAGE
   ========================================= */

.page {

  min-height: 100vh;

  margin-left: 285px;

  display: flex;

  flex-direction: column;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {

  position: relative;

  min-height: 390px;

  display: flex;

  align-items: center;

  overflow: hidden;

  background-image:
    url("../images/Tag.png");

  background-size: cover;

  background-position: center;

  border-bottom:
    1px solid var(--border);
}


/* DARK OVERLAY */

.header-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(4, 15, 29, 0.94) 0%,
      rgba(4, 15, 29, 0.78) 42%,
      rgba(4, 15, 29, 0.35) 100%
    );
}


/* BLUE LIGHT EFFECT */

.site-header::after {

  content: "";

  position: absolute;

  right: -100px;
  bottom: -150px;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(50, 167, 255, 0.18),
      transparent 65%
    );

  pointer-events: none;
}


/* HEADER CONTENT */

.header-inner {

  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 1100px;

  margin: 0 auto;

  padding: 75px 40px;
}


/* =========================================
   HEADER LABEL
   ========================================= */

.page-label {

  display: inline-flex;

  align-items: center;

  padding: 7px 12px;

  margin-bottom: 16px;

  color: #dff2ff;

  background:
    rgba(11, 121, 208, 0.25);

  border:
    1px solid rgba(104, 194, 255, 0.25);

  border-radius: 999px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1.5px;
}


.page-label::before {

  content: "";

  width: 6px;
  height: 6px;

  margin-right: 7px;

  background: #4db5ff;

  border-radius: 50%;

  box-shadow:
    0 0 10px #4db5ff;
}


/* =========================================
   HEADER TITLE
   ========================================= */

.site-header h1 {

  max-width: 700px;

  margin: 0;

  color: white;

  font-size:
    clamp(2.5rem, 5vw, 4.1rem);

  font-weight: 800;

  line-height: 1;

  letter-spacing: -2px;
}


.site-header p {

  max-width: 650px;

  margin: 20px 0 0;

  color:
    rgba(255, 255, 255, 0.78);

  font-size: 1rem;

  line-height: 1.7;
}


/* =========================================
   HEADER STATS
   ========================================= */

.header-stats {

  display: flex;

  align-items: center;

  gap: 24px;

  margin-top: 35px;
}


.header-stat {

  display: flex;

  flex-direction: column;

  gap: 3px;
}


.header-stat strong {

  color: white;

  font-size: 20px;

  font-weight: 750;
}


.header-stat span {

  color:
    rgba(255, 255, 255, 0.5);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.8px;

  text-transform: uppercase;
}


.header-divider {

  width: 1px;

  height: 32px;

  background:
    rgba(255, 255, 255, 0.15);
}


/* =========================================
   CONTENT
   ========================================= */

.content {

  position: relative;

  width: 100%;

  max-width: 1100px;

  margin: 0 auto;

  padding: 60px 40px 75px;
}


.content::before {

  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width: 500px;
  height: 500px;

  background:
    radial-gradient(
      circle,
      rgba(50, 167, 255, 0.045),
      transparent 68%
    );

  pointer-events: none;
}


/* =========================================
   SECTION HEADING
   ========================================= */

.section-heading {

  position: relative;

  z-index: 2;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 30px;

  margin-bottom: 30px;
}


.section-label {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--accent);

  font-size: 9px;

  font-weight: 850;

  letter-spacing: 1.7px;
}


.section-label::before {

  content: "";

  width: 22px;
  height: 3px;

  border-radius: 99px;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      var(--accent-light)
    );
}


.section-heading h2 {

  margin: 8px 0 0;

  color: var(--text);

  font-size: 2rem;

  font-weight: 780;

  line-height: 1.15;

  letter-spacing: -0.8px;
}


.section-heading > p {

  margin: 0 0 3px;

  color: var(--muted);

  font-size: 12px;
}


/* =========================================
   MODULE GRID
   ========================================= */

.module-list {

  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}


/* =========================================
   MODULE CARD
   ========================================= */

.module-card {

  position: relative;

  min-height: 340px;

  padding: 25px;

  display: flex;

  flex-direction: column;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #fbfdff 100%
    );

  border:
    1px solid rgba(15, 23, 42, 0.07);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}


/* TOP ACCENT */

.module-card::before {

  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      var(--accent-light)
    );
}


/* GLOW */

.card-glow {

  position: absolute;

  top: -100px;
  right: -100px;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(50, 167, 255, 0.11),
      transparent 68%
    );

  transition:
    transform 0.4s ease;
}


/* HOVER */

.module-card:hover {

  transform: translateY(-8px);

  border-color:
    rgba(11, 121, 208, 0.18);

  box-shadow: var(--shadow-lg);
}


.module-card:hover .card-glow {

  transform: scale(1.4);
}


/* =========================================
   CARD TOP
   ========================================= */

.card-top {

  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 25px;
}


/* =========================================
   CARD NUMBER
   ========================================= */

.card-number {

  width: 56px;
  height: 56px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-light)
    );

  border-radius: 16px;

  font-size: 12px;

  font-weight: 850;

  letter-spacing: 0.5px;

  box-shadow:
    0 10px 22px
    rgba(11, 121, 208, 0.22);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.module-card:hover .card-number {

  transform:
    translateY(-3px)
    rotate(-2deg);

  box-shadow:
    0 14px 28px
    rgba(11, 121, 208, 0.3);
}


/* =========================================
   STATUS
   ========================================= */

.card-status {

  padding: 6px 9px;

  color: #0871c5;

  background: #eef8ff;

  border:
    1px solid #dcefff;

  border-radius: 999px;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.8px;
}


/* =========================================
   CARD CONTENT
   ========================================= */

.card-content {

  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;
}


.card-label {

  color: var(--accent);

  font-size: 9px;

  font-weight: 850;

  letter-spacing: 1.3px;
}


.card-content h3 {

  margin: 10px 0 10px;

  color: var(--text);

  font-size: 1.25rem;

  font-weight: 750;

  line-height: 1.25;

  letter-spacing: -0.4px;
}


.card-content p {

  max-width: 310px;

  margin: 0;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.75;
}


/* =========================================
   CARD BUTTON
   ========================================= */

.card-button {

  position: relative;

  z-index: 3;

  display: flex;

  align-items: center;

  justify-content: space-between;

  width: 100%;

  margin-top: auto;

  padding: 11px 11px 11px 14px;

  color: var(--accent);

  background: #f5faff;

  border:
    1px solid #dcefff;

  border-radius: 12px;

  text-decoration: none;

  font-size: 11px;

  font-weight: 750;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.button-arrow {

  width: 29px;
  height: 29px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: white;

  background: var(--accent);

  border-radius: 8px;

  font-size: 16px;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}


.card-button:hover {

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      #168de8
    );

  border-color: var(--accent);

  transform: translateY(-2px);

  box-shadow:
    0 9px 22px
    rgba(11, 121, 208, 0.18);
}


.card-button:hover .button-arrow {

  background:
    rgba(255, 255, 255, 0.18);

  transform: translateX(3px);
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {

  margin-top: auto;

  background: white;

  border-top:
    1px solid var(--border);
}


.footer-inner {

  max-width: 1100px;

  margin: 0 auto;

  padding: 20px 40px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}


.footer-brand {

  display: flex;

  align-items: center;

  gap: 8px;
}


.footer-brand strong {

  color: #344054;

  font-size: 11px;
}


.footer-brand span {

  color: #98a2b3;

  font-size: 10px;
}


.footer-inner p {

  margin: 0;

  color: #98a2b3;

  font-size: 10px;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1100px) {

  .sidebar {
    width: 250px;
  }


  .page {
    margin-left: 250px;
  }


  .module-list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* =========================================
   TABLET / SMALL DESKTOP
   ========================================= */

@media (max-width: 900px) {

  .sidebar {

    position: static;

    width: 100%;

    min-height: auto;

    padding: 18px;

    border-right: none;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.07);
  }


  .sidebar-brand {
    padding-bottom: 18px;
  }


  .module-links {

    display: grid;

    grid-template-columns:
      repeat(4, 1fr);

    gap: 8px;
  }


  .module-link {

    min-height: 82px;

    flex-direction: column;

    justify-content: center;

    text-align: center;

    padding: 9px 5px;
  }


  .module-info {
    margin: 6px 0 0;
  }


  .module-info strong {
    font-size: 10px;
  }


  .module-info small {
    display: none;
  }


  .module-arrow {
    display: none;
  }


  .module-link.active::before {

    left: 50%;

    top: auto;

    bottom: 0;

    width: 30px;

    height: 3px;

    transform:
      translateX(-50%);

    border-radius:
      5px 5px 0 0;
  }


  .sidebar-spacer {
    display: none;
  }


  .sidebar-footer {
    margin-top: 16px;
  }


  .page {
    margin-left: 0;
  }


  .site-header {
    min-height: 350px;
  }


  .header-inner {
    padding: 60px 30px;
  }


  .content {
    padding: 45px 30px 60px;
  }


  .footer-inner {
    padding: 20px 30px;
  }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 650px) {

  .sidebar {
    padding: 14px;
  }


  .brand-link {
    min-height: 70px;

    padding: 10px;
  }


  .logo-wrapper {
    width: 45px;
    height: 45px;

    border-radius: 12px;
  }


  .logo-img {
    width: 37px;
    height: 37px;
  }


  .brand-text strong {
    font-size: 10px;
  }


  .module-links {
    grid-template-columns: 1fr;
  }


  .module-link {

    min-height: 60px;

    flex-direction: row;

    justify-content: flex-start;

    text-align: left;

    padding: 9px 10px;
  }


  .module-info {

    margin:
      0 0 0 11px;
  }


  .module-info strong {
    font-size: 12px;
  }


  .module-info small {
    display: block;
  }


  .module-arrow {
    display: block;

    margin-left: auto;
  }


  .module-link.active::before {

    left: 0;

    top: 50%;

    bottom: auto;

    width: 3px;

    height: 27px;

    transform:
      translateY(-50%);

    border-radius:
      0 5px 5px 0;
  }


  .site-header {
    min-height: 400px;
  }


  .header-inner {
    padding: 50px 20px;
  }


  .site-header h1 {

    font-size:
      clamp(2.2rem, 12vw, 3rem);

    letter-spacing: -1.5px;
  }


  .site-header p {
    font-size: 0.9rem;
  }


  .header-stats {

    gap: 14px;

    margin-top: 28px;
  }


  .header-stat strong {
    font-size: 16px;
  }


  .header-stat span {
    font-size: 7px;
  }


  .header-divider {
    height: 25px;
  }


  .content {
    padding: 40px 16px 50px;
  }


  .section-heading {

    flex-direction: column;

    align-items: flex-start;

    gap: 7px;

    margin-bottom: 22px;
  }


  .section-heading h2 {
    font-size: 1.65rem;
  }


  .section-heading > p {
    font-size: 11px;
  }


  .module-list {
    grid-template-columns: 1fr;

    gap: 17px;
  }


  .module-card {

    min-height: 320px;

    padding: 23px;
  }


  .card-number {
    width: 52px;
    height: 52px;
  }


  .card-content h3 {
    font-size: 1.2rem;
  }


  .footer-inner {

    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 20px;
  }
}


/* =========================================
   VERY SMALL MOBILE
   ========================================= */

@media (max-width: 380px) {

  .card-status {
    display: none;
  }


  .site-header {
    min-height: 370px;
  }


  .header-stats {
    gap: 10px;
  }


  .header-divider {
    display: none;
  }


  .header-stat span {
    font-size: 6px;
  }
}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {

    transition:
      none !important;

    animation:
      none !important;
  }
}


/* =========================================
   PRINT
   ========================================= */

@media print {

  body {
    background: white;
  }


  .sidebar,
  .site-footer {
    display: none !important;
  }


  .page {
    margin-left: 0;
  }


  .site-header {
    min-height: 250px;

    color: black;

    print-color-adjust: exact;
  }


  .header-inner {
    padding: 30px 0;
  }


  .content {
    max-width: 100%;

    padding: 30px 0;
  }


  .module-list {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .module-card {

    break-inside: avoid;

    box-shadow: none;
  }


  .card-button {
    color: black;
  }
}