/* ═══════════════════════════════════════════════════════════
   GROOTS Pay — Homepage showcase (advantage · membership · hub)
   ═══════════════════════════════════════════════════════════ */

/* ── Subscribe section wrapper ── */
.subscribe-section--premium {
    padding: 4rem 0 5rem;
    background:
        linear-gradient(180deg, #0D3B5C 0%, #F4FAFD 12%, #F4FAFD 100%);
}

/* ── Advantage section — indigo → gold theme ── */
.advantage-section--premium {
    position: relative;
    padding: 5.5rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #1e1b4b 0%,
        #312e81 22%,
        #4338ca 48%,
        #7c3aed 68%,
        #b45309 88%,
        #f59e0b 100%
    );
}

.advantage-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.advantage-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: showcase-float 12s ease-in-out infinite alternate;
}

.advantage-orb--1 {
    width: 440px;
    height: 440px;
    top: -140px;
    left: -100px;
    background: rgba(167, 139, 250, 0.45);
}

.advantage-orb--2 {
    width: 380px;
    height: 380px;
    bottom: -120px;
    right: -80px;
    background: rgba(245, 158, 11, 0.4);
    animation-delay: -4s;
}

.advantage-orb--3 {
    width: 260px;
    height: 260px;
    top: 40%;
    left: 42%;
    background: rgba(244, 114, 182, 0.25);
    animation-delay: -7s;
}

.advantage-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 15%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 15%, transparent 78%);
}

.advantage-diagonal-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 45%,
        transparent 55%
    );
    pointer-events: none;
}

.advantage-section--premium .advantage-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.advantage-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fde68a;
    margin-bottom: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: rgba(245, 158, 11, 0.15);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.advantage-section--premium .advantage-heading {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #fde68a 45%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(245, 158, 11, 0.25));
}

.advantage-sub {
    color: rgba(254, 243, 199, 0.88);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

.advantage-section--premium .advantage-grid {
    position: relative;
    z-index: 1;
    gap: 1.75rem;
    align-items: stretch;
}

.advantage-section--premium .advantage-card {
    position: relative;
    text-align: left;
    padding: 1.75rem 1.5rem 2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    overflow: hidden;
}

.advantage-section--premium .advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fbbf24, #f472b6, transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.advantage-section--premium .advantage-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
    border-radius: inherit;
}

.advantage-section--premium .advantage-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(255, 255, 255, 0.11);
    box-shadow:
        0 28px 56px rgba(30, 27, 75, 0.45),
        0 0 48px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.advantage-section--premium .advantage-card:hover::before {
    opacity: 1;
}

.advantage-card--featured {
    transform: translateY(-14px) scale(1.02);
    border-color: rgba(251, 191, 36, 0.55) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow:
        0 32px 64px rgba(124, 58, 237, 0.35),
        0 0 56px rgba(245, 158, 11, 0.25) !important;
}

.advantage-card--featured::before {
    opacity: 1 !important;
    background: linear-gradient(90deg, transparent, #fbbf24, #a78bfa, #fbbf24, transparent) !important;
}

.advantage-num {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    letter-spacing: -0.04em;
    pointer-events: none;
    z-index: 2;
}

.advantage-visual-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 1.35rem;
    z-index: 1;
}

