/* =====================================================
   HT COURSE — MAIN WEBSITE DESIGN
===================================================== */

:root {
    --primary: #6d3cff;
    --primary-dark: #4320ba;
    --secondary: #00c2ff;

    --background: #07101f;
    --background-soft: #0c1729;
    --surface: rgba(255, 255, 255, 0.07);
    --surface-strong: rgba(255, 255, 255, 0.11);

    --white: #ffffff;
    --text: #f4f7ff;
    --text-soft: #b9c3d6;
    --border: rgba(255, 255, 255, 0.12);

    --shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);

    --radius-small: 14px;
    --radius-medium: 24px;
    --radius-large: 36px;

    --container: 1200px;

    --transition: 0.35s ease;
}

/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    font-family: "Inter", sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(109, 60, 255, 0.15),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(0, 194, 255, 0.11),
            transparent 35%
        ),
        var(--background);

    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 110px 0;
}

/* =====================================================
   NAVBAR
===================================================== */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;

    width: 100%;

    padding: 18px 0;

    transition:
        padding var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;

    background: rgba(7, 16, 31, 0.78);

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}

.brand-logo img {
    width: 62px;
    height: 62px;

    object-fit: contain;

    filter:
        drop-shadow(0 8px 20px rgba(109, 60, 255, 0.35));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 1.02rem;
    letter-spacing: 0.07em;
}

.brand-text span {
    margin-top: 4px;

    color: var(--text-soft);

    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 7px;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 999px;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.main-navigation > a {
    position: relative;

    padding: 11px 14px;

    color: var(--text-soft);

    border-radius: 999px;

    font-size: 0.88rem;
    font-weight: 600;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.main-navigation > a:hover,
.main-navigation > a.active {
    color: var(--white);

    background: rgba(255, 255, 255, 0.08);
}

.main-navigation .nav-login-button {
    color: var(--white);
}

.main-navigation .nav-register-button {
    padding-inline: 20px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:
        0 10px 25px rgba(109, 60, 255, 0.25);
}

.main-navigation .nav-register-button:hover {
    background:
        linear-gradient(
            135deg,
            #7d50ff,
            #22cbff
        );

    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none;

    width: 48px;
    height: 48px;

    padding: 12px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid var(--border);
    border-radius: 14px;

    backdrop-filter: blur(15px);
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--white);

    border-radius: 10px;

    transition: var(--transition);
}
.mobile-menu-button {
    position: relative;

    background:
        linear-gradient(
            145deg,
            rgba(125, 63, 255, 0.28),
            rgba(26, 151, 255, 0.2)
        );

    border:
        1px solid rgba(186, 148, 255, 0.34);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px rgba(118, 72, 255, 0.16);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mobile-menu-button::before {
    content: "";

    position: absolute;
    inset: -3px;

    z-index: -1;

    opacity: 0.55;

    background:
        linear-gradient(
            135deg,
            rgba(168, 91, 255, 0.55),
            rgba(39, 193, 255, 0.45)
        );

    border-radius: 17px;

    filter: blur(9px);
}

.mobile-menu-button:hover {
    transform: translateY(-2px) scale(1.03);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.36),
        0 0 25px rgba(105, 92, 255, 0.28);
}

.mobile-menu-button span {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #c5b3ff,
            #82e8ff
        );

    box-shadow:
        0 0 8px rgba(178, 143, 255, 0.42);
}
/* =====================================================
   FAIRYTALE 3D NAVIGATION ITEMS
===================================================== */

.main-navigation {
    position: relative;

    background:
        linear-gradient(
            145deg,
            rgba(24, 22, 67, 0.78),
            rgba(7, 17, 42, 0.9)
        );

    border:
        1px solid rgba(188, 154, 255, 0.26);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 35px rgba(111, 72, 255, 0.12);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.nav-item {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 45px;

    overflow: hidden;

    isolation: isolate;
}

.nav-item::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    opacity: 0;

    background:
        linear-gradient(
            135deg,
            rgba(136, 78, 255, 0.27),
            rgba(40, 199, 255, 0.13),
            rgba(255, 97, 215, 0.16)
        );

    border-radius: inherit;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.nav-item::after {
    content: "";

    position: absolute;
    z-index: -1;

    top: -45%;
    left: -60%;

    width: 45%;
    height: 190%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.23),
            transparent
        );

    transform: rotate(22deg);

    transition: left 0.65s ease;
}

.nav-item:hover::before,
.nav-item.active::before {
    opacity: 1;
}

.nav-item:hover::after {
    left: 125%;
}

.nav-item:hover {
    color: #ffffff;

    transform: translateY(-2px);
}

