:root {
  --ink: #f4f7ff;
  --muted: #8f98aa;
  --muted-2: #687286;

  --line: rgba(255, 255, 255, 0.09);
  --line-hover: rgba(72, 145, 255, 0.35);

  --paper: rgba(15, 19, 29, 0.72);
  --bg: #070a11;

  --blue: #4b9cff;
  --blue-light: #79b8ff;
  --blue-dark: #1766c5;

  --green: #63d95b;

  --glow-blue: rgba(55, 135, 255, 0.28);
  --glow-strong: rgba(55, 135, 255, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 14px/1.45 Inter, Arial, sans-serif;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(41, 105, 220, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 25%,
      rgba(76, 130, 255, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(25, 91, 190, 0.12),
      transparent 35%
    ),
    #070a11;

  position: relative;
  overflow-x: hidden;
}

/* Ambient glow */

body::before,
body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: -1;
}

body::before {
  top: 80px;
  left: -180px;
  background: rgba(37, 117, 255, 0.12);
}

body::after {
  right: -180px;
  bottom: 0;
  background: rgba(79, 110, 255, 0.09);
}


/* =========================
   TOPBAR
========================= */

.topbar {
  height: 76px;

  background: rgba(8, 11, 18, 0.72);
  border-bottom: 1px solid var(--line);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar__inner {
  max-width: 1160px;
  height: 100%;
  margin: auto;
  padding: 0 28px;

  display: flex;
  align-items: center;
  gap: 44px;
}


/* =========================
   BRAND
========================= */

.brand {
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -1.5px;
  color: #fff;
  text-decoration: none;

  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.08);
}

.brand span {
  color: var(--blue);

  text-shadow:
    0 0 18px rgba(75, 156, 255, 0.65),
    0 0 40px rgba(75, 156, 255, 0.25);
}


/* =========================
   NAV
========================= */

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav__link {
  position: relative;

  color: #777f91;
  text-decoration: none;
  font-weight: 600;

  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.nav__link::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;

  height: 2px;
  border-radius: 10px;

  background: var(--blue);

  transform: scaleX(0);
  transform-origin: center;

  box-shadow:
    0 0 10px var(--blue),
    0 0 22px rgba(75, 156, 255, 0.5);

  transition: transform 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: #fff;

  text-shadow:
    0 0 15px rgba(75, 156, 255, 0.4);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}


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

.profile-mini {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);

  padding: 9px 12px;

  border-radius: 12px;

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

  color: #e8edf7;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.profile-mini:hover {
  background: rgba(75, 156, 255, 0.07);
  border-color: rgba(75, 156, 255, 0.28);

  box-shadow:
    0 0 20px rgba(75, 156, 255, 0.08);
}

.profile-mini__dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;
  background: var(--green);

  box-shadow:
    0 0 0 3px rgba(99, 217, 91, 0.12),
    0 0 12px rgba(99, 217, 91, 0.75);
}

.profile-mini__chevron {
  font-size: 17px;
  color: #737d91;
  margin-left: 3px;
}


/* =========================
   PAGE
========================= */

.page-shell {
  max-width: 1080px;
  margin: auto;
  padding: 72px 28px 100px;
}


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

.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 55px;
  margin-bottom: 48px;
}

.eyebrow {
  margin: 0 0 13px;

  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;

  text-transform: uppercase;

  text-shadow:
    0 0 15px rgba(75, 156, 255, 0.45);
}

.hero h1 {
  margin: 0;

  font-size: 48px;
  line-height: 1.05;

  letter-spacing: -2.8px;

  color: #fff;

  text-shadow:
    0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
  color: #7d8799;

  background: linear-gradient(
    90deg,
    #7c8799,
    #aab3c2
  );

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

.hero__lead {
  max-width: 475px;

  color: var(--muted);
  font-size: 16px;

  margin: 20px 0 0;
}


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

.seller-card {
  position: relative;

  width: 310px;

  padding: 21px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.018)
    );

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

  border-radius: 18px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  overflow: hidden;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.seller-card::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  top: -100px;
  right: -70px;

  background: var(--glow-blue);

  filter: blur(55px);

  pointer-events: none;
}