.advantage-section--premium .advantage-visual {
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.advantage-section--premium .advantage-visual img {
    border-radius: 16px;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.advantage-section--premium .advantage-card:hover .advantage-visual img {
    transform: scale(1.08);
    filter: saturate(1.1) brightness(1.05);
}

.advantage-visual--cyan {
    background: linear-gradient(135deg, #6d28d9, #a78bfa);
}

.advantage-visual--blue {
    background: linear-gradient(135deg, #b45309, #fbbf24);
}

.advantage-visual--teal {
    background: linear-gradient(135deg, #be185d, #f472b6);
}

.advantage-ring {
    position: absolute;
    inset: -8px;
    border-radius: 22px;
    border: 1px dashed rgba(251, 191, 36, 0.45);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.advantage-section--premium .advantage-card:hover .advantage-ring {
    opacity: 1;
    transform: rotate(-2deg) scale(1.02);
}

.advantage-card--featured .advantage-ring {
    opacity: 0.7;
    border-color: rgba(251, 191, 36, 0.6);
}

.advantage-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.advantage-section--premium .advantage-caption {
    color: rgba(254, 243, 199, 0.82);
    font-size: 0.92rem;
    max-width: none;
    margin: 0;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

.advantage-card--featured .advantage-title {
    background: linear-gradient(135deg, #ffffff, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Membership banner ── */
.membership-home-banner--premium {
    border-radius: 28px !important;
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
    padding: 3.25rem 3.5rem !important;
    isolation: isolate;
    background: linear-gradient(145deg, #020810 0%, #051525 30%, #0A2540 65%, #0D3B5C 100%) !important;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(0, 180, 216, 0.1) inset !important;
}

.membership-home-banner--premium::before {
    display: none;
}

.membership-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    z-index: 0;
}

.membership-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.membership-glow--1 {
    width: 320px;
    height: 320px;
    top: -80px;
    right: 10%;
    background: rgba(0, 180, 216, 0.35);
    animation: showcase-pulse 6s ease-in-out infinite;
}

.membership-glow--2 {
    width: 240px;
    height: 240px;
    bottom: -60px;
    left: 5%;
    background: rgba(0, 229, 255, 0.2);
    animation: showcase-pulse 8s ease-in-out infinite reverse;
}

.membership-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0, 180, 216, 0.15) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.5;
}

.membership-home-banner--premium .subscribe-content {
    position: relative;
    z-index: 2;
}

.membership-home-banner--premium .membership-plan-eyebrow {
    border-radius: 999px;
    padding: 0.45rem 1rem;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

.membership-home-banner--premium .subscribe-content h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.membership-home-banner--premium .subscribe-features li {
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.membership-home-banner--premium .subscribe-features li:hover {
    background: rgba(0, 180, 216, 0.1);
    border-color: rgba(0, 229, 255, 0.25);
}

.membership-home-banner--premium .membership-plan-price-tag--home {
    border-color: rgba(0, 229, 255, 0.2);
}

.membership-home-banner--premium .membership-plan-price-amount {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff, #00E5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.membership-home-banner--premium .btn-subscribe-primary {
    background: linear-gradient(135deg, #00E5FF 0%, #00B4D8 50%, #0096B8 100%);
    color: #051525;
    border-radius: 999px;
    padding: 15px 32px;
    font-weight: 800;
    box-shadow: 0 8px 28px rgba(0, 180, 216, 0.45);
    border: none;
}

.membership-home-banner--premium .btn-subscribe-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(0, 229, 255, 0.5);
    color: #020810;
}

.membership-home-visual--premium {
    position: relative;
    z-index: 2;
    justify-content: center !important;
    min-height: 320px !important;
}

.membership-home-visual--premium .subscribe-visual-main {
    width: 72% !important;
    max-width: 280px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(0, 229, 255, 0.35);
    box-shadow:
        0 0 0 8px rgba(0, 180, 216, 0.1),
        0 24px 48px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 1.75rem;
    background: #ffffff;
}

.membership-home-visual--premium .subscribe-visual-main .membership-brand-logo {
    width: 100%;
    max-width: 148px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 8px rgba(10, 37, 64, 0.1));
}

.membership-orbit-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 229, 255, 0.3);
    animation: showcase-spin 20s linear infinite;
    z-index: 0;
}

.membership-orbit-ring::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00E5FF;
    box-shadow: 0 0 16px #00E5FF;
    transform: translateX(-50%);
}

.membership-floating-badge {
    position: absolute;
    bottom: 12%;
    right: 8%;
    z-index: 3;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
    color: #051525;
    background: linear-gradient(135deg, #00E5FF, #00B4D8);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.5);
    animation: showcase-float 4s ease-in-out infinite alternate;
}

.membership-home-visual--premium .subscribe-visual-accent {
    display: none;
}

/* Membership detail cards */
.membership-details--premium {
    margin-top: 3rem !important;
    position: relative;
    padding: 2.75rem 2rem 2.5rem;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #FFFBEB 0%,
        #FEF3C7 25%,
        #FDE68A 50%,
        #FCD34D 75%,
        #FBBF24 100%
    );
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 16px 48px rgba(234, 179, 8, 0.15);
}

.membership-details--premium::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    top: -100px;
    right: -80px;
    background: rgba(253, 224, 71, 0.75);
    filter: blur(90px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.membership-details--premium::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -90px;
    left: -60px;
    background: rgba(251, 191, 36, 0.65);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.membership-details--premium .membership-details-title,
.membership-details--premium .membership-details-grid {
    position: relative;
    z-index: 1;
}

.membership-details--premium .membership-details-title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0A2540;
    background: none;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.membership-details--premium .membership-detail-card {
    border-radius: 20px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.65rem;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.membership-details--premium .membership-detail-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 179, 8, 0.55);
    box-shadow:
        0 20px 40px rgba(234, 179, 8, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.membership-details--premium .membership-detail-num {
    font-size: 2rem;
    color: rgba(234, 179, 8, 0.45);
    margin-bottom: 0.5rem;
}

/* ── Learning hub dashboard ── */
.learning-hub-section--premium {
    position: relative;
    margin-top: 3rem !important;
    padding: 2rem;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 180, 216, 0.2);
    background: linear-gradient(160deg, #020810 0%, #051525 40%, #0A2540 100%);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
}

.learning-hub-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%, rgba(0, 180, 216, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 100%, rgba(0, 229, 255, 0.08) 0%, transparent 50%);
}

.learning-hub-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.learning-hub-section--premium .learning-hub-shell {
    position: relative;
    z-index: 1;
}

.learning-hub-section--premium .learning-hub-hero {
    min-height: 260px;
    border-radius: 22px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.learning-hub-section--premium .learning-hub-hero::after {
    background: linear-gradient(
        105deg,
        rgba(2, 8, 16, 0.92) 0%,
        rgba(5, 21, 37, 0.75) 45%,
        rgba(0, 180, 216, 0.25) 100%
    );
}

.learning-hub-section--premium .learning-hub-tag {
    color: #00E5FF;
    background: rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 0 16px rgba(0, 180, 216, 0.25);
}

.learning-hub-section--premium .learning-hub-hero-content h3 {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    letter-spacing: -0.02em;
}

.learning-hub-section--premium .learning-hub-cta {
    padding: 0.75rem 1.35rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #00E5FF 0%, #00B4D8 100%);
    color: #051525;
    border: none;
    box-shadow: 0 8px 28px rgba(0, 180, 216, 0.45);
}

.learning-hub-section--premium .learning-hub-cta:hover {
    box-shadow: 0 12px 36px rgba(0, 229, 255, 0.55);
    filter: brightness(1.08);
}

.learning-hub-section--premium .learning-hub-panel {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 180, 216, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.learning-hub-section--premium .learning-hub-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00E5FF, #00B4D8, transparent);
    border-radius: 4px 0 0 4px;
}

.learning-hub-section--premium .learning-course-row {
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 180, 216, 0.1);
}

.learning-hub-section--premium .learn-hover-row:hover {
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(0, 180, 216, 0.12);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.15);
    transform: translateX(6px);
}

.learning-hub-section--premium .learning-course-icon {
    background: rgba(0, 180, 216, 0.2);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 12px;
}

.learning-hub-section--premium .learning-progress span {
    background: linear-gradient(90deg, #00B4D8, #00E5FF);
}

.learning-hub-section--premium .learning-progress--complete span {
    background: linear-gradient(90deg, #10B981, #00E5FF);
}

.learning-hub-section--premium .learning-status--progress {
    color: #00E5FF;
    background: rgba(0, 180, 216, 0.12);
    border-color: rgba(0, 229, 255, 0.3);
}

.learning-hub-section--premium .learning-stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 180, 216, 0.15);
    border-radius: 16px;
}

.learning-hub-section--premium .learning-stat-card--accent {
    background: linear-gradient(145deg, rgba(0, 180, 216, 0.35) 0%, rgba(0, 119, 168, 0.5) 100%);
    border-color: rgba(0, 229, 255, 0.4);
}

.learning-hub-section--premium .learn-hover-stat:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 180, 216, 0.25);
}

.learning-hub-section--premium .learn-hover-card:hover {
    box-shadow: 0 28px 56px rgba(0, 180, 216, 0.25);
}

.learning-hub-section--premium .learning-hub-filter {
    color: #00E5FF;
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 180, 216, 0.1);
}

/* ── Animations ── */
@keyframes showcase-float {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
}

@keyframes showcase-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
}

@keyframes showcase-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .advantage-section--premium .advantage-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .advantage-card--featured {
        transform: none;
    }

    .membership-home-banner--premium {
        padding: 2rem !important;
    }

    .membership-home-visual--premium {
        min-height: 260px !important;
    }

    .learning-hub-section--premium {
        padding: 1.25rem;
    }
}