.nav-icon {
    position: relative;

    display: inline-grid;
    place-items: center;

    flex-shrink: 0;

    width: 30px;
    height: 30px;

    font-size: 1.25rem;
    line-height: 1;

    filter:
        drop-shadow(0 6px 6px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 8px rgba(170, 120, 255, 0.35));

    transform:
        perspective(100px)
        rotateX(5deg)
        rotateY(-5deg);

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.nav-item:hover .nav-icon {
    filter:
        drop-shadow(0 8px 8px rgba(0, 0, 0, 0.45))
        drop-shadow(0 0 14px rgba(105, 221, 255, 0.72));

    transform:
        perspective(100px)
        translateY(-3px)
        rotateX(-6deg)
        rotateY(8deg)
        scale(1.15);
}

.nav-label {
    position: relative;

    font-family:
        "Inter",
        sans-serif;

    font-weight: 700;
    letter-spacing: -0.01em;

    transition:
        color 0.35s ease,
        text-shadow 0.35s ease;
}

.nav-home .nav-label {
    color: #f7f0ff;
}

.nav-courses .nav-label {
    color: #d4b7ff;
}

.nav-books .nav-label {
    color: #9ddfff;
}

.nav-store .nav-label {
    color: #69f1ee;
}

.nav-about .nav-label {
    color: #ffd977;
}

.nav-contact .nav-label {
    color: #ff9de4;
}

.nav-login .nav-label {
    color: #9ff4c7;
}

.nav-item:hover .nav-label,
.nav-item.active .nav-label {
    color: #ffffff;

    text-shadow:
        0 0 14px rgba(196, 166, 255, 0.75);
}

.nav-divider {
    width: 1px;
    height: 27px;

    margin-inline: 3px;

    background:
        linear-gradient(
            transparent,
            rgba(255, 255, 255, 0.32),
            transparent
        );
}

.nav-register {
    padding-inline: 19px !important;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #8f42ff 0%,
            #624fff 48%,
            #24b7ff 100%
        ) !important;

    border:
        1px solid rgba(255, 255, 255, 0.24);

    box-shadow:
        0 12px 30px rgba(104, 68, 255, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 20px rgba(173, 92, 255, 0.2);
}

.nav-register .nav-label {
    color: #ffffff;
}

.nav-register:hover {
    box-shadow:
        0 18px 40px rgba(104, 68, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 28px rgba(69, 199, 255, 0.35);
}

.nav-register .nav-icon {
    filter:
        drop-shadow(0 5px 7px rgba(0, 0, 0, 0.38))
        drop-shadow(0 0 10px rgba(255, 215, 105, 0.55));
}

/* =====================================================
   HERO
===================================================== */

.hero-section {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 100vh;

    padding: 145px 0 100px;

    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    max-width: 670px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 26px;
    padding: 9px 15px;

    color: #dce5ff;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;

    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;

    backdrop-filter: blur(18px);
}

.badge-dot {
    width: 8px;
    height: 8px;

    background: #65f6b6;

    border-radius: 50%;

    box-shadow:
        0 0 0 6px rgba(101, 246, 182, 0.08),
        0 0 18px rgba(101, 246, 182, 0.6);
}

.hero-content h1 {
    max-width: 760px;

    font-family: "Playfair Display", serif;
    font-size: clamp(3.3rem, 6vw, 6.5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero-content h1 span {
    display: block;

    margin-top: 14px;

    color: transparent;

    background:
        linear-gradient(
            110deg,
            #ffffff 5%,
            #bfaaff 38%,
            #58dfff 75%,
            #ffffff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.hero-description {
    max-width: 620px;

    margin-top: 30px;

    color: var(--text-soft);

    font-size: 1.08rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 38px;
}

.primary-button,
.secondary-button,
.light-button,
.outline-light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;

    padding: 13px 24px;

    border-radius: 16px;

    font-size: 0.93rem;
    font-weight: 700;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.primary-button {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:
        0 18px 40px rgba(109, 60, 255, 0.28);
}

.primary-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 25px 55px rgba(109, 60, 255, 0.4);
}

.primary-button span {
    font-size: 1.25rem;
}

.secondary-button {
    color: var(--white);

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid var(--border);

    backdrop-filter: blur(15px);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.12);

    transform: translateY(-4px);
}

.hero-contact {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 36px;
}

.contact-icon {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid var(--border);
    border-radius: 14px;
}

.hero-contact small {
    display: block;

    color: var(--text-soft);

    font-size: 0.73rem;
}

.hero-contact a {
    color: var(--white);

    font-size: 1rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;

    min-height: 570px;
}

.glass-showcase {
    position: absolute;
    top: 50%;
    left: 50%;

    width: min(100%, 500px);

    padding: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: var(--radius-large);

    box-shadow:
        0 60px 110px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);

    transform:
        translate(-50%, -50%)
        perspective(900px)
        rotateY(-5deg)
        rotateX(3deg);
}

.showcase-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.showcase-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--text-soft);

    font-size: 0.75rem;
}

.showcase-status span {
    width: 8px;
    height: 8px;

    background: #68f4b4;

    border-radius: 50%;

    box-shadow:
        0 0 15px rgba(104, 244, 180, 0.7);
}

.showcase-dots {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.15em;
}

.showcase-logo {
    position: relative;

    display: grid;
    place-items: center;

    height: 240px;
}

.showcase-logo img {
    position: relative;
    z-index: 2;

    width: 210px;
    max-height: 180px;

    object-fit: contain;

    filter:
        drop-shadow(0 25px 30px rgba(0, 0, 0, 0.2));
}

.logo-light {
    position: absolute;

    width: 220px;
    height: 220px;

    background:
        radial-gradient(
            circle,
            rgba(109, 60, 255, 0.42),
            rgba(0, 194, 255, 0.14) 45%,
            transparent 70%
        );

    border-radius: 50%;

    filter: blur(8px);
}

.showcase-content {
    text-align: center;
}

.showcase-content p {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.showcase-content h2 {
    margin-top: 4px;

    font-family: "Playfair Display", serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
}

.showcase-content span {
    display: block;

    margin-top: 7px;

    color: var(--text-soft);
    font-size: 0.8rem;
}

.showcase-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;

    margin-top: 24px;
}

.showcase-stats div {
    padding: 14px 9px;

    text-align: center;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.showcase-stats strong {
    display: block;

    font-size: 0.8rem;
}

.showcase-stats span {
    display: block;

    margin-top: 3px;

    color: var(--text-soft);
    font-size: 0.62rem;
}

.floating-card {
    position: absolute;
    z-index: 8;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 16px;

    background: rgba(10, 22, 39, 0.72);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;

    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    animation: floatingCard 5s ease-in-out infinite;
}

.floating-card > span {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    border-radius: 12px;

    font-size: 0.9rem;
}

.floating-card strong {
    display: block;

    font-size: 0.78rem;
}

.floating-card small {
    display: block;

    margin-top: 2px;

    color: var(--text-soft);
    font-size: 0.65rem;
}

.floating-card-one {
    top: 70px;
    right: -15px;
}

.floating-card-two {
    bottom: 65px;
    left: -15px;

    animation-delay: -2.5s;
}

@keyframes floatingCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(3px);

    pointer-events: none;
}

.hero-glow-one {
    top: 12%;
    right: 8%;

    width: 480px;
    height: 480px;

    background:
        radial-gradient(
            circle,
            rgba(109, 60, 255, 0.2),
            transparent 68%
        );
}