.seller-card:hover {
  transform: translateY(-4px);

  border-color: var(--line-hover);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(55, 135, 255, 0.09);
}

.seller-card__head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  height: 54px;
  width: 54px;

  border-radius: 50%;
  object-fit: cover;

  border: 2px solid rgba(75, 156, 255, 0.65);

  box-shadow:
    0 0 0 4px rgba(75, 156, 255, 0.06),
    0 0 25px rgba(75, 156, 255, 0.22);
}

.seller-name {
  font-weight: 800;
  font-size: 16px;
}

.online {
  font-size: 11px;
  font-weight: 700;

  color: var(--green);

  margin-left: 6px;

  text-shadow:
    0 0 10px rgba(99, 217, 91, 0.45);
}

.seller-caption {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 3px;
}

.seller-card__stats {
  border-top: 1px solid var(--line);

  margin-top: 17px;
  padding-top: 15px;

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

.stat-value {
  font-weight: 800;
  font-size: 19px;
  display: block;
}

.stat-label {
  font-size: 10px;
  text-transform: uppercase;

  color: #70798b;
  letter-spacing: 0.8px;
}

.stars {
  color: #65aaff;

  letter-spacing: 1px;
  font-size: 15px;
  white-space: nowrap;

  text-shadow:
    0 0 12px rgba(75, 156, 255, 0.55);
}


/* =========================
   DOWNLOAD PANEL
========================= */

.download-panel {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(17, 22, 33, 0.9),
      rgba(10, 14, 23, 0.82)
    );

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

  padding: 31px 34px 30px;

  border-radius: 22px;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  overflow: hidden;
}

.download-panel::before {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  top: -210px;
  left: 25%;

  background: rgba(54, 137, 255, 0.12);

  filter: blur(80px);

  pointer-events: none;
}

.download-panel::after {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: inherit;

  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0.025),
      transparent 35%,
      transparent 70%,
      rgba(75,156,255,0.025)
    );
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  margin-bottom: 25px;
}

.section-heading h2 {
  font-size: 25px;
  letter-spacing: -0.8px;

  margin: 0;

  color: #f5f7fb;
}

.secure-badge {
  color: #8d96a7;

  font-size: 12px;

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

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

  padding: 8px 11px;

  border-radius: 9px;
}

.secure-badge span {
  color: var(--blue);

  font-weight: 800;
  margin-right: 4px;

  text-shadow:
    0 0 12px rgba(75, 156, 255, 0.5);
}


/* =========================
   FILE
========================= */

.download-file {
  display: flex;
  align-items: center;
  gap: 14px;

  border: 1px solid rgba(75, 156, 255, 0.18);

  background:
    linear-gradient(
      135deg,
      rgba(55, 135, 255, 0.09),
      rgba(255,255,255,0.025)
    );

  padding: 17px 18px;

  border-radius: 14px;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.download-file:hover {
  border-color: rgba(75, 156, 255, 0.38);

  background:
    linear-gradient(
      135deg,
      rgba(55, 135, 255, 0.13),
      rgba(255,255,255,0.035)
    );

  box-shadow:
    0 0 30px rgba(55, 135, 255, 0.07);
}

.download-file__icon {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  flex-shrink: 0;

  background:
    linear-gradient(
      135deg,
      rgba(75, 156, 255, 0.25),
      rgba(75, 156, 255, 0.08)
    );

  border: 1px solid rgba(75, 156, 255, 0.2);

  border-radius: 11px;

  color: var(--blue-light);

  font-size: 22px;
  font-weight: 700;

  box-shadow:
    0 0 22px rgba(75, 156, 255, 0.12);
}

.download-file__info {
  display: flex;
  flex-direction: column;

  flex: 1;

  gap: 3px;
}

.download-file__info strong {
  font-size: 14px;
  color: #e8edf7;
}

.download-file__info span {
  font-size: 12px;
  color: #737d90;
}

.download-file__type {
  font-size: 11px;

  color: var(--blue-light);

  font-weight: 800;
  letter-spacing: 1px;

  text-shadow:
    0 0 12px rgba(75, 156, 255, 0.35);
}


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

.download-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 23px;
}