@media (max-width: 600px) {
    .advantage-section--premium {
        padding: 3.5rem 0 4rem;
    }

    .membership-orbit-ring {
        width: 220px;
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .advantage-orb,
    .membership-glow,
    .membership-orbit-ring,
    .membership-floating-badge,
    .knowledge-orb,
    .advantage-orb--3 {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   Knowledge layer — futuristic hero block
   ═══════════════════════════════════════════════════════════ */
.knowledge-layer-section--premium {
    margin-top: 3rem;
}

.knowledge-layer-section--premium .knowledge-layer-frame {
    aspect-ratio: 16 / 8.5;
    border-radius: 28px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 180, 216, 0.08) inset;
    background: linear-gradient(135deg, #020810 0%, #051525 40%, #0A2540 100%);
}

.knowledge-layer-section--premium .knowledge-layer-frame::before {
    display: none;
}

.knowledge-layer-section--premium .knowledge-layer-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        rgba(2, 8, 16, 0.55) 0%,
        rgba(5, 21, 37, 0.15) 38%,
        rgba(0, 180, 216, 0.12) 62%,
        rgba(0, 229, 255, 0.18) 100%
    );
    mix-blend-mode: multiply;
}

.knowledge-layer-fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.knowledge-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: showcase-pulse 8s ease-in-out infinite;
}