.hero-glow-two {
    bottom: 3%;
    left: 5%;

    width: 350px;
    height: 350px;

    background:
        radial-gradient(
            circle,
            rgba(0, 194, 255, 0.12),
            transparent 70%
        );
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: -70px;

    width: 390px;

    opacity: 0.018;

    transform: translateY(-50%) rotate(-12deg);

    pointer-events: none;
}

.hero-watermark img {
    width: 100%;

    object-fit: contain;
}

.scroll-indicator {
    position: absolute;
    z-index: 7;
    bottom: 30px;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: var(--text-soft);

    font-size: 0.65rem;
    letter-spacing: 0.08em;

    transform: translateX(-50%);
}

.scroll-mouse {
    position: relative;

    width: 22px;
    height: 35px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
}

.scroll-mouse div {
    position: absolute;
    top: 7px;
    left: 50%;

    width: 3px;
    height: 6px;

    background: var(--white);

    border-radius: 10px;

    transform: translateX(-50%);

    animation: scrollMouse 1.8s ease-in-out infinite;
}

@keyframes scrollMouse {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }
}

/* =====================================================
   FEATURE STRIP
===================================================== */

.feature-strip {
    position: relative;
    z-index: 5;

    padding: 0 0 25px;
}

.feature-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid var(--border);
    border-radius: 25px;

    overflow: hidden;

    backdrop-filter: blur(18px);
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 16px;

    min-height: 110px;

    padding: 24px;

    border-right: 1px solid var(--border);
}

.mini-feature:last-child {
    border-right: none;
}

.mini-feature-number {
    color: rgba(255, 255, 255, 0.25);

    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
}

.mini-feature h3 {
    font-size: 0.95rem;
}

.mini-feature p {
    margin-top: 3px;

    color: var(--text-soft);

    font-size: 0.72rem;
}

/* =====================================================
   GENERAL SECTION HEADING
===================================================== */

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    align-items: end;
    gap: 60px;

    margin-bottom: 55px;
}

.section-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #9bdfff;

    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-heading h2,
.about-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 4vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.section-heading h2 span,
.about-content h2 span {
    color: transparent;

    background:
        linear-gradient(
            110deg,
            #d6c8ff,
            #63ddff
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.section-heading p {
    color: var(--text-soft);
}

/* =====================================================
   COURSES
===================================================== */

.courses-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255, 255, 255, 0.018),
            transparent
        );
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.course-card {
    position: relative;

    min-height: 390px;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    overflow: hidden;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.course-card::before {
    content: "";

    position: absolute;
    inset: auto -70px -90px auto;

    width: 220px;
    height: 220px;

    background:
        radial-gradient(
            circle,
            rgba(109, 60, 255, 0.25),
            transparent 68%
        );

    border-radius: 50%;

    transition: transform 0.5s ease;
}

.course-card:hover {
    border-color: rgba(126, 88, 255, 0.55);

    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.25);

    transform: translateY(-10px);
}

.course-card:hover::before {
    transform: scale(1.3);
}

.course-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-number {
    color: var(--text-soft);

    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.course-arrow {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid var(--border);
    border-radius: 50%;

    transition:
        transform var(--transition),
        background var(--transition);
}

.course-card:hover .course-arrow {
    background: var(--primary);

    transform: rotate(45deg);
}

.course-icon {
    display: grid;
    place-items: center;

    width: 70px;
    height: 70px;

    margin-top: 42px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            rgba(109, 60, 255, 0.9),
            rgba(0, 194, 255, 0.75)
        );

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;

    box-shadow:
        0 18px 40px rgba(109, 60, 255, 0.2);

    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
}

.course-card h3 {
    margin-top: 30px;

    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
}

.course-card p {
    margin-top: 13px;

    color: var(--text-soft);

    font-size: 0.87rem;
}

.course-card a {
    position: absolute;
    bottom: 28px;
    left: 28px;

    color: #9bdfff;

    font-size: 0.82rem;
    font-weight: 700;
}

/* =====================================================
   ABOUT
===================================================== */

.about-section {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 85px;
}

.about-visual {
    position: relative;

    min-height: 520px;
}

.about-visual::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 420px;
    height: 420px;

    background:
        radial-gradient(
            circle,
            rgba(0, 194, 255, 0.16),
            rgba(109, 60, 255, 0.12) 42%,
            transparent 70%
        );

    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.about-glass-card {
    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: min(100%, 420px);
    min-height: 450px;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-large);

    box-shadow: var(--shadow);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    transform:
        translate(-50%, -50%)
        rotate(-3deg);
}

.about-glass-card img {
    width: 230px;
    max-height: 220px;

    object-fit: contain;

    filter:
        drop-shadow(0 25px 35px rgba(0, 0, 0, 0.25));
}

.about-glass-content {
    margin-top: 32px;

    text-align: center;
}

.about-glass-content span {
    display: block;

    color: var(--text-soft);
    font-size: 0.75rem;
}

.about-glass-content strong {
    display: block;

    margin-top: 7px;

    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.about-content > p {
    margin-top: 25px;

    color: var(--text-soft);

    font-size: 0.98rem;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;

    margin: 32px 0;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 11px;

    color: #dae3f5;

    font-size: 0.85rem;
}

.about-points span {
    display: grid;
    place-items: center;

    width: 27px;
    height: 27px;

    color: #76f4be;

    background: rgba(118, 244, 190, 0.08);

    border: 1px solid rgba(118, 244, 190, 0.18);
    border-radius: 9px;
}

/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding-top: 60px;
}

.cta-box {
    position: relative;

    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;

    min-height: 330px;

    padding: 60px;

    background:
        linear-gradient(
            135deg,
            #5025c6,
            #096b9c
        );

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-large);

    box-shadow:
        0 45px 90px rgba(0, 0, 0, 0.3);

    overflow: hidden;
}

.cta-box::before {
    content: "";

    position: absolute;
    top: -130px;
    right: -100px;

    width: 400px;
    height: 400px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.18),
            transparent 65%
        );

    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 680px;
}

.cta-content > span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cta-content h2 {
    margin-top: 15px;

    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.05;
}