.download-status {
  font-size: 12px;
  color: #737c8e;
}


/* =========================
   BUTTON
========================= */

.primary-button {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #5ca7ff,
      #277ee8
    );

  color: #fff;

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

  padding: 13px 20px;

  border-radius: 11px;

  font: 700 14px Inter, Arial, sans-serif;

  cursor: pointer;

  box-shadow:
    0 8px 25px rgba(35, 117, 225, 0.28),
    0 0 25px rgba(55, 135, 255, 0.14);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.primary-button::before {
  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.22),
      transparent
    );

  transform: skewX(-20deg);

  transition: left 0.5s ease;
}

.primary-button:hover::before {
  left: 140%;
}

.primary-button:hover {
  background:
    linear-gradient(
      135deg,
      #72b4ff,
      #3188f0
    );

  transform: translateY(-2px);

  filter: brightness(1.06);

  box-shadow:
    0 12px 35px rgba(35, 117, 225, 0.4),
    0 0 35px rgba(55, 135, 255, 0.22);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button span {
  margin-left: 10px;
  font-size: 18px;
  line-height: 0;
}


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

@media (max-width: 700px) {

  .topbar {
    height: 68px;
  }

  .topbar__inner {
    padding: 0 18px;
    gap: 18px;
  }

  .nav {
    display: none;
  }

  .profile-mini {
    margin-left: auto;
    font-size: 12px;
  }

  .page-shell {
    padding: 38px 16px 55px;
  }

  .hero {
    display: block;
  }

  .hero h1 {
    font-size: 37px;
    letter-spacing: -2px;
  }

  .hero__lead {
    font-size: 14px;
    margin-bottom: 27px;
  }

  .seller-card {
    width: 100%;
  }

  .download-panel {
    padding: 23px 17px;
    border-radius: 18px;
  }

  .section-heading {
    display: block;
  }

  .secure-badge {
    display: inline-block;
    margin-top: 16px;
  }

  .download-actions {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .download-file {
    padding: 15px;
  }
}


/* =========================
   SELECTION
========================= */

::selection {
  background: rgba(75, 156, 255, 0.3);
  color: #fff;
}


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

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

::-webkit-scrollbar-track {
  background: #070a11;
}

::-webkit-scrollbar-thumb {
  background: #202b3d;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d4d76;
}


/* =========================
   EXTRA GLOW UTILITIES
========================= */

.glow {
  text-shadow:
    0 0 10px rgba(75, 156, 255, 0.4),
    0 0 30px rgba(75, 156, 255, 0.15);
}

.glow-box {
  box-shadow:
    0 0 25px rgba(75, 156, 255, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.3);
}

.download-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.download-buttons .primary-button {
  min-width: 190px;
}

.secondary-button {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.035)
    );

  color: #dce5f5;

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

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.18),
    0 0 20px rgba(75, 156, 255, 0.05);
}

.secondary-button:hover {
  background:
    linear-gradient(
      135deg,
      rgba(75, 156, 255, 0.16),
      rgba(75, 156, 255, 0.06)
    );

  border-color: rgba(75, 156, 255, 0.35);

  color: #fff;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(75, 156, 255, 0.14);
}

@media (max-width: 600px) {
  .download-buttons {
    flex-direction: column;
  }

  .download-buttons .primary-button {
    width: 100%;
  }
}