.knowledge-orb--1 {
    width: 280px;
    height: 280px;
    top: 10%;
    right: 8%;
    background: rgba(0, 229, 255, 0.35);
}

.knowledge-orb--2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 5%;
    background: rgba(0, 180, 216, 0.25);
    animation-delay: -3s;
}

.knowledge-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 180, 216, 0.03) 3px,
        rgba(0, 180, 216, 0.03) 4px
    );
    opacity: 0.6;
}

.knowledge-layer-section--premium .knowledge-layer-image {
    object-position: center 75%;
    filter: saturate(0.9) contrast(1.08) brightness(0.95);
    transform: scale(1.02);
}

.knowledge-layer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: rgba(0, 229, 255, 0.07);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.knowledge-layer-mega {
    position: absolute;
    top: clamp(0.5rem, 2vw, 1.25rem);
    left: clamp(1rem, 3vw, 2rem);
    z-index: 4;
    margin: 0;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #ffffff 42%,
        rgba(255, 255, 255, 0.15) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 4px 24px rgba(0, 180, 216, 0.2));
}

.knowledge-layer-code-tag {
    position: absolute;
    top: clamp(3.5rem, 12vw, 7rem);
    right: clamp(1rem, 4vw, 2.5rem);
    z-index: 4;
    margin: 0;
    font-size: clamp(0.75rem, 1.8vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #00E5FF;
    text-transform: uppercase;
    pointer-events: none;
}

.knowledge-layer-section--premium .knowledge-layer-overlay {
    z-index: 5;
    justify-content: space-between;
    padding: clamp(1rem, 2.5vw, 1.75rem);
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 40%,
        rgba(2, 8, 16, 0.5) 75%,
        rgba(5, 21, 37, 0.85) 100%
    );
}

.knowledge-layer-meta {
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: auto;
    padding-left: 0.25rem;
}

.knowledge-layer-meta p {
    margin: 0;
    font-size: clamp(0.62rem, 1.1vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 229, 255, 0.85);
    line-height: 1.7;
}

.knowledge-layer-section--premium .knowledge-layer-bottom {
    grid-template-columns: 1fr minmax(240px, 46%);
    gap: 1.25rem;
    align-items: end;
    width: 100%;
}

.knowledge-layer-section--premium .knowledge-side-note {
    color: rgba(226, 232, 240, 0.75);
    font-size: clamp(0.65rem, 1.1vw, 0.78rem);
    letter-spacing: 0.06em;
}

.knowledge-layer-section--premium .knowledge-main-copy {
    max-width: 440px;
    padding: 1.1rem 1.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(0, 180, 216, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.knowledge-layer-section--premium .knowledge-main-copy:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.55);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 32px rgba(0, 180, 216, 0.25);
}

.knowledge-copy-tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00E5FF;
    margin-bottom: 0.45rem;
}

.knowledge-layer-section--premium .knowledge-main-copy h3 {
    color: #ffffff;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .knowledge-layer-section--premium .knowledge-layer-frame {
        aspect-ratio: 4 / 5;
    }

    .knowledge-layer-mega {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .knowledge-layer-code-tag {
        top: auto;
        bottom: 42%;
        right: 1rem;
        font-size: 0.7rem;
    }

    .knowledge-layer-watermark {
        font-size: clamp(3rem, 20vw, 5rem);
    }

    .knowledge-layer-meta {
        display: none;
    }

    .knowledge-layer-section--premium .knowledge-layer-bottom {
        grid-template-columns: 1fr;
    }

    .knowledge-layer-section--premium .knowledge-layer-image {
        object-position: center 70%;
    }
}