.cta-content p {
    max-width: 620px;

    margin-top: 17px;

    color: rgba(255, 255, 255, 0.78);
}

.cta-buttons {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 12px;

    min-width: 190px;
}

.light-button {
    color: #321688;

    background: var(--white);
}

.light-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2);
}

.outline-light-button {
    color: var(--white);

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.3);
}

.outline-light-button:hover {
    background: rgba(255, 255, 255, 0.16);

    transform: translateY(-4px);
}

.cta-watermark {
    position: absolute;
    right: 14%;
    bottom: -90px;

    width: 300px;

    opacity: 0.06;

    transform: rotate(-12deg);
}

.cta-watermark img {
    width: 100%;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    margin-top: 40px;

    padding: 85px 0 25px;

    background: rgba(2, 8, 18, 0.72);

    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h3 {
    margin-bottom: 8px;

    font-size: 0.9rem;
}

.footer-column p,
.footer-column a {
    color: var(--text-soft);

    font-size: 0.8rem;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 58px;
    height: 58px;

    object-fit: contain;
}

.footer-logo span {
    color: var(--white);

    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer-brand p {
    max-width: 320px;

    margin-top: 10px;
}

.footer-phone {
    margin-top: 8px;

    color: var(--white) !important;

    font-size: 1rem !important;
    font-weight: 700;
}

.footer-contact-button {
    margin-top: 8px;
    padding: 11px 16px;

    color: var(--white) !important;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    border-radius: 12px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    margin-top: 60px;
    padding-top: 25px;

    color: var(--text-soft);

    border-top: 1px solid var(--border);

    font-size: 0.72rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* =====================================================
   FLOATING WHATSAPP
===================================================== */

.floating-whatsapp {
    position: fixed;
    z-index: 1200;
    right: 24px;
    bottom: 24px;

    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 58px;

    padding: 10px 18px 10px 12px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            #1db954,
            #16a34a
        );

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.35),
        0 0 0 0 rgba(37, 211, 102, 0.35);

    animation:
        whatsappFloat 3s ease-in-out infinite;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.floating-whatsapp:hover {
    transform: translateY(-6px) scale(1.03);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.4);
}

.floating-whatsapp svg {
    position: relative;
    z-index: 2;

    width: 34px;
    height: 34px;
}

.whatsapp-text {
    position: relative;
    z-index: 2;

    font-size: 0.82rem;
    font-weight: 700;
}

.whatsapp-pulse {
    position: absolute;
    left: 8px;

    width: 42px;
    height: 42px;

    background: rgba(255, 255, 255, 0.13);

    border-radius: 50%;

    animation:
        whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes whatsappPulse {
    0% {
        opacity: 0.65;
        transform: scale(0.9);
    }

    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

/* =====================================================
   SCROLL REVEAL
===================================================== */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 1080px) {

    .brand-text {
        display: none;
    }

    .main-navigation > a {
        padding-inline: 10px;

        font-size: 0.78rem;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 6vw, 5rem);
    }

    .floating-card-one {
        right: 0;
    }

    .floating-card-two {
        left: 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   RESPONSIVE — MOBILE MENU
===================================================== */

@media (max-width: 900px) {

    .site-header {
        padding: 12px 0;
    }

    .brand-text {
        display: flex;
    }

    .brand-logo img {
        width: 52px;
        height: 52px;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 85px;
        right: 20px;
        left: 20px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 18px;

        background: rgba(7, 16, 31, 0.95);

        border-radius: 25px;

        box-shadow:
            0 35px 70px rgba(0, 0, 0, 0.42);

        visibility: hidden;
        opacity: 0;

        transform: translateY(-20px);

        transition:
            opacity var(--transition),
            transform var(--transition),
            visibility var(--transition);
    }
    .main-navigation.open {
    padding: 14px;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(132, 78, 255, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(35, 195, 255, 0.12),
            transparent 38%
        ),
        linear-gradient(
            160deg,
            rgba(19, 18, 57, 0.97),
            rgba(5, 15, 36, 0.98)
        );

    border:
        1px solid rgba(178, 145, 255, 0.25);

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 35px rgba(112, 70, 255, 0.18);
}

.main-navigation .nav-item {
    display: flex;

    width: 100%;
    min-height: 62px;

    gap: 15px;

    margin-bottom: 7px;
    padding: 10px 16px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    border:
        1px solid rgba(255, 255, 255, 0.075);

    border-radius: 18px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    font-size: 1rem;
}

.main-navigation .nav-item:hover,
.main-navigation .nav-item.active {
    background:
        linear-gradient(
            135deg,
            rgba(142, 73, 255, 0.3),
            rgba(40, 180, 255, 0.14)
        );

    border-color:
        rgba(171, 130, 255, 0.36);

    box-shadow:
        0 10px 30px rgba(58, 33, 130, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.main-navigation .nav-icon {
    width: 40px;
    height: 40px;

    font-size: 1.7rem;
}

.main-navigation .nav-label {
    font-family:
        "Playfair Display",
        serif;

    font-size: 1.06rem;
    font-weight: 600;
}

.main-navigation .nav-divider {
    width: calc(100% - 24px);
    height: 1px;

    margin: 5px auto 12px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(168, 129, 255, 0.45),
            rgba(74, 206, 255, 0.26),
            transparent
        );
}

.main-navigation .nav-register {
    min-height: 64px;

    margin-top: 3px;
    margin-bottom: 0;

    background:
        linear-gradient(
            125deg,
            #9d3fff,
            #634aff 48%,
            #23b8ff
        ) !important;

    border:
        1px solid rgba(255, 255, 255, 0.24);

    box-shadow:
        0 15px 34px rgba(103, 65, 255, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 0 24px rgba(86, 158, 255, 0.22);
}

    .main-navigation.open {
        visibility: visible;
        opacity: 1;

        transform: translateY(0);
    }

    .main-navigation > a {
        width: 100%;

        padding: 13px 15px;

        border-radius: 13px;

        font-size: 0.9rem;
    }

    .hero-section {
        padding-top: 130px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: none;

        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-contact {
        justify-content: center;
    }

    .hero-visual {
        min-height: 550px;
    }

    .feature-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mini-feature:nth-child(2) {
        border-right: none;
    }

    .mini-feature:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-visual {
        min-height: 500px;
    }

    .cta-box {
        grid-template-columns: 1fr;

        padding: 45px;
    }

    .cta-buttons {
        flex-direction: row;

        min-width: 0;
    }
}

/* =====================================================
   RESPONSIVE — SMALL MOBILE
===================================================== */

@media (max-width: 600px) {

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 80px 0;
    }

    .brand-text span {
        display: none;
    }

    .hero-section {
        min-height: auto;

        padding: 125px 0 80px;
    }

    .hero-content h1 {
        font-size: 3.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-visual {
        min-height: 470px;
    }

    .glass-showcase {
        padding: 20px;

        border-radius: 28px;
    }

    .showcase-logo {
        height: 190px;
    }

    .showcase-logo img {
        width: 170px;
    }

    .showcase-stats {
        gap: 5px;
    }

    .showcase-stats div {
        padding: 11px 5px;
    }

    .showcase-stats span {
        font-size: 0.54rem;
    }

    .floating-card {
        padding: 10px 11px;
    }

    .floating-card strong {
        font-size: 0.68rem;
    }

    .floating-card small {
        display: none;
    }

    .floating-card-one {
        top: 35px;
    }

    .floating-card-two {
        bottom: 35px;
    }

    .scroll-indicator {
        display: none;
    }

    .feature-strip-grid {
        grid-template-columns: 1fr;
    }

    .mini-feature {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .mini-feature:last-child {
        border-bottom: none;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 2.6rem;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-whatsapp {
        right: 15px;
        bottom: 15px;

        width: 58px;
        height: 58px;

        padding: 11px;

        justify-content: center;
    }

    .whatsapp-text {
        display: none;
    }
}
/* =====================================================
   HT COURSE DIGITAL BOOKS — CATEGORY SYSTEM
===================================================== */

.books-hub-page,
.books-listing-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;
    background: #050b18;
}

/* =====================================================
   MAIN DIGITAL BOOK HERO
===================================================== */

.books-hub-hero {
    position: relative;
    min-height: 700px;
    padding: 145px 0 90px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(160, 52, 255, 0.22),
            transparent 34%
        ),
        radial-gradient(
            circle at 84% 24%,
            rgba(30, 178, 255, 0.2),
            transparent 36%
        ),
        radial-gradient(
            circle at 60% 90%,
            rgba(255, 72, 189, 0.1),
            transparent 33%
        ),
        linear-gradient(
            145deg,
            #050a18 0%,
            #111039 52%,
            #061827 100%
        );
}

.books-hub-hero::before,
.books-listing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.9) 0 1px,
            transparent 1.6px
        );

    background-size: 95px 95px;
}

.books-hub-hero-grid {
    position: relative;
    z-index: 4;

    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 65px;
}

.books-hub-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 22px;
    padding: 10px 16px;

    color: #e6d7ff;

    background:
        linear-gradient(
            135deg,
            rgba(155, 67, 255, 0.18),
            rgba(29, 177, 255, 0.08)
        );

    border: 1px solid rgba(188, 148, 255, 0.28);
    border-radius: 999px;

    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.1em;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.books-hub-hero-content h1 {
    margin: 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(3.3rem, 6vw, 6.2rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.books-hub-hero-content h1 span {
    display: block;
    margin-top: 12px;

    color: transparent;

    background:
        linear-gradient(
            105deg,
            #ffffff,
            #cf9dff,
            #71dfff,
            #ff8ed0,
            #ffffff
        );

    background-size: 230% auto;

    -webkit-background-clip: text;
    background-clip: text;

    animation: booksTextFlow 7s linear infinite;
}

@keyframes booksTextFlow {
    to {
        background-position: 230% center;
    }
}

.books-hub-hero-content > p {
    max-width: 625px;
    margin-top: 25px;

    color: #b5c0d4;

    font-size: 1rem;
    line-height: 1.8;
}

.books-hub-main-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-top: 31px;
    padding: 15px 21px;

    color: #ffffff;

    background:
        linear-gradient(
            120deg,
            #a52cff,
            #674cff 48%,
            #22baf6
        );

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 17px;

    box-shadow:
        0 20px 45px rgba(93, 53, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    font-size: 0.83rem;
    font-weight: 700;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.books-hub-main-button:hover {
    transform: translateY(-5px);

    box-shadow:
        0 28px 60px rgba(83, 57, 255, 0.5);
}

/* =====================================================
   LOGO SHOWCASE
===================================================== */

.books-hub-logo-showcase {
    position: relative;

    display: grid;
    place-items: center;

    min-height: 430px;
}

.books-logo-showcase-inner {
    position: relative;
    z-index: 4;

    display: grid;
    place-items: center;

    width: 285px;
    height: 285px;

    padding: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(195, 155, 255, 0.28);
    border-radius: 50%;

    box-shadow:
        0 45px 90px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    animation: booksLogoFloat 5s ease-in-out infinite;
}

.books-logo-showcase-inner img {
    width: 100%;
    max-height: 190px;
    object-fit: contain;

    filter:
        drop-shadow(0 22px 25px rgba(0, 0, 0, 0.36));
}

@keyframes booksLogoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.books-logo-showcase-glow {
    position: absolute;

    width: 350px;
    height: 350px;

    background:
        radial-gradient(
            circle,
            rgba(145, 63, 255, 0.46),
            rgba(29, 183, 255, 0.17) 45%,
            transparent 70%
        );

    border-radius: 50%;
    filter: blur(15px);

    animation: booksLogoGlow 4s ease-in-out infinite;
}

@keyframes booksLogoGlow {
    0%,
    100% {
        opacity: 0.65;
        transform: scale(0.92);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

.books-logo-orbit {
    position: absolute;
    border: 1px solid rgba(203, 164, 255, 0.2);
    border-radius: 50%;
}

.books-logo-orbit::before {
    content: "✦";

    position: absolute;
    top: -10px;
    left: 50%;

    color: #e0baff;

    text-shadow:
        0 0 13px rgba(222, 183, 255, 0.9);
}

.books-logo-orbit-one {
    width: 355px;
    height: 355px;

    animation: booksOrbitRotate 17s linear infinite;
}

.books-logo-orbit-two {
    width: 310px;
    height: 310px;

    border-color: rgba(80, 206, 255, 0.2);

    animation: booksOrbitRotate 12s linear infinite reverse;
}

@keyframes booksOrbitRotate {
    to {
        transform: rotate(360deg);
    }
}

.books-logo-floating-icon {
    position: absolute;
    z-index: 6;

    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    background:
        linear-gradient(
            145deg,
            rgba(151, 67, 255, 0.52),
            rgba(33, 184, 255, 0.34)
        );

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.34);

    font-size: 1.7rem;

    animation: booksFloatingIcon 4.6s ease-in-out infinite;
}

.books-icon-one {
    top: 52px;
    right: 40px;
}

.books-icon-two {
    bottom: 50px;
    left: 30px;
    animation-delay: -1.5s;
}

.books-icon-three {
    right: 5px;
    bottom: 110px;
    animation-delay: -3s;
}

@keyframes booksFloatingIcon {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-12px) rotate(4deg);
    }
}

/* Main watermark */

.books-hub-watermark {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: -85px;

    width: 430px;

    opacity: 0.03;

    transform:
        translateY(-50%)
        rotate(-14deg);

    pointer-events: none;
}

.books-hub-watermark img,
.books-listing-watermark img {
    width: 100%;
}

/* Decorative effects */

.books-hub-light {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.books-hub-light-one {
    top: 4%;
    right: -80px;

    width: 470px;
    height: 470px;

    background:
        radial-gradient(
            circle,
            rgba(151, 53, 255, 0.21),
            transparent 68%
        );
}

.books-hub-light-two {
    bottom: -140px;
    left: 20%;

    width: 430px;
    height: 430px;

    background:
        radial-gradient(
            circle,
            rgba(33, 185, 255, 0.14),
            transparent 68%
        );
}

.books-hub-stars span {
    position: absolute;
    z-index: 3;

    color: #e7c6ff;

    text-shadow:
        0 0 13px rgba(224, 180, 255, 0.9);

    animation: booksStarFloat 4s ease-in-out infinite;
}

.books-hub-stars span:nth-child(1) {
    top: 22%;
    left: 6%;
}

.books-hub-stars span:nth-child(2) {
    top: 18%;
    right: 44%;
    animation-delay: -1s;
}

.books-hub-stars span:nth-child(3) {
    right: 6%;
    bottom: 24%;
    animation-delay: -2s;
}

.books-hub-stars span:nth-child(4) {
    bottom: 15%;
    left: 42%;
    animation-delay: -3s;
}

.books-hub-stars span:nth-child(5) {
    top: 12%;
    right: 12%;
    animation-delay: -1.8s;
}

@keyframes booksStarFloat {
    0%,
    100% {
        opacity: 0.35;
        transform: translateY(0) scale(0.9);
    }

    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.15);
    }
}

/* =====================================================
   THREE CATEGORY CARDS
===================================================== */

.books-category-section {
    position: relative;
    padding: 95px 0 115px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(143, 57, 255, 0.1),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(32, 180, 255, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #07101e,
            #0d102c,
            #07101e
        );
}

.books-category-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.books-category-heading > span {
    color: #d7adff;

    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.books-category-heading h2 {
    margin: 13px 0 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(2.5rem, 4.6vw, 4.5rem);
    line-height: 1.05;
}

.books-category-heading h2 strong {
    color: transparent;

    background:
        linear-gradient(
            110deg,
            #cfa4ff,
            #76dfff,
            #ff8dcd
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.books-category-heading p {
    max-width: 620px;
    margin: 15px auto 0;

    color: #aeb9ce;
    line-height: 1.75;
}

.books-main-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.books-main-category-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 390px;
    padding: 26px;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 28px;

    box-shadow:
        0 30px 65px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);

    overflow: hidden;

    transition:
        transform 0.42s ease,
        box-shadow 0.42s ease,
        border-color 0.42s ease,
        filter 0.42s ease;
}

.books-category-abacus {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(255, 255, 255, 0.18),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            #8034df,
            #4a2ba4 52%,
            #142a73
        );
}

.books-category-coding {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(255, 255, 255, 0.19),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            #153ab5,
            #1275bb 52%,
            #08a4c5
        );
}

.books-category-english {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(255, 255, 255, 0.19),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            #bd398c,
            #7831a6 52%,
            #3430a5
        );
}

.books-main-category-card:hover,
.books-main-category-card:focus-visible,
.books-main-category-card:active {
    border-color: rgba(255, 255, 255, 0.42);

    box-shadow:
        0 45px 90px rgba(0, 0, 0, 0.43),
        0 0 38px rgba(119, 80, 255, 0.25);

    transform:
        translateY(-11px)
        scale(1.018);

    filter: saturate(1.16);
}

.books-category-card-shine {
    position: absolute;
    top: -70%;
    left: -75%;

    width: 48%;
    height: 250%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
        );

    transform: rotate(22deg);

    transition: left 0.75s ease;
}

.books-main-category-card:hover .books-category-card-shine {
    left: 145%;
}

.books-category-card-watermark {
    position: absolute;
    right: -35px;
    bottom: -30px;

    width: 190px;

    opacity: 0.08;
    transform: rotate(-12deg);
}

.books-category-card-watermark img {
    width: 100%;
}

.books-category-card-top {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.books-category-card-icon {
    display: grid;
    place-items: center;

    width: 77px;
    height: 77px;

    background:
        rgba(255, 255, 255, 0.13);

    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 23px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 35px rgba(0, 0, 0, 0.22);

    font-size: 2.7rem;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition: transform 0.4s ease;
}

.books-main-category-card:hover .books-category-card-icon {
    transform:
        translateY(-5px)
        rotate(5deg)
        scale(1.08);
}

.books-category-card-badge {
    padding: 8px 11px;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    font-size: 0.63rem;
    font-weight: 700;
}

.books-category-card-content {
    position: relative;
    z-index: 3;

    margin-top: 58px;
}

.books-category-card-content small {
    color: rgba(255, 255, 255, 0.72);

    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.books-category-card-content h3 {
    margin: 9px 0 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 2rem;
    line-height: 1.08;
}

.books-category-card-content p {
    margin-top: 13px;

    color: rgba(255, 255, 255, 0.77);

    font-size: 0.78rem;
    line-height: 1.7;
}

.books-category-card-footer {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;
    padding-top: 28px;

    font-size: 0.77rem;
    font-weight: 700;
}

.books-category-card-footer strong {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    background:
        rgba(255, 255, 255, 0.13);

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 14px;

    font-size: 1.2rem;

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.books-main-category-card:hover
.books-category-card-footer strong {
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(5px);
}

/* =====================================================
   CATEGORY LISTING PAGES
===================================================== */

.books-listing-hero {
    position: relative;
    min-height: 430px;
    padding: 135px 0 65px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(149, 51, 255, 0.21),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 15%,
            rgba(27, 183, 255, 0.17),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #050a18,
            #111039,
            #061827
        );
}

.books-listing-watermark {
    position: absolute;
    right: -60px;
    bottom: -85px;

    width: 380px;

    opacity: 0.035;
    transform: rotate(-13deg);
}

.books-listing-hero-inner {
    position: relative;
    z-index: 4;
}

.books-back-link {
    display: inline-flex;
    align-items: center;

    margin-bottom: 35px;
    padding: 9px 14px;

    color: #d8c4f4;

    background:
        rgba(255, 255, 255, 0.065);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;

    font-size: 0.72rem;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.books-back-link:hover {
    background:
        rgba(144, 69, 255, 0.2);

    transform: translateX(-4px);
}

.books-listing-heading {
    display: flex;
    align-items: center;
    gap: 27px;

    max-width: 850px;
}

.books-listing-icon {
    flex: 0 0 auto;

    display: grid;
    place-items: center;

    width: 105px;
    height: 105px;

    background:
        linear-gradient(
            145deg,
            rgba(153, 63, 255, 0.42),
            rgba(29, 183, 255, 0.24)
        );

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 29px;

    box-shadow:
        0 25px 48px rgba(0, 0, 0, 0.3);

    font-size: 3.6rem;
}

.books-listing-heading span {
    color: #d7b0ff;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.books-listing-heading h1 {
    margin: 9px 0 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.02;
}

.books-listing-heading h1 strong {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            110deg,
            #cea1ff,
            #74deff,
            #ff8dcc
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.books-listing-heading p {
    max-width: 650px;
    margin-top: 13px;

    color: #adb9ce;
    line-height: 1.72;
}

/* =====================================================
   ABACUS LEVEL CARDS
===================================================== */

.books-level-section {
    padding: 85px 0 115px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(141, 54, 255, 0.08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #07101e,
            #0d102c,
            #07101e
        );
}

.books-level-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 19px;
}

.books-level-card {
    position: relative;

    min-height: 390px;
    padding: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;

    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.books-level-card:hover {
    border-color:
        rgba(175, 129, 255, 0.4);

    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.42),
        0 0 32px rgba(103, 65, 255, 0.17);

    transform: translateY(-9px);
}

.books-level-card::before {
    content: "";

    position: absolute;
    top: -90px;
    right: -75px;

    width: 220px;
    height: 220px;

    border-radius: 50%;
}

.books-level-purple::before {
    background:
        radial-gradient(
            circle,
            rgba(159, 70, 255, 0.36),
            transparent 68%
        );
}

.books-level-blue::before,
.books-level-indigo::before {
    background:
        radial-gradient(
            circle,
            rgba(36, 153, 255, 0.32),
            transparent 68%
        );
}

.books-level-pink::before,
.books-level-rose::before {
    background:
        radial-gradient(
            circle,
            rgba(255, 73, 181, 0.29),
            transparent 68%
        );
}

.books-level-cyan::before {
    background:
        radial-gradient(
            circle,
            rgba(42, 221, 223, 0.27),
            transparent 68%
        );
}

.books-level-violet::before {
    background:
        radial-gradient(
            circle,
            rgba(118, 73, 255, 0.34),
            transparent 68%
        );
}

.books-level-gold::before {
    background:
        radial-gradient(
            circle,
            rgba(255, 191, 61, 0.29),
            transparent 68%
        );
}

.books-level-card-shine {
    position: absolute;
    top: -60%;
    left: -70%;

    width: 42%;
    height: 220%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );

    transform: rotate(22deg);

    transition: left 0.7s ease;
}

.books-level-card:hover .books-level-card-shine {
    left: 140%;
}

.books-level-number {
    position: absolute;
    top: 18px;
    right: 18px;

    color: rgba(255, 255, 255, 0.09);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 5.2rem;
    font-weight: 700;
    line-height: 1;
}

.books-level-book-icon {
    position: relative;
    z-index: 3;

    display: grid;
    place-items: center;

    width: 65px;
    height: 65px;

    background:
        linear-gradient(
            145deg,
            rgba(148, 65, 255, 0.42),
            rgba(31, 182, 255, 0.22)
        );

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;

    font-size: 2.2rem;
}

.books-level-label {
    position: relative;
    z-index: 3;

    display: block;

    margin-top: 30px;

    color: #c6a2f3;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.books-level-card h2 {
    position: relative;
    z-index: 3;

    margin: 8px 0 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 2rem;
}

.books-level-card h3 {
    position: relative;
    z-index: 3;

    margin-top: 7px;

    color: #cbd4e5;

    font-size: 0.83rem;
}

.books-level-card p {
    position: relative;
    z-index: 3;

    margin-top: 13px;

    color: #9facc2;

    font-size: 0.73rem;
    line-height: 1.65;
}

/* =====================================================
   CODING & ENGLISH BOOK CARDS
===================================================== */

.books-special-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.books-special-card {
    position: relative;

    min-height: 410px;
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;

    box-shadow:
        0 30px 65px rgba(0, 0, 0, 0.31),
        inset 0 1px 0 rgba(255, 255, 255, 0.11);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.books-special-card:hover {
    border-color:
        rgba(176, 129, 255, 0.4);

    box-shadow:
        0 43px 85px rgba(0, 0, 0, 0.42);

    transform:
        translateY(-10px)
        scale(1.012);
}

.books-special-card-glow {
    position: absolute;
    top: -100px;
    right: -85px;

    width: 260px;
    height: 260px;

    border-radius: 50%;
}

.books-special-coding-blue .books-special-card-glow,
.books-special-english-blue .books-special-card-glow {
    background:
        radial-gradient(
            circle,
            rgba(30, 175, 255, 0.36),
            transparent 68%
        );
}

.books-special-coding-purple .books-special-card-glow,
.books-special-english-purple .books-special-card-glow {
    background:
        radial-gradient(
            circle,
            rgba(151, 62, 255, 0.38),
            transparent 68%
        );
}

.books-special-english-pink .books-special-card-glow {
    background:
        radial-gradient(
            circle,
            rgba(255, 70, 177, 0.34),
            transparent 68%
        );
}

.books-special-subtitle {
    position: relative;
    z-index: 3;

    display: inline-block;

    padding: 7px 10px;

    color: #d9c2f6;

    background:
        rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;

    font-size: 0.62rem;
    font-weight: 700;
}

.books-special-icon {
    position: relative;
    z-index: 3;

    display: grid;
    place-items: center;

    width: 100px;
    height: 100px;

    margin-top: 42px;

    background:
        linear-gradient(
            145deg,
            rgba(151, 64, 255, 0.4),
            rgba(30, 181, 255, 0.22)
        );

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 29px;

    box-shadow:
        0 24px 45px rgba(0, 0, 0, 0.28);

    font-size: 3.7rem;

    transition: transform 0.4s ease;
}

.books-special-card:hover .books-special-icon {
    transform:
        translateY(-6px)
        rotate(4deg)
        scale(1.05);
}

.books-special-card h2 {
    position: relative;
    z-index: 3;

    margin: 28px 0 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 1.75rem;
}

.books-special-card p {
    position: relative;
    z-index: 3;

    margin-top: 12px;

    color: #a5b1c6;

    font-size: 0.76rem;
    line-height: 1.7;
}

/* =====================================================
   COMING SOON BUTTON
===================================================== */

.books-coming-button {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin-top: 24px;
    padding: 13px 14px;

    color: #bdc6d7;

    background:
        linear-gradient(
            135deg,
            rgba(143, 67, 255, 0.16),
            rgba(31, 177, 255, 0.09)
        );

    border: 1px solid rgba(170, 126, 255, 0.19);
    border-radius: 14px;

    cursor: not-allowed;

    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;

    opacity: 0.85;
}

.books-coming-button strong {
    font-size: 1rem;
}

/* =====================================================
   REVEAL ANIMATION
===================================================== */

.books-hub-page .reveal,
.books-listing-page .reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.books-hub-page .reveal.active,
.books-hub-page .reveal.show,
.books-hub-page .reveal.visible,
.books-listing-page .reveal.active,
.books-listing-page .reveal.show,
.books-listing-page .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   TABLET RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .books-main-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .books-main-category-card:last-child {
        grid-column: 1 / -1;
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .books-level-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {

    .books-hub-hero-grid {
        grid-template-columns: 1fr;
    }

    .books-hub-hero-content {
        text-align: center;
    }

    .books-hub-hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .books-hub-logo-showcase {
        min-height: 390px;
    }

    .books-level-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .books-special-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 620px) {

    .books-hub-hero {
        min-height: auto;
        padding: 125px 0 70px;
    }

    .books-hub-hero-content h1 {
        font-size: 3rem;
    }

    .books-hub-main-button {
        justify-content: center;
        width: 100%;
    }

    .books-hub-logo-showcase {
        min-height: 330px;
    }

    .books-logo-showcase-inner {
        width: 220px;
        height: 220px;
        padding: 30px;
    }

    .books-logo-showcase-glow {
        width: 275px;
        height: 275px;
    }

    .books-logo-orbit-one {
        width: 275px;
        height: 275px;
    }

    .books-logo-orbit-two {
        width: 245px;
        height: 245px;
    }

    .books-logo-floating-icon {
        width: 48px;
        height: 48px;

        border-radius: 15px;

        font-size: 1.35rem;
    }

    .books-icon-one {
        right: 5px;
    }

    .books-icon-two {
        left: 0;
    }

    .books-main-category-grid {
        grid-template-columns: 1fr;
    }

    .books-main-category-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .books-main-category-card {
        min-height: 360px;
    }

    .books-listing-hero {
        padding: 125px 0 55px;
    }

    .books-listing-heading {
        align-items: flex-start;
        gap: 16px;
    }

    .books-listing-icon {
        width: 72px;
        height: 72px;

        border-radius: 21px;

        font-size: 2.35rem;
    }

    .books-listing-heading h1 {
        font-size: 2.45rem;
    }

    .books-level-grid,
    .books-special-grid {
        grid-template-columns: 1fr;
    }

    .books-level-card,
    .books-special-card {
        min-height: auto;
    }
}

@media (max-width: 390px) {

    .books-hub-hero-content h1 {
        font-size: 2.65rem;
    }

    .books-category-heading h2 {
        font-size: 2.35rem;
    }

    .books-listing-heading {
        display: block;
    }

    .books-listing-heading > div:last-child {
        margin-top: 20px;
    }

    .books-listing-heading h1 {
        font-size: 2.25rem;
    }
}

/* =====================================================
   TOUCH DEVICE FEEDBACK
===================================================== */

@media (hover: none) {

    .books-main-category-card:active,
    .books-level-card:active,
    .books-special-card:active {
        transform: scale(0.975);
        filter: brightness(1.12) saturate(1.12);
    }
}

/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .books-hub-page *,
    .books-hub-page *::before,
    .books-hub-page *::after,
    .books-listing-page *,
    .books-listing-page *::before,
    .books-listing-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































