/* =========================================================
   AEVORA
   PREMIUM DIGITAL KNOWLEDGE PLATFORM
========================================================= */

:root {
  --bg: #020504;
  --bg2: #06100b;
  --panel: #09130f;
  --panel2: #0c1813;

  --white: #f7fffb;
  --soft: #cbd8d2;
  --muted: #879a91;
  --dim: #60746b;

  --green: #43f0a7;
  --green2: #9affd1;

  --purple: #927eff;
  --gold: #ffd064;
  --red: #ff5b6e;
  --cyan: #57e6ff;
  --blue: #5594ff;
  --pink: #ed7cff;
  --navy: #82a4d8;
  --orange: #ff9f5c;

  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.045);

  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);

  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--white);

  min-height: 100vh;

  background:
    radial-gradient(
      circle at 8% -10%,
      rgba(146, 126, 255, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 3%,
      rgba(67, 240, 167, 0.09),
      transparent 28%
    ),
    linear-gradient(180deg, #020504 0%, #06100b 48%, #020504 100%);

  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(67, 240, 167, 0.25);
}

/* =========================================================
   AMBIENT LIGHT
========================================================= */

.background-light {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.light-one,
.light-two,
.light-three {
  position: absolute;

  border-radius: 50%;

  filter: blur(120px);

  opacity: 0.1;
}

.light-one {
  width: 420px;
  height: 420px;

  left: -170px;
  top: 23%;

  background: #6d52ff;
}

.light-two {
  width: 390px;
  height: 390px;

  right: -150px;
  top: 42%;

  background: #00dc8b;
}

.light-three {
  width: 350px;
  height: 350px;

  left: 35%;
  bottom: -190px;

  background: #257cff;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
  width: min(1280px, 92%);
  margin: auto;
}

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

.nav {
  height: 78px;

  display: flex;

  align-items: center;

  justify-content: space-between;

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

.brand {
  display: flex;

  align-items: center;

  gap: 12px;
}

.logo {
  width: 43px;
  height: 43px;

  display: flex;

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

  border-radius: 14px;

  background: linear-gradient(135deg, #ffffff, var(--green));

  color: #021109;

  font-size: 18px;

  font-weight: 950;

  box-shadow: 0 10px 35px rgba(67, 240, 167, 0.16);
}

.brand-name {
  font-size: 22px;

  font-weight: 950;

  letter-spacing: -0.8px;
}

.brand-name span {
  color: var(--green);
}

.nav-right {
  display: flex;

  align-items: center;

  gap: 18px;
}

.nav-link {
  color: var(--muted);

  font-size: 12px;

  transition: 0.2s;
}

.nav-link:hover {
  color: #fff;
}

.book-count {
  display: flex;

  align-items: center;

  gap: 7px;

  padding: 8px 12px;

  border: 1px solid rgba(67, 240, 167, 0.17);

  border-radius: 999px;

  background: rgba(67, 240, 167, 0.045);

  color: var(--green2);

  font-size: 10px;

  font-weight: 850;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--green);

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

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

.hero {
  padding: 88px 0 65px;

  display: grid;

  grid-template-columns:
    1.15fr
    0.85fr;

  align-items: center;

  gap: 55px;
}

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  padding: 8px 13px;

  border: 1px solid rgba(67, 240, 167, 0.16);

  border-radius: 999px;

  background: rgba(67, 240, 167, 0.035);

  color: var(--green2);

  font-size: 10px;

  font-weight: 850;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;

  margin-top: 22px;

  font-size: clamp(50px, 7.4vw, 94px);

  line-height: 0.91;

  letter-spacing: -6px;

  font-weight: 950;
}

.hero h1 .green {
  color: var(--green);
}

.hero-copy {
  max-width: 700px;

  margin-top: 27px;

  color: var(--muted);

  font-size: 17px;

  line-height: 1.8;
}

.hero-actions {
  display: flex;

  gap: 10px;

  flex-wrap: wrap;

  margin-top: 31px;
}

.hero-btn {
  min-height: 48px;

  padding: 0 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 12px;

  font-size: 12px;

  font-weight: 900;

  transition: 0.25s;
}

.hero-btn.main {
  color: #03140c;

  background: linear-gradient(135deg, #6cf8b9, #20c981);

  box-shadow: 0 10px 35px rgba(32, 201, 129, 0.12);
}

.hero-btn.alt {
  color: white;

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

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

.hero-btn:hover {
  transform: translateY(-3px);
}

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

.hero-art {
  min-height: 420px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;
}

.orbit {
  position: absolute;

  width: 335px;
  height: 335px;

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

  border-radius: 50%;

  transform: rotate(-20deg);

  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.017),
    0 0 0 90px rgba(255, 255, 255, 0.01);
}

.orbit::before,
.orbit::after {
  content: "";

  position: absolute;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--green);

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

.orbit::before {
  top: -5px;
  left: 24%;
}

.orbit::after {
  bottom: 5px;
  right: 18%;
}

.hero-card {
  position: relative;

  z-index: 5;

  width: 215px;
  height: 285px;

  padding: 30px 27px;

  border-radius: 7px 18px 18px 7px;

  background: linear-gradient(145deg, #11163a, #281467 52%, #080715);

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

  box-shadow: 35px 35px 85px rgba(0, 0, 0, 0.55);

  transform: perspective(1000px) rotateY(-12deg) rotateX(3deg);
}

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

  position: absolute;

  left: 12px;
  top: 14px;
  bottom: 14px;

  width: 3px;

  background: #8e7dff;

  border-radius: 5px;
}

.hero-card-label {
  color: #c2baff;

  font-size: 8px;

  font-weight: 900;

  letter-spacing: 1.6px;

  text-transform: uppercase;
}

.hero-card h3 {
  margin-top: 18px;

  font-size: 29px;

  line-height: 1.02;

  letter-spacing: -1.7px;
}

.hero-card p {
  margin-top: 17px;

  color: rgba(255, 255, 255, 0.48);

  font-size: 10px;

  line-height: 1.7;
}

.hero-line {
  width: 52px;
  height: 2px;

  margin-top: 23px;

  background: #8e7dff;
}

/* =========================================================
   PLATFORM STATS
========================================================= */

.stats {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 10px;

  margin-bottom: 60px;
}

.stat {
  padding: 20px;

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

  border-radius: 18px;

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

  transition: 0.25s;
}

.stat:hover {
  transform: translateY(-3px);

  border-color: rgba(255, 255, 255, 0.14);
}

.stat-number {
  color: var(--green2);

  font-size: 26px;

  font-weight: 950;
}

.stat-label {
  margin-top: 6px;

  color: var(--dim);

  font-size: 9px;

  letter-spacing: 1px;

  text-transform: uppercase;
}

/* =========================================================
   FEATURED BOOK
========================================================= */

.featured {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  min-height: 375px;

  overflow: hidden;

  margin-bottom: 62px;

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

  border-radius: 28px;

  background: linear-gradient(
    120deg,
    rgba(67, 240, 167, 0.035),
    rgba(146, 126, 255, 0.07)
  );

  box-shadow: var(--shadow);
}

.featured-content {
  padding: 48px;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.featured-label {
  color: #aaa0ff;

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 1.6px;

  text-transform: uppercase;
}

.featured h2 {
  margin-top: 12px;

  font-size: clamp(32px, 4vw, 50px);

  line-height: 1.02;

  letter-spacing: -2px;
}

.featured p {
  max-width: 560px;

  margin-top: 17px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.75;
}

.featured-btn {
  width: max-content;

  margin-top: 25px;

  padding: 13px 19px;

  border-radius: 11px;

  color: #06110b;

  background: #fff;

  font-size: 12px;

  font-weight: 900;

  transition: 0.25s;
}

.featured-btn:hover {
  transform: translateY(-3px);
}

.featured-visual {
  position: relative;

  min-height: 375px;

  display: flex;

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

  overflow: hidden;

  background: radial-gradient(
    circle,
    rgba(146, 126, 255, 0.24),
    transparent 56%
  );
}

.ring {
  position: absolute;

  width: 285px;
  height: 285px;

  border: 1px solid rgba(146, 126, 255, 0.31);

  border-radius: 50%;
}

.ring:nth-child(2) {
  width: 208px;
  height: 208px;
}

.ring:nth-child(3) {
  width: 355px;
  height: 355px;

  opacity: 0.38;
}

.featured-book {
  position: relative;

  z-index: 5;

  width: 190px;
  height: 248px;

  padding: 26px;

  border-radius: 7px 16px 16px 7px;

  background: linear-gradient(145deg, #17104d, #32136e 55%, #09071c);

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

  box-shadow: 32px 32px 75px rgba(0, 0, 0, 0.5);

  transform: rotate(-5deg);
}

.featured-book small {
  color: #bdb4ff;

  font-size: 8px;

  font-weight: 900;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.featured-book strong {
  display: block;

  margin-top: 18px;

  font-size: 25px;

  line-height: 1.03;

  letter-spacing: -1px;
}

/* =========================================================
   LIBRARY HEADER
========================================================= */

.library-head {
  display: flex;

  align-items: end;

  justify-content: space-between;

  margin-bottom: 18px;
}

.library-head h2 {
  font-size: 29px;

  letter-spacing: -1px;
}

.library-head span {
  color: var(--dim);

  font-size: 12px;
}

/* =========================================================
   CATEGORIES
========================================================= */

.categories {
  display: flex;

  gap: 8px;

  overflow-x: auto;

  margin-bottom: 14px;

  padding-bottom: 4px;

  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.category {
  flex: 0 0 auto;

  padding: 9px 14px;

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

  border-radius: 999px;

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

  color: #7e9289;

  font-size: 11px;

  font-weight: 800;

  transition: 0.2s;
}

.category:hover,
.category.active {
  color: #03130c;

  background: var(--green);

  border-color: var(--green);
}

/* =========================================================
   SEARCH BAR
========================================================= */

.tools {
  display: flex;

  gap: 10px;

  padding: 11px;

  margin-bottom: 30px;

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

  border-radius: 18px;

  background: rgba(5, 12, 9, 0.9);

  backdrop-filter: blur(20px);

  position: sticky;

  top: 10px;

  z-index: 20;
}

.search {
  flex: 1;
}

.search input,
select {
  width: 100%;

  height: 47px;

  padding: 0 15px;

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

  border-radius: 11px;

  background: #0a130f;

  color: white;

  outline: none;

  font-size: 13px;
}

select {
  width: 200px;
}

.search input::placeholder {
  color: #5e7369;
}

.search input:focus,
select:focus {
  border-color: rgba(69, 240, 167, 0.5);
}

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

.book-grid {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));

  gap: 23px;
}

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

.book {
  overflow: hidden;

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

  border-radius: 23px;

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

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

.book:hover {
  transform: translateY(-8px);

  border-color: rgba(255, 255, 255, 0.17);

  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.4);
}

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

.cover {
  height: 260px;

  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 38px;

  text-align: center;
}

.cover::before {
  content: "";

  position: absolute;

  width: 238px;
  height: 238px;

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

  border-radius: 50%;

  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.018),
    0 0 0 70px rgba(255, 255, 255, 0.012);
}

.cover::after {
  content: "";

  position: absolute;

  width: 105px;
  height: 105px;

  border-radius: 50%;

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

  filter: blur(40px);
}

/* =========================================================
   BOOK 01 — AI
========================================================= */

.ai {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(190, 155, 255, 0.58),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(89, 55, 255, 0.28),
      transparent 30%
    ),
    linear-gradient(135deg, #120a35, #33136c 50%, #070418);
}

/* =========================================================
   BOOK 02 — FINANCIAL CRISES
========================================================= */

.finance {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(255, 224, 105, 0.58),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(255, 161, 30, 0.25),
      transparent 30%
    ),
    linear-gradient(135deg, #392100, #98650d 50%, #190e01);
}

/* =========================================================
   BOOK 03 — MARKETS CRASH
========================================================= */

.crash {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(255, 87, 100, 0.6),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(192, 10, 45, 0.28),
      transparent 30%
    ),
    linear-gradient(135deg, #40050b, #921020 50%, #170205);
}

/* =========================================================
   BOOK 04 — QUANTUM MINDS
========================================================= */

.quantum {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(88, 255, 180, 0.6),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(0, 192, 119, 0.28),
      transparent 30%
    ),
    linear-gradient(135deg, #023b29, #087951 50%, #01180f);
}

/* =========================================================
   BOOK 05 — SCIENCE OF LEARNING
========================================================= */

.learning {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(79, 236, 255, 0.6),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(28, 108, 255, 0.28),
      transparent 30%
    ),
    linear-gradient(135deg, #033642, #087f9a 50%, #02171e);
}

/* =========================================================
   BOOK 06 — AGE OF MACHINES
========================================================= */

.machines {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(82, 154, 255, 0.62),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(31, 97, 255, 0.25),
      transparent 30%
    ),
    linear-gradient(135deg, #061a42, #0b3b7f 50%, #020b1b);
}

/* =========================================================
   BOOK 07 — INTELLIGENCE REVOLUTION
========================================================= */

.intelligence {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(245, 105, 255, 0.6),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(221, 26, 154, 0.25),
      transparent 30%
    ),
    linear-gradient(135deg, #300535, #861164 50%, #170318);
}

/* =========================================================
   BOOK 08 — ARCHITECTURE OF MONEY
========================================================= */

.money {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(137, 180, 231, 0.58),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(40, 100, 180, 0.25),
      transparent 30%
    ),
    linear-gradient(135deg, #07192f, #183a60 50%, #030914);
}

/* =========================================================
   BOOK 09 — UNIVERSE WITHIN
========================================================= */

.universe {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(164, 118, 255, 0.62),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(43, 87, 255, 0.25),
      transparent 30%
    ),
    linear-gradient(135deg, #09071d, #271559 50%, #02030d);
}

/* =========================================================
   BOOK 10 — PSYCHOLOGY
========================================================= */

.decisions {
  background:
    radial-gradient(
      circle at 17% 18%,
      rgba(255, 166, 91, 0.62),
      transparent 27%
    ),
    radial-gradient(
      circle at 82% 84%,
      rgba(255, 87, 40, 0.23),
      transparent 30%
    ),
    linear-gradient(135deg, #381607, #8a4017 50%, #190903);
}

/* =========================================================
   COVER TEXT
========================================================= */

.book-number {
  position: absolute;

  top: 15px;
  left: 15px;

  z-index: 5;

  padding: 6px 9px;

  border-radius: 7px;

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

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

  font-size: 9px;

  font-weight: 900;

  letter-spacing: 1px;
}

.cover-title {
  position: relative;

  z-index: 5;

  max-width: 92%;

  font-size: 26px;

  line-height: 1.08;

  letter-spacing: -1.2px;

  font-weight: 950;

  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.cover-meta {
  position: absolute;

  left: 20px;
  right: 20px;

  bottom: 17px;

  z-index: 5;

  color: rgba(255, 255, 255, 0.58);

  font-size: 9px;

  letter-spacing: 1.7px;

  text-transform: uppercase;
}

/* =========================================================
   BOOK INFO
========================================================= */

.book-info {
  padding: 22px;
}

.book-category {
  color: var(--green);

  font-size: 9px;

  font-weight: 900;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  margin-bottom: 8px;
}

.book-info h3 {
  font-size: 19px;

  line-height: 1.3;

  letter-spacing: -0.3px;

  margin-bottom: 10px;
}

.description {
  min-height: 72px;

  color: #8da49b;

  font-size: 13px;

  line-height: 1.7;
}

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

.read {
  width: 100%;

  height: 47px;

  margin-top: 18px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  border-radius: 11px;

  background: linear-gradient(135deg, #65f7b5, #20c982);

  color: #03140c;

  font-size: 12px;

  font-weight: 900;

  transition: 0.25s;
}

.read:hover {
  transform: translateY(-3px);

  box-shadow: 0 12px 30px rgba(32, 201, 129, 0.2);
}

/* =========================================================
   EMPTY
========================================================= */

.empty {
  display: none;

  padding: 85px 20px;

  text-align: center;

  color: var(--muted);
}

.empty-icon {
  width: 60px;
  height: 60px;

  margin: 0 auto 17px;

  display: flex;

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

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

  border-radius: 17px;

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

  font-size: 25px;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  margin-top: 90px;

  padding: 52px 20px;

  text-align: center;

  border-top: 1px solid var(--line-soft);
}

.footer-logo {
  font-size: 24px;

  font-weight: 950;
}

.footer-logo span {
  color: var(--green);
}

.footer-tagline {
  margin-top: 8px;

  color: #71857c;

  font-size: 12px;
}

.footer-small {
  margin-top: 24px;

  color: #43554d;

  font-size: 10px;
}

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

@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;

    padding-top: 65px;
  }

  .hero-art {
    min-height: 350px;
  }

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

  .featured-visual {
    min-height: 300px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .nav {
    height: 68px;
  }

  .nav-right {
    display: none;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .hero-copy {
    font-size: 15px;
  }

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

  .hero-btn {
    width: 100%;
  }

  .hero-art {
    min-height: 290px;
  }

  .orbit {
    width: 255px;
    height: 255px;
  }

  .hero-card {
    width: 170px;
    height: 225px;
  }

  .hero-card h3 {
    font-size: 22px;
  }

  .tools {
    position: relative;

    flex-direction: column;
  }

  select {
    width: 100%;
  }

  .library-head {
    flex-direction: column;

    align-items: flex-start;

    gap: 7px;
  }

  .featured-content {
    padding: 30px;
  }
}
